how to change the bluetooth advertisement time during the runtime ?

Hi,
I am currently developing a project using the nRF52810 as my controller and SEGGER Embedded Studio as my IDE. I have integrated the Timer and SAADC peripherals into the ble_app_uart/pca10040e/s112 example project. During development, I need to change the Bluetooth advertisement name at runtime. What can I do? Is there any function available for this?
In my current code, I have already defined a name using #define DEVICE_NAME "SILBEACON". How can I change the Bluetooth advertisement name during the runtime of the code?

sdk :- nrf5sdk 17.0.2 

ide :- seggar embedded studio 5.42a 

Related