BLE Advertising

Posted on
  • 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.

  • 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

  • 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 be NUS (see gbSend() method implementation )

  • 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.

  • 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

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

BLE Advertising

Posted by Avatar for user133684 @user133684

Actions