[Bluetooth mesh]How can I change device name at runtime in ./sample/bluetooth/mesh/?

Kai Ren


I’m using Zephyr v1.12.0 release, the sample code I used is ./sample/bluetooth/mesh/.

In this project, I know the device name (used at provisioning phase over PB-GATT) is predefined in *.prj file, CONFIG_BT_DEVICE_NAME . Is it possible to change the device name at runtime?

I plan to use chip’s factory ID to replace the predefined device name.



Best Regards,



Join devel@lists.zephyrproject.org to automatically receive all group messages.