BLE Rename Device


#1

Is it possible to change the name of the Duo as a BLE peripheral dynamically?

If so, would I change the advertising data or the scan response data or both?

Can I then just stop advertising and then start advertising again or is it better to restart the Duo completely?


#2

Try this one:
ble.setDeviceName((const uint8_t *)“hello world”);