{"id":13801907,"url":"https://github.com/gradoj/nanoserver","last_synced_at":"2025-10-06T13:38:26.963Z","repository":{"id":83817702,"uuid":"240904201","full_name":"gradoj/nanoserver","owner":"gradoj","description":"Micropython embedded LoRaWAN server ","archived":false,"fork":false,"pushed_at":"2020-02-24T13:59:19.000Z","size":28,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-22T12:33:22.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gradoj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-16T14:20:12.000Z","updated_at":"2024-08-04T00:06:45.192Z","dependencies_parsed_at":null,"dependency_job_id":"9cbd34e4-9af7-4632-a0ca-28e7ffd540cd","html_url":"https://github.com/gradoj/nanoserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradoj%2Fnanoserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradoj%2Fnanoserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradoj%2Fnanoserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradoj%2Fnanoserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gradoj","download_url":"https://codeload.github.com/gradoj/nanoserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458716,"owners_count":21107133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:29.897Z","updated_at":"2025-10-06T13:38:21.924Z","avatar_url":"https://github.com/gradoj.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Communications"],"readme":"# nanoserver\nA 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.\n\nhttps://github.com/secworks/cmac\nhttps://github.com/Fluent-networks/floranet\nhttps://github.com/pycom/pycom-libraries/blob/master/examples/lorawan-nano-gateway/nanogateway.py\n\nNeed to do:\n-fix hardcoded values for join requests, nonces, etc\n-handle packet1, packet2 delays better\n-test abp\n-put keys in config or somewhere safer\n-add mqtt or decrypted packets to a file\n-add support for LoRaWAN v1.1\n-clean up code \n-put MAC code in its own file\n-lots more\n\nRoughly working:\n-OTAA join\n-confirmed packets\n\nTo 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradoj%2Fnanoserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgradoj%2Fnanoserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradoj%2Fnanoserver/lists"}