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

BLE_NFC_SEC_PARAM_IO_CAPS

Hi,

Small question regarding BLE_NFC_SEC_PARAM_IO_CAPS.

I want my NRF application to advertise so my mobile will connect with passkey.

I need my mobile user to send the passkey which will be displayed on my device.

I'm trying to use BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY, but the result is that the code is present on the mobile and the user has an option to confirm or cancel.

On the other hand - when I use BLE_GAP_IO_CAPS_DISPLAY_ONLY, I get the right result.

What is the reason for that?

Thanks!

Parents Reply
  • Hi, 

    The IO capability flags are used to specify how the user can interface with the peripheral. If the peripheral has a numerical keyboard a passkey can be used in the pairing process. The passkey is typically generated randomly and displayed on the Central device (Mobile), and the user has to enter the passkey on the Peripheral device. If the keys match, the pairing process succeeds.

    Please see this post

    -Amanda H.

Children
Related