-SDK: 15.0
-S132
-nRF52832
-Segger studio
I'm trying to implement bonding/whitelisting to my project, which is a connectable beacon with a custom service. What I want to create is that when the first device connects to my device it can be whitelisted with a single button press. After that, the device should ignore all other connection requests from other devices, unless the whitelisting is reset with another button press.
I've found this previous thread, which is not to old:
This describes the same issue I've got: the peermanager is never called and thus whitelisting is never done. In the previous thread the solution is to set a characteristic to require bonding. But how can this be done? How do I set the characteristic or attributes to require bonding?
I've used the ble_peripheral\ble_app_hids_keyboard example to implement whitelisting in my project, but without the peermanager being called whitelisting does not work.I've tried to run the ble_app_hids_keyboard example, but when I connect with nRF Connect on my smartphone (Samsung S5) the peermanager isn't called either.
Should I use a different client application instead of nRF Connect, is there a different method for whitelisting available or is there something else that I need to change?