aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-22 23:45:14 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-22 23:45:14 -0800
commitc8d39587a20ecc0d0b591fe09018e9d55694bf22 (patch)
treebb41b89a072bbdfd4c69c83b7eb1fa4b29e1d620 /test
parent4c876606ca3afa794366bcc0688fdafaa6b02f4f (diff)
downloadtrackermap-server-c8d39587a20ecc0d0b591fe09018e9d55694bf22.tar.gz
trackermap-server-c8d39587a20ecc0d0b591fe09018e9d55694bf22.tar.bz2
trackermap-server-c8d39587a20ecc0d0b591fe09018e9d55694bf22.zip
Support another H02 LBS format
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index acfb96c82..4a5eadf52 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(null);
+ verifyNotNull(decoder, buffer(
+ "*hq,356327081001239,VP1,V,470,002,92,3565,0Y92,19433,30Y92,1340,29#"));
+
verifyPosition(decoder, binary(
"2435248308419329301047591808172627335900074412294E024138FEFFFFFFFF01120064BA73005ECC"));