ADV_DIRECT interval & duration

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
marss
Offline
Last seen:8 months 1 week ago
加入:2015-05-08 10:18
ADV_DIRECT interval & duration

The SDK contains a function app_easy_gap_directed_advertise_start which sends a ADV_DIRECT messages every 3.75 milliseconds for a few seconds:

1. How can I change this interval (changing the constants in the function app_easy_gap_directed_advertise_start_create_msg has no influence)
2. How can I influence the duration or how many times the directed advertise is repeated (at the moment it stops after a few seconds)

Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi marss,

Hi marss,

You can't, the directed advertising is standard and specified by the BLE specification, it lasts about 1.28 seconds with a 3.75ms interval and then it is automatically stopped, you cannot control the interval, the Advertising_Interval_Min and Advertising_Interval_Max are ignored. There is an additional option in later BLE standards that allows you for a Low Duty Cycle directed advertising, but this is not an option for the 580.

Thanks MT_dialog