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

How to activate directed high duty advertising for quick re-connections after a bonding has already been established

To the kind attention of Nordic support team,

I'm considering here a scenario where only a device and only an host PC are involved. They are ble bonded together.

Now, when switching off/on my device, I want it advertising in directed mode (high duty possibly) so to get the quickest re-connection possible to the host.

I'm doing some test, but no matter how I change advertising flags, I cannot accomplish my goal, and using a Nordic sniffer and Wireshark it always find out

that adv packets are ADV_IND type (and not ADV_DIRECT_IND as I wish would be).

So my questions: are these flags in advertising_init the only point where modify the code? If yes, how (let's consider a fresh sdk16/examples/ble_peripheral/ble_app_hids_mouse )? 

Is there a working example showing how to properly do this configuration so to get ADV_DIRECT_IND?

I'm reading here:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_hids_mouse.html&cp=4_0_1_4_1_2_16

It says -if I'm not wrong- that when the device has been removed from devices list in the host PC, then I should see the directed advertising.

But when the device is in the host list, I can only see ADV_IND while re-connecting.

Is it possible to force and ADV_INDIRECT_IND during this re-connection phase, and does it offer better re-connection performances in terms of time (even if using more power)?

Thank you for helping me clear this subject

Thank you for your precious suggestions.

init.config.ble_adv_whitelist_enabled = 
init.config.ble_adv_directed_high_duty_enabled = 
init.config.ble_adv_directed_enabled = 
init.config.ble_adv_extended_enabled = 
init.config.ble_adv_directed_interval =
init.config.ble_adv_directed_timeout = 
init.config.ble_adv_fast_enabled = 
init.config.ble_adv_fast_interval = 
init.config.ble_adv_fast_timeout = 
init.config.ble_adv_slow_enabled = 
init.config.ble_adv_slow_interval = 
init.config.ble_adv_slow_timeout = 

Parents Reply Children
No Data
Related