This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 and the Nordic UART Service (NUS) bonding question

I am using an nRF52832 and the Nordic UART Service (NUS). I am using the example NUS code and the UART side is plugged into another microcontroller's UART. By default that example has no security and I want to use bonding. I have a passkey in plaintext stored inside the NRF52832 (set by the other micro at boot time). I went to start adding security by modifying my ble_event_handler() doing the procedure in the "Bonding: Passkey Entry, Peripheral Displays" message sequence chart but then I discovered the peer manager in the SDK. Now I'm confused. Should I use the peer manager calls or do it exactly as the message sequence chart shows?

Parents Reply Children
Related