LoRaWAN without server
-
Hi,
I'd like to create a LoRaWAN network with a gateway that takes care of receiving the data from the nodes and acknowledging them without going through a server (e.g. TTN).
I want to use LoRaWAN (rather than LoRa-MAC) to take advantage of encryption etc...
So, from the gateway, once I receive the data, what's the best way to decrypt it and then reply to the node that sent it?
Thanks! -
@giam
To decrypt it may be possible to port the crypto library from lora-python to MicroPython: https://github.com/jieter/python-lora/blob/master/lora/crypto.pyAlternatively another good resource would be the node.js LoRa Packet decoder:
https://github.com/anthonykirby/lora-packetThen to reply to the node you'll need to encrypt it.
-
Thanks @jmarcelino.
Thus the encryption part is not something you get for free... At this point, would it still make sense to prefer LoRaWAN over LoRa-MAC for a standalone network?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login