完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
你好,
我正在使用MyY40 C的例子。我看到一些奇怪的行为在一个设备多个相同的情况下,将显示在扫描列表。这个问题是断断续续的。 还有其他人看到这个吗? 谢谢您! 海伦 以上来自于百度翻译 以下为原文 Hello, I'm working with the MADY40 C# example. I'm seeing some strange behavior where multiple identical instances of a device will show up in the scan list. This issue is intermittent. Has anyone else seen this? Thank you! Helen |
|
相关推荐
5个回答
|
|
蓝牙的扫描操作本身将在每次发出“扫描”ping时从每个设备接收数据包。很可能是,你没有过滤扫描包来忽略/丢弃来自设备的重复扫描响应数据包。
以上来自于百度翻译 以下为原文 The scanning operation itself for bluetooth will receive packets from every device every time it sends out a "scan" ping. It could very well be that you aren't filtering the scanning packets to ignore/discard repeated scan response packets from the device(s). |
|
|
|
yuhe82 发表于 2019-2-25 07:41 是的,这是真的;然而,它的数据包应该在例如过滤: blemanager。StartScan(新cyblescansettings(cyscantype.passive_scan,default_scan_interval,default_scan_window,cyinitiatoraddrtype.public,cyscaninitiatorfilterpolicy.accept_all_adv,cydiscoverytype.observation_procedure,default_scan_timeout,cyscanduplicatefilterpolicy.enable_duplicate_filtering) cyscanduplicatefilterpolicy.enable_duplicate_filtering应使扫描广告重复过滤。 以上来自于百度翻译 以下为原文 Yes, that's true; however, it appears that the packets are supposed to be filtered in the example: BLEManager.StartScan(new CyBleScanSettings(CyScanType.PASSIVE_SCAN, DEFAULT_SCAN_INTERVAL, DEFAULT_SCAN_WINDOW, CyInitiatorAddrType.PUBLIC, CyScanInitiatorFilterPolicy.ACCEPT_ALL_ADV, CyDiscoveryType.OBSERVATION_PROCEDURE, DEFAULT_SCAN_TIMEOUT, CyScanDuplicateFilterPolicy.ENABLE_DUPLICATE_FILTERING), ScanCallBack); CyScanDuplicateFilterPolicy.ENABLE_DUPLICATE_FILTERING should enable scan advertisement duplicate filtering. |
|
|
|
dingxueli 发表于 2019-2-25 07:59 嗯,我没碰到过这个问题。也许其他人有输入?:) 以上来自于百度翻译 以下为原文 Hmmm, I haven't run into this. Perhaps someone else has input? :) |
|
|
|
你好,
到目前为止,我还没有在这个例子中看到这个问题。你对这个项目做过任何修改吗?如果是这样,那是什么?请您在这里附上修改代码好吗? 当做, - Madhu Sudhan 以上来自于百度翻译 以下为原文 Hi, So far I haven't seen this issue in that example. Have you done any modification to the project? If so what are those? Can you please attach your modified code here? Regards, -Madhu Sudhan |
|
|
|
不,我根本没有修改过这个项目。
谢谢,海伦! 以上来自于百度翻译 以下为原文 No, I have not modified the project at all. Thanks, Helen! |
|
|
|
只有小组成员才能发言,加入小组>>
716个成员聚集在这个小组
加入小组1901 浏览 1 评论
1652 浏览 1 评论
3405 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1568 浏览 6 评论
1380 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
180浏览 2评论
179浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
318浏览 2评论
344浏览 1评论
58浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-24 01:31 , Processed in 0.586946 second(s), Total 77, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号