Hi,
I'm trying to implement some direct advertising, but I'm a little lost in the process.
Could you provide me with an example of code ? I read somewhere that ble_app_hid_mouse was doing that, but all I can see is some whitelisting + a start advertising using BLE_ADV_MODE_FAST, even if directed is set to true during configuration phasis. Did I miss something ? Is direct advertising used only when some peer is bonded ?
More generally, my problem is that I have the ability to get the peer address by usb, so I'd like to use it to make direct advertising from the start. I Think I read elsewhere on the forum some problems linked to direct advertising, so I may be open to other approches, like whitelisting, but it seemed more logical to me to perform direct advertising ...
I'm using nRF5238 with SDK 16 and SoftDevice 7.
All the best,