完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好,
我不知道问题是什么,与安全策略相关联的东西,因为当我禁用严格配对时,它工作: 我试图调试它与CyScript,但配对工作的关键。 你有什么想法吗?我没有在更新列表中看到相关的东西… 谢谢。 当做, 以上来自于百度翻译 以下为原文 Hello, I don't know what is the problem, something linked with the security policy, because when i disable strict pairing it work : I tried to debug it with CySmart but pairing works with the key.. Do you have any idea ? I didn't see something related with that in the update list ... Thanks. Regards, |
|
相关推荐
7个回答
|
|
|
你好,
“严格”配对意味着设备应该执行所选择的配对过程(在这种情况下未经认证的配对),并且如果对等设备(移动电话)具有不同的安全级别被选择,将导致配对失败。 如果不检查严格的配对,两个设备将根据协商的安全级别和IO能力选择并进行可能的配对过程。 我可以看到这个问题,这是一个错误与BLE V3.30组件(配对不应发生与您选择的配置与移动电话)。BLE V3.40和以后没有这个问题。 请使用最新的BLE组件版本3.52的新设计,所有以前的错误修复。 -吉安 以上来自于百度翻译 以下为原文 Hello, 'Strict' Pairing means the devices should perform the selected pairing procedure ( Unauthenticated pairing in this case) and if the peer device ( Mobile Phone) has a different Security level selected, will result in pairing failure. If you do not check the Strict pairing , both devices will choose and go for the possible pairing process based on the negotiated Security levels and IO capabilities between them. I could see this issue and this is a bug with BLE v3.30 component (pairing Should not happen with your selected configuration with Mobile phone). BLE v3.40 and later does not have this issue. Please use the latest BLE component version 3.52 for the new designs which has all prior bugs fixed. -Gyan |
|
|
|
|
YHYDZ 发表于 2018-9-12 16:29 谢谢你的回答。 但是我有与BLE模块V3.30相同的策略安全性,并且没有与电话的连接问题。所以我还是看不出问题在哪里。 以上来自于百度翻译 以下为原文 Thanks for you answer. But i had the same policy security with the BLE module v3.30 and there was no connection issue with phones. So i still doesn't see where is the problem. |
|
|
|
|
|
你好, 我可以看到这个问题,这是一个错误与BLE V3.30组件(配对不应发生与您选择的配置与移动电话)。BLE V3.40和以后没有这个问题。 请使用最新的BLE组件版本3.52的新设计,所有以前的错误修复。 -吉安 以上来自于百度翻译 以下为原文 Hello, I could see this issue and this is a bug with BLE v3.30 component (pairing Should not happen with your selected configuration with Mobile phone). BLE v3.40 and later does not have this issue. Please use the latest BLE component version 3.52 for the new designs which has all prior bugs fixed. -Gyan |
|
|
|
|
YHYDZ 发表于 2018-9-12 16:50 谢谢你的回答。 不幸的是,我们必须配对和绑定手机与BLE模块,但我们只有一个按钮上的BLE模块侧。 所以我们所做的是拒绝连接,如果设备以前没有绑定,或者“配对按钮”没有被按下。 我们现在该怎么办? 我不明白用固定的密钥来做同样的事情。 以上来自于百度翻译 以下为原文 Thanks for your answer. Unfortunately, we have to pair and bond a mobile phone with the BLE module but we only have one button on the BLE module side. So what we do is reject connection if the device was not previously bonded or if the "pairing button" is not pressed. How can we proceed now ? I don't see the point to use a fixed passkey to do the same thing.. |
|
|
|
|
LiangQY0758 发表于 2018-9-12 16:57 您不需要使用固定的密钥来进行身份验证,但欢迎您使用。 只要没有IO键合模式,您就可以将单元设置为绑定到当您的按钮被按下时连接的单元,然后在所有其他时间拒绝连接(或者如果它与先前绑定的单元不匹配)。 有一些线程会遇到类似的情况: PSOC-4-BLU/100IX项目在Suth.CyPress半导体公司/PSOC-4-BLE·GITHUB中的100100天/Day015x键合 HTTP://www. CyPress .COM/BLUG/100项目-100天/项目016-认证 CY8CKIT-042-BLE:如何设置配对 如何手动输入配对模式? 如何限制服务器只与一个客户端绑定? 以上来自于百度翻译 以下为原文 You don't need to use the fixed passkey to authenticate, but you are welcome to. With just the no IO bonding mode, you can setup the unit to bond to the unit that connects when your button is pressed, and then reject connections at all other times (or if it doesn't match the previously bonded unit). There are a few threads that go over a similar situation: PSoC-4-BLE/100_Projects_in_100_Days/Day015_Bonding at master · cypresssemiconductorco/PSoC-4-BLE · GitHub http://www.cypress.com/blog/100-projects-100-days/project-016-authentication CY8CKIT-042-BLE: How to setup pairing How to manually enter pairing mode? How to limit server to bonding with just one client? |
|
|
|
|
yuhe82 发表于 2018-9-12 17:09 你好, 这就是我所做的,但是似乎自从V3.30以来,我们不能选择未经验证的加密配对,而我们想要的是在建立连接后有加密的数据。 以上来自于百度翻译 以下为原文 Hello, This exaclty what i do, but it seems that since v3.30, we can't choose unauthenticated pairing with encryption, and what we want is to have encrypted data after establishing the connection. |
|
|
|
|
|
你好, 不要使用“严格”配对选项(选择为“否”),并且您将能够执行加密的未经验证的配对。 因为我们不知道在您的中央设备中选择的安全级别是什么,并且如果它与外围设备的安全级别不匹配,那么配对将失败。 -吉安 以上来自于百度翻译 以下为原文 Hello, Do not use 'Strict ' pairing option ( Select as 'No')and you will able to perform the unauthenticated pairing with encryption. Because we do not know what is the security level selected in your central device , and if it does not match the peripheral device's security level , the pairing will fail. -Gyan |
|
|
|
|
只有小组成员才能发言,加入小组>>
788个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7410 浏览 0 评论
2491 浏览 1 评论
2183 浏览 1 评论
4046 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2093 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7888浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6458浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
760浏览 2评论
735浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
8310浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-15 17:39 , Processed in 1.286839 second(s), Total 84, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
451