From 6271b433cdada9b94b93db7f30bf8f8d7efe4b52 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 12 Feb 2013 23:51:42 +1300 Subject: Improve TK103 protocol decoder --- test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/org/traccar') 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")); + } } -- cgit v1.2.3