Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About error code 4352

Hello.

In order to connect multiple units on the previous question page (https://devzone.nordicsemi.com/f/nordic-q-a/51970/implementing-multilinks-on-multiroll-programs), we were able to specify the array.
However, when I implemented the program, I got the following error:

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 4352
Disconnected, reason 8

What are the possible causes for this “4352”?Thank you.

The environment is as follows.
SoftDevice: S132
IDE: SES
BLE Device: NRF52832
SDK version: 15.30
peripheral project: ble_peripheral⇒ble_app_hrs
multirole project: experimental⇒ble_app_multirole_lesc

Parents
  • Seems the error is:

    #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. */

    The disconnect is BLE_HCI_CONNECTION_TIMEOUT.

    Maybe you should look into the lfclk source you have on the two peers? E.g. use NRF_SDH_CLOCK_LF_ACCURACY 1 (500ppm), look into what you have configured for:

        nrf_clock_lf_cfg_t const clock_lf_cfg =
        {
            .source       = NRF_SDH_CLOCK_LF_SRC,
            .rc_ctiv      = NRF_SDH_CLOCK_LF_RC_CTIV,
            .rc_temp_ctiv = NRF_SDH_CLOCK_LF_RC_TEMP_CTIV,
            .accuracy     = NRF_SDH_CLOCK_LF_ACCURACY
        };

  • Hello Lenneth.
    Sorry for the late reply.
    Thank you for the advice.
    It was successful to connect a single peripheral device that was not the original array specification. Since the program was changed on the multi-roll side, I confirmed the result of awneil when I checked with the debug function. If you have any advice, please.

Reply Children
Related