diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-12 23:51:42 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-12 23:51:42 +1300 |
commit | 6271b433cdada9b94b93db7f30bf8f8d7efe4b52 (patch) | |
tree | d4ad23b0c5302cb1d5497c057055a392a1fbc1ce /test/org/traccar/protocol | |
parent | 5548bf13796fe08b32ebf95ed4c47382382ab721 (diff) | |
download | trackermap-server-6271b433cdada9b94b93db7f30bf8f8d7efe4b52.tar.gz trackermap-server-6271b433cdada9b94b93db7f30bf8f8d7efe4b52.tar.bz2 trackermap-server-6271b433cdada9b94b93db7f30bf8f8d7efe4b52.zip |
Improve TK103 protocol decoder
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java index b7e4ab849..607287210 100644 --- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -20,6 +20,12 @@ public class Tk103ProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "(013632782450BP05000013632782450120803V0000.0000N00000.0000E000.0174654000.0000000000L00000000")); + assertNotNull(decoder.decode(null, null, + "(013666666666BP05000013666666666110925A1234.5678N01234.5678W000.002033490.00000000000L000024DE")); + + assertNotNull(decoder.decode(null, null, + "(013666666666BO012110925A1234.5678N01234.5678W000.0025948118.7200000000L000024DE")); + } } |