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, 1 month ago.
iBeaconService, can you change major/ minor ID after its started?
I'm looking for existing way to change the ibeacon's advertising data after It has started
e.g.
currently I init with iBeaconService ibeacon(ble, uuid, majorNumber, minorNumber, txPower);
I would like to dynamically change major/ minor after its running
While(1) If(act as beacon1) ibeacon.SetMajor/Minor(0, 0) else ibeacon.SetMajor/Minor(1234, 5678)
Cheers
Question relating to:
1 Answer
9 years, 1 month ago.
You'll find APIs to clear and update the advertising payload dynamically. There also have been a few posts around this idea previously on mbed.org.