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

Bonding errors in SDK 14

Hello,

I have recently ported our application from SDK 13 to SDK 14. Everything that worked in SDK 13 works in SDK 14. I then added the peer manager according to the ble_hrs example.

Every time I try to initiate bonding (through the nRF connect android app) I get a PM_EVT_ERROR_UNEXPECTED error in the pm_evt_handler() function.

When I trace it, it is originating in the pm_sm_evt_handler() function inside peer_manager.c, where it receives SM_EVT_ERROR_UNEXPECTED.

Do you have any ideas regarding what could cause this and where to check?

Thanks, Michael.

Related