| Crates.io | lorawan-device |
| lib.rs | lorawan-device |
| version | 0.12.2 |
| created_at | 2022-04-26 16:22:10.443171+00 |
| updated_at | 2024-08-12 21:40:16.905361+00 |
| description | A Rust LoRaWAN device stack implementation |
| homepage | |
| repository | https://github.com/lora-rs/lora-rs |
| max_upload_size | |
| id | 575541 |
| size | 199,282 |
This is an experimental LoRaWAN device stack with both non-blocking (nb_device) and async (async_device)
implementations. Both implementations have their respective radio::PhyRxTx traits that describe the radio interface
required.
Note: The lorawan-radio feature in the lora-phy crate provides LorawanRadio as an async implementation of
radio::PhyRxTx.
Both stacks share a dependency on the internal module, mac where LoRaWAN 1.0.x is approximately implemented:
Currently, MAC commands are minimally mocked. For example, an ADRReq is responded with an ADRResp, but not much is actually done with the payload.
Furthermore, both async and non-blocking implementation do not implement any retries for failed joins or failed confirmed uplinks. It is up to the client to implement retry behavior; see the examples for more.
Please see examples for usage.
A public chat on LoRa/LoRaWAN topics using Rust is here.