aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-25 16:23:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-25 16:23:13 +1300
commitfddcc3fd41423720ab5034ec527af8086e301e0a (patch)
tree1d22864a073bcebe366569b53603ebdf48b63c44 /test/org
parentc2248f7d46c992f24205f28622ccc72f7fc20b9c (diff)
downloadtrackermap-server-fddcc3fd41423720ab5034ec527af8086e301e0a.tar.gz
trackermap-server-fddcc3fd41423720ab5034ec527af8086e301e0a.tar.bz2
trackermap-server-fddcc3fd41423720ab5034ec527af8086e301e0a.zip
Implement Meiligao odometer decoding
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index 2dbb24d9e..dd497858b 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest {
MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol());
verifyPosition(decoder, binary(
+ "24240072190820157fffff99553039343335342e3030302c412c313930372e303631392c4e2c30373235312e333235312c452c3031302e312c3138382e352c3234303231362c2c2c412a36427c302e387c36352e327c303830307c303030302c303030307c303336343838373532c73f0d0a"));
+
+ verifyPosition(decoder, binary(
"242400680790209818ffff99553038333235382e3030302c412c303131352e393338302c532c30333634382e313430392c452c302e30302c3331352e35352c3132303131367c302e37347c313930322e337c303430307c303030302c303030307c302e30f41b0d0a"));
verifyNothing(decoder, binary(