Secure BLE connections in nrf52833

Hi All,

Hope everyone is fine.

I'm using Vs code with nrf Connect sdk v1.9.1 to develope firmware for nrf52833.

Here our device has no display or Keyboard to give input. I want to achieve pairing with external mobile application ex. nrf connect app.

How can we do it?

I have tried with example under the path "v1.9.1\zephyr\samples\bluetooth\peripheral_sc_only", where I found one it uses SECURITYLEVEL_4.

I've copied the example as it, and got following response into my terminal.

Security failed: 65:86:DA:1C:0E:65 (random) level 1 err 8
Pairing Failed (8). Disconnecting.
{Disconnected (reason: 22)}

Please guide me with necessary steps here. Thank you in advance.

Related