News:

Let's find out together what makes a PIC Tick!

Main Menu

LORA Radio With Encryption ?

Started by Craig, Sep 19, 2021, 12:56 PM

Previous topic - Next topic

Craig

Hello

I need to do a design with a Lora Radio does anyone know of a Lora Module that has AES or similar Encryption built into it already that is of a good quality?
I have seen the RFM95W from HopeRF but, they don't have encryption already in them!
I don't want to use the LoRaWan Gateway but, will need to build my own Private Node Network for this application. 

Kind Regards

Craig

trastikata


Craig

#2
I specifically said I don't want to use LoRaWan as there are no Networks in the area where the product will be deployed.
The Problem with say the RN2483 module from Microchip is you are stuck on the LoRaWan Protocol which you can't really
Change as far as I understand. They are beautiful units which have encryption but, I need a lot of flexibility as there are lots of units
which need to be installed in a Mesh Network all talking Back and Forth. 


trastikata

Quote from: Craig on Sep 20, 2021, 06:31 AMI specifically said I don't want to use LoRaWan as there are no Networks in the area where the product will be deployed.

It wasn't mentioned in the unmodified OP  ;).

Anyway you don't have to invent the wheel - you can install a Gateway and build a private LoRaWAN network.

Giuseppe

You have seen the ebyte.com modules
You may find there the most suitable product for your application

Craig

#6
trastikata

It was mentioned in the Original post as lorwan which obviously wasn't clear enough so I updated the post to make it clearer to LoRaWan.
The Problem with building Gateways on these sites is rather problematic due to their demographics.
Anyway thank you for your help and Ideas as I need to look at all the various scenarios to try and find the best solution as I have not worked with Lora in the past
and need to grasp all the mechanics behind it.




Craig

Thanks Jonw and Giuseppe will have a look at their modules.

Bravo

Hi, I am trying out some 1 Watt Lora modules at the moment which send data packets.

Here is where I bought mine  https://www.aliexpress.com/item/32791508935.html?spm=a2g0s.9042311.0.0.27424c4dEq3Rsa

You can download the manual, which is not great. As the data is put into packets, & sent using spread spectrum, it is more or less encrypted unless you had other modules on the same channel & address & at the same data rate. 
I hope that helps.
Retired RF Tech

Gamboa

Craig,

The most important feature of a LORA radio is the LORAWAN protocol. If you are not going to use that protocol any radio will work for you. I don't know if you know the Radiocrafs modules. It has some modules with encryption (RC17xxHP). The manual says:

Quote5 Encryption and decryption (RC17xxHP only).
The RC232 protocol can encrypt data before transmission, and decrypt at reception. The CRC is used to verify
correct decryption, so the 2 byte CRC (CRC_MODE = 2) should be enabled when using encryption. Also, both the
ENCRYPT_FLAG and DECRYPT_FLAG must be set for a successful link.
The encryption method used is AES-128-CTR mode. Using the counter mode means that any packet length can be
encrypted without the use of filler bytes. Both the Initialization Vector (Initial Counter Block) and the Encryption Key
are fixed. AES uses a symmetric key. That is, the same Encryption Key is used for both encryption and decryption.
Also the Initialization Vector must be the same. These are stored as INIT_VECTOR and DEFAULT_KEY, both 16
bytes long

Regards,
Gamboa
Long live for you

okmn

actually I want to add this note here more for myself (to be able to remember it again if I need it in the future!)
maybe you can find useful information too...

https://www.silabs.com/search#q=lora%20Encryption&t=All&sort=relevancy
https://www.silabs.com/whitepapers/connect-your-mcu