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.

Parents
  • Hi Jonatan,

    s110 ver 7.0.0 have Privacy implemented and handled automatically by the SoftDevice. If you update, your device can use resolvable private addresses for advertising with less hassle. Other devices will then see that a device is advertising nearby, but as its address will constantly change between seemingly random numbers, they will not be able to track it. If you in addition have no advertisement data that can identify your device and use whitelisting to only let the known peer connect, your device should be as hidden as possible.

    BR, Øyvind

Reply
  • Hi Jonatan,

    s110 ver 7.0.0 have Privacy implemented and handled automatically by the SoftDevice. If you update, your device can use resolvable private addresses for advertising with less hassle. Other devices will then see that a device is advertising nearby, but as its address will constantly change between seemingly random numbers, they will not be able to track it. If you in addition have no advertisement data that can identify your device and use whitelisting to only let the known peer connect, your device should be as hidden as possible.

    BR, Øyvind

Children
Related