Crates.io | semtech-udp |
lib.rs | semtech-udp |
version | 0.11.0 |
source | src |
created_at | 2020-06-04 13:43:16.578562 |
updated_at | 2023-08-16 23:34:04.219944 |
description | Semtech UDP provides serialization and deserialization of packets complying with the Semtech UDP protocol |
homepage | |
repository | https://github.com/helium/semtech-udp/ |
max_upload_size | |
id | 250001 |
size | 157,644 |
Semtech UDP provides serialization and deserialization of packets complying with the Semtech GWMP over UDP protocol.
The server
feature provides a Tokio-based runtime which handles the UDP and
Semtech GWMP UDP protocol details, such as ACKs and keeping track of client
addresses. It exposes an async API for receiving all messages for the client
and an asynchronous send function which returns only when the transmit ack
(tx_ack) is received
The client
feature provides a Tokio-based runtime which handles the UDP and
Semtech UDP protocol details, such as periodically sending PULL_DATA frames.
Client is responsible for ACKing downlinks.
Please see the examples for usage. This library is used in gateway-rs and gwmp-mux.