Hi,
I know how to change the name of the device using
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&sec_mode);
err_code = sd_ble_gap_device_name_set(&sec_mode,(uint8_t const *) DEVICE_NAME, sizeof(DEVICE_NAME));
No problem there. I know how to store it to pstorage.
But my question is where do I get the new name coming through. Basically where do I catch the characteristic change?
For my own services I have write handlers so I can capture it all there, but where do I put code in place to catch the change for the device name so I can store and restore?
Regards,
Chris