完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
HeWe有一个项目,我们将使用一个基于AT命令的好的BLE模块。RN4020对我们来说很好,但仍然有一些困惑的地方。我在控制引脚和MLDP模式选择中有点迷失。据我所知,3个控制引脚Wakysw、WakyHW和CMD/MLDP可以用来控制模块。我发现RN4020的电源管理系统如下:1—我遇到的第一个问题是,模块从不进入深SLE。EP模式。我连接所有控制引脚到GND,它总是可以在iOS BLE数据应用中找到!!!!你知道我做错什么了吗?2 -模块在应用程序中是可发现的,但是一旦我使用下面的命令将其设置为DMLP模式,它就不起作用,并且在应用程序中找不到它。这里是命令:SF,2SS,C000 000 0SR,100000 000 SR,0200 000 R,1,当我设置以下命令时,它工作,但它总是在MLDP模式,这是正常的,因为它被设置为自动MLDP模式:SF,2SS,C000 000 000 SR,32000 800 R,1请让我知道为什么它不能与第一个命令一起工作?!!!!!!!基于以下段落(来自用户GUID):当使用MLDP串行数据服务(参见2.3.7)Microchip MLDP命令“”时,使用CMD/MLDP(PIN 8)来控制RN4020模块。一旦通过设置CMD/MLDP高来输入MLDP模式,则将来自UART的所有数据作为数据流发送到对等设备。为了退出MLDP模式,必须将CMD/MLDP设置为低,以便通过向UART输出“CMD”将RN4020模块返回到命令模式。“我对这个段落有一些疑问。**如果我们使用这个引脚(CMD/MLDP),模块将进入MLDP模式,而不改变或设置模块中的任何配置。通过AT命令?我的意思是,这是一个命令模块去MLDP模式使用硬件或在使用此引脚可能有一些设置在模块中?**如果我们的MLDP设置像我提到的那样,这个引脚的优点是什么?它将只是为了改变命令的模块模式。因为即使当我把它连接到VCC(当我在自动MLDP模式中设置模块)它发送和接收数据插入端口,它不接受命令。请您帮助我理解它们的模块,我发现我的错误在哪里?当做
以上来自于百度翻译 以下为原文 Hi We have a project and we are going to use a good BLE module based on AT command. The RN4020 sounds good for us but still there are some confusing points for me. I am a bit lost in control Pins and MLDP mode selection. AS I understood, the 3 control pins WAKE_SW, WAKE_HW and CMD/MLDP can be used to control the module. I found the power management system for RN4020 as follow: 1- The First problem that I encountered is that, the Module never goes to the deep sleep mode. I connect all control pins to the GND and it is always can be find in the IOS BLE data application!!!! Any Idea what i am doing wrong? 2- The Module is discoverable in App, but as soon as I use the following commands to set it for the DMLP Mode, it does not work and I can not find it in the APP. Here is the commands: SF,2 ss,c0000000 SR,10000000 SR,02000000 R,1 Instead, When I set the following commands it works but it is always in MLDP mode which is normal since it is set to the auto MLDP mode: SF,2 ss,c0000000 SR,32000800 R,1 Would you please let me know why it does not work with the first commands?!!!!! Based on the following paragraph (From User Guid) : "CMD/MLDP (pin 8) is used to control the RN4020 module when an MLDP serial data service (see Section 2.3.7 “Microchip MLDP Commands”) is used. Once MLDP mode is entered by setting CMD/MLDP high, all data from the UART is sent to the peer device as a data stream. To exit MLDP mode, CMD/MLDP must be set low so that the RN4020 module is returned to Command mode by outputting “CMD” to the UART" I have some question for this Paragraph. ** if we use this pin (CMD/MLDP), the module will go to the MLDP mode without changing or setting any configuration in module by AT commands? I mean it is a way to command the module to go to MLDP mode using hardware or before using this pin there might be some settings in the modules? ** if we should have the MLDP setting like the one that I mentioned, what is the advantage of this pin? it will be serve just to change the module mode for command. since even when I connect it to VCC (while I set the module in auto MLDP mode) it send and receive data inserial port and it does not accept AT commands. would you please help me to understand them module and i find where are my mistakes? regards |
|
相关推荐
2个回答
|
|
你好,你的RN4020模块有哪些固件版本?当做
以上来自于百度翻译 以下为原文 Hi, Which firmware version do you have in your RN4020 module ? Regards |
|
|
|
HIVE是版本信息:V1.20 12/09/2014THX为您提供帮助
以上来自于百度翻译 以下为原文 Hi here is the version information: v1.20 12/09/2014 Thx for your help |
|
|
|
只有小组成员才能发言,加入小组>>
5289 浏览 9 评论
2059 浏览 8 评论
1969 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3233 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2277 浏览 5 评论
824浏览 1评论
710浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
654浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
710浏览 0评论
609浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-14 07:19 , Processed in 1.184569 second(s), Total 76, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号