TK103A

Hello
We bought some of gps trackers TK103A,

I changed port and i can receive requests on server,

2018-03-05 15:27:06 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78780d01035288707636140500fe1a450d0a
2018-03-05 15:27:08 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1b07ca047a8bb004ce5029003400011a02032b00168100ebb80c0d0a
2018-03-05 15:27:13 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78780d01035288707636140500ff0bcc0d0a
2018-03-05 15:27:18 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1b12ca047a8ba704ce5025003400011a02032b00168100ecbea60d0a
2018-03-05 15:27:19 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78780a134006640001010094240d0a
2018-03-05 15:27:27 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78780d01035288707636140501010ce50d0a
2018-03-05 15:27:28 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1b1cca047a8ba404ce5024003400011a02032b00168100ed92740d0a
2018-03-05 15:27:38 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1b26cb047a8bae04ce5022003400011a02032b00168100ee18f90d0a
2018-03-05 15:27:48 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1b30cb047a8bac04ce5025003400011a02032b00168100ef70b50d0a
2018-03-05 15:27:58 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1b3aca047a8ba404ce501e003400011a02032b00168100f0a46b0d0a
2018-03-05 15:28:08 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1c08ca047a8ba904ce5019003400011a02032b00168100f1c6150d0a
2018-03-05 15:28:20 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1c12cb047a8bb504ce501e003400011a02032b00168100f276ac0d0a
2018-03-05 15:28:28 DEBUG: [6CD3D9AC: 5002 < 94.100.234.214] HEX: 78781f121203050b1c1cca047a8baa04ce5024003400011a02032b00168100f31e790d0a

but server cannot recognize it, is there other way to make work our gps trackers?

Anton Tananaev6 years ago

That's because you are using wrong port. Your device is using GT06 protocol, so correct port is 5023.

I really appreciate tour fast answer, tomorrow i will try with port 5023, thank tou

xg2 years ago

Hello @Anton,

I have the same issue using the clone version, i tried the port 5001-5002 and 5023 and the hex I received can't be read by hex decoder:

2022-11-16 10:24:35  INFO: [T55622d3a: gt06 < 110.54.219.2] a503003b000089634213336512508020424e313033383634383935303336323539383931000000000000000000000000000000000000000000000030424e31303397
xg2 years ago

using hex decoder from this site: https://www.convertstring.com/EncodeDecode/HexDecode

I have this result below:
[binary data]

But on their gprs protocol should have the format:

##,imei:123456789012345,A;

as discussed in here: https://stackoverflow.com/questions/21255851/what-is-the-protocol-of-gps-tracking-device-tk103

xg2 years ago

Tried all of these ports and they have the same result for the hex values:

5001
5002
5006
5013
5015
5023
5036
5093

Anton Tananaev2 years ago

That's not one of the common protocols. Do you have the protocol documentation for your device?

xg2 years ago

I have some info from them to change the protocol. I sent protocol123456 18 and I can now received this hex:

2022-11-17 11:21:29  INFO: [T3cb25296: gt06 < 110.54.216.231] 3836343839353033363235393839313b

will this format works?

Anton Tananaev2 years ago

Maybe. This is just a heartbeat message. Try port 5001 for it.

xg2 years ago

Hello Anton,

Checking using 5001, 5023 and 5002

I see that it already sends the login and heartbeat. The problem is it will disconnect:

2022-11-19 04:32:05  INFO: [T4504ae19: gt06 < 110.54.228.93] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 04:33:05  INFO: [T4504ae19: gt06 < 110.54.228.93] 3836343839353033363235393839313b
2022-11-19 04:34:05  INFO: [T4504ae19: gt06 < 110.54.228.93] 3836343839353033363235393839313b
2022-11-19 04:35:05  INFO: [T4504ae19] disconnected
2022-11-19 04:35:05  INFO: [Tad091b4e] connected
2022-11-19 04:35:06  INFO: [Tad091b4e: gt06 < 110.54.228.93] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 04:36:06  INFO: [Tad091b4e: gt06 < 110.54.228.93] 3836343839353033363235393839313b
2022-11-19 04:37:06  INFO: [T7b3fbe40] connected
2022-11-19 04:37:07  INFO: [T7b3fbe40: gt06 < 110.54.175.223] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 04:38:08  INFO: [T7b3fbe40: gt06 < 110.54.175.223] 3836343839353033363235393839313b
2022-11-19 04:39:07  INFO: [T7b3fbe40: gt06 < 110.54.175.223] 3836343839353033363235393839313b
2022-11-19 04:40:07  INFO: [T7b3fbe40] disconnected
2022-11-19 04:40:07  INFO: [T64427f6e] connected
2022-11-19 04:40:08  INFO: [T64427f6e: gt06 < 110.54.175.223] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 04:41:08  INFO: [T64427f6e: gt06 < 110.54.175.223] 3836343839353033363235393839313b
2022-11-19 04:42:08  INFO: [T64427f6e: gt06 < 110.54.175.223] 3836343839353033363235393839313b
2022-11-19 04:43:11  INFO: [T64427f6e] disconnected
2022-11-19 04:43:11  INFO: [Tbe812407] connected
2022-11-19 04:43:11  INFO: [Tbe812407: gt06 < 110.54.175.223] 23232c696d65693a3836343839353033363235393839312c413b

