{"id":17209946,"url":"https://github.com/brocaar/lorawan","last_synced_at":"2025-05-16T14:08:42.104Z","repository":{"id":41398020,"uuid":"46657015","full_name":"brocaar/lorawan","owner":"brocaar","description":"Package lorawan provides structures and tools to read and write LoraWAN messages from and to a slice of bytes.","archived":false,"fork":false,"pushed_at":"2024-05-07T14:11:40.000Z","size":506,"stargazers_count":308,"open_issues_count":5,"forks_count":158,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-05-14T04:29:43.551Z","etag":null,"topics":["lora-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brocaar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-11-22T11:08:37.000Z","updated_at":"2025-05-05T21:46:21.000Z","dependencies_parsed_at":"2022-07-16T15:01:01.055Z","dependency_job_id":"63307de3-1392-40f8-95ed-fd713517dd24","html_url":"https://github.com/brocaar/lorawan","commit_stats":{"total_commits":309,"total_committers":16,"mean_commits":19.3125,"dds":0.08414239482200647,"last_synced_commit":"a18a1037da07fed2697caab351500f0c10065dd9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocaar%2Florawan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocaar%2Florawan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocaar%2Florawan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocaar%2Florawan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brocaar","download_url":"https://codeload.github.com/brocaar/lorawan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544146,"owners_count":22088807,"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":["lora-server"],"created_at":"2024-10-15T02:52:55.813Z","updated_at":"2025-05-16T14:08:42.056Z","avatar_url":"https://github.com/brocaar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LoRaWAN (Go)\n\n![Tests](https://github.com/brocaar/lorawan/actions/workflows/main.yml/badge.svg?branch=master)\n[![GoDoc](https://godoc.org/github.com/brocaar/lorawan?status.svg)](https://godoc.org/github.com/brocaar/lorawan)\n\nPackage lorawan provides structures and tools to read and write LoRaWAN\n1.0 and 1.1 frames from and to a slice of bytes.\n\nThe following structures are implemented (+ fields):\n\n```\nPHYPayload    (MHDR | MACPayload | MIC)\nMACPayload    (FHDR | FPort | FRMPayload)\nFHDR          (DevAddr | FCtrl | FCnt | FOpts)\n```\n\nThe Following message types (MType) are implemented:\n\n* JoinRequest\n* RejoinRequest\n* JoinAccept\n* UnconfirmedDataUp\n* UnconfirmedDataDown\n* ConfirmedDataUp\n* ConfirmedDataDown\n* Proprietary\n\nThe following MAC commands (and their optional payloads) are implemented:\n\n* ResetInd\n* ResetConf\n* LinkCheckReq\n* LinkCheckAns\n* LinkADRReq\n* LinkADRAns\n* DutyCycleReq\n* DutyCycleAns\n* RXParamSetupReq\n* RXParamSetupAns\n* DevStatusReq\n* DevStatusAns\n* NewChannelReq\n* NewChannelAns\n* RXTimingSetupReq\n* RXTimingSetupAns\n* TXParamSetupReq\n* TXParamSetupAns\n* DLChannelReq\n* DLChannelAns\n* RekeyInd\n* RekeyConf\n* ADRParamSetupReq\n* ADRParamSetupAns\n* DeviceTimeReq\n* DeviceTimeAns\n* ForceRejoinReq\n* RejoinParamSetupReq\n* RejoinParamSetupAns\n* PingSlotInfoReq\n* PingSlotInfoAns\n* PingSlotChannelReq\n* PingSlotChannelAns\n* BeaconFreqReq\n* BeaconFreqAns\n* DeviceModeInd\n* DeviceModeConf\n* Proprietary commands (0x80 - 0xFF) can be registered with RegisterProprietaryMACCommand\n\n\n## Sub-packages\n\n* `airtime` functions for calculating TX time-on-air\n* `band` ISM band configuration from the LoRaWAN Regional Parameters specification\n* `backend` Structs matching the LoRaWAN Backend Interface specification object\n* `backend/joinserver` LoRaWAN Backend Interface join-server interface implementation (`http.Handler`)\n* `applayer/clocksync` Application Layer Clock Synchronization over LoRaWAN\n* `applayer/multicastsetup` Application Layer Remote Multicast Setup over LoRaWAN\n* `applayer/fragmentation` Fragmented Data Block Transport over LoRaWAN\n* `applayer/firmwaremanagement` Firmware Management Protocol over LoRaWAN\n* `gps` functions to handle Time \u003c\u003e GPS Epoch time conversion\n\n## Documentation\n\nSee https://godoc.org/github.com/brocaar/lorawan. There is also an [examples](https://godoc.org/github.com/brocaar/lorawan#pkg-examples)\nsection with usage examples. When using this package, knowledge about the LoRaWAN specification is needed.\nYou can download the LoRaWAN specification here: https://lora-alliance.org/lorawan-for-developers\n\n## Support\n\nFor questions, feedback or support, please refer to the ChirpStack Community Forum:\n[https://forum.chirpstack.io](https://forum.chirpstack.io/).\n\n## License\n\nThis package is distributed under the MIT license which can be found in ``LICENSE``.\nLoRaWAN is a trademark of the LoRa Alliance Inc. (https://www.lora-alliance.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrocaar%2Florawan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrocaar%2Florawan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrocaar%2Florawan/lists"}