scan 最多能搜到多少个

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YaTr_3516311
Level 5
Level 5
25 sign-ins First solution authored 100 replies posted

Hi,

我想问一下cybt343026-01的模块,scan的话,最多能scan到多少个?

0 点赞
1 解答
Sven_Wang
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 solutions authored

没有什么限制,可以把scan interval和scan window设置成一样大,这样就会一直在扫描。

在原帖中查看解决方案

0 点赞
5 回复数
Sven_Wang
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 solutions authored

Hello @YaTr_3516311 ,

 

我测试了一下这个模组,一直有设备被不断的被扫到。

所以不存在“最多”,严格意义上说,这应该取决于你的环境,如果你的周围有很多的广播设备,扫描不停下来的话,理论上是无限的。

有关于扫描,请参考这个文章第41页:

https://www.infineon.com/dgdlac/Infineon-EZ-Serial_WICED_Firmware_Platform_User_Guide_for_CYW2070x-b...

其中提到了: If you do not have any automatic scan timeout set, scanning will continue until you explicitly stop it. 

也可以自己验证一下,/s是开始扫描,/sx是停止扫描

 

Thanks

Sven

0 点赞
YaTr_3516311
Level 5
Level 5
25 sign-ins First solution authored 100 replies posted

.high_duty_scan_interval = 96, // High duty scan interval
.high_duty_scan_window = 48, // High duty scan window
.high_duty_scan_duration = 5, // High duty scan duration in seconds (0 for infinite)

.low_duty_scan_interval = 96, // Low duty scan interval
.low_duty_scan_window = 48, // Low duty scan window
.low_duty_scan_duration = 5, // Low duty scan duration in seconds (0 for infinite)
我可能没有描述清楚。我的意思是一个scan周期(不是扫描停不下来)。一个周期能最多扫到多少个?你们的内部代码有个数的限制吗?如果我的测试环境外面有100个tag,这一个周期能全部都搜到吗

0 点赞
Sven_Wang
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 solutions authored

这个buffer其实应用层是感受不到限制的。请问为什么需要了解这个数据呢?是有什么特殊的应用需求么?

0 点赞
YaTr_3516311
Level 5
Level 5
25 sign-ins First solution authored 100 replies posted

有个应用场景是有100-200个tag,然后用cybt343026-01去搜索。所以我就想确认一下模块有没有什么限制

0 点赞
Sven_Wang
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 solutions authored

没有什么限制,可以把scan interval和scan window设置成一样大,这样就会一直在扫描。

0 点赞