System information
Manual:System/GPS
66
Monitoring Status
Command: /system gps monitor
This command is used for monitoring the data received from a GPS receiver
Parameters:
Property Description
date-and-time (date) Date and time received from GPS
latitude (none | string) Latitude in DM (Degrees Minute decimal) format
longitude (none | string) Longitude in DM (Degrees Minute decimal) format
speed (none | string) Current moving speed of the GPS unit
bearing (none | string) The compass direction toward which a GPS is moving
valid (yes | no)
satellites (integer) Number of satellites seen by the device.
Note: The time is not stratum 1 as RouterBOARD devices do not have PPS
[2]
implemented
Basic examples
Adjust port settings specific for your device
[admin@MikroTik] /port> set 0 baud-rate=4800 parity=odd
[admin@MikroTik] /port> print detail
Flags: I - inactive
0 name="usb1" used-by="GPS" channels=1 baud-rate=4800 data-bits=8 parity=odd stop-bits=1 flow-control=none
Enable GPS
[admin@MikroTik] /system gps> set enable=yes port=usb1
[admin@MikroTik] /system gps> print
enabled: yes
port: usb1
channel: 0
set-system-time: no
Monitor status
[admin@MikroTik] /system gps> monitor
date-and-time: sep/05/2011 07:28:54
latitude: N 56 57' 32.568''
longitude: E 24 9' 11.568''
altitude: -23.600000m
speed: 0.000000 km/h
bearing: none
valid: yes
satellites: 3
[ Top | Back to Content ]