An open API service indexing awesome lists of open source software.

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.

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)