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:
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