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

changing the device name via nrf toolbox app

Hi ...

i want to change the device name dynamically, i read my questions related to it , still not working . Here , gap_param_init i have set the flag to change the device name , i am disconnecting , then stop advertise  , and again i am  starting  to advertise . this is my loop , if i started again to advertise i am getting the same device_name only ,please guide me

Parents
  • Hi, 

    Please state which SDK you are working on.

    How do you start your advertising packet ? If the device name is changed, you would need to reinitialize the advertising packet to have the new data being advertised. 

    The device name setting in GAP service is not updated automatically to the advertising packet. 

    Also there is a chance that the phone will cache the advertising packet, you better use the NRF Connect on PC to verify the advertising packet's data.

Reply
  • Hi, 

    Please state which SDK you are working on.

    How do you start your advertising packet ? If the device name is changed, you would need to reinitialize the advertising packet to have the new data being advertised. 

    The device name setting in GAP service is not updated automatically to the advertising packet. 

    Also there is a chance that the phone will cache the advertising packet, you better use the NRF Connect on PC to verify the advertising packet's data.

Children
Related