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

PeerManager error (error: 4352)

I have a question about PeerManager.

When I tried bonding using PeerManager, the following error occurred.
Please tell me the cause.

<info> peer_manager_handler: Connection security failed: role: Central, conn_handle: 0x0, procedure: Bonding, error: 4352
<warning> peer_manager_handler: Disconnecting conn_handle 0.

Parents
  • Hi,

    Which SDK version and example are you using? What device are you using for testing bonding against? Decimal 4352 is 0x1100. I find the following defines and reasoning for this error in peer_manager_types.h:

    #define PM_CONN_SEC_ERROR_BASE 0x1000  /**< @brief The base for Peer Manager defined errors. See @ref PM_SEC_ERRORS and @ref pm_sec_error_code_t. */
    #define PM_CONN_SEC_ERROR_DISCONNECT         (PM_CONN_SEC_ERROR_BASE + 0x100) /**< @brief Pairing or encryption did not finish before the link disconnected for an unrelated reason. */

    So it looks like the device disconnects before the pairing or encryption procedure completed.

    Best regards,
    Jørgen

Reply
  • Hi,

    Which SDK version and example are you using? What device are you using for testing bonding against? Decimal 4352 is 0x1100. I find the following defines and reasoning for this error in peer_manager_types.h:

    #define PM_CONN_SEC_ERROR_BASE 0x1000  /**< @brief The base for Peer Manager defined errors. See @ref PM_SEC_ERRORS and @ref pm_sec_error_code_t. */
    #define PM_CONN_SEC_ERROR_DISCONNECT         (PM_CONN_SEC_ERROR_BASE + 0x100) /**< @brief Pairing or encryption did not finish before the link disconnected for an unrelated reason. */

    So it looks like the device disconnects before the pairing or encryption procedure completed.

    Best regards,
    Jørgen

Children
Related