Skip to content

snowmemo/cmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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