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

nRF52 change device name

Hello everyone,

I would like to change the name of my device with sd_ble_gap_device_name_set (). But the resulted name in the nRF Connect app is always "N/A".

Here's my code :

Edit :

If I configure the BLE packet by myself, it's working fine. The code looks like this :

Indeed, I don't know what does the sd_ble_gap_device_name_set function. I don't found its source code anywhere. Anyone know ?

Sincerely,

Sylvain.