完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我试图理解这些清单是如何工作的。拜托,让我做一些修改,如果他们错了就改正。 首先,我开始使用白名单来过滤试图连接到我的外围设备的中心地址。我手动管理这个白名单,直到出现BLE 4.2和隐私1.2。在这里,我们有RPA或随机地址,现在,试图连接到我的外设的相同设备有不同的BD地址从一个连接到下一个。我们不能使用白名单更长的设备连接过滤。 所以,我开始使用绑定地址列表。绑定需要配对,并且配对在连接之后不是强制的。配对是加密连接和密钥交换所必需的。我的意思是,绑定过程将节省BDA到债券清单和密钥来解决列表。这些密钥是我们需要从中央解析随机地址并能够再次加密连接,而不是管理连接本身。我的意思是,任何中央设备(保税或无保税)将连接到我的外围设备。只有粘接设备才能获得成功的认证。别人,不会得到认证,但他们可以保持连接和未经验证的如果不应。配对和认证可以要求从中央以及周边。 我一直在测试不同的东西,我看到了以下几点: 当配对过程完成后,它会自动包括在周围的白名单中的BDA。最多可保存8个地址。第九个将不会被保存。如果中央的地址是随机型和改变每一个连接,每一个新的地址将被列入白名单的新指标。 当配对过程完成后,它会自动包括在周围的键列表中央的BDA。如果中央的BDA是RPA型和改变每一个连接,在列表上随机地址将被新的更新。 我还没有测试解决方案列表。是否有任何文件,所有的清单管理机制的描述? 如有任何修改或澄清,我将不胜感激。 最好的问候, 阿斯尔·纽曼。 以上来自于百度翻译 以下为原文 Hello, I'm trying to understand how all these lists work. Please, let me do some afirmations and correct them if they are wrong. Firstly, I started working with whitelist to filter address of centrals that were trying to connect to my peripheral device. I managed this whitelist manually and it worked fine until appears ble 4.2 and its privacy 1.2. Here we have RPA or random address and now, the same device that is trying to connect to my peripheral has different BD address from one connection to next one. We can not employe whitelist longer for device connection filtering. So, I started working with bonded addresses list. Bonding requires pairing, and pairing is not mandatory after a connection is stablished. Pairing is necessary for encrypt a connection and for keys exchange. I mean that bonding process will save BDA to bond list and keys to resolve list. These keys are which we will need to resolve random address from central and to be able to encrypt connection again, but not to manage the connection itself. I mean, any central device (bonded or unbonded) will get to connect to my peripheral. Only bonded devices will get authenticate succesfuly. Others, will not get authentication but they could stay connected and unauthenticated if it is not requiered. Pairing and authentication can be requested from central as well as from peripheral. I've been testing diferent things and I've seen followings: - When Pairing process is completed it automatically includes the central's BDA in the peripheral's whitelist. Up to 8 address can be saved. The 9th one will not be saved. If central's address is random type and it changes every connection, each new address will be included as new index in the whitelist. - When Pairing process is completed it automatically includes the central's BDA in the peripheral's bond list. If central's BDA is RPA type and change every connection, the previous random address in the list will be updated with the new one. I've not tested resolve list yet. Is there any document in which all that list management mechanism is described ? Any correction/clarification of my text will be appreciated. Best regards, Asier. |
|
相关推荐
3个回答
|
|
注意:如果需要,外围设备可以请求断开连接并手动断开,以防止恶意扩展连接。
列表通常用作与函数相关的一些地址(白名单、绑定、解析)的存储缓冲器。但功能遵循蓝牙规范,我相信,所以在蓝牙SIG规范白名单/绑定/RPA可能会产生结果。 否则,从您自己的测试经验中列出的信息对我来说是正确的。 以上来自于百度翻译 以下为原文 Note: The peripheral can request a disconnect and manually disconnect if needed to prevent malicious extended connections. The lists are generally used as storage buffers for some number of addresses related to the function (whitelist, bonding, resolve). But the functionality follows the Bluetooth specification I believe, so looking at the Bluetooth SIG Specifications for the whitelist/bonding/RPA might yield results. Otherwise, the information you listed from your own experience with testing looks correct to me. |
|
|
|
yuhe82 发表于 2018-10-10 06:25 我在BLE 3.10组件数据表中看到下一个文本: 使用绑定设备自动填充白名单。 提供将白名单链接到绑定设备列表的选项。这是保持向后兼容性,不推荐用于新的设计要求。启用此选项时,使用cyble_gapremovedevicefromwhitelist API删除设备从债券名单和白名单一起。对于新设计选中此选项并使用新的API,用于去除装置分别从白名单:cyble_gapremdevicefromwhitelist键列表:cyble_gapremdevicefrombondlist。 在双3.30分量这个选项不会出现,所以我认为是自主管理列表。但是我看到,当配对键选项启用,新地址是债券列表添加以及白名单。白名单是否与债券清单自动配对? 谢谢您, 阿斯尔·纽曼。 以上来自于百度翻译 以下为原文 I saw in BLE 3.10 component datasheet next text: Auto Populate Whitelist with Bonded Devices. Provides an option to link the whitelist to bonded device list. It is required for maintaining backward compatibility and it not recommended for new designs. When this option is enabled, use CyBle_GapRemoveDeviceFromWhiteList API to remove a device from both bond list and whitelist together. For new designs uncheck this option and use new APIs for removing device separately from whitelist: CyBle_GapRemDeviceFromWhiteList and bond list: CyBle_GapRemDeviceFromBondList. In BLE 3.30 component this option not appear, so I suppose that both list are manage independently. But I see that when pairing with bond option enabled, new address is added in bond list as well as in whitelist. Is whitelist autopopulate with bond list yet ? Thank you, Asier. |
|
|
|
richips 发表于 2018-10-10 06:41 可能是当您设置单元用于绑定时,将地址添加到绑定列表中,然后将其绑定,并将其添加到白名单,因为绑定的设备需要在白名单中连接。但是,当您请求将其添加到白名单时,我希望它不会向债券列表中添加设备,因为白名单中的设备不一定与该单元绑定。 (基本上,绑定的单元在逻辑上也在白名单中,而白名单单位不必绑定)。 以上来自于百度翻译 以下为原文 It might be that the address is added to the bond list intentionally when you set the unit for bonding, and then bond, and it adds it to the whitelist because the bonded device needs to be in the whitelist to connect. But, I would expect it not to add devices to the bond list when you request to add it to the whitelist, as the devices in the whitelist aren't necessarily bonded with the unit. (Basically, units that are bonded are logically in the whitelist as well, whereas whitelisted units aren't necessarily bonded). |
|
|
|
只有小组成员才能发言,加入小组>>
748个成员聚集在这个小组
加入小组2054 浏览 1 评论
1809 浏览 1 评论
3619 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1746 浏览 6 评论
1499 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
480浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
334浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
400浏览 2评论
341浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
833浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-5 15:22 , Processed in 0.841646 second(s), Total 51, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号