GeoCOM

The GeoCOM protocol test suite runs commands from all GeoCOM subsystems, to see what part of the protocol might be usable on the instrument.

Note

The command only does surface level testing by executing one command from each subsystem. The results are only informative, they might not be completely accurate. It might happen, that an instrument responds to the command used for testing, but does not actually respond to the other commands of the subsystem with valid data.

Requirements

  • GeoCOM capable instrument

Usage

iman test geocom

Test the availability of various GeoCOM protocol functions on an instrument.

From each GeoCOM subsystem, a single command is run to test the responsiveness of the instrument. Some of the commands might change instrument settings.

The results are displayed in a table, listing all subsystems and their success/failure.

iman test geocom [OPTIONS] PORT

Options

-b, --baud <baud>

Serial speed

Options:

1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 56000 | 57600 | 115200 | 230400 | 921600

-t, --timeout <timeout>

Serial timeout

-a, --attempts <attempts>

Number of connection attempts

--sync-after-timeout

Attempt to synchronize message que after a timeout

Arguments

PORT

Required argument

Serial port that the instrument is connected to (must be a valid identifier like COM1 or /dev/usbtty0)