aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-04 02:27:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-04 02:27:57 +1200
commitb95d93b27e6b1b22db89aac994131bac26362123 (patch)
tree988bf03e4ce814f21706da216128148abef1782b /test/org
parentf594abe5da4399d3119175695e02e62b719c6ade (diff)
downloadtraccar-server-b95d93b27e6b1b22db89aac994131bac26362123.tar.gz
traccar-server-b95d93b27e6b1b22db89aac994131bac26362123.tar.bz2
traccar-server-b95d93b27e6b1b22db89aac994131bac26362123.zip
Decode H02 additional data
Diffstat (limited to 'test/org')
-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 ad3a2e589..7498bbcd7 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
+ verifyPosition(decoder, buffer(
+ "*HQ,8161289587,V1,181933,A,5444.3994,N,02516.3844,E,000.05,000,090317,FFFFBBFF,246,03,00002,41565#"));
+
verifyPosition(decoder, binary(
"2421305109380127171003170520046500100286297e003085ffffdfffff03440069129344006400001151415a20"));