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

Update Advertising Message Device Name

Dear Nordic Team and Community!

I want to rise up the question again how to update an advertising message, especially the device name (on nRF52840Dongle, S140, 10059). I have read through similar posts and the only working way now ist to 

  • Stop the Advertising Service
  • Build up the packet again (like advertising init)
  • Start the Advertising Service again

I set the advertising device name with the command:

 sd_ble_gap_device_name_set(&sec_mode, (const uint8_t *)"name", strlen("name"));

I know there is a update Reference in the SDK, but I did not found any effective way to get it working, like other posts also claimed. 

Do you have any examples or ideas on how to make updating the device name more effective?

Thank you for your help!

Kind Regards

Related