完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我使用PSoC 4 BLE(CY8CKIT-042-BLE先锋套件)。有人能告诉我如何将Android手机和BLE软件狗加入到BLE模块的白名单中吗? 以上来自于百度翻译 以下为原文 Hi, I am using PSoC 4 BLE ( CY8CKIT-042-BLE PIONEER KIT ). Can anyone please guide me on how to add android phone and BLE dongle to the whitelist of BLE module? |
|
相关推荐
4个回答
|
|
请查看示例项目:HTTP://www. CyPress .COM/BLUG/100-Projts -100-Days/Projject 014-Walelist.
谢谢, 希马 以上来自于百度翻译 以下为原文 Please have a look at the example project:http://www.cypress.com/blog/100-projects-100-days/project-014-whitelist Thanks, Hima |
|
|
|
60user67 发表于 2019-7-2 08:02 你好, 1。即使我们可以使用“TARA术语”把我们的Android手机和BLE软件狗添加到白名单上,但这是暂时的。如果先驱板断电或重置按钮被按下,则白名单上的设备将从白名单中删除。 2。即使我们的Android手机被成功地向BLE模块白名单,这个BLE模块也不能使用“CysAsandroid Android应用程序”(扫描,连接)来控制。 你能帮帮我们吗? 以上来自于百度翻译 以下为原文 Hi, 1. Even though it is possible to add our android phone and BLE dongle to the whitelist using "Tera Term", it is temporary. If the Pioneer Board is powered off or the reset button is pressed then the devices, which are whitelisted to BLE module will be removed from whitelist. 2. Even though our android phone is whitelisted to BLE module successfully, this BLE module can't be controlled using "CySmart Android App" ( scanning, connecting ). Can you please help us on this? |
|
|
|
1。为了在重置/功耗/掉电之间存储数据,您需要将堆栈/白名单写入FLASH/NVM存储器。您将需要使用CyBythStoeBooDeDATA()函数(相关的注释和文档应该在创建者IDE中)。这将永久保存它,直到你擦除它,或者以某种方式移除它。
2。如果您的设备被配置为需要绑定,那么可能需要在访问特征/属性之前与模块绑定。这取决于您的PoSO4 BLE模块上的FLE组件设置,因为这是设置白名单/绑定的要求的地方。 以上来自于百度翻译 以下为原文 1. In order to store data between resets/power loss/power downs, you will need to write the stack/whitelist to flash/nvm memory. You will need to use the function CyBle_StoeBondingData() (associated comments and documentation should be in the creator IDE). This will store it permanently until you either erase it, or remove it in some way later. 2. If your device is configured to require bonding, then it might be that you need to bond with the module before being able to access the characteristics/attributes. It does depend on your BLE component settings on the PSOC 4 BLE module however, as that is where you set the requirements for whitelist/bonding. |
|
|
|
60user67 发表于 2019-7-2 08:02 我能够连接CySmart(PC版本)到我的CY8CITK-042-LE模块使用上述程序,但我有困难,以连接到CyScript(Android版本)。我把我的Android手机的地址添加到白名单上,但无法连接,然后我通过使用CyByLyGAPGETPEPEDADDRE(连接到CyScript(Android版本))获得了我的Android手机的对等地址(使用其他项目),并添加到白名单上,而没有关闭我的Android手机的蓝牙。直到无法连接,请引导我,因为您成功地连接到您的Android手机设备。 以上来自于百度翻译 以下为原文 I am able to connect CySmart (PC version) to my CY8CKIT-042-BLE module using above program but I am having difficulty to connect it to CySmart(Android version). I added address of my android phone to whitelist but was unable to connect, then I obtained peer address of my android phone(using other project) by connecting CySmart (Android version) using CyBle_GapGetPeerBdAddr() and added to whitelist without turning OFF the bluetooth of my android phone but still unable to connect please guide me since you successfully connected device to your android phone. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2070 浏览 1 评论
1826 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1512 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
508浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
358浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
855浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 18:23 , Processed in 2.884621 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号