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

How to update the UUID's value when user press "download" button in UUID.

Hi ,

my chip is: nrf52832

my SDK is: nRF5_SDK_15.2.0_9412b96

I'd like to know how to update the value of UUID when user press the "download" button ( the down arrow). 

I can't find a interface to set a callback to update this value.

thanks for helping!

Parents
  • What do you mean with updating the UUID's value? And what do you mean with downloading? What down arrow?

    I'm assuming that you're talking about reading a characteristic's value with nRF Connect (?).

    If that's what you want to do, I'd advise you to enable and implement handling of Read Requests with Authorization for the characteristics that you want to behave like that. This allows you update the value of the characteristic on each read (see MSC here).

    If you really want to update the UUID then I don't really know if that's possible without actually changing the GATT table and implementing the Service Changed notification thing.

  •  Andy, Thanks for your reply.

    your assuming is right. I will try the Authorization for characteristics as your suggestion. hope it can help me. I will reply the result late.

Reply Children
Related