sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
463 stars 180 forks source link

Modify iBeacon advertising packet while transmitting #212

Closed rwadhwa25 closed 6 years ago

rwadhwa25 commented 6 years ago

Hi, Is there any way to change the advertising data (eg: Minor) based on some conditions, say a sensor reading? If it's possible could you please provide me with some direction on how to proceed or which library to modify if that's needed. Thanks!

sandeepmistry commented 6 years ago

You'll have to try to call blePeripheral.end() and the original setup stuff again to change parameters.