We will talk to the developers to determine if Passkey pairing can be delayed until a certain sensor value is verified, then completed once confirmed.
Unfortunately stack does not provide a callback into the application when it receives pairing request from the peer. What you can do is to enable/disable pairing based on your sensor output. For example if you want to enable pairing only when a button is pushed. You can register to receive interrupts. On the application startup and when button is released you will call
When button is pushed call
Thanks, works great.