I am not aware of any serial data packets. Do you have documentation to confirm your claim?
Thanks for your prompt reply Anton.
Yes, we do have the documentation from the manufacturer to confirm our claim but we cannot provide the same as we are under a non disclosure agreement with them.
However we can provide you with a sample data format that we have generated to parse the values in the database:
$$CLIENT_1ZF,170215089,20,18.462809,73.824188,170613182744,A,01,123456,*37
The data till value A of GPS fix is in the format similar to the tracking packet data which you have already implemented. Next value is an unsigned integer for the serial device type/id. The value after that is serial data from the connected device in string format with a maximum size of 64 bytes
the packet ends with a * and checksum value similar to the tracking packet data
Hope this information helps. It would be really helpful if you can implement the same in your server
Thanks and regards
Rahul
Please send an email to support address to discuss it.
I have the problem with my TK103 A, Chinese clone I see the data on the log but on my traccar server keeps offline here is my hex from the log file. thanks for your help.
2020-09-07 00:21:52 INFO: [9c5b81ea] connected
2020-09-07 00:21:52 INFO: [9c5b81ea] disconnected
2020-09-07 00:21:57 INFO: [14362e91] connected
2020-09-07 00:21:57 INFO: [14362e91] disconnected
2020-09-07 00:22:03 INFO: [b13986da] connected
2020-09-07 00:22:03 INFO: [b13986da] disconnected
2020-09-07 00:38:10 INFO: [25d2d260] connected
2020-09-07 00:38:11 WARN: [25d2d260] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:11 INFO: [25d2d260] disconnected
2020-09-07 00:38:11 INFO: [7c0947ee] connected
2020-09-07 00:38:11 INFO: [7c0947ee: aquila < 192.35.168.218] HEX: 160301007b010000770303886bc40ae1f1245afb2375239b82f0dd9aacd56cc5da7a0b1594c36056ad4e6d00001ac02fc02bc011c007c013c009c014c00a0005002f0035c012000a01000034000500050100000000000a00080006001700180019000b00020100000d0010000e0401040302010203040105010601ff01000100
2020-09-07 00:38:14 INFO: [5770f1a9] connected
2020-09-07 00:38:15 INFO: [5770f1a9: aquila < 192.35.168.218] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353038390d0a0d0a
2020-09-07 00:38:15 WARN: [7c0947ee] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:15 INFO: [7c0947ee] disconnected
2020-09-07 00:38:18 WARN: [5770f1a9] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:18 INFO: [5770f1a9] disconnected
2020-09-07 00:38:18 INFO: [d8b14391] connected
2020-09-07 00:38:18 WARN: [d8b14391] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:18 INFO: [d8b14391] disconnected
2020-09-07 00:40:00 INFO: [1d995436] connected
2020-09-07 00:40:00 INFO: [1d995436: aquila < 192.35.169.48] HEX: 0d0a
2020-09-07 00:40:01 WARN: [1d995436] error - Connection reset by peer - IOException (...)
2020-09-07 00:40:01 INFO: [1d995436] disconnected
2020-09-07 00:40:01 INFO: [c5ceb9a7] connected
2020-09-07 00:40:01 INFO: [c5ceb9a7: aquila < 192.35.169.48] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353038390d0a0d0a
2020-09-07 00:40:02 WARN: [c5ceb9a7] error - Connection reset by peer - IOException (...)
2020-09-07 00:40:02 INFO: [c5ceb9a7] disconnected
2020-09-07 00:40:02 INFO: [eae1f623] connected
2020-09-07 00:40:02 INFO: [eae1f623: aquila < 192.35.169.48] HEX: 16030100ee010000ea0303fb50dc9722c9b70ab41ad80428bcf82c35ec1c90ddcfe5eee4cd9ec6acd43d1520a3bb18ace59d87dafa4d57978c0b4fbd842e075555a580fd8098621ec5d833010026c02fc030c02bc02ccca8cca9c013c009c014c00a009c009d002f0035c012000a1301130313020100007b000500050100000000000a000a0008001d001700180019000b00020100000d001a0018080404030807080508060401050106010503060302010203ff0100010000120000002b0009080304030303020301003300260024001d0020ed7ff31f8a80639c4da33bf7df8dccad4c1f23db907a2c865f6752feccb1cc7e
2020-09-07 00:40:03 WARN: [eae1f623] error - Connection reset by peer - IOException (...)
2020-09-07 00:40:03 INFO: [eae1f623] disconnected
2020-09-07 01:51:58 INFO: [4f885cad] connected
2020-09-07 01:52:29 WARN: [4f885cad] error - Connection reset by peer - IOException (...)
2020-09-07 01:52:29 INFO: [4f885cad] disconnected
2020-09-07 03:37:00 INFO: [a125420d] connected
2020-09-07 03:37:00 INFO: [a125420d: gps103 < 183.136.225.45] HEX: 4a524d4900024b
2020-09-07 03:37:20 INFO: [a125420d] disconnected
2020-09-07 03:37:20 INFO: [7d4318b0] connected
2020-09-07 03:37:20 INFO: [7d4318b0: gps103 < 183.136.225.45] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353030310d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031302e31313b2072763a34372e3029204765636b6f2f32303130303130312046697265666f782f34372e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 16 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 INFO: [7d4318b0] disconnected
2020-09-07 03:37:21 INFO: [c7a34c40] connected
2020-09-07 03:56:50 INFO: [19ec2190] connected
2020-09-07 03:57:00 INFO: [19ec2190] disconnected
2020-09-07 05:39:55 INFO: [2bfa63c5] connected
2020-09-07 05:40:05 INFO: [2bfa63c5] disconnected
2020-09-07 05:50:48 INFO: [1430f616] connected
2020-09-07 05:50:58 INFO: [1430f616] disconnected
2020-09-07 10:49:13 INFO: [629529f9] connected
2020-09-07 10:49:13 INFO: [629529f9: totem < 183.136.225.45] HEX: 57000000001111070000ffff030000fe03000014001c080a0800000000000000040101010000000001
2020-09-07 10:49:33 INFO: [629529f9] disconnected
2020-09-07 10:49:33 INFO: [51e60ee5] connected
2020-09-07 10:49:33 INFO: [51e60ee5: totem < 183.136.225.45] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353030370d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031302e31313b2072763a34372e3029204765636b6f2f32303130303130312046697265666f782f34372e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a
2020-09-07 10:49:53 INFO: [51e60ee5] disconnected
2020-09-07 10:49:53 INFO: [16f52fe8] connected
2020-09-07 12:34:02 INFO: [e30ef3ee] connected
2020-09-07 12:34:02 INFO: [e30ef3ee: c2stek < 192.241.223.105] HEX: 7374617475730a0a
2020-09-07 12:34:12 INFO: [e30ef3ee] disconnected
2020-09-07 13:20:55 INFO: [9b14d2ea] connected
2020-09-07 13:21:25 WARN: [9b14d2ea] error - Connection reset by peer - IOException (...)
2020-09-07 13:21:25 INFO: [9b14d2ea] disconnected
2020-09-07 13:49:59 INFO: [57b4c37c] connected
2020-09-07 13:49:59 INFO: [57b4c37c: meiligao < 185.165.190.34] HEX: 6163707000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2020-09-07 13:50:05 INFO: [57b4c37c] disconnected
2020-09-07 13:50:07 INFO: [e88e0974: freematics < 144.91.92.132] HEX: 4f5054494f4e53207369703a3130304034352e33322e3137322e35205349502f322e300d0a5669613a205349502f322e302f554450203134342e39312e39322e3133323a353238393b6272616e63683d7a39684734624b2d333330343432393533373b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333236343332333036313633333033353331333433333332303133323339333733323331333933363336333833300d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a313030403134342e39312e39322e3133323a353238390d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203533313631313233353538343137353530383236383732390d0a4d61782d466f7277617264733a2037300d0a0d0a
2020-09-07 14:20:16 INFO: user: 1, action: edit, object: server, id: 1
Where is your device in the logs?
Also, how is it related to the topic?
Thanks for the quick response Anton, and Sorry if Im off topic I just installed a TK103 GPS on my car, one of the Chinese clone, I adde it to my traccar server and is always offline for some reaso and these are the logs I got on my server, and I'm not able to see any data in my server from that gps. and I think this is my GPS. is the only one I installed on my server.
2020-09-07 03:37:20 INFO: [7d4318b0: gps103 < 183.136.225.45] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353030310d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031302e31313b2072763a34372e3029204765636b6f2f32303130303130312046697265666f782f34372e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 16 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20 INFO: [7d4318b0] disconnected
2020-09-07 03:37:21 INFO: [c7a34c40] connected
2020-09-07 03:56:50 INFO: [19ec2190] connected
2020-09-07 03:57:00 INFO: [19ec2190] disconnected
Why are you keep posting here if you are off topic?
My apologies let me find the right topic, thanks
Dear Anton,
Please tell us if you support protocol for serial data packet received from Aquila TS101 Advanced device.
From AquilaProtocolDecoder.java it is clear that support for default tracking format is supported. However if an external fuel sensor is connected to the RS232 interface of the Aquila device, i believe it shall send serial data packets to the server containing data from the fuel sensor. Does your current version support the serial data packets?
Thanks and regards
Rahul