Hi,
Is it possible to make pairing without the peer/device/bond manager? I am using SDK 12.3 on NRF51 and/or NRF52 and would like to get it to pair with a certain device (android or iOS) and then not let any other device connect to it.
I have been looking into it a bit, but I am still quite lost. So, what I intend to do is retrieving the address from peer and storing it into flash using whitelist, if there is no device in the whitelist, and not allowing it to pair if there is a device in whitelist different from the one trying to connect. I would also like to have an option of clearing whitelist.
Looking through the tutorials and (un)answered questions on here I've found that solutions tend to go through peer manager, but I want to get around it if at all possible.
I think I should be using structures ble_gap_evt_connected_t and ble_gap_whitelist_t for that, but I still can't figure out how to retrieve the data from peer and store it into a variable so I can use it later. Any help will be appreciated!