Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] Refactor NimBLEBeacon #768

Merged
merged 1 commit into from
Dec 1, 2024
Merged

[BREAKING] Refactor NimBLEBeacon #768

merged 1 commit into from
Dec 1, 2024

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