peer_manager_handler: Connection security failed: role: Central, conn_handle: 0x0, procedure: Encryption, error: 4352

Hello,

The following error occurred when I ran the program.
00> <info> peer_manager_handler: Connection security failed: role: Central, conn_handle: 0x0, procedure: Encryption, error: 4352
00>
00> <info> app: Disconnected. conn_handle: 0x0, reason: 0x3E
I figured it was because the connection dropped while we were trying to pair.
Some say reconnecting multiple times can avoid this problem.
Can you show me how to reconnect multiple times or is there another solution
nRF5_SDK_17.1.0_ddde560

  • Hi,

    It seems the root of this problem is that you get frequent disconnects, so I suggest to focus on that. Disconnect reason 0x34 is "Connection failed to be established", which is caused by packt loss early on in the connection. Typical reasons for this could be things like bad HW, either in the RF cuirquitry (is the HW tuned by us or do you use a module you know is good), or a bad LF clock source. Other issue could be noise interference. Can you say more about your device and how you test?

Related