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

How to set BLE device name based on device parameters

Dear Nordic,

we would like to set the BLE device name like this: "model" "serial number" (for example: "Model 024585").

The serial number is on a EEPROM, and the device name will have the same nave from the startup to the poweroff.

Following your example, the device name is a #define and sd_ble_gap_device_name_set() accepts only pointer to constant string, so please could you tell me how can I set a different device name based on custom serial number for each different device?

Thanks.

Parents Reply Children
No Data
Related