BLE: Change advertised name during runtime?
Posted: Thu Jan 16, 2020 8:59 am
Hi,
as one can see in many examples (like e.g. the one from https://sourceforge.net/p/iot-leaf/code ... eDHT22.ino ), the advertised name of a BLE-server typically is set up once during initialisation via a call BLEDevice::init().
Now for my application I want to change it from time to time during runtime. Is there a possibility to do that easily via a specific function call? Or does one really need to reinitialise the complete BLEDevice and all connected servers in order to change that name?
Thanks
as one can see in many examples (like e.g. the one from https://sourceforge.net/p/iot-leaf/code ... eDHT22.ino ), the advertised name of a BLE-server typically is set up once during initialisation via a call BLEDevice::init().
Now for my application I want to change it from time to time during runtime. Is there a possibility to do that easily via a specific function call? Or does one really need to reinitialise the complete BLEDevice and all connected servers in order to change that name?
Thanks