From 786f2c7245e4f7cd4f0bd7ffcf5a79b1b2197ee6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 14 Jun 2014 22:35:07 +1200 Subject: Fix TLT-2H decoder --- test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/org') diff --git a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java index ce9943405..0a7dede6c 100644 --- a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java @@ -30,6 +30,10 @@ public class Tlt2hProtocolDecoderTest { "#353686009063310#353686009063310#0000#AUTO#2\r\n" + "#239757a9$GPRMC,150252.001,A,2326.6856,S,4631.8154,W,,,260513,,,A*52\r\n" + "#239757a9$GPRMC,150322.001,A,2326.6854,S,4631.8157,W,,,260513,,,A*55")); + + verify(decoder.decode(null, null, + "#357671031289215#V600#0000#AUTOLOW#1\r\n" + + "#00735e1c$GPRMC,115647.000,A,5553.6524,N,02632.3128,E,0.00,0.0,130614,0.0,W,A*28")); } -- cgit v1.2.3