IDs for LoRa modules

☆樱花仙子☆ 提交于 2020-06-13 00:12:13

问题


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.

I mean, is there a solution similar to pipe addresses of NRF24l01 communication. Thanks in advance.


回答1:


Encryption is the answer to blocking snooping on your communication. This can be a basic XOR encryption, a Caesar cipher or even better rsa.

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.

For example the ESP8266 has a unique ID accessible through this piece of code: ESP.getChipId().

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.



来源:https://stackoverflow.com/questions/58326221/ids-for-lora-modules

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!