Hello,
I am new to BLE as a technology and have a question regarding how Peer Manager handles bonding.
As I currently understand, the function of bonding is to enable devices which have previously been connected to begin encrypting their communications without needing to rebroadcast keys. It appears that Peer Manager stores those keys in flash, meaning that they should persist through a power cycle of the nRF5 device.
However, from other DevZone answers, as well as the source code itself, it appears that Peer Manager will reject a pairing attempt from any device it was previously bonded with. Does this not defeat the purpose of bonding? I thought the pairing process was necessary for devices to begin communicating, whether for the first time ever, or after they were disconnected.
Is my understanding of bonding or pairing wrong? Or have I misinterpreted the source code?
G