Skip to content

Conversation

h2zero
Copy link
Owner

@h2zero h2zero commented Nov 29, 2024

  • General code cleanup
  • The internal data struct type BeaconData is now public and can be used by the application.
  • NimBLEBeacon::setData now takes const NimBLEBeacon::BeaconData& instead of std::string.
  • Added overload for NimBLEBeacon::setData that takes a pointer to raw uint8_t data and length`.
  • NimBLEBeacon::getData now returns const NimBLEBeacon::BeaconData& instead of std::string.

* General code cleanup
* The internal data struct type `BeaconData` is now public and can be used by the application.
* `NimBLEBeacon::setData` now takes `const NimBLEBeacon::BeaconData&` instead of `std::string`.
* Added overload for `NimBLEBeacon::setData` that takes a pointer to raw `uint8_t` data and length`.
* `NimBLEBeacon::getData` now returns `const NimBLEBeacon::BeaconData&` instead of `std::string`.
@h2zero h2zero merged commit 9bdb2ed into master Dec 1, 2024
31 checks passed
@h2zero h2zero deleted the refactor-beacon branch December 1, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant