Please provide logs with TK102 port.
Hi Anton,
Well it seems i hadn't tested port 5036! I just complied all the port tests from the logs and realised i missed 5036. So just tested and bingo, it's working!
2018-09-13 22:04:00 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343037362849545632313033353841353230372e363534334e30303032352e31303936573030302e3133323133303931383034353130303031295d
2018-09-13 22:04:00 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:03:58, lat: 52.12757, lon: -0.41849, speed: 0.1, course: 0.0
Perhaps this info might help someone in the future.
Thanks,
Mark.
Sorry, just to add... I get a lot of miss hits with it not decoding. Seems to disconnect, re-connect and then not reads the data?..
2018-09-13 22:01:45 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343030362849545632313031323841353230372e363535334e30303032352e31313139573030302e3233323133303931383034353130303031295d
2018-09-13 22:01:45 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:01:28, lat: 52.12759, lon: -0.41853, speed: 0.2, course: 0.0
2018-09-13 22:01:46 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b25303030303030303430321d283034353130303031303030303030303830302d33302d3635353335295d
2018-09-13 22:02:00 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343033362849545632313031353841353230372e363536344e30303032352e31313138573030302e3333323133303931383034353130303031295d
2018-09-13 22:02:00 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:01:58, lat: 52.12761, lon: -0.41853, speed: 0.3, course: 0.0
2018-09-13 22:02:30 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343034362849545632313032323841353230372e363534364e30303032352e31313032573030302e3333323133303931383034353130303031295d
2018-09-13 22:02:30 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:02:28, lat: 52.12758, lon: -0.41850, speed: 0.3, course: 0.0
2018-09-13 22:03:00 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343035362849545632313032353841353230372e363533394e30303032352e31303838573030302e3133323133303931383034353130303031295d
2018-09-13 22:03:00 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:02:58, lat: 52.12757, lon: -0.41848, speed: 0.1, course: 0.0
2018-09-13 22:03:30 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343036362849545632313033323841353230372e363533394e30303032352e31303933573030302e3233323133303931383034353130303031295d
2018-09-13 22:03:30 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:03:28, lat: 52.12757, lon: -0.41849, speed: 0.2, course: 0.0
2018-09-13 22:04:00 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343037362849545632313033353841353230372e363534334e30303032352e31303936573030302e3133323133303931383034353130303031295d
2018-09-13 22:04:00 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:03:58, lat: 52.12757, lon: -0.41849, speed: 0.1, course: 0.0
2018-09-13 22:04:30 DEBUG: [419e79df: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343038362849545632313034323841353230372e363535334e30303032352e31303837573030302e3133323133303931383034353130303031295d
2018-09-13 22:04:30 INFO: [419e79df] id: 355227042040501, time: 2018-09-13 22:04:28, lat: 52.12759, lon: -0.41848, speed: 0.1, course: 0.0
2018-09-13 22:04:44 INFO: [419e79df] disconnected
2018-09-13 22:04:46 INFO: [e71c1369] connected
2018-09-13 22:04:46 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b213030303030303034303978283335353232373034323034303530312c544b3130322d573939385f30315f56312e312e3030325f3133303430312c3233342c3031302c3233342c3031302c302c34352c3130302c312c6d6f62696c652e6f322e636f2e756b2c303030302c303030302c302c312c3235352c302c342c312c31312c3030295d5d
2018-09-13 22:04:46 DEBUG: [e71c1369: 5036 > 82.132.245.214] HEX: 5b00303030303030303430397930283335353232373034323034303530312c544b3130322d573939385f30315f56312e312e3030325f3133303430312c3233342c3031302c3233342c3031302c302c34352c3130302c312c6d6f62696c652e6f322e636f2e756b2c303030302c303030302c302c312c3235352c302c342c312c31312c3030295d
2018-09-13 22:04:47 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b25303030303030303431301d283034353130303031303030303030303830302d33302d3635353335295d
2018-09-13 22:05:00 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343131362849545632313034353841353230372e363536374e30303032352e31303736573030302e3133323133303931383034353130303031295d
2018-09-13 22:05:30 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343132362849545632313035323841353230372e363537324e30303032352e31303635573030302e3233323133303931383034353130303031295d
2018-09-13 22:06:00 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343133362849545632313035353841353230372e363536334e30303032352e31303536573030302e3133323133303931383034353130303031295d
2018-09-13 22:06:30 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343134362849545632313036323841353230372e363536314e30303032352e31303536573030302e3033323133303931383034353130303031295d
2018-09-13 22:07:00 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343135362849545632313036353841353230372e363535394e30303032352e31303537573030302e3033323133303931383034353130303031295d
2018-09-13 22:07:30 DEBUG: [e71c1369: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343136362849545632313037323841353230372e363535394e30303032352e31303537573030302e3033323133303931383034353130303031295d
2018-09-13 22:07:45 INFO: [e71c1369] disconnected
2018-09-13 22:07:47 INFO: [e1d26992] connected
2018-09-13 22:07:47 DEBUG: [e1d26992: 5036 < 82.132.245.214] HEX: 5b213030303030303034313778283335353232373034323034303530312c544b3130322d573939385f30315f56312e312e3030325f3133303430312c3233342c3031302c3233342c3031302c302c34352c3130302c312c6d6f62696c652e6f322e636f2e756b2c303030302c303030302c302c312c3235352c302c342c312c31312c3030295d5d
2018-09-13 22:07:47 DEBUG: [e1d26992: 5036 > 82.132.245.214] HEX: 5b00303030303030303431377930283335353232373034323034303530312c544b3130322d573939385f30315f56312e312e3030325f3133303430312c3233342c3031302c3233342c3031302c302c34352c3130302c312c6d6f62696c652e6f322e636f2e756b2c303030302c303030302c302c312c3235352c302c342c312c31312c3030295d
2018-09-13 22:07:48 DEBUG: [e1d26992: 5036 < 82.132.245.214] HEX: 5b25303030303030303431381d283034353130303031303030303030303930302d33302d3635353335295d
2018-09-13 22:08:01 DEBUG: [e1d26992: 5036 < 82.132.245.214] HEX: 5b3d30303030303030343139362849545632313037353841353230372e363533334e30303032352e31303733573030302e3033323133303931383034353130303031295d
there is a pattern, read 7 consecutive gps entries, then disconnects for 2 lots of 7 entries. then starts to work again for 7 etc...
it's set to report every 30s. So fine for the 7 entries, then it's off for about 6mins then back on etc.
Very odd.
Looks like there is some problem with decoding. Possibly a frame decoding issue.
HI, sorry you've seen this a lot I'm sure. I'm all out of ideas. I have a TK102, I think it's a clone. I have the HEX data in the logs. It comes in septerate parts. Below it the decoded HEX of the first part:
Then it sends the location parts and continutes with this part:
I've tried all pots on the clone list but I can't get a read into the Server Application. I can get a Mobile App to read in there so I feel configent the server is OK. Ports are open for 5000 range.
Any ideas??
THanks,
Mark