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

ble pair confusion

Now I am working on ble_app_uart project. For security reason, I don't want any unaccepted mobile phone connecting to my peripheral device.

From this post link text, I found this

By setting IO capabilities to BLE_GAP_IO_CAPS_NONE the iPhone won't ask for a passkey to be entered. However, if you want to use passkey in your application, you can for example use the UART to enter the passkey on your connected PC and transmit the passkey to the PCA10001.

In practice, it shows 'connection is rejected' when I try to use mobile phone to connect to dongle running ble_app_uart, while connecting with nrf uart app still works. I wanna know why uart app works and why 'connection is rejected' happens. And if I want to enhance security level, I should leave 'connection is rejected' happening, or use a passkey?

Related