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

undirect advertising with whitelist and peripheral name

Hi guys,

I’m using nrf51822, s130 and sdk 12.3.0…

I would like to achieve that unknown peripheral won’t find my product or at least differentiate by device name while I’m advertising with filter policy set to any or both…

So I try to perform undirect advertising with fp set to BLE_GAP_ADV_FP_ANY and set advertising data name type to BLE_ADVDATA_FULL_NAME and all smart devices are able to scan/observe for my peripheral.

Once I would like to achieve to be visible only to already paired devices I set fp to BLE_GAP_ADV_FP_FILTER_BOTH and I set adv data to 0, then I expect that non paired will still see my peripheral but with name N/A… but somehow also not paired devices are somehow able to get my peripheral name, even if I set adv data to 0…

Any suggestion what can I do about it? That not paired devices won’t see my peripheral name if I don’t include advertising name in advertising data…

About direct advertising - is useful only for 15minutes – till smart device does not change mac + there are some compatibility issues with some of smart devices…

Thank you for info!

BR, Matej

  • That doesn't make much sense. How would the unknown centrals get the advertising name if it isn't included in the advertisement? What kind of centrals are you testing with? Could it be a cache problem?

  • I have tested with several android and ios smart devices... And yes I also think that this could be cache problem... is there any option to somehow tell centrals that this name is not valid anymore? maybe for each switch of advertising mode I manually set device name to "n/a" and actual name?

    I have noticed also some other interesting behaviour... in your nrf connect app on some of non paired smart devices sometimes are found and sometimes are not found.... While on paired device is my peripheral which is advertising with whitelist and fp set to both, shows up really fast

  • It is not possible for the peripheral to tell the centrals that the old advertising name is invalid no.

    If you are using random resolvable address (and you haven't bonded with the smart phones) the smart phones shouldn't be able to recognize that the advertisements come from the same device. Have you tried this?

    I would also recommend using nRF Connect for PC, or even better, a sniffer to see what is actually in the advertisements.

Related