6 years, 10 months ago.

Add IBeacon to Eddystone Beacon

Hi,

I want to add an IBeacon advertising to the " Mbed-ble-EddystoneService " exemple, wich contain URLFrame.cpp, UIDFrame.cpp and TLMFrame.cpp. Soi want to add a raw of Ibeacon " 31B" with their information ( minor, major, tx power ...).

I think i have to add next to (URL,UID,TLM )Frame.cpp another file with IBeacon.cpp name wich contain the information of an Ibeacon but i don't know to proceed.

Thank's for your help.

Zakaria.

1 Answer

6 years, 10 months ago.

Correct, use f.e. TLMFrame as a base (look at the setData function). The switching between frames happens in swapAdvertisementFrame and is driven by the slotStorage structure. So add your adv. type to this array.

Accepted Answer

Thank you.

posted by Zakaria AIT BOUALI 18 Jan 2018