ipmdump is able to write files that include the logged session in the specified display mode. ipmdump can also be used with a file that contains data generated by dd(1) .
In interactive mode ipmdump displays the input read from the device in a simple curses user interface. The following keys are available
CTRL-X
Quit
CTRL-B
Display input as Numonics IPM Blocks (See -t option, type: b).
CTRL-R
Display input as Numonics IPM raw blocks (See -t option, type: r).
CTRL-T
Display input as bits (See -t option, type: t).
CTRL-N
Sync input (See -s option).
-h
Print a help screen to STDERR.
-n
Don't run in interactive mode (curses). Default is to run in interactive moce.
-s
Sync incoming blocks. This option is only useful if block size is set to 6 and the device actually is a Numonics IPM device.
-l len
Number of bytes to read from the device.
-v
Verbose output, display desynced blocks.
-o off
Start reading from device at offset. This option is only useful if device is a file or allows repositioning.
-b blksize
Read and display blocks of the given size. By default ipmdump uses blocks of 6 bytes, since Numonics IPM device use 6 byte packets.
-d file
Dump received and analysed data to a file.
-t type
Display input using the specified type where type can be"b" Numonics IPM blocks.
Block content is interpreted as if the input was coming from a Numonics IPM device. Block size needs to be 6 bytes. The different values are extracted."r" Numonics IPM raw blocks.
Block content is interpreted as if the input was coming from a Numonics IPM device. Block size needs to be 6 bytes. The block is display as bits."t" bits
Blocks are display as bits."c" chars
Blocks are display as chars/bytes."s" shorts
Blocks are display as shorts."i" integers
Blocks are display as integer.By default ipmdump display Numonics IPM blocks.
device
A serial device, e.g. /dev/ttyS0 or ouput generated by dd(1) or -d option. If "-" is used, ipmdump reads from STDIN.