Hello,
Extremely Low power sensor follows this use case:
- Initial connection : push of a button on the sensor starts advertising, concurrently initiating scan on a smart device ==>sensor discovered by smart device.
- Bonding.
- Sensor disconnects to conserve power.
- Sensor does its 'stuff' for long period of time (longer than Supervision timeout).
- After a while the sensor initiates reconnection to smart device (if in range). No user interaction with smart device required.
- Sensor transmits its data to smart device.
- Sensor disconnects to conserve power.
- Sequence 4-7 repeats.
- Every x months sensor's battery is being replaced (loosing all non-volatile data).
- After battery replacement, sensor recognizes it's bonded and can keep repeating sequence 4-7.
- Occasionally sensor need to connect/bond to another smart device hence need to 'unbond' the previous smart device.
Now after this long intro her are my questions :
- Q1. How can peripheral intentionally (and immediately) disconnect (i. e. Not responding to connection events on connection intervals) ?
- Q2a. How can peripheral initiate reconnection without having the user interact with smart device (i.e. not pressing 'scan' button) ?
- Q2b. What is required on the central side (smart device) to support the above ?
- Q3. After battery replacement, how can peripheral recognize is already bonded ?
- Q4. How to 'unbond' ?
Phew, that was a long post... Hope you succeeded to follow... :)
Thanks in advance for any advice.