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

SDK15.3 SD 6.1.1 Use services changed indication for device name

I want to change the local device name by calling sd_ble_gap_device_name_set() and then send a services changed indication to the client so it will read the new name.  The handle for the device name is 3 but if I call sd_ble_gatts_service_changed() with starting handle 3, I get the error BLE_ERROR_INVALID_ATTR_HANDLE.  How am I supposed to indicate the device name changed if I am not allowed to use its starting handle?

Related