Half bonding : Stop re-bonding flow before Android popup

Hi all,

For my application I have this flow:

  1. Click on physical button on the product (blinking for 1 minute, bonding allowed)
  2. Connect with NRF connect to it, a bonding is launched and succeed.
  3. I suppress the bonding at phone side (not at product side)
  4. I restart the product and do NOT put it in bonding mode.
  5. I connect the the device with a "half bond" (bond only still there at device side)
  6. I connect to the device
  7. I receive a bonding request (I do not want this).

For my application I need to avoid having an Android pairing popup when outside of the device "bonding mode".

How can I know before the Android Pair request if the bonding is full and we are not in a repairing case ?

 

I want to avoid the bonding modal to pop on Android if I know I am going to kill it afterwards, to avoid confusing my users.

Cheers!

Related