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

Only one device is getting paired with nrf51422

I have read the previous questions regarding the above subject, i found that changing the maximum bonding devices limit defined in device_manager_cnfg.h will work, but it did not worked for me. I have edited the ble_app_uart example code to support passkey pairing.

I also found the bounding info is stored in flash memory. So I erased the flash and reprogrammed it but still it is pairing with only that device which was paired before erasing flash. Kindly help to fix this

iam attaching my project file, kindly find the same.nRF_DK.rar

Thanks in advance, Sunil Kumar

Parents
  • You still haven't told me what SDK and SoftDevice version you are using, but ok. You shouldn't respond to the BLE_GAP_EVT_SEC_PARAMS_REQUEST event, this should be handled by the device manager. Have you followed this tutorial? Have you added dm_ble_evt_handler() to ble_evt_dispatch()? What security parameters are you giving to device manager? How have you implemented (static) passkey?

Reply
  • You still haven't told me what SDK and SoftDevice version you are using, but ok. You shouldn't respond to the BLE_GAP_EVT_SEC_PARAMS_REQUEST event, this should be handled by the device manager. Have you followed this tutorial? Have you added dm_ble_evt_handler() to ble_evt_dispatch()? What security parameters are you giving to device manager? How have you implemented (static) passkey?

Children
No Data
Related