#semtech #iot #lorawan #lpwan #client-server #udp-packet #gwmp

semtech-udp

Semtech UDP provides serialization and deserialization of packets complying with the Semtech UDP protocol

34 releases

new 0.12.0 Nov 17, 2024
0.11.0 Aug 16, 2023
0.10.9 Aug 2, 2023
0.10.8 Jun 13, 2023
0.2.0 Jul 10, 2020

#1123 in Network programming

Download history 40/week @ 2024-07-28 12/week @ 2024-08-04 16/week @ 2024-08-11 13/week @ 2024-08-18 19/week @ 2024-08-25 8/week @ 2024-09-01 8/week @ 2024-09-08 4/week @ 2024-09-15 33/week @ 2024-09-22 40/week @ 2024-09-29 10/week @ 2024-10-06 26/week @ 2024-10-13 17/week @ 2024-10-20 28/week @ 2024-10-27 19/week @ 2024-11-03 34/week @ 2024-11-10

104 downloads per month
Used in gwmp-mux

Apache-2.0

110KB
2.5K SLoC

Continuous Integration

Semtech UDP

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.

Usage

Please see the examples for usage. This library is used in gateway-rs and gwmp-mux.

Dependencies

~1–10MB
~104K SLoC