4 releases
0.2.1 | Jul 19, 2024 |
---|---|
0.2.0 | Jul 18, 2024 |
0.1.1 | Jul 17, 2024 |
0.1.0 | Jul 17, 2024 |
#4 in #10
30KB
588 lines
CMUX
This lib allows you to parse and generate GSM 07.10 Frames.
Usage
A library for parsing GSM 07.10 Frame
Usage: cmux <COMMAND>
Commands:
generate Generate GSM 07.10 Frame by given address, control and content field [aliases: g]
parse Parse a byte array to GSM 07.10 Frame [aliases: p]
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Generate
Generate GSM 07.10 Frame by given address, control and content field
Usage: cmux generate [OPTIONS] <CONTENT>
Arguments:
<CONTENT> content field
Options:
-a, --address <ADDRESS> address field [default: 7]
-c, --control <CONTROL> control field [default: EF]
-h, --help Print help
Parse
Parse a byte array to GSM 07.10 Frame
Usage: cmux parse [HEXSTRING]
Arguments:
[HEXSTRING] Bytes array like string. Example: "F9010203F9 F9010203F9"
Options:
-h, --help Print help
References
Dependencies
~1.3–1.9MB
~36K SLoC