TK919 GPRS commands

Barnabasa year ago

Hi Folks,

I'm testing a TK919 and having so far good experience regarding quality accuracy and speed. It is using watch protocol.
Anybody would have list of GPRS commands for this device that works? It would be nice to have saved commands and issue them from Traccar.
Unfortunately manufacturer was not responsive so far.

I found these instructions on the manufacturer's homepage in a word file (last updated 2019) as general (not device specific) commands but unfortunately could not make them work so far:

SOS alert way  (SOS3 )
*HQ,000,S71,085902,09,3#    1:SMS 2:calling 3: SMS+ calling 

move alert setting  (move123456 300 )
*HQ,000,S71,085902,10,300#   300m 

overspeed alert setting   (spd080 )
*HQ,000,S71,085902,11,80#    80 km/h  


turn off GPRS setting  (gprs1 /gprs0)
*HQ,000,S71,085902,12,0#

mornitor function setting   (222 device calling back )
*HQ,0000,R8,212439,number#

restart device  ( rst )
*HQ,0000,R1,212439#

format the device  (begin123456 / format )
*HQ,000,S71,085902,13,format#

time zone setting  (timezone123456 -8 )
*HQ,000,S71,085902,15,-8#    -8 zonetime

mornitor /tracker  mode  (mornitor123456 / tracker123456 )
*HQ,000,S71,085902,17,1#   1 is monitor mode  0 is tracker mode

auto armed time   (acclt,600   /  accrt,20  )
*HQ,000,S71,085902,20,600#    auto armed time 600s  the value range 0---3600 S 

*HQ,000,S71,085902,21,20#     disarmed delay 20 S  the vaule range 0---3600 S 

report interval  (run,60  )
*HQ,000,S71,085902,22,60#   60 S 

Turn on the Static hearbeat data (GPRSON123456,1    GPRSON123456,0)

*HQ,0000000000,S71,085902,42,1#
*HQ,0000000000,S71,085902,42,0#


IP and port setting 
SMS and GPRS :adminip123456 xxxxxxxx xxxxx 

If similar codes working for any of you Iwould be also grateful for a short guidance how exactly the commands are formatted. I see in logs commands being sent by Traccar encoded by watch...

Track-tracea year ago

That doesnt look Watch protocol to me (but im not an expert). This is actually a pet tracker right ?

What hex data do you actually see in the traccar logfile for this device ? Link keep datata, position data, command data ?

Barnabasa year ago

Indeed. I never said those were hex data .Up in my original post I copied in the content of the command list I could download from the manufacturer"s webpage.
For your special interest I checked the log file:

2023-11-10 10:51:01  INFO: [Te8c86ddd] id: 9190003379, command type: custom sent
2023-11-10 10:51:01  INFO: [Te8c86ddd: watch > 94.44.110.210] 5b53472a393139303030333337392a303031392a2a48512c3030302c5337312c3038353930322c32322c3230235d

That is decoded:

[SG*9190003379*0019**HQ,000,S71,085902,22,20#]

In this example I'm trying to get the device to set the record frequency 20s with a command

Track-tracea year ago

I didnt say it was hex data, but showing the HEX data from the log that the device itself sends it might be easier to see is it is actually watch protocol.

What happens when you try to send to the device a command from the server as custom command to set the upload frequency to 20 seconds: upload,20

Barnabasa year ago

Nothing happens

Pascal10 months ago

Hello !
Thanks a lot Barnabas for the sms commands.
I will try this.
I just finish yesterday to configure my traccar server ...
I try some features and i come back for another topic ;-)
Thanks !