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

advertisement manufacturer id and manufacturer data -- allow zero bytes of manufacturer data? #83

Open
abqjln opened this issue Dec 19, 2024 · 1 comment

Comments

@abqjln
Copy link
Contributor

abqjln commented Dec 19, 2024

binc_advertisement_set_manufacturer_data fails if you specify zero bytes of manufacturer specific data. Yet you should be able to add only a manufacturer_id (two bytes) and no data, correct?

This arises as the total bytes in the BLE advertisement are quite limited--experimentation showed if either/or manufacturer data or service data the max data is 16; if you have both the max total data bytes equals 12. So the extra byte matters (at least to me).

Is it possible to specify zero bytes of manufacturer data while having the two-byte manufacturer id? Thanks.

@weliem
Copy link
Owner

weliem commented Dec 20, 2024

I don't know, would have to try it...

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

No branches or pull requests

2 participants