Successfully pass the free certification exam at IW Academy and become an Infinet Certified Engineer.
Use this command to handle the GPS/GLONASS-receiver.
Syntax:
#1> gps [options] [command]
Options: -t=<level> - turn trace level (1, 2 or 0 - turn trace off) -a[=(0:1)] - turn the power on the antenna amplifier -p=<port> - set TCP port for service (2323 by default) -s=<baudrate|0> - set baud rate for GPS NMEA port (0 - set 115200) -c=<con_mask> - set current constellation: 1 - GPS 2 - GLONASS 3 - GPS+GLONASS Command: start - start GPS service stop - stop GPS service coordinates - show GPS coordinates console - map GPS NMEA port to stdin/stdout tcp - map GPS NMEA port to TCP service stat - show GPS statistics clear - clear GPS statistics
Options
Option | Description |
---|---|
-t=<level> | Configure event logging
|
-a[=(0:1)] | Enables / disables the power supply to the antenna amplifier (if one is available):
|
-p=<port> | Sets the TCP port for receiving debugging information. 2323 is set by default. |
-s=<baudrate|0> | Sets the baud rate of the GPS NMEA port.
|
-c=<con_mask> | Satellite navigation system selection:
|
Commands
Command | Description |
---|---|
start | Start the GPS service operation |
stop | Stop the GPS service operation |
coordinates | View information about the GPS/GLONASS-receiver status and its operation statistics Command output example, #1> gps coordinates Satellites: 8 LAT/LONG: 56.811911/60.547041 Altitude: 275.89 HDOP: 0.92 FIX: 3D, GLONASS Total GPS time: 17:43:19 Total nonvalid time: 00:00:01(0%) Number of losses: 0 Now coordinates are valid last 17:43:18 Satellites histogram: ^ | 2.0 + | 3.0 + | 4.0 + | 5.0 + | <1% 6.0 + | 1% 7.0 + |||||||||||||||||||||||||||||||||||||||||||||||||| 99% v SATmin= 5 SATmax= 10
CAUTION It is recommended to use values of “HDOP” parameter up to 1.5 for reliable global timing synchronization.
The following values of <system> (currently used GNSS) are available:
The next block of information is the statistics (to obtain these data without information about status of GPS/GLONASS-receiver you can use "gps stat" command instead).
|
console | Displays an information in GPS NMEA format, is used for debugging. The GPS/GLONASS-receiver should be stopped |
tcp | An information in the GPS NMEA format is transmitted to the TCP port assigned earlier by the "-p" parameter. The GPS/GLONASS-receiver should be stopped |
stat | View GPS/GLONASS-receiver operation statistics(without the status information) |
clear | Reset the statistics data |
CAUTION
Please note, that "tcp" and "console" commands and "-p" and "-s" options are used for diagnostics and debugging on emergency by specialists only.