Hi guys!
I believe I have found a bug in the parsing of the tk103-alt messages in the tk103 server.
When trying to parse, for example, the "(088045212755BP05000088045212755121114A4602.5295N01429.8122E000.9020921254.3200000000L0007279A)"
message, I see the following error in the logs:
[INFO_|12/03 01:03:25|TrackClientPacketHandler.getHandlePacket:170] Receive: (088045212755BP05000088045212755121114A4602.5295N01429.8122E000.9020921254.3200000000L0007279A
[INFO_|12/03 01:03:25|TrackClientPacketHandler.parseInsertRecord_TK103_alt:445] Parsing(TK103-Alt): (088045212755BP05000088045212755121114A4602.5295N01429.8122E000.9020921254.3200000000L0007279A
[ERROR|12/03 01:03:25|TrackClientPacketHandler.parseInsertRecord_TK103_alt:475] Unexpected packet length: 94
I did a little debugging of the code and I have found out that the problem is probably
in server not including the closing parenthesis ")" in the packet, which results in the
incorrect length.
After applying the patch below (see the attachments), the tk10x server works fine and parses the messages properly.
Does my fix seem ok to you guys?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"