This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Connecting with bonded peer

Hi,

For some time I'm developing application for both central and peripheral devices. The Idea is that both devices have a special mode in which they pair & bond and add each other to the whitelist and then disconnect, as the peripheral hoes to sleep. The central will be always alive and listening for whitelisted devices advertisements. When the peripheral is triggered (for example by user button press) it will start advertising to connect to the central and after connecting, it will send message. Now the whole setup works but have some bugs. There is one thing I'm not sure about though. When devices are bonded and central receives `PM_EVT_BONDED_PEER_CONNECTED` event, does it mean they are connected and the link is encrypted? Or should `pm_conn_secure` be called by central?

I'm not posting any code because I just want to know the idea

I'm using SDK 17.0.2 and nrf52833 on both central and peripheral

Parents Reply Children
No Data
Related