-
• #2
Sat 2021.08.28
Have the links to the excellent articles at page bottom been reviewed? @user133684
BLE 16-bit UUID Numbers Documenthttps://www.bluetooth.com/specifications/assigned-numbers/
https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdfhttps://create.arduino.cc/projecthub/dhorton668/bluetooth-weather-station-40d1e4
-
• #3
Yes, I have reviewed the entire list of UUID numbers. The bangle definitely doesn't advertise every service there.
The arduino nano is also not the bangle.js.... the bangle.js doesn't act like a server to send weather (it acts like a client to receive weather...) like the arduino in the example... I mean cmon
-
• #4
What services does the bangle.js advertise, and what are the UUIDs?
I think it doesn't advertise any service except the default one,
NUS
, which is the Nordic UART Service, used for communication between the Bangle.js and the IDE.
If you want specific data exposed inside a specific service, you can either code it by yourself, given the great documentation on BLE services here or find an app which does it already. For the latter I don't think there will be so much things already available.
From what I understand about Gadgetbrige, it doesn't use so many BLE services. It rather uses a Serial interface service for passing JSON encoded data packets. I am not sure about that but there is chances that the serial service used could beNUS
(see gbSend() method implementation ) -
• #5
Perfect thank you, given the UART I thought it only advertised a single service, but I wasn't sure if the gadgetbridge companion weather app created a different characteristic or ???.
Basically trying to get a device to act like a bangle....But there are a wide range of characteristics and BLE descriptors. Without knowing exactly what the bangle shows it is a shot in the dark.
-
• #6
From what I understand about Gadgetbrige, it doesn't use so many BLE services. It rather uses a Serial interface service for passing JSON encoded data packets. I am not sure about that but there is chances that the serial service used could be NUS
Thanks - yes, that's spot on. You just need the Nordic UART service. Info on what Gadgetbridge actually sends is in https://www.espruino.com/Gadgetbridge
Hopefully a simple question for someone.
What services does the bangle.js advertise, and what are the UUIDs? I am specifically looking for the Weather service advertisements/messages/etc, as I assume there are some when used in conjunction with gadgetbridge.
Thank you.