https://github.com/wesleyel/cmux
This lib allows you to parse and generate GSM 07.10 Frames.
https://github.com/wesleyel/cmux
cmux modem
Last synced: about 1 year ago
JSON representation
This lib allows you to parse and generate GSM 07.10 Frames.
- Host: GitHub
- URL: https://github.com/wesleyel/cmux
- Owner: wesleyel
- Created: 2024-07-17T07:29:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T09:16:31.000Z (almost 2 years ago)
- Last Synced: 2025-06-13T09:07:36.543Z (about 1 year ago)
- Topics: cmux, modem
- Language: Rust
- Homepage: https://docs.rs/cmux/latest/cmux/types/index.html
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CMUX
This lib allows you to parse and generate GSM 07.10 Frames.
## Usage
```plainstext
A library for parsing GSM 07.10 Frame
Usage: cmux
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
```plainstext
Generate GSM 07.10 Frame by given address, control and content field
Usage: cmux generate [OPTIONS]
Arguments:
content field
Options:
-a, --address
address field [default: 7]
-c, --control control field [default: EF]
-h, --help Print help
```
### Parse
```plainstext
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
- [n_gsm kernel module](https://docs.kernel.org/driver-api/tty/n_gsm.html)
- [GSM 07.10 multiplexing protocol](https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip)