Indefinite advertisement period
For my application, there is no need for the beacon to ever send out advertisements until it detects motion - when any motion is detected, it starts logging accelerometer data until the device detects a period of no motion, at which point it reverts back to its original state.
The problem is that the IBeacon.ConfigEditor.setAdPeriod(short period) call requires a short, which has a maximum value of 32,767. I'd like to instead disable advertising altogether. Is that possible?
Also, regarding the design choice: after motion is detected, would it be wiser regarding power consumption on the Metawear to establish a connection between the Metawear and the wearable, or to send the accelerometer data via beacon advertisements, taking into consideration that we may want to sample around 50Hz?
Much appreciated!
This discussion has been closed.
Comments