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

BLE_APP_TEMPLATE connection ecryption error in SDK 15.1

Hello. I've migrated my application from SDK 14.2 to 15.1 and I obtain this strange message from peer_manager_handler in my log: 

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

I obtain this message only when I connect with nRF_Connect app on Iphone. When I connect with Android everything is fine.


My application is based on ble_app_template. So, I upload clean ble_app_template from SDK 15.1 and still obtain this message. When I check it on ble_app_template from SDK 14.2, message is disapear.

What does this message mean? And have can I deal with it?

Parents Reply
  • To give further instructions about this since this helped me with my iPhone, "removing the bond" in my case meant going to Settings => Bluetooth, and looking for my nRF Device. Then go to "Forget this device". I also turned off Bluetooth afterwards just in case and re-enabled it. That Connection Security Failed message went away. Maybe just "Forgetting the device" is enough, haven't tried it.

Children
No Data
Related