Services and applications Location information
Digi TransPort WR Routers User Guide
148
digi.router> location state server
2. Set the IP address of the remote host to which location messages will be sent:
digi.router> location-client 1 server 192.168.2.3
3. (Optional) Provide a description of the remote host:
digi.router> location-client 1 description Remote host 1
4. Set the UDP port on the remote host to which location messages will be sent:
digi.router> location-client 1 server-port 8000
5. Set the protocol type for the messages. Allowed values are taip or nmea; the default is taip:
digi.router> location-client 1 type nmea
6. (Optional) Specify a comma-separated list of the types of messages that will be forwarded.
Allowed values depend on the value of the protocol type configured in the type parameter:
n If the protocol type is TAIP, allowed values are:
l al — Reports altitude and vertical velocity.
l cp — Compact position: reports time, latitude, and longitude.
l id — Reports the vehicle ID.
l ln — Long navigation: reports the latitude, longitude, and altitude, the horizontal
and vertical speed, and heading.
l pv — Position/velocity: reports the latitude, longitude, and heading.
The default is to report all message types.
digi.router> location-client 1 filter-taip al,cp,id
n If the protocol type mis NMEA, allowed values are:
l gga — Reports time, position, and fix related data.
l gll — Reports position data: position fix, time of position fix, and status.
l gsa — Reports GPS DOP and active satellites.
l gsv — Reports the number of SVs in view, PRN, elevation, azimuth, and SNR.
l rmc — Reports position, velocity, and time.
l vtg — Reports direction and speed over ground.
The default is to report all message types.
digi.router> location-client 1 filter-nmea gga,gll,gsa
7. (Optional) Set the text to prepend to the forwarded message. Two variables can be included in
the prepended text:
n %s — Includes the TransPort device's serial number in the prepended text.
n %v — Includes the vehicle ID in the prepended text. See Configure the Vehicle ID for
information about configuring the vehicle ID.
digi.router> location-client 1 prepend __|%s|__|%v|__