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

Parents Reply
  • SinopeXI said:
    Thank you for your fast response.

    No problem at all, I am happy to help!

    SinopeXI said:
    I tried to get the update of the advertising working, unfortunately I get the error 

    Undefined reference, have you added the necessary files to your project?
    Make sure that you have added the ble_advertising.c file to your project, and included its header file at the top of your main.c

    Best regards,
    Karl

Children
No Data
Related