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

Using BLE_GAP_IO_CAPS_DISPLAY_YESNO to allow ble connection on wristband

Hi, I have a wristband with a full color display and touch with a nRF51822 where I am using SDK12.3.0 and Softdevice 130. I want to display a YES or NO question on the display to allow or not a device to connect to it. I have the display and touch working so I can easily display it and wait for the use to decide. I have already set the BLE_GAP_IO_CAPS_DISPLAY_YESNO on SEC_PARAM_IO_CAPABILITIES but I do not know when I should display the question I how to send the answer back to the phone app or another nrf5 device. Does someone have an example or any idea about how to do that?

Related