cmux

Crates.iocmux
lib.rscmux
version0.2.1
sourcesrc
created_at2024-07-17 07:37:42.361592
updated_at2024-07-19 08:06:16.568971
descriptionA library for parsing GSM 07.10 Frame
homepage
repositoryhttps://github.com/magicwenli/cmux
max_upload_size
id1305943
size37,547
magicWenli (magicwenli)

documentation

README

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

Commit count: 0

cargo fmt