完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在两个PIC18F之间,我可以使用RN878模块作为无线链路(转接接收器),以在每个节点上的PIC18F和RN1478模块之间使用透明UART模式在短距离室内应用中传输数个字节的数据包吗?数据传输必须是对等的,但是在一个房间中可以同时存在多个模块的活动。因此,我需要在生产之前将两个RN878模块组装在单元中,以确保其保持P2P通信而不进行任何串扰。在生产中,我可以使用一个计算机串行终端配对两个模块,但一旦组装在单元内,模块将通过每个节点上的UART与PIC18F通信。有人能告诉我如何将两个模块组合在一起用于这样的应用吗?如何读取我要配对的两个模块的MAC地址以及如何配置一个模块与另一个模块的MAC地址配对?一旦配对,这些模块在通电时会自动连接吗?任何其他智能手机都能看到附近的蓝牙设备吗?如何确保在现场没有其他设备可以连接到这个模块?谢谢您。。
以上来自于百度翻译 以下为原文 Can I use RN4871 modules as a wireless link (transreceivers) between two PIC18F to transfer a few bytes of data packets in a short range indoor application using transparent UART mode between a PIC18F and the RN4871 module on each node? The data transfer has to be peer to peer but there can be more than one set of modules active at the same time in one room. So I would need to pair two RN4871 modules in production before assembling them in the unit to make sure it remains P2P communication without any cross talk. In production, I can use a computer serial terminal to pair two modules but once assembled inside the unit, the modules would communicate with PIC18F via UART on each node. Can someone please advise me about how to pair two modules together for such application? How can I read MAC address of both modules that I want to pair together and how to configure one module to pair with the MAC address of the other module? Once paired, would these module connect automatically when powered up? Would it be visible to any other nearby Bluetooth devices search by any smart phones / PC? How can I make sure that no other devices can connect to this module in field? Thank you.. |
|
相关推荐
2个回答
|
|
嗨,你需要哪种数据?与其他ISM无线技术相比,BLE具有有限的数据结构。
以上来自于百度翻译 以下为原文 Hi, Which datarate do you need ? BLE has a limited datarate compared to other ISM wireless technologies Regards |
|
|
|
谢谢你的评论。数据速率对我的应用来说并不重要。我将通过一个PIC18F在大约每100毫秒通过UART透明模式发送一个字节数的数据包,该通信将是对等的,并且在一个房间中同时具有多个激活的BLE模块。因此,我需要能够永久地配对并将两个模块结合在一起,然后将它们组装在单元内并禁用其广告(可发现模式)。因此,如果有人能告诉我如何将这两个模块永久性地结合在一起,那么如何使用这两个模块?禁用其可发现模式?
以上来自于百度翻译 以下为原文 Thank you for your comments. Data rates are not that important for my application. I will be sending a packet of a few bytes via UART transparent mode using a PIC18F at about every 100 mS. The communication will be peer to peer and with more than one set of BLE modules active at the same time in a room. So I need to be able to permanently pair and bond two modules together in production before they are assembled inside the unit and disable its advertising (Discoverable mode). So, if someone can advise me about how to pair & permanently bond two modules together for such application and then how to disable its discoverable mode? |
|
|
|
只有小组成员才能发言,加入小组>>
5238 浏览 9 评论
2027 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3202 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
772浏览 1评论
663浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
590浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
672浏览 0评论
572浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 14:20 , Processed in 1.474305 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号