Posts: 5
Joined: Tue Jun 25, 2013 8:32 pm
Location: Mexico

Commands over gprs / tcp /udp

Tue Jun 25, 2013 8:48 pm

how can I send messages (stopoil123456, supplyoil123456, stopelec123456, supplyelec123456) over gprs / tcp / udp from Vehicle Tracker ? Is there the posibility of not to use SMS message ?

Sorry about my english.

User avatar
Posts: 15398
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Commands over gprs / tcp /udp

Tue Jun 25, 2013 8:57 pm

Read under "Can I send commands from the server to the GPS tracker over GPRS?" here: topic.asp?TOPIC_ID=10220


GpsGate Support

Posts: 5
Joined: Tue Jun 25, 2013 8:32 pm
Location: Mexico

RE: Commands over gprs / tcp /udp

Tue Jun 25, 2013 9:27 pm

Hi Johan, thanks for your quick reply

I read and understand it is possible with this option

2. Another common way is to make sure that the tracker keeps the connection opened. This is often called "heart beat", "sync" or similar. A mobile network will typically close a GPRS session that has been idle for 3 minutes, therefor the tracker needs to send small amounts of data to keep the connection opened. Another alternative is to have a position update rate faster than once per 3 minutes.

I have a connected TK103 and it sends reports every minute, I can see logs in terminal, but I really don´t understand Template Commands, can you help me with that, specially for those above commands, or can I type stopoil123456, select tcp or udp and click send ? Sorry, I´m new in this world.

This is my terminal log

[25/06/2013 12:07:19 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Server: OK
[25/06/2013 12:07:19 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Client: 8xxxxxxxxxxxxxx;
[25/06/2013 12:07:06 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Server: OK
[25/06/2013 12:07:06 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Report: (-xx.0974316666667, xx.4122566666667) (0, 0) (6/25/2013 5:07:02 PM)(Speed=0 x) x
[25/06/2013 12:07:06 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Client: imei:8xxxxxxxxxxxxxx,tracker,1306260107,,F,170702.000,A,1924.7354,N,09905.8459,W,0.00,,;
[25/06/2013 12:06:20 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Server: OK
[25/06/2013 12:06:20 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Report: (-xx.0974316666667, xx.4122566666667) (0, 0) (6/25/2013 5:06:17 PM)(Speed=0 x)
[25/06/2013 12:06:20 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Client: imei:8xxxxxxxxxxxxxx,tracker,1306260106,,F,170617.000,A,1924.7354,N,09905.8459,W,0.00,,;
[25/06/2013 12:06:19 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Server: OK
[25/06/2013 12:06:19 p.m.] (xxx.xxx.xxx.xxx:xxxxx/Xexun/tcp) Client: 8xxxxxxxxxxxxxx;

Return to “GpsGate Server - How to setup and use”