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

How to change device name in advertising data?

I'm running the ble_peripheral\ble_app_uart example on my nrf52832, it works great.

However, in main.c there is this line:

#define DEVICE_NAME "Nordic_UART" /**< Name of device. Will be included in the advertising data. */

that corresponds to what I see as advertising in my "BLE scanner" app on my phone.

When I change this DEVICE_NAME to another string, and rebuild my application, I cannot seem to get the name to change in the BLE scanner.  I redownload, cycle power, restart the App, it actively advertises to my app, and it's the same name.

What is it I don't understand about this?

Thank you.

Related