aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-10 16:53:41 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-10 16:53:41 +1200
commitae30beb0b049c0dc84d337adbffe68703f7d6e61 (patch)
tree788ce08e38d5533c9f04e9f5d88485e4cf073ff0 /test/org/traccar
parentb27ab90540402836b64e2eb634c37dcab7aa6608 (diff)
downloadtrackermap-server-ae30beb0b049c0dc84d337adbffe68703f7d6e61.tar.gz
trackermap-server-ae30beb0b049c0dc84d337adbffe68703f7d6e61.tar.bz2
trackermap-server-ae30beb0b049c0dc84d337adbffe68703f7d6e61.zip
Support Prime 07 protocol
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index 3a758069c..1a49b4bfb 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
+ verifyPosition(decoder, binary(
+ "2435248308419329301047591808172627335900074412294E024138FEFFFFFFFF01120064BA73005ECC"));
+
+ verifyPosition(decoder, buffer(
+ "*HQ,4210209006,V1,054048,A,2828.2297,N,07733.4332,E,000.5,047,4,080918,EEE7FBDF,4261193,0#"));
+
verifyPosition(decoder, buffer(
"*HQ,353505221264507,V2,100220,0,5238.26259,N,00507.33983,E,0.25,0,280917,FFFFFFFF,cc,28, db,d75b#"));