⚠️
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
craftwizard
Offline
Last seen:3 years 2 months ago
Joined:2014-12-17 05:34
scanner settings

Hi Dialog

我正在做一个扫描仪测试。
There is a variable that sets "scanner windows size" among the setting values.
Please let me know in detail.
And if you set the variable "filter_duplic" to SCAN_FILT_DUPLIC_EN,The device is searched only once.
Can I reset it after a certain period of time?
I want to receive duplicate searches every 5 or 10 seconds.
请回复。

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi craftwizard

Hi craftwizard

The scanner window size defines the amount of time that the device is going to scan for devices in the determined scan interval the unit is in slots (0,625ms).

Yes if you set the SCAN_FILT_DUPLIC_EN during one scanning procedure the controller will report the device to the application only once, the scanning procedure in mode GAP_GEN_DISCOVERY and GAP_LIM_DISCOVERY lasts for about 8 seconds after that it times out, so after the device finishes with the scanning and the scanning complete callback hits you can force the device to start scanning again, by issuing the new scan the buffer that stores that devices that are allready discovered is reseted and the new scan should display the allready scanned devices from the previous scan.

Thanks MT_dialog