AirLink routers are equipped with location tracking, enabling you to track the movements of a vehicle or other devices that move. The router relays the information of its location as well as other data for use with tracking applications.
Common uses for location reporting include:
For instructions on configuring the router for Advanced Mobility Reporting (AMR) (available in ALMS), see this page.
National Marine Electronics Association (NMEA®): NMEA is an ASCII protocol used by many location tracking applications.
Trimble® ASCII Interface Protocol (TAIP): TAIP is a digital communication interface based on printable ASCII characters over a serial data link.
Ensure that a GNSS antenna is connected to the router. See the XR60 Hardware Guide for installation and antenna connection instructions. For compatible antennas sold by Semtech, see our website.
After enabling GNSS with the antenna connected, check the GNSS LED to confirm GNSS operation. The GNSS LED will be red while searching for a fix. After getting a fix, it is green.
See this page for full LED information.
Our GNSS solution can use signalling from up to four constellations to provide a more reliable and accurate location fix.
For legacy applications that may require GPS-only, you can limit the location service by selecting the “GPS Only” option. See LOCATION CONSTELLATION below.
To enable GNSS, go to Services > Location > General and click the switch under GNSS ENABLE.
Router geolocation uses cellular or GNSS fix. If the router has no cellular connection and GNSS is disabled, the geolocation for the Wi-Fi will be “Unknown” and Wi-Fi will be restricted to 2.4 GHz channels only.
GNSS status is reported under GNSS STATE, and can include the following status messages:
Status messages related to Firmware are shown after you manually select new GNSS Firmware for the router to use, and when an AirLink OS firmware upgrade is in progress. See GNSS FIRMWARE SELECTION MODE below.
For fine tuning GNSS, you can configure the settings listed below:
| SETTING | DESCRIPTION | RANGE | DEFAULT |
|---|---|---|---|
| GNSS CURRENT FIRMWARE | Current version of firmware on the router’s GNSS (Global Navigation Satellite System) module | N/A | N/A |
| MAXIMUM VEHICLE SPEED (KM/H) | This setting helps to filter out erroneous location fixes by setting an expectation of the vehicle’s maximum achievable speed. | 0—1000 | 250 |
| LOCATION CONSTELLATION | Location constellation you want the router to use |
|
GNSS (GPS, Galileo, QZSS, GLONASS) |
| IGNITION PARK MODE |
You can configure how GNSS location fixes are reported when Ignition is off. The setting can remedy Location Fixes drifting when vehicles are parked.
|
|
Non-DR Location Fixes |
| GNSS ANTENNA BIAS | Optimize the router for the type of connected GNSS antenna |
On (required for active GNSS antenna) Off (compatible only for passive GNSS antenna) |
On |
| GNSS ANTENNA DETECTION | Enable/Disable the reporting of GNSS Antenna State under Status/Monitoring > Status > Location. When disabled, GNSS Antenna State is reported as Not available. | Off, On | Off |
| NMEA LOGGING | You can enable NMEA LOGGING to have the router log NMEA sentences to temporary files (lost upon reboot). The logging can hold up to the last 24 hours of NMEA sentences. You can enable NMEA LOGGING to download NMEA logs from the router. After collecting the raw NMEA data, you can save it by generating and downloading a Troubleshooting package under System > Logs > Troubleshooting Package. | Off, On | Off |
Under Location > Reporting:
Local reports are sent via UDP to an IP address on the LAN.
Local Reporting broadcasts unencrypted NMEA sentences over UDP that can be intercepted by unintended recipients. Semtech recommends routing NMEA traffic through a VPN. See Configuring VPN.
To configure Local Reporting:
| SETTING | DESCRIPTION | RANGE | DEFAULT |
|---|---|---|---|
| NAME | Enter a name for the report. | n/a | n/a |
| SERVICE | The protocol over which reporting traffic is sent. UDP Broadcast sends traffic to a subnet, while UDP Multicast sends traffic to a LAN or another network. When UDP Multicast is selected, you must enter a Destination IPv4 address. | UDP Broadcast or UDP Multicast | UDP Broadcast |
| DESTINATION IPV4 ADDRESS (MULTICAST ONLY) | This setting is available when UDP Multicast service is selected. To send the location report(s) to a local LAN client, enter the address here. If there is more than one local client, it is advisable to set up a DHCP reservation or set a static IP address on the client. | n/a | n/a |
| DESTINATION PORTS | Enter the port(s) on which the CAD/AVL application is configured to receive data. The port number(s) should be available from your CAD/AVL administrator or application documentation. | 1–65535 | 65278 |
| DESTINATION LAN SEGMENT |
Enter the LAN segment for multiple clients. If you have multiple clients that require the location reports, you can send reports to each client on a particular LAN segment. If you need to send reports to multiple LAN segments, each LAN segment needs to be included in a separate Local Report. |
n/a | n/a |
| SOURCE PORT | If you require the ability to control the UDP source port for sending local location reports, enter a port number. In some cases, the SOURCE PORT and DESTINATION PORT may need to match. The setting is blank by default. If blank, the router selects a random source port. | 1–65535 | Blank |
| REPORTING INTERVAL | Sets how frequently the location report is sent to the LAN or IPv4 destination. | 1–100000 seconds | 5 |
| REPORT TYPE |
Select the report type (or protocol, as described above).
|
|
NMEA |
| SENTENCES |
If the report type is NMEA, you can select the desired combination of GGA, GSA, RMC, VTG, and GSV sentences, along with the Proprietary Device ID. Some typical sentences are below.
|
GGA, GSA, RMC, VTG, GSV, Proprietary Device ID | GGA, GSA, RMC |
To configure the Remote Reporting Server:
| SETTING | DESCRIPTION | RANGE | DEFAULT |
|---|---|---|---|
| NAME | Enter a name for the reporting server configuration. | n/a | n/a |
| PROTOCOL | Select the protocol over which remote reporting traffic will be sent. | TCP, UDP | UDP |
| DESTINATION HOSTNAME OR IP |
IP address or FQDN (fully qualified domain name) of the server where location reports are sent. Example: 192.100.100.100. The IP address can be for a local host or a remote server that is accessed over-the-air or via a VPN tunnel. If an IP with the last octet of 255 is configured (i.e. 192.168.13.255), a report would be broadcast to all IPs on that subnet. When configured to a local host subnet, any connected device would receive the report. NOTE: If you want to use it as a LAN device, it must have a private IP address. If you want to use a public IP address, use a Local IP report. |
n/a | n/a |
| DESTINATION PORT | Destination port on the server where location reports are sent. The destination port can be the same for all servers or you can configure a different destination port for each server. | 1–65535 | 22335 |
| SOURCE ADDRESS | Enter a source address. The IP address has to match that of a configured LAN segment. If passed through a VPN, the router’s “default-LAN” IP address will be used by default. If NOT passed through a VPN, the router’s WAN IP address will be used instead. If left blank, the SOURCE ADDRESS is the IP address of the Default-LAN. | IPv4 or IPv6 address | Blank |
| SOURCE PORT | If you require the ability to control the UDP/TCP source port for sending location reports, enter a port number. In some cases, the SOURCE PORT and DESTINATION PORT may need to match. | 1–65535 | 22335 |
| REPORTING INTERVAL | Sets how frequently the location report is sent to the IPv4 destination. | 1–100000 seconds | 5 |
| REPORT TYPE |
Select the report type (or protocol, as described above).
|
|
NMEA |
| SENTENCES |
If the report type is NMEA, you can select the desired combination of GGA, GSA, RMC, VTG, and GSV sentences, along with the Proprietary Device ID. Some typical sentences are below.
|
GGA, GSA, RMC, VTG, GSV, Proprietary Device ID | GGA, GSA, RMC |
It is possible to send reports via the RJ45 Serial port on the router using the default destination local IP address (192.168.1.1) and then setting the Serial port in PAD mode to listen and forward to the serial port. This configuration is useful in cases where local serial forwarding is used for sending reports to laptops in docking stations in a service vehicle.
The destination local IP address can be modified from default, so it should be checked under Networking > Zones settings > LAN Segments.
To configure sending local reports to the Serial Port:
Under Location > Reporting > LOCAL REPORTING, configure Local Reporting for UDP Multicast using the destination local IP address, for example 192.168.1.1.
Go to Hardware Interfaces.
Under Serial Interfaces > Configuration, set the MODE for Port 1 to PAD.
Under PAD Settings, configure Port 1 as follows:
The receiving application may have additional requirements for reducing the BAUD rate or configuring other flow control parameters. Consult the documentation from the application vendor for details.
Click SAVE.
To confirm operation, open the CAD/AVL listening application on your computer and confirm that messages are being received and understood.
You can send GPIO status along with device location to an MQTT server using the Telemetry reporting feature, under Telemetry > Custom Reports.
There are no default GPIO reports.
To create a report to send GPIO and location information to an MQTT server:
Go to Telemetry > General, turn on SERVICE.
Go to Telemetry > Custom Reports and click CREATE REPORTS.
In the Create Reports window, enter the following settings:
Click CREATE.
To generate a report on state change of the GPIO input, go to UNCONDITIONAL TRIGGERS and click CREATE UNCONDITIONAL TRIGGERS.
In the Create Unconditional Triggers window, enter the following settings:
Click CREATE.
Under Telemetry > MQTT, configure the connection to your MQTT server. See Configuring Telemetry for more information about MQTT settings.