How sending commands to a tracker works over Internet

Sending Internet commands

Typically, a GPS tracker within a mobile network lacks a public IP address. Consequently, external entities such as your GpsGate Server cannot establish connections with the tracker over the Internet (TCP or UDP). However, if the GPS tracker initiates a connection with the server, commands can be relayed back via this established connection.

How do we send commands to the trackers?

1. The primary method involves using the internet to transmit commands from the server to the GPS tracker. In cases where the device cannot establish an internet connection with the server, SMS serves as an alternative solution.

2. If the device is disconnected from the server at the time a command is issued, the command is queued in the command queue. By default, commands remain in the queue for 48 hours and are transmitted once the device reconnects to the server.

3. The queued time can be adjusted between 1 minute and 72 hours through the Advanced options of the command settings.Screenshot 2024-03-04 at 12.26.37.png

4. When a user manually inputs a command through the terminal window, the command will be promptly dispatched if the device maintains a connection. However, if the device is not connected, the system will attempt to send the command for a duration of 10 seconds. If the command cannot be transmitted within this timeframe, it will be flagged as failed.Screenshot 2024-03-28 at 09.44.17.png

5. All commands, whether manually inputted or with a command template, are logged within the "Device Commands" panel. This panel can be accessed through Site Admin -> Diagnostics -> Terminal -> Device Commands. Here, users can review the history and status of all commands issued to the devices.

Screenshot 2024-03-04 at 12.40.05.png

6. When configuring a command template, the default transport option is set to "internet." This means that the command will be delivered regardless of whether the device is connected via TCP or UDP when the "internet" option is selected. This ensures that commands are transmitted reliably over the internet connection, irrespective of the specific protocol used by the device.Screenshot 2024-03-04 at 12.44.31.png