How to send commands via GPRS to GPS Tracker (TK103, GT02, GT06, TK102 etc)

Ish Goel picture Ish Goel · Dec 5, 2014 · Viewed 22.2k times · Source

This was already asked here https://stackoverflow.com/questions/25460743/gps-tracker-tk103-how-to-send-message-through-server. But there isn't any answer!

Receiving data from GPS Device:
I have a TCP server setup which is receiving data from various GPS Trackers (TK103, GT02 etc). Each GPS devices initiates the request, server accepts it, and starts receiving NMEA data. Works pretty well.

Sending data to GPS Device via SMS:
Currently, we have to send SMS to individual devices for all sorts of configuration. This is very tedious and inaccurate.

Sending data to GPS Device via GPRS (this is what we want to achieve):
We want to use TCP or UDP to send commands to devices over GPRS for all sorts of configuration. I have no idea about this.

  1. Do we have to use AT commands? If so, then how?
  2. Or the same SMS command over TCP?
  3. I have read that GSM providers don't allow incoming connections/data over GPRS. Is that true?
  4. If not, then what is the solution and how to do it?

Please help.

Answer

Mahmoud El Selimy picture Mahmoud El Selimy · Jan 17, 2015

According to the GPS device you are using, you can either contact the device supplier for the device gprs protocol or google for the device protocol. There are plenty of forums that discusses the GPRS protocols of the GPS devices. One if which had helped me before was http://www.gpspassion.com/ I have worked with TK103 for a while and prepared an Excel file with the command protocols. Here is the GPRS protocol for the device: https://www.dropbox.com/s/ozydwbltr9p6mlv/GPRS-Data-Protocol.xls?dl=0

Note: SMS commands has no relation to the GPRS commands