We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think we need to tweak something. I think we need to advertise with a UUID (reason being some code like in swift wont like it without a UUID)
so maybbbe something like
const uint8_t custom_uuid[] = { 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0 }; void update_advertisement_data() { buttons_data.package_index = package_i; for(uint8_t i = 0; i < n_buttons; i++) { for(uint8_t j=3;j>0;j--) { buttons_data.button_packs[j][i] = buttons_data.button_packs[j-1][i]; } buttons_data.button_packs[0][i] = button_packs[i]; } Bluefruit.Advertising.clearData(); Bluefruit.Advertising.addServiceUUID(custom_uuid); Bluefruit.Advertising.addManufacturerData(&buttons_data, sizeof(buttons_data)); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think we need to tweak something. I think we need to advertise with a UUID (reason being some code like in swift wont like it without a UUID)
so maybbbe something like
The text was updated successfully, but these errors were encountered: