From f58b2d34556598ccd8504674241876bedd3aecf0 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 14 Jul 2021 22:39:24 -0700 Subject: Use correct next value --- src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/java/org/traccar') 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); -- cgit v1.2.3