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

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102

SDK16.0

nRF52DK

HTS example

I got this error msg in the RTT log while running the example:

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102

What shall I do to fix it?

Thanks,

Parents Reply Children
  • On the nRF, the easiest is to run the Nordic Command Line Tools command:
    "nrfutil --eraseall"

    and the reprogram your application. Let me know if you are having trouble doing this. If so, what IDE do you use?

    What is your other device? If it is a phone, you must enter your bluetooth settings and select something like "Forget Device". If it is another nRF52810 you are trying to connect to, then you should erase that chip and reprogram it like the other one. 

    Best regards,

    Edvin

Related