GPS Tracker Data Logger

Trust In Confidence!

For Windows 2000 - Windows 10 (2016) (incl. Server, x86 and x64). Latest version: 2.7.4 build 131. .


GPS tracking: Redirecting data to another server without changing the format of the GPS tracker data packet

Task:

It is necessary to receive data packets from the GPS tracker, write them to the log file and send them to another server for further processing. The tracker uses the plain ASCII format and does not require data receipt confirmation from the server. Sample information packet:

&REPORT,000577,140909,092601,2018.6667,N,02425.4444,E,
0,0,181,17,513,00,00.03,00.03,3,04,04

Requirements:

  • GPS Tracker Data Logger Enterprise or the trial version;
  • ASCII data parser and query plug-in for Data Logger;
  • "Data Redirecting" filtering plug-in for the logger.
  • DDE server plug-in for the logger (optional, for testing purposes).

It is assumed that:

You have configured the parameters of connecting to the device and the parser for the GPS tracker the way it is described in this article;

Solution:

After you configure and test the parser with the help of the DDE server, you will see that the parser also produces additional data along with the specified variables (fig. 1).

  • FULL_DATE_PACKET - full data packet from the tracker, including the signatures of the beginning and end of the data packet ("&REPORT," and #0D#0A);
  • DATE_PACKET - data packet from the tracker, excluding the signatures of the data packet beginning and end.

Note: Do not mind the "srvi" prefix before FULL_DATE_PACKET or DATE_PACKET because the DDE server adds it for internal needs.

DDE server window.

Fig.1. GPS tracking. DDE server window.

It is enough just to redirect the data from the FULL_DATA_PACKET variable to another IP address. You can do it with the filtering "Data Redirecting" plug-in. But you have to configure a new TCP/IP connection before that.

Note: The program can redirect only that data from the GPS tracker that the parser supports and processes. For example, if the tracker sends several types of packets and the parser processes only one of them, you will be able to redirect only that one packet.

You have to create a new configuration in order to configure a new connection. Click the Green Plus button in the main window of the program for that. You have to configure only the TCP/IP parameters in the new configuration (fig. 2).

Since you need to send data to another server, the new configuration must run as a TCP client.

GPS  tracker. TCP client configuration.

Fig.2. GPS tracker. TCP client configuration.

  1. Select the TCP client mode;
  2. Specify the IP address and port of the other server. It can be either an LAN address or an Internet address.
  3. The settings of reestablishing the connection in case of disconnection.

Click the "OK" button to save the changes in this configuration.

Now you need to enable and configure the "Data Redirecting" plug-in (fig. 3) in the configuration where the parser is running and that is receiving data from the satellite tracker.

Enabling the "Data Redirecting" plug-in.

Fig.3. GPS tracking. Enabling the "Data Redirecting" plug-in.

To configure the "Data Redirecting" plug-in (fig.4), select it in the list and click the "Configure" button under the list.

"Data Redirecting" plug-in configuration.

Fig.4. GPS tracking. "Data Redirecting" plug-in configuration.

  1. Specify the name of the variable the data from which will be redirected;
  2. Specify the destination IP address and port the way it is displayed in the list in fig.2 pos. 2.

Now you have to save all the changes. To do it, close all dialog boxes by clicking the "OK" button.

After the data is received from the GPS tracker, you will see information about the data being redirected in the message log of the program (fig. 5).

 Data redirection message.

Fig.5. GPS tracking. Data redirection message.

If you switch to the TCP client configuration (fig. 6) in the main window of the program, you will be able to see the data being redirected.

GPS tracking - data being redirected

Fig.6. GPS tracker. Data being redirected.