-
Notifications
You must be signed in to change notification settings - Fork 93
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
UUID confusion? #79
Comments
The advertising data is just what the device announces and the e.g. 0x1809 is |
does the 0x1809 HEALTH_THERMOMETER_SERVICE need to match the service UUID used in the |
Technically it doesn't need to match. The advertising data is what a device "sees" when scanning for BLE devices while the services it will see during discovery (i.e. when it connects to the device) might be different ones. Also, the amount of data you can fit into the advertising packet is limited. If you control both ends of the communication you can use whatever works for you for the advertising data. If you don't control the BLE central device then you need to know what the central device is looking for to match that |
could you help explain
AdStructure::ServiceUuids16(&[Uuid::Uuid16(0x1809)]),
versus
is the service UUID duplicated?
The text was updated successfully, but these errors were encountered: