Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 2 months ago.
ble.gap().setDeviceName doesn't work
Hi
I'm trying to set the device name using the above API in the iBeacon example. It doesn't seem to work. Anyone know why?
I also tried using ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LOCAL_NAME,
and that didn't seem to work either.
Question relating to:
1 Answer
9 years, 2 months ago.
Please refer to the HeartRate demo for an example use which works successfully: https://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_HeartRate/file/469dbde1a238/main.cpp