⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
wisilica
Offline
Last seen:10月3周前
加入:2015-03-17 08:16
ble_advtim_set

Hi,
Please mention why ble_advtim_set(uint32 _t value ) api is used in the SDK. What is the default value given ? And please do mention the unit of the argument passed. What will happen if the value 0 is given as argument ?

Thanks
Wisilica

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

Hi wisillica,

I dont see any example that uses the ble_advtim_set(), its purpose is to manage the interval between the advertising interval for each channel in each advertising event but its used only in the beacon reference design, the value is in usec and the default value is 1500us. I dont see any reason for doing that, nevertheles as far as i can test If you place a 0 it depends on the advertising that you use, for example if you use undirected advertising the device wont advertise properly (i trust that this has to do with the fact that you should allow some time slot for the Rx radio operation for the scan request), and for non-connectable advertising it will just advertise in the smallest interval between each channel.

Thanks MT_dialog