Looks like the server does not responds with "ON" reply as stated on their documentation?

Anton Tananaev2 years ago

I can't help you if you simply ignore my messages.

xg2 years ago

Im am using port 5001 and 5023 and it responds gt06. My only question is usually why it will disconnect?

xg2 years ago

Pardon me if i have not replied immediately. was travelling.

Anton Tananaeva year ago

I asked you to use port 5001 and instead you're posting logs from port 5023. If port 5001 doesn't show anything, you have to figure out why instead of using the wrong port.

xga year ago

Hi Anton,

I just gathered the logs for port 5001 and it will just keep on disconnecting.

2022-11-19 12:40:50  INFO: [T75d1e794: tk103 < 110.54.218.231] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 12:41:50  INFO: [T75d1e794: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:42:50  INFO: [T75d1e794: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:43:50  INFO: [T75d1e794] disconnected
2022-11-19 12:43:50  INFO: [T2a3d7cb7] connected
2022-11-19 12:43:51  INFO: [T2a3d7cb7: tk103 < 110.54.218.231] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 12:44:51  INFO: [T2a3d7cb7: tk103 < 110.54.218.231] 3836343839353033363235393839313b
 2022-11-19 12:45:51  INFO: [T2a3d7cb7: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:46:51  INFO: [T2a3d7cb7] disconnected
2022-11-19 12:46:51  INFO: [Tba680407] connected
2022-11-19 12:46:52  INFO: [Tba680407: tk103 < 110.54.218.231] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 12:47:52  INFO: [Tba680407: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:48:52  INFO: [Tba680407: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:49:52  INFO: [Tba680407] disconnected
2022-11-19 12:49:52  INFO: [T3f02867c] connected
2022-11-19 12:49:52  INFO: [T3f02867c: tk103 < 110.54.218.231] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 12:50:53  INFO: [T3f02867c: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:51:53  INFO: [T3f02867c: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:52:53  INFO: [T3f02867c] disconnected
2022-11-19 12:52:53  INFO: [T499c4bc1] connected
2022-11-19 12:52:53  INFO: [T499c4bc1: tk103 < 110.54.218.231] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 12:53:53  INFO: [T499c4bc1: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:54:53  INFO: [T499c4bc1: tk103 < 110.54.218.231] 3836343839353033363235393839313b
2022-11-19 12:55:54  INFO: [T499c4bc1] disconnected
2022-11-19 12:56:47  INFO: [T9abf0e35] connected
2022-11-19 12:56:48  INFO: [T9abf0e35: tk103 < 112.198.67.134] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 12:57:48  INFO: [T9abf0e35: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 12:58:48  INFO: [T9abf0e35: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 12:59:48  INFO: [T9abf0e35] disconnected
2022-11-19 12:59:48  INFO: [T658eb913] connected
2022-11-19 12:59:48  INFO: [T658eb913: tk103 < 112.198.67.134] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 13:00:48  INFO: [T658eb913: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:01:48  INFO: [T658eb913: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:02:48  INFO: [T658eb913] disconnected
2022-11-19 13:02:48  INFO: [T49b5b782] connected
2022-11-19 13:02:49  INFO: [T49b5b782: tk103 < 112.198.67.134] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 13:03:49  INFO: [T49b5b782: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:04:49  INFO: [T49b5b782: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:05:49  INFO: [T49b5b782] disconnected
2022-11-19 13:05:49  INFO: [T10986a66] connected
2022-11-19 13:05:49  INFO: [T10986a66: tk103 < 112.198.67.134] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 13:06:50  INFO: [T10986a66: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:07:50  INFO: [T10986a66: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:08:49  INFO: [T10986a66] disconnected
2022-11-19 13:08:50  INFO: [Tc53433ef] connected
2022-11-19 13:08:50  INFO: [Tc53433ef: tk103 < 112.198.67.134] 23232c696d65693a3836343839353033363235393839312c413b
2022-11-19 13:09:50  INFO: [Tc53433ef: tk103 < 112.198.67.134] 3836343839353033363235393839313b
2022-11-19 13:10:50  INFO: [Tc53433ef: tk103 < 112.198.67.134] 3836343839353033363235393839313b