Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gradoj/nanoserver
Micropython embedded LoRaWAN server
https://github.com/gradoj/nanoserver
Last synced: about 2 months ago
JSON representation
Micropython embedded LoRaWAN server
- Host: GitHub
- URL: https://github.com/gradoj/nanoserver
- Owner: gradoj
- Created: 2020-02-16T14:20:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-24T13:59:19.000Z (almost 5 years ago)
- Last Synced: 2024-04-22T12:33:22.137Z (9 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-micropython - nanoserver - MicroPython embedded LoRaWAN server. (Libraries / Communications)
README
# nanoserver
A lightweight micropython implementation of an embedded LoRaWAN server. Combining the gateway forwarder from Pycom and a heavily modified floranet on a Lopy4 allows for a self-contained gateway. The Lopy4 is designed as a LoRaWAN endpoint but can run as a non-LoRaWAN-compliant single-channel gateway. May not want to use this in a production environment but nice for testing or battery operated gateway. This is very early test code in no way ready for actual use. Using a python implementation of aes-cmac from secworks slightly modified for micropython.https://github.com/secworks/cmac
https://github.com/Fluent-networks/floranet
https://github.com/pycom/pycom-libraries/blob/master/examples/lorawan-nano-gateway/nanogateway.pyNeed to do:
-fix hardcoded values for join requests, nonces, etc
-handle packet1, packet2 delays better
-test abp
-put keys in config or somewhere safer
-add mqtt or decrypted packets to a file
-add support for LoRaWAN v1.1
-clean up code
-put MAC code in its own file
-lots moreRoughly working:
-OTAA join
-confirmed packetsTo run add main.py, cmac.py, nanogateway.py, nanoserver.py, device.py, config.py onto Lopy4 running Pycom micropython(tested on ver 1.20.0.rc12 [v1.9.4-81167ed]). Appkey is in device.py for now. Need to add it somewhere safe. Looking for help testing and improving.