arduino-BLEPeripheral icon indicating copy to clipboard operation
arduino-BLEPeripheral copied to clipboard

Update iBeacon broadcast packet after starting

Open fkahhaleh opened this issue 2 years ago • 0 comments

Hi, I would like to update an iBeacon broadcast packet, primarily Major/Minor values based on some condition (for example button pressed or not).

I tried to .end(); and .begin(xyz) the new values, but nothing changed from what I was seeing in the BLE scanner app.

Am I missing something? I do see Pull Request # 198 https://github.com/sandeepmistry/arduino-BLEPeripheral/pull/198

But it is mentioned that .begin() should work in a hacky-workaround way.

Thank you.

F.K.

UPDATE: I pulled the PR noted above, and seems to be functioning correctly! Thank you floe for the PR. really saved me some time.

fkahhaleh avatar Feb 13 '22 09:02 fkahhaleh