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:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers …

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.