完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我在这个线程中讨论的最后一个问题是HTTPS://Cultuy.CyPress .COM/THEADE/38991,覆盖了我实现隐私特性时遇到的问题。最后一个项目附带了一个解决方案,适用于4.1和4.2个BLE手机,在4上有一些问题,还有CyPress GELE有4.1个BLE。 现在我想添加OTA可升级的堆栈和应用示例。我有一个例子,我们在老板上运行,我们制造,但没有隐私,所以我相信一切都还好,但现在有了隐私,我发现我过于自信。我的问题是,如果绑定设备触发升级,代码将进入堆栈项目OK,但其中的BLE组件有公共地址,并且绑定信息不存在,并且电话将需要再次认证,这是不可取的,因为用户不应该只做任何事情。批准升级。 我的问题是: 1)为了保持隐私,在最初绑定只有绑定电话才能连接,我是否需要复制堆栈上的隐私代码? 2)如果我用CyByLyStureBoeDebug数据保存绑定,那么如果我用CyLabyGAPGETBooDeDeCeStRead检索它,栈上的信息是可用的吗?(如我所阅读的信息不可用)我怎么能把这个信息从应用程序堆栈,并返回到应用程序,如果堆栈没有升级? 提前感谢! 以上来自于百度翻译 以下为原文 Hello everybody, My last problem, discussed in this thread https://community.cypress.com/thread/32891, covered the issues that I encounter implementing the privacy feature. The last project attached contain a solution that works for 4.1 and 4.2 BLE phones with some problems on 4.0 and also on cypress dongle with 4.1 BLE. Now I would like to add the OTA upgradeable stack and application example. I had the example running on older boards that we had manufactured but without privacy so I believed everything was ok but now with privacy I found out that I was overconfident. My problem is that if a bonded device trigger an upgrade the code will go to the stack project ok but there the BLE component has public address and the bonding info is not present and also the phone will need to authenticate again which is not desirable since the user should not do anything only to approve the upgrade. My questions will be: 1) in order to keep the privacy, after an initial bonding only the bonded phone to be able to connect, do I need to duplicate the privacy code on the stack as well? 2) if I save the bonding with CyBle_StoreBondingData in application is the info available on stack if I retrieve it with CyBle_GapGetBondedDevicesList? (as I read the info should not be available) How can I pass this info from application to stack and back to application if the stack is not upgraded? Thanks in advance! |
|
相关推荐
2个回答
|
|
你好,
我的问题是: 1)为了保持隐私,在最初绑定只有绑定电话才能连接,我是否需要复制堆栈上的隐私代码? AN:是的,您必须启用绑定,并将隐私代码放入堆栈项目中。 2)如果我用CyByLyStureBoeDebug数据保存绑定,那么如果我用CyLabyGAPGETBooDeDeCeStRead检索它,栈上的信息是可用的吗?(如我所阅读的信息不可用)我怎么能把这个信息从应用程序堆栈,并返回到应用程序,如果堆栈没有升级? ANS:绑定信息,对应于应用程序项目将无法用于堆栈项目。必须在堆栈和应用程序项目中启用绑定标志。 当做, 吉安 以上来自于百度翻译 以下为原文 Hello, My questions will be: 1) in order to keep the privacy, after an initial bonding only the bonded phone to be able to connect, do I need to duplicate the privacy code on the stack as well? Ans: Yes, You have to enable the bonding and put the privacy code in Stack Project as well. 2) if I save the bonding with CyBle_StoreBondingData in application is the info available on stack if I retrieve it with CyBle_GapGetBondedDevicesList? (as I read the info should not be available) How can I pass this info from application to stack and back to application if the stack is not upgraded? Ans: Bonding info ,corresponds to Application project will not be available for Stack Project. You have to enable the bonding flag in both Stack and Application Project. Regards, Gyan |
|
|
|
你好,Gyan, 谢谢你的信息!同时,我在我们的自定义板上的一些电源问题,导致软件被破坏,并总是被阻止在堆栈项目,但在DEV板似乎工作。 以上来自于百度翻译 以下为原文 Hello Gyan, Thank you for information! Meanwhile I have problems with some power supply issues on our custom boards that cause the software to get corrupted and always to get blocked on stack project, but on the dev board it seems to work. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2106 浏览 1 评论
1853 浏览 1 评论
3671 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1788 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
572浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
424浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
438浏览 2评论
386浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
916浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 19:35 , Processed in 0.940455 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号