TK115 device used 5064 port.

negamkpk8 years ago

Hello,

Am using chinese device TK115,server received Hex format, but not decoded values correctly,
I think port is not correct.In devices it mention as port 5064 for TK115 devices.Kindly advise.

2016-11-21 21:03:21 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025001952c310900125579d0843e7d5000000019503540036000916002062118b002a04ab0000
2016-11-21 21:03:51 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025001a52c310ae0125579d0843e7d50000000195035400360009160020621187002a04ae0000
2016-11-21 21:04:21 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025001b52c310cc0125579d0843e7d5000000019503540036000916002062117c002a04b10000
2016-11-21 21:04:50 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767030004001c2062
2016-11-21 21:04:50 DEBUG: [94509F12: 5064 > 49.15.139.165] HEX: 6767030002001c
2016-11-21 21:04:52 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025001d52c310eb0125579d0843e7d5000000019503540036000916002062117f002904a80000
2016-11-21 21:05:22 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025001e52c311090125579d0843e7d50000000195035400360009160020621187002a04b30000
2016-11-21 21:05:52 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025001f52c311270125579d0843e7d5000000019503540036000916002062117f002904b10000
2016-11-21 21:06:22 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025002052c311450125579d0843e7d5000000019503540036000916002062118d002904b10000
2016-11-21 21:06:52 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025002152c311630125579d0843e7d50000000195035400360009160020621182002a04b30000
2016-11-21 21:07:22 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025002252c311810125579d0843e7d5000000019503540036000916002062118b002904b30000
2016-11-21 21:07:51 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 676703000400232062
2016-11-21 21:07:51 DEBUG: [94509F12: 5064 > 49.15.139.165] HEX: 67670300020023
2016-11-21 21:07:53 DEBUG: [94509F12: 5064 < 49.15.139.165] HEX: 6767020025002452c311a00125579d0843e7d5000000019503540036000916002062118b002904ae0000
2016-11-21 21:08:08 DEBUG: [AD6CAB09: 5055 < 157.50.213.60] HEX: 474554202f3f69643d3534353230392674696d657374616d703d31343739373432363838266c61743d31312e303238323638333333333333333331266c6f6e3d37362e39363937362673706565643d302e302662656172696e673d31332e33393939393936313835333032373326616c7469747564653d3432382e3226626174743d32352e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e303b204c656e6f766f204137303230613438204275696c642f4d524135384b290d0a486f73743a2034392e3230342e3133342e3135363a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
Anton Tananaev8 years ago

You have to provide logs for the full TCP connection session. I don't see any login messages in the fragment that you provided.

negamkpk8 years ago

I think it has location values.
In the below log file where can i find login details.

2016-11-22 07:27:49  INFO: Operating system name: Linux version: 4.4.0-47-generic architecture: amd64
2016-11-22 07:27:49  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.111-b14
2016-11-22 07:27:49  INFO: Memory limit heap: 868mb non-heap: 0mb
2016-11-22 07:27:49  INFO: Character encoding: UTF-8 charset: UTF-8
2016-11-22 07:27:49  INFO: Version: 3.8-SNAPSHOT
2016-11-22 07:27:53  INFO: Starting server...
2016-11-22 07:42:18  INFO: [06AF44D9] connected
2016-11-22 07:42:18 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 676701000c000103525440713662320116
2016-11-22 07:42:18 DEBUG: [06AF44D9: 5064 > 106.76.37.239] HEX: 67670100020001
2016-11-22 07:42:22 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767050022000252c30d2d0125579d0843e7d5000000000000000000000000000252c35a852062
2016-11-22 07:42:22 DEBUG: [06AF44D9: 5064 > 106.76.37.239] HEX: 67670500020002
2016-11-22 07:42:22  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:00:05, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:42:23 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000352c30d490125579d0843e7d50000000195035400360009160020621181002704ae0000
2016-11-22 07:42:23  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:00:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:42:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000452c30d670125579d0843e7d5000000019503540036000916002062117f002704ae0000
2016-11-22 07:42:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:01:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:43:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000552c30d850125579d0843e7d50000000195035400360009160020621186002704b10000
2016-11-22 07:43:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:01:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:43:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000652c30da30125579d0843e7d50000000195035400360009160020621180002704b10000
2016-11-22 07:43:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:02:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:44:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000752c30dc10125579d0843e7d50000000195035400360009160020621182002604ab0000
2016-11-22 07:44:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:02:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:44:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000852c30ddf0125579d0843e7d5000000019503540036000916002062118d002804b10000
2016-11-22 07:44:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:03:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:45:18 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 676703000400092062
2016-11-22 07:45:18 DEBUG: [06AF44D9: 5064 > 106.76.37.239] HEX: 67670300020009
2016-11-22 07:45:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000a52c30dfd0125579d0843e7d50000000195035400360009160020621183002604ab0000
2016-11-22 07:45:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:03:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:45:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000b52c30e1b0125579d0843e7d5000000019503540036000916002062117f002804ae0000
2016-11-22 07:45:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:04:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:46:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000c52c30e390125579d0843e7d50000000195035400360009160020621190002604ab0000
2016-11-22 07:46:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:04:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:46:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000d52c30e570125579d0843e7d50000000195035400360009160020621182002604b10000
2016-11-22 07:46:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:05:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:47:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000e52c30e750125579d0843e7d5000000019503540036000916002062118a002704b10000
2016-11-22 07:47:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:05:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:47:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025000f52c30e930125579d0843e7d50000000195035400360009160020621186002604ae0000
2016-11-22 07:47:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:06:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:48:18 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 676703000400102062
2016-11-22 07:48:18 DEBUG: [06AF44D9: 5064 > 106.76.37.239] HEX: 67670300020010
2016-11-22 07:48:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025001152c30eb10125579d0843e7d5000000019503540036000916002062118c002704ab0000
2016-11-22 07:48:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:06:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:48:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025001252c30ecf0125579d0843e7d5000000019503540036000916002062118b002604ae0000
2016-11-22 07:48:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:07:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:49:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025001352c30eed0125579d0843e7d50000000195035400360009160020621186002704b10000
2016-11-22 07:49:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:07:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:49:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025001452c30f0b0125579d0843e7d5000000019503540036000916002062117d002604b10000
2016-11-22 07:49:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:08:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:50:19 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025001552c30f290125579d0843e7d50000000195035400360009160020621189002804b10000
2016-11-22 07:50:19  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:08:33, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
2016-11-22 07:50:49 DEBUG: [06AF44D9: 5064 < 106.76.37.239] HEX: 6767020025001652c30f470125579d0843e7d5000000019503540036000916002062118b002604b10000
2016-11-22 07:50:49  INFO: [06AF44D9] id: 352544071366232, time: 2014-01-01 00:09:03, lat: 10.68027, lon: 77.03777, speed: 0.0, course: 0.0
Anton Tananaev8 years ago

So everything is decoded, but the values are not correct. Port is correct. I guess there is some issue with the device, or possibly they have modified the protocol.