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

SDK 15.3 pairing issue

I am getting the below error message when I try to repair the device. 

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133

SDK Version: 15.3

Softdevice: S132 [nRF52832]

Example code : examples\ble_peripheral\ble_app_ancs_c

Parents
  • Hi

    This error could occur for a multitude of reasons, so you'll have to be a bit more specific. What device(s) are you testing this on, and how often does this error occur? One common issue that's seen from error 133 is that the LF crystal isn't configured correctly. If you're using a third-party module that ships without the external LF crystal, you have to change the LF_CLK settings in sdk_config.h in order to configure the internal RC oscillator instead, as our SDK examples use the external LF clock by default.

    Best regards,

    Simon

Reply
  • Hi

    This error could occur for a multitude of reasons, so you'll have to be a bit more specific. What device(s) are you testing this on, and how often does this error occur? One common issue that's seen from error 133 is that the LF crystal isn't configured correctly. If you're using a third-party module that ships without the external LF crystal, you have to change the LF_CLK settings in sdk_config.h in order to configure the internal RC oscillator instead, as our SDK examples use the external LF clock by default.

    Best regards,

    Simon

Children
  • Hi Simon,

    I am working nRF52 Development kit.

    I have just taken the example code, and followed the below steps

    1. Erase the complete flash <nrfjprog tool>

    2. Load the ANCS example code 

    3. Connect from the smart phone. 

    4. Unpair the device from phone.

    5. Try to connect again 

    In the 5th step i get the error.

    Since I have not done any changes I expect at least repairing should happen.

Related