完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,我现在正在研究一个简单的传感器网络,它有几个RN4020和一个树莓PI。每个传感器节点由一个RN4020和一个MSP430组成。RN4020一般处于休眠状态。每隔几分钟,MSP唤醒它,并连接到树莓PY。然后上传一些数据包,并接收一些数据包,如通过UART。然后连接应该关闭,RN再次进入休眠状态。树莓应该坐在那里等待任何节点连接。第一个问题是RN在扫描时看不到PI。我不知道如何获得PI设置作为服务器和RN自动连接到它时,上电。当我尝试连接到PI,这个“E,1,XXXXXXXXXXXX”时,RN说OK,什么也没有发生。有人有关于如何安装RN来连接PI的建议吗?谢谢
以上来自于百度翻译 以下为原文 Hello, I am currently working on a simple sensor network wit a few RN4020's and a raspberry pi. Each sensor node consists of a RN4020 and a MSP430. The RN4020 is generally in dormant mode. Every few minutes the MSP wakes it up and should connect to the raspberry py. Then upload some data packets and receive some data packets like over a UART. Then the connection should be closed and RN goes to dormant again. The raspberry should just sit there and wait for any of the nodes to connect. First problem is that the RN does not see the pi when scanning. I don't know how to get the pi setup as a server and the RN to autoconnect to it when powered on. When I try to connect to the pi this "E,1,xxxxxxxxxxxx" the RN says ok and nothing happens. Does anyone have some advice on how to setup the RN to connect to the pi? Thanks |
|
相关推荐
1个回答
|
|
我将转换为使用一个正常的BT模块,而不是BLE。似乎不可能用我的意图。所以这个话题可以被认为是封闭的。
以上来自于百度翻译 以下为原文 I will convert to using a normal BT module and not BLE. Seems to be impossible to use this the way I intended. So this topic can be considered closed. |
|
|
|
只有小组成员才能发言,加入小组>>
4779 浏览 9 评论
1815 浏览 8 评论
1734 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2941 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2043 浏览 5 评论
423浏览 1评论
1101浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
345浏览 0评论
253浏览 0评论
LAN9252使用SQI通信,进行数字复位后读BYTE_TEST异常
1751浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-3-29 15:47 , Processed in 1.141669 second(s), Total 75, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号