hi ... i want to change the device name by using our customized nrf toolbox , user will entry the name of device , so that particular name should with the previous name (nRF5X) ..How to do that ?
i tried by copying the received data to device name (strcpy (device_name , user_name) , the name is not changing . i have seen multiple threads, none of them work out
HI,you can refer to this example (https://github.com/jimmywong2003/nrf5-modify-device-parameter-through-host).
it is very similar to the thingy52.
Hi,you need to disconnect the ble link and stop the advertising first if you need to change the device name.
Please run the code on my example to see how it works.
static void gap_params_init(bool load_setting…
1)You need to disconnect the link 2) set the device name for activation 3) reconnect to the host againin my example, I store on the flash. After power up, I will configure the device name.
To update the device name via BLE you need to do the following:
Note that the phones cache the advertising name, so you will not necessarily see the new name on an existing phone unless you delete the bond, toggle Bluetooth off and on, and pair again (or similar).
How to update the advertising set with new advertising data to use the new name ?
Best Regards ,
If I disconnected then how I will enter the data in ble_app_uart
ok let me try jimmy , i will be back to you, but i couldn't able to run your code need to include many header files .
You should run the example on the nRF52 DK board to try first.
and then understand what I did on such example. Otherwise, you can't solve the problem by yourself.
i am finding the difficult , your example is for thingy52 ,if i run in nRF52 sdk 15.2 version . i am getting error , ble_tcs.h no such file found . This ble_tcs.h file is not found in my sdk ..so the only one way , i should program on my own, guide for that please