main
public static void main(String[] args)
The Application Main method.
Command line arguments are:
1) Define display options
--display (or --show) "comma separated list of options"
Options are:
altitude or a - display altitude information (* - alternatives)
depth or d - display depth information (* - alternatives)
knots or k - display speed in knots (# - alternatives)
mps or m - display speed in metre/second (# - alternatives)
longlat or degres or ll - display positions using longitude and latitude
(~ - alternatives)
coordinates or metres or xy - display positions using metre based
coordinates (~ - alternatives)
2) Define the GPS device (defaults is /dev/ttyAMA0)
--gps (or -g) "gps device"
3) Define the Depthfinder device(default is /dev/ttyUSB1)
--depthfinder (or -d) "depthfinder device"
4) Define the Screen device (default is /dev/ttyUSB0)
--screen (or -s) "screen device"
5) Use keyboard input (default is IR receiver)
--keyboardinput (or -i)
6) Set the reporting levels for the various sections
--report (or -r) "reportingswitches"
7) Provide help and then exit --help (or -h)
- Parameters:
args - the command line arguments