aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-06-14 22:35:07 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-06-14 22:35:07 +1200
commit786f2c7245e4f7cd4f0bd7ffcf5a79b1b2197ee6 (patch)
tree4b7a9885a25ac2e5976e78d853993a67191e452b /test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
parente6d9af4efc0895cd1723f1cd2b80f82776ccf2e0 (diff)
downloadtrackermap-server-786f2c7245e4f7cd4f0bd7ffcf5a79b1b2197ee6.tar.gz
trackermap-server-786f2c7245e4f7cd4f0bd7ffcf5a79b1b2197ee6.tar.bz2
trackermap-server-786f2c7245e4f7cd4f0bd7ffcf5a79b1b2197ee6.zip
Fix TLT-2H decoder
Diffstat (limited to 'test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
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"));
}