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

Hide device to unknown centrals

Hi, I'm developing a HID-device using nrf51822, s110 ver 6.0.0 and SDK ver 5.2.

I would like to hide the device from unknown centrals once it's paired. I'm advertising using a whitelist with only one entry and setting filter policy to BLE_GAP_ADV_FP_FILTER_BOTH. When testing this with two ios-devices, my HID-device shows up on both ios-devices, even though i'm advertising with a whitelist containing only one irk adress.

Looking at this question: devzone.nordicsemi.com/.../ It seems like I should use an undiscoverable advertising type, however, I can't find any way in the linked function (ble_advdata_set) to set this.

As mentioned in the question above, the peer might choose to (incorrectly) show devices that it shouldn't. Is this the case with the ios-devices ? (I tested with an ipad and iphone5) I would prefer to solve this without implementing the private adress mentioned in that question.

Related