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

semtech-udp

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

33 releases

0.11.0 Aug 16, 2023
0.10.8 Jun 13, 2023
0.10.7 Mar 10, 2023
0.10.4 Oct 18, 2022
0.2.0 Jul 10, 2020

#1205 in Network programming

Download history 10/week @ 2024-06-10 1/week @ 2024-06-17 1/week @ 2024-06-24 74/week @ 2024-07-01 5/week @ 2024-07-15 8/week @ 2024-07-22 36/week @ 2024-07-29 13/week @ 2024-08-05 18/week @ 2024-08-12 13/week @ 2024-08-19 17/week @ 2024-08-26 9/week @ 2024-09-02 6/week @ 2024-09-09 4/week @ 2024-09-16 48/week @ 2024-09-23

68 downloads per month
Used in gwmp-mux

Apache-2.0

100KB
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.3–9.5MB
~100K SLoC