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

Bounding for some phones fails with PM_EVT_ERROR_UNEXPECTED

Details: SoftDevice 132, nRF5_SDK_15.2.0_9412b96, Peer Manager, nRF52832-QFAA-0E, nRF Connect 4.22.3, Android 5.1, Android 7.1

Symptoms:

nRF Connect on Android 7.1 fails bounding with application running on nRF52832 (which is getting PM_EVT_ERROR_UNEXPECTED)
In the same setup Android 5.1 bounds fine. Order of bounding does not matter, symptoms appears on a freshly erased/programmed chip
Both phones able bounding with an SDK example application.

What could be wrong?

Parents Reply
  • I think I've figured out with this issue - in process of bonding, peer manager seems to disable interrupts for long period causing my application to miss some events and face unexpected state. That I've sorted out.
    Though, there is still an issue with peer manager and Android 7, but with different symptoms. Should start another topic for that or reuse this one?

Children
Related