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

Generic Access Profile Device Name change

One can change value of Device Name characteristics in Generic Access Profile. How can I register the change event? At the moment I would be able to do it by periodically reading sd_ble_gap_device_name_get() and compare read name with old name. If they are not equal then name was changed.

Is there a better way? I use softdevice 8.0.0.

How to properly start advertising with new name in advertising packet when advertising is already in progress?

Parents
  • I still have some uncertainty. I don't know how to do.

    If a central wants to update the name of a peripheral, it has to write to the device name characteristic. When writing to the device name characteristic, the device name will automatically be updated, no need to add extra code for that.

    If i want to store the new device name in my flash , how to do that?

    Could you give me some sample code? I think it will be helpful..

Reply
  • I still have some uncertainty. I don't know how to do.

    If a central wants to update the name of a peripheral, it has to write to the device name characteristic. When writing to the device name characteristic, the device name will automatically be updated, no need to add extra code for that.

    If i want to store the new device name in my flash , how to do that?

    Could you give me some sample code? I think it will be helpful..

Children
Related