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

White-list with "Just works" simple pairing

Hello, 

We use nRF52832 with SDK-11 as peripheral in our project. We want to utilize white-list feature to limit the connection establishment. I have studied HID Mouse example, and the example uses MITM protection. It would trigger the pairing request in remote device, and if we want to clear the white-list limitation, we not only need to remove the white-list in our device, but also un-pairing the device in remote part.

I wonder if we could use "Just works" simple pairing with white-list to avoid this. Currently, we enable the white-list feature by writing a specific value to the characteristic of our device.

Any advice and suggestions will be appreciated.

Parents
  • Hi, 

    Please allow me to explain more.

    I understand that I might use white-list feature with address only, but this requires that remote device exposes its public address. If remote device uses private resolvable address, the white-list would not work correctly after remote device refreshes its address. In this situation, as I know, the IRK created by pairing/bonding process might be the solution, and this results in the question I mentioned in my original post. Is this correct ?

    Any advice and suggestions will be appreciated.

  • Hello, whitelist can be used with both address and IRK. If you have included ble_advertising.c in your project, then there will be a BLE_ADV_EVT_WHITELIST_REQUEST event to allow the application to provide the address and IRK to be used during advertisment with whitelist. If you want to bond with a new central you can disable whitelist by calling ble_advertising_restart_without_whitelist().

Reply
  • Hello, whitelist can be used with both address and IRK. If you have included ble_advertising.c in your project, then there will be a BLE_ADV_EVT_WHITELIST_REQUEST event to allow the application to provide the address and IRK to be used during advertisment with whitelist. If you want to bond with a new central you can disable whitelist by calling ble_advertising_restart_without_whitelist().

Children
Related