#pdu #gsm #sms #api-bindings

sms-pdu

Lightweight Rust SMS PDU parser - minimal dependencies subset from huawei-modem for GSM message encoding/decoding only

2 stable releases

1.1.0 Sep 22, 2025
1.0.0 Sep 22, 2025

#2584 in Encoding

Download history 145/week @ 2026-01-22 243/week @ 2026-01-29 295/week @ 2026-02-05 136/week @ 2026-02-12 188/week @ 2026-02-19 277/week @ 2026-02-26 172/week @ 2026-03-05 170/week @ 2026-03-12 216/week @ 2026-03-19 295/week @ 2026-03-26 99/week @ 2026-04-02 204/week @ 2026-04-09 189/week @ 2026-04-16 122/week @ 2026-04-23 207/week @ 2026-04-30 165/week @ 2026-05-07

741 downloads per month
Used in sms-server

CC0 license

58KB
1K SLoC

PDU-RS

This repository contains a subset of extracted code from:

Why This Subset?

This subset contains only the GSM PDU encoding / decoding for SMS-SUBMIT and SMS-DELIVER as taken from the original repository whilst adding SMS-STATUS-REPORT decoding.

The original repository is a full modem implementation and therefore comes packaged with many more dependencies which are unnecessary if you intend to only use it's PDU parser.

Licensing

This code maintains the same license as the original work.

Dependencies

~3.5MB
~56K SLoC