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 Roei,

    Roei said:
    when I define BLE_GAP_IO_CAPS_DISPLAY_ONLY, my nrf device displays the passkey and my mobile displays a keyboard to insert the passkey. Does it make sense?

     Yes, it makes sense. This defines the in/output capability of the device. In this case, the nrf does not have any input capability but the phone does. So the phone gets the responsibility for inputting the key. 

    -Amanda H.

Children
No Data
Related