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.
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.