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

Is there any method to hide advertise packet from nRF52 in the nRF Connect utils?

We want to use some device in the peripherial mode.

after the devices were bonded, for next connect I need to hide this advertise packet from air in the nRF Connect util. Is it possible?

I can hide name- works. 

Also I tryed (after has bonded) change 

BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE

to

BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE

At this case, there is no any device in the nRF connect but also can't connect to bonded device.

Parents Reply
  • Hi 

    There are two methods to limit the number of devices that can send connection or scan requests:

    1) Directed advertising, as described below. This only allows you to connect to a single device, and you will skip all the normal fields in the advertising payload. 

    2) Advertising with white list: In this mode you don't change the content of the advertising payload, and everyone can read the advertising packet, but you will only accept connection requests or scan requests from devices that are stored in your white list. 

    The advantage of this method is that you can have more than one device in the white list, but the drawback is that other devices can still read your advertising payload (if you want you could always remove the data fields from the adv packet if the devices in your white list don't need this data).  

    Best regards
    Torbjørn

Children
Related