Configuring GNSS/GPS

Some devices have a built-in GPS receiver. If your router has a GPS receiver, the router can forward NMEA (National Marine Electronics Association) sentences from the GPS receiver to a device connected to the router’s serial port. You can also send the GPS data over the network to a remote computer.

NOTE: If you install the gpsd init script, to avoid errors, don’t run GNSS/GPS features and GPSD at the same time.

There are four areas of GNSS/GPS configuration including: Server ConfigurationClient Configuration and NMEA Configuration along with Current Position information.


  • All enabled sentences are forwarded periodically using the interval specified in the NMEA Configuration section. Before forwarding, the router adds an ID prefix and ID to each enabled NMEA sentence. If set, the NMEA sentences available are those provided by the built-in receiver which are: GPGGA, GPGSA, GPGSV, GPGLL, GPRMC, GPVTG.
  • You can simultaneously enable the TCP Server, TCP/UDP client, and serial port dump.

Server Configuration

  1. Go to Setup > GPS Configuration > Server Configuration.
  2. To enable server configuration, check TCP Server.
  3. Enter Port number.
  4. Enter Password and Confirm Password.
  5. Click Submit.
  6. To save your changes, click Save and Restart.

Client Configuration

GPS information to a remote server

The Client Configuration allows the device to connect to a remote server using the IP and port information for uploading GPS data.

  1. To allow the device to connect, go to Setup > GPS Configuration > Client Configuration.
  2. Check TCP/UDP Client.
  3. From the Protocol drop-down list, select the protocol of the client.
  4. In the Remote Host field, enter the IP address of the remote host.
  5. In the Port field, enter the port number of the remote host.
  6. If your remote host requests a password, type that password in the Password field. The password is sent to the server in response.
  7. Click Submit.
  8. To save your changes, click Save and Restart.

NMEA Configuration

To configure the time interval, additional prefix or ID information, and which NMEA sentences that can be sent:

  1. Go to Setup > GPS Configuration > NMEA Configuration and in the Interval field, type the amount of time, in seconds, that passes before the NMEA information is sent. The default is 10 seconds. The range is 10 to 604,800 seconds (1 week).
  2. You can further identify the router, also called a remote asset, that is collecting and sending the GPS information. To do so:
    • Add ID: The ID is an unique remote asset identification string. The ID string can be any length up to 20 characters. The & and $ are invalid characters. The ID must follow the standard NMEA sentence structure. Refer to the Universal IP AT Commands Reference Guide for sentence structure.
    • To add more information to the beginning of the ID, in the Add ID Prefix field, type the information.
  3. You can select which NMEA sentence types you want to send. Check a combination of these options: GGA, GSA, GSV, GLL*, RMC, and VTG.* For information on the different NMEA sentence types or messages, refer to pages 98-103 of the u-blox m8 receiver description-manual. (*NOTE: You must enable NMEA-OnlyMode if you wish to use GLL or VTG strings.)
  4. You have the option to receive complete NMEA data (all strings including GLL and VTG). To do this, check Enable NMEA-Only Mode. NOTE: This mode interferes with LoRa Packet Forwarder operations. Do not select this mode if you are using the LoRa Packet Forwarder.