aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-07-14 22:39:24 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-07-14 22:39:24 -0700
commitf58b2d34556598ccd8504674241876bedd3aecf0 (patch)
tree74f0ef14157764eb24da4b813a68d099adda36c6 /src/test/java/org/traccar/protocol
parent75647118260d712c0d260050c548026b684b78c4 (diff)
downloadtrackermap-server-f58b2d34556598ccd8504674241876bedd3aecf0.tar.gz
trackermap-server-f58b2d34556598ccd8504674241876bedd3aecf0.tar.bz2
trackermap-server-f58b2d34556598ccd8504674241876bedd3aecf0.zip
Use correct next value
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
index f9bf574cd..a0462e675 100644
--- a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
var decoder = new H02ProtocolDecoder(null);
+ verifyPosition(decoder, buffer(
+ "*HQ,4970105243,V1,104000,A,2235.1777,N,11357.8913,E,000.27,235,130721,FFFFFBFF,460,11,d18e105,7752,6#"));
+
verifyAttribute(decoder, buffer(
"*HQ,135790246811220,HTBT,100#"),
Position.KEY_BATTERY_LEVEL, 100);