Gateway

Synopsis

Usage: ./gateway [options] serial port
Gateway to ‘Black-Box’ device.
Options:
-h, --help

Displays help on commandline options.

--help-all

Displays help including Qt specific options.

-v, --version

Displays version information.

-l, --list

Prints the found devices.

-p, --port <no>

Port of the gateway [default: 51955].

-s, --severity <level>

Max severity (fatal|error|warning|info|debug|verbose) of log message.

-f, --file <filename>

Logs to file.

-u, --lookup <option>

Lookup option to select the-black-box device (description|serialnumber|location)

--disable-gui

Disable GUI (if supported).

Arguments:
serial port Serial interface of the device, or description, or

serialnumber.

Examples

Running the executable with parameter -l returns the connected devices.

Found 1 ports...
Port: ttyACM0
  Vendor : 1155
  Product: 22336
  Location: /dev/ttyACM0
  Description: The-Black-Box
  Manufacturer: the-black-box.org
  Serial number: 2061398B5856

In this example you can start the service using the arguments -u description The-Black-Box.

This is the second example ./gateway /dev/ttyACM0