From 76ab97612a13e6d89b45596372fb311a3dafa826 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 27 May 2013 18:32:47 +1200 Subject: Fix tlt2h protocol decoder (fix #273) --- test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java index 070aec4e1..c096c7ecf 100644 --- a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java @@ -24,6 +24,11 @@ public class Tlt2hProtocolDecoderTest { "#25ee0dff$GPRMC,083945.180,A,2233.4249,N,11406.0046,E,0.00,315.00,251207,,,A*6E\r\n" + "#25ee0dff$GPRMC,083950.180,A,2233.4249,N,11406.0046,E,0.00,315.00,251207,,,A*6E\r\n" + "#25ee0dff$GPRMC,083955.180,A,2233.4249,N,11406.0046,E,0.00,315.00,251207,,,A*6E")); + + assertNotNull(decoder.decode(null, null, + "#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")); } -- cgit v1.2.3