Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bonding with io capabilities

Hi everyone,

I'm developping on nRF52840 with SDK 15.0.0 and Softdevice S140 v6.0.0

I'm using Peer Manager for pairing and bonding.

Everything work fine with io_caps BLE_GAP_IO_CAPS_NONE and implicit bonding.

Now I want to add user action for bonding validation.
I have one led and one button so I changed io_caps to BLE_GAP_IO_CAPS_DISPLAY_YESNO
But I can't figure out when light up the led and which function to call on button click ?

Is there any tutorial similar to this scenario ?

Thanks you for your time !

Related