LoRa模块的ID [英] IDs for LoRa modules
问题描述
我使用两个SX1278 LoRa Ra-02模块进行通信.我不知道如何为这两个模块设置ID以拒绝与其他以相同频率工作的LoRa模块的干扰.
I use two SX1278 LoRa Ra-02 modules for communication. I wonder how I can set IDs for these two modules to deny an interference with other LoRa modules which work at the same frequency.
我的意思是,有没有一种类似于NRF24l01通信的管道地址的解决方案. 提前感谢.
I mean, is there a solution similar to pipe addresses of NRF24l01 communication. Thanks in advance.
推荐答案
加密是阻止对您的通信进行监听的答案.这可以是基本的 XOR加密,也可以是 rsa .
Encryption is the answer to blocking snooping on your communication. This can be a basic XOR encryption, a Caesar cipher or even better rsa.
对于唯一ID问题:有多种解决方案可以解决此问题,它在很大程度上取决于您所使用的特定微控制器.在 arduino.stackexchange.com 上提供了一种解决方案.
For the unique ID problem: there are several solutions to this problem and it highly depends on the specific microcontroller you are using. A solution was offered on arduino.stackexchange.com.
例如,ESP8266有一个唯一的ID,可通过以下代码访问:ESP.getChipId()
.
For example the ESP8266 has a unique ID accessible through this piece of code: ESP.getChipId()
.
使用外部硬件的另一种选择是Maxim Integrated的 DS2401 .这是可通过单线接口访问的Silicon Serial Number芯片.
Another option which uses external hardware would be the DS2401 from Maxim Integrated. This is a Silicon Serial Number chip accessible trough a one-wire interface.
这篇关于LoRa模块的ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!