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

feat: add function to read BL mac address #5

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Conversation

felixerdy
Copy link
Member

After starting the SenseBoxBLE, you can now read the Bluetooth Mac Address and e.g. change the name:

SenseBoxBLE::start("senseBox-BLE");
delay(1000);
String name = "senseBox:bike [" + SenseBoxBLE::getMCUId() + "]";
SenseBoxBLE::setName(name);

Which would result in the name senseBox:bike [CCF9578E439E]

@felixerdy felixerdy merged commit f52203b into main Dec 7, 2023
2 checks passed
@felixerdy felixerdy deleted the feat/read-mac-address branch December 7, 2023 11:58
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