TK20C and new protocol, new devices give problems. The Traccar recognizes new devices but marks 0 coordinates

Josep3 years ago

Hello,

I have a problem with a TK20C that they sell so much www.vjoycar.com
and www.kingneed.net and surely others. All Chinese say they manufacture.
The problem is that a few months ago I bought a TK20C device with firmware VERSION 20200427235959 and it works perfectly with Traccar but not on the manufacturer's own platform miitown.com.
Now we have bought 10 units for our client and SURPRISE does not work either in Traccar or on the manufacturer's platform miitown.com, so we feel cheated as they have no use.
The Traccar recognizes new devices but marks 0 coordinates
Checking they have a different firmware version 20200112000003

The working TK20C uses the TK03 protocol and sends a HEX like this:

283836373538343033353237393437352c445733312c3237303332312c412c343135322e31373830374e2c30303034332e3231373133452c302e3032322c3138313631382c3030302e302c3433372e37302c392c3029283836373538343033353237393437352c5a4332302c3237303332312c3138313632302c332c3337322c36353533352c32353529
which is interpreted as:
2021-03-27 19:16:20  INFO: [7b1317f8: tk103 < 195.135.249.117] HEX: 283836373538343033353237393437352c445733312c3237303332312c412c343135322e31373830374e2c30303034332e3231373133452c302e3032322c3138313631382c3030302e302c3433372e37302c392c3029283836373538343033353237393437352c5a4332302c3237303332312c3138313632302c332c3337322c36353533352c32353529
2021-03-27 19:16:20  INFO: [7b1317f8] id: 867584035279475, time: 2021-03-27 19:16:18, lat: 41.86963, lon: 0.72029, speed: 0.0, course: 0.0
2021-03-27 19:16:20  INFO: [7b1317f8] id: 867584035279475, time: 2021-03-27 19:16:18, lat: 41.86963, lon: 0.72029, speed: 0.0, course: 

Non-working TK20Cs use the TK03 protocol and send a HEX like this:

283836383832323034303435323232372c445735312c3231342c372c32353630332c36343034373930332c302c3237303332312c31383234333029283836383832323034303435323232372c5a4332302c3237303332312c3138323433302c332c3336332c36353533352c32353529 
which is interpreted as:
2021-03-27 19:24:31  INFO: [09f41ff3] connected
2021-03-27 19:24:31  INFO: [09f41ff3: tk103 < 195.135.251.112] HEX: 283836383832323034303435323232372c445735312c3231342c372c32353630332c36343034373930332c302c3237303332312c31383234333029283836383832323034303435323232372c5a4332302c3237303332312c3138323433302c332c3336332c36353533352c32353529
2021-03-27 19:24:32  INFO: [09f41ff3] id: 868822040452227, time: 2021-03-27 19:24:30, lat: 0.00000, lon: 0.00000, course: 0.0
2021-03-27 19:24:32  INFO: [09f41ff3] id: 868822040452227, time: 2021-03-27 19:24:30, lat: 0.00000, lon: 0.00000, course: 0.0

