4 years, 5 months ago.

Changing the beacon name in Eddystone format

I'm trying to change the beacon name but haven't succeeded till now. What I've tried are the following:
1. Used ble.setDeviceName to change the name in the main() funciton.
2. Added a parameter of deviceName to EddystoneService.h and use ble.setDeviceName there.
3. Removed the parameter deviceName from EddystoneService.h again, but called ble.setDeviceName there directly.
4.Used the following function too.

ble.accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LOCAL_NAME,((uint8_t *)DEVICE_NAME), sizeof(DEVICE_NAME));

I am able to compile the code without error in all the cases.
Any suggestion on where I am going wrong? Thanks in advance for help :)

Question relating to:

Example program for the Eddystone Beacon service. beacon, Eddystone

1 Answer

4 years, 5 months ago.


Currently eddystone cannot be combined with other services on the mbed platform. This should be resolved in a ble library fix in the near future, so stay tuned.


Nice. When can we expect the fix, an approximate time would help :)

posted by Lalit Kumar 02 Sep 2015