Setup guide
Specifications
Packages required: gps
License required: level1
system gps
Standards and Technologies: GPS, NMEA 0183, Simple Text Output Protocol
Hardware usage: Not significant
Related Documents
• Package Management
• NTP (Network Time Protocol)
Description
Global Positioning System (GPS) is used for determining precise location of a GPS receiver. There
are two types of GPS service:
• Precise Positioning Service (PPS) that is used only by U. S. and Allied military, certain U. S.
Government agencies, and selected civil users specifically approved by the U. S. Government.
Its accuracy is 22m horizontally, 27.7m vertically and 200ns of time
• Standard Positioning Service (SPS) can be used by civil users worldwide without charge or
restrictions except that SPS accuracy is intentionally degradated to 100m horizontally, 156m
vertically and 340ns of time
GPS system is based on 24 satellites rotating on 6 different orbital planes with 12h orbital period. It
makes that at least 5, but usually 6 or more satellites are visible at any time anywhere on the Earth.
GPS receiver calculates more or less precise position (latitude, longitude and altitude) and time
based on signals received from 4 satellites (three are used to determine position and fourth is used
to correct time), which are broadcasting their current positions and UTC time.
Wandy RouterOS can communicate with many GPS receivers which are able to send the
positioning and time via asynchronous serial line using NMEA 0183, NMEA/RTCM or Simple
Text Output Protocol.
Precise time is mainly intended to be used by built-in NTP server, which can use it as a time source
without any additional configuration if GPS is configured to set system time.
Additional Documents
• Global Positioning System - How it Works
Synchronizing with a GPS Receiver
system gps
Property Description
enabled (yes | no) - whether the router will communicate with a GPS receiver or not
port (name) - the port that will be used to communicate with a GPS receiver
set-system-time (time) - whether to set the system time to the value received from a GPS receiver
or not