After talking to the alleged manufacturers, they pretend they didn't know, they refuse to provide firmware and instructions and they don't offer me any solution either for their own platform (it doesn't work) or for the third-party platform.
The only thing they have given me is a PDF that indicates a new protocol

Can you help me

Thanks

Anton Tananaev3 years ago

Your device doesn't seem to report any GPS location, so that's why you get zeroes.

Josep3 years ago

Thanks for the help.
I am using the same commands as with the version that works.

*routetrack*99*
*rsampling*10*
*rupload*60*
*checkm*10*

When I ask them to send the position by SMS they send it perfectly
Attached link of the revised protocol

https://drive.google.com/file/d/1nAd04M6qMmU6VY3PMzMxADLGnX5-ONcf/view?usp=sharing

Josep3 years ago
2021-03-28 16:29:06  INFO: [1ab49a9a: tk103 < 195.135.248.1] HEX: 283836383832323034303435323232372c445735422c3231342c372c32353630332c36343036383838352c302c3238303332312c31343238333429283836383832323034303435323232372c5a4332302c3238303332312c3134323833342c332c3336322c36353533352c32353529
2021-03-28 16:29:06  INFO: [1ab49a9a] id: 868822040452227, time: 2021-03-28 16:28:34, lat: 0.00000, lon: 0.00000, course: 0.0
2021-03-28 16:29:06  INFO: [1ab49a9a] id: 868822040452227, time: 2021-03-28 16:28:34, lat: 0.00000, lon: 0.00000, course: 0.0
Anton Tananaev3 years ago

Have you tried using HEX decoder?

https://www.traccar.org/hex-decoder/

Josep3 years ago

yes but i can't tell the difference

Josep3 years ago
Josep3 years ago
2021-03-28 21:05:47  INFO: [6bd930ff: tk103 < 195.135.251.198] HEX: 283836383832323034303435323232372c445733302c3238303332312c412c343135342e34343931324e2c34352e3838333330452c312e3032322c3139303435372c302e3030302c3536392e3830302c342c3029283836383832323034303435323232372c445733302c3238303332312c412c343135342e34343439334e2c34352e3839323437452c302e3532312c3139303530372c302e3030302c3538322e3230302c342c3029283836383832323034303435323232372c445733302c3238303332312c412c343135342e34343336344e2c34352e3839333836452c312e3335372c3139303531372c302e3030302c3538372e3130302c342c3029283836383832323034303435323232372c445733302c3238303332312c412c343135342e34343235344e2c34352e3839343330452c302e3431372c3139303532372c302e3030302c3538372e3230302c342c3029283836383832323034303435323232372c445733302c3238303332312c412c343135342e34343335364e2c34352e3838383533452c302e3035342c3139303533372c302e3030302c3537382e3530302c352c3029283836383832323034303435323232372c445733302c3238303332312c412c343135342e34343437374e2c34352e3838323932452c302e3736312c3139303534372c302e3030302c3537302e
Josep3 years ago

Hello,
There are already news, with the same data that traccar interprets:

2021-03-28 16:29:06 INFO: [1ab49a9a] id: 868822040452227, time: 2021-03-28 16:28:34, lat: 0.00000, lon: 0.00000, course: 0.0
2021-03-28 16:29:06 INFO: [1ab49a9a] id: 868822040452227, time: 2021-03-28 16:28:34, lat: 0.00000, lon: 0.00000, course: 0.0

at miitown.com
They have managed to locate them on the map, therefore there have been changes in the protocol, can we expect some kind of support for traccar?

Anton Tananaev3 years ago

What are the changes?

Josep3 years ago

I am not a developer, they gave me the PDF
https://drive.google.com/file/d/1nAd04M6qMmU6VY3PMzMxADLGnX5-ONcf/view?usp=sharing

2021-04-01 19:56:36  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733422c3031303432312c412c343135342e35303634394e2c34352e3734313630452c302e3034312c3137353633332c302e3030302c3631312e3430302c392c3029283836383832323034303435323232372c5a4332302c3031303432312c3137353633352c362c3430392c36353533352c32353529
2021-04-01 19:56:36  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 19:36:05, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 19:57:05  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733312c3031303432312c412c343135342e35303534384e2c34352e3734313532452c302e3131332c3137353730322c302e3030302c3631302e3030302c382c3029283836383832323034303435323232372c5a4332302c3031303432312c3137353730342c362c3430392c36353533352c32353529283836383832323034303435323232372c445733302c3031303432312c412c343135342e35303535324e2c34352e3734313631452c302e3039382c3137353730332c302e3030302c3631302e3230302c382c3029
2021-04-01 19:57:05  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 19:36:05, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 19:57:16  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c5a4332302c3031303432312c3137353731352c362c3430392c36353533352c32353529283836383832323034303435323232372c445733302c3031303432312c412c343135342e35303532304e2c34352e3734323633452c302e3432312c3137353731332c302e3030302c3631322e3030302c392c3029
2021-04-01 19:57:16  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 19:36:05, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 19:57:36  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34393535364e2c34352e3734363238452c31322e3238352c3137353732332c3138362e3130302c3630362e3930302c382c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e34333537394e2c34352e3735313938452c32362e3439312c3137353733332c3137382e3134302c3539362e3830302c392c3029
2021-04-01 19:57:56  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e33383436394e2c34352e3832313633452c32362e3634382c3137353734332c3131392e3835302c3539352e3230302c31302c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e33313035364e2c34352e3833393431452c33322e3531352c3137353735332c3138352e3432302c3539372e3930302c31302c3029
2021-04-01 19:58:16  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e32343733344e2c34352e3833333435452c31322e3932372c3137353830332c3136392e3633302c3539392e3930302c31302c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e32353335374e2c34352e3837323531452c31382e3934342c3137353831332c32322e3031302c3539382e3430302c31302c3029
2021-04-01 19:58:36  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e33313833364e2c34352e3839393536452c32362e3239392c3137353832332c32392e3734302c3538352e3430302c31302c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e33393035384e2c34352e3931363937452c32352e3532392c3137353833332c362e3439302c3538302e3930302c31302c3029
2021-04-01 19:58:56  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34333631304e2c34352e3932373137452c362e3136312c3137353834332c3333382e3530302c3538322e3030302c31302c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343635374e2c34352e3931343735452c322e3831372c3137353835332c3239352e3633302c3537372e3130302c31302c3029
2021-04-01 19:59:16  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343834324e2c34352e3839363030452c372e3031302c3137353930332c3237332e3536302c3537382e3330302c392c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343535344e2c34352e3838383738452c302e3032322c3137353931332c302e3030302c3537392e3530302c392c3029
2021-04-01 19:59:36  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343435384e2c34352e3838373436452c302e3233382c3137353932332c302e3030302c3538322e3330302c392c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343432394e2c34352e3838373137452c302e3131372c3137353933332c302e3030302c3538352e3030302c392c3029
2021-04-01 19:59:56  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343534304e2c34352e3838383135452c302e3633362c3137353934332c302e3030302c3538302e3230302c392c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343630344e2c34352e3838383437452c302e3438362c3137353935332c302e3030302c3538332e3230302c392c3029
2021-04-01 20:00:16  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343632384e2c34352e3838363934452c302e3630302c3138303030332c302e3030302c3538302e3430302c392c3029283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343733304e2c34352e3838373639452c312e3137342c3138303031332c302e3030302c3537372e3430302c372c3029
2021-04-01 20:00:36  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445733302c3031303432312c412c343135342e34343739344e2c34352e3839333738452c322e3739302c3138303032332c302e3030302c3537362e3830302c352c3029283836383832323034303435323232372c445735302c3231342c372c32353630332c36343036383838352c302c3031303432312c31383030333529
2021-04-01 20:00:36  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 20:00:35, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 20:00:56  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445735302c3231342c372c32353630332c36343036383838352c302c3031303432312c31383030343529
2021-04-01 20:00:56  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 20:00:45, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 20:01:16  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445735302c3231342c372c32353630332c36343036383838352c302c3031303432312c31383031303529
2021-04-01 20:01:16  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 20:01:05, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 20:01:36  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445735302c3231342c372c32353630332c36343036383838352c302c3031303432312c31383031323529
2021-04-01 20:01:36  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 20:01:25, lat: 0.00000, lon: 0.00000, course: 0.0
2021-04-01 20:01:56  INFO: [b489a16b: tk103 < 195.135.248.14] HEX: 283836383832323034303435323232372c445735302c3231342c372c32353630332c36343036383838352c302c3031303432312c31383031343529
2021-04-01 20:01:56  INFO: [b489a16b] id: 868822040452227, time: 2021-04-01 20:01:45, lat: 0.00000, lon: 0.00000, course: 0.0
Anton Tananaev3 years ago

If you are interested in sponsoring implementation, feel free to email support.

Josep3 years ago

how much does it cost approximately

Anton Tananaev3 years ago
Josep3 years ago

then I will contact support. Thanks