An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.4% on proxy.golang.org

proxy.golang.org : github.com/ik5/smudh

Package smudh provides functionality to parse and manage Short Message (SM) User Data Header (UDH) content within the SMPP protocol, handling both standalone text messages (without headers) and messages with UDH, including fragmentation. The package processes hexadecimal-encoded content and supports various encodings. This package addresses issues with certain Short Message Service Centers (SMSCs) that fail to properly handle fragmented or non-fragmented text messages. If your SMSC correctly processes short messages and delivers proper text, this package may not be necessary, and you can rely on standard SMSC APIs. When the short_message field contains raw hexadecimal UDH, the package provides a Message type (a byte slice) to represent the message. The ParseElements method detects and parses both UDH-structured and standalone messages. UDH structure example: Standalone text example: Represents the word "world" (in ASCII/GSM03.38/UTF-8) without UDH. The parsing of both for UDH and stand alone are detected and parsed using the ParseElements method. UDH and standalone messages do not include encoding details, which must be provided via another SMPP field accompanying the `short_message`. The package uses functional naming for elements rather than official UDH terminology.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/ik5/smudh
License: MPL-2.0
Latest release: 25 days ago
Namespace: github.com/ik5
Last synced: 25 days ago