This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Updating UUID field and advertising the updated data

I had created application with enabling the UART service(as in Ble_uart_app example) and tried to update the Rx characteristics of UART service in connectable mode through nRF . If disconnected I have to transmit the data updated form app. But it seems the UUID field of normal Beacon mode and Uart service enabled mode is different (to my understanding). To update UUID characteristics what are all the steps I should follow.

Parents
  • As Petter said in this thread you should create a characteristics with the UUID. That way the central can update the characteristics and then the peripheral can update its advertisement packet with the new UUID.

    When you say UUID in the beacon I assume you mean the uuids_complete (or similar) field in the advertisement packet? That leads to the question why do you want to update the UUID field? This is usually used for letting the central know what kind of services are available on the peripheral. If the peripheral is advertising non-connectable I don't see the use-case.

Reply
  • As Petter said in this thread you should create a characteristics with the UUID. That way the central can update the characteristics and then the peripheral can update its advertisement packet with the new UUID.

    When you say UUID in the beacon I assume you mean the uuids_complete (or similar) field in the advertisement packet? That leads to the question why do you want to update the UUID field? This is usually used for letting the central know what kind of services are available on the peripheral. If the peripheral is advertising non-connectable I don't see the use-case.

Children
No Data
Related