I'd like to apply bonding/whitelist so that once a peripheral device connects to a central, only that peripheral device can reconnect (until bonding/whitelist is cleared via button).
So far, I just have a central and peripheral app automatically pairing using "Just Works" and scan name filtering. The devices automatically pair without user input as desired...but must re-pair every time they boot. I haven't been able to get them to bond via SDK calls thus far...though I can bond to the peripheral with the nRF Connect app on my phone.
A few questions:
1) Is peer manager the proper library to handle this, using SDK 15.2? I've seen mention of peer manager being experimental, and I'm not familiar with all the libraries of the SDK yet.
2) Should the whitelist be done on the central or peripheral (or both) ? It seems like there is mention of whitelisting in either type of device in the examples.
3) Is bonding required for whitelisting? Thus far, I haven't been able to get devices automatically bonded, although SEC_PARAM_BOND is set to `1` for each app.