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

nRF52 Peer Manager fails with PM_EVT_ERROR_UNEXPECTED

Dear DevZonee's

Im trying to esablish a BLE connection using the following configuration of the peer-manager:

* LESC

* Just Works -> IO-Caps none (0x03)

If i run the application on my DK and then try to connect to it via the NRF-Connect, the application crashes.

As mentioned I get the PM_EVT_ERROR_UNEXPECTED event from the peer-manager along with the error code 16 (0x10).

If I switch the LESC flag from 1 to 0, the error no longer occurs, and the connection is successful.

Can anyone explain this behaviour to me? Is it possible to establish a LESC just-works connection?

Related