aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-25 23:03:11 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-25 23:03:11 +1300
commitb5fc7e0899475547da99c06319ede5cc68f647e4 (patch)
tree66faf98bd1d259fe6701c5b8486e6d544cf6cb02 /test/org/traccar/protocol
parent62e2696c2d8e619d90cb978fa60f714312649866 (diff)
downloadtraccar-server-b5fc7e0899475547da99c06319ede5cc68f647e4.tar.gz
traccar-server-b5fc7e0899475547da99c06319ede5cc68f647e4.tar.bz2
traccar-server-b5fc7e0899475547da99c06319ede5cc68f647e4.zip
Improve H02 protocol decoder
Diffstat (limited to 'test/org/traccar/protocol')
-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 59882a91f..e0130aa5d 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
verifyNull(decoder, buffer(
+ "*HQ,353505221264507,VI1,075146,0,5238.25900,N,00507.33429,E,0.54,0,250917,FFFFFFFF,cc,28, db,d75b#"));
+
+ verifyNull(decoder, buffer(
"*HQ,353505510948929,V1,,V,,N,,E,0.00,0,,FFFFF7FF,f0,a,11a0,c0c6#"));
verifyPosition(decoder, buffer(