GPS on AEP

Configuring 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 GPS features and GPSD at the same time.

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

Notes:

  • 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 1 to255 seconds.
  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 any 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.