aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-20 15:15:30 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-20 15:15:30 -0700
commit570ece9e288d55b4986f59e6d1407666dda94bcb (patch)
treec382e33b0ba9e5b00a11b11eb05fb236eed14deb /src/test/java/org/traccar
parent6b93bac13dc044c3155794226a670257d841554e (diff)
downloadtraccar-server-570ece9e288d55b4986f59e6d1407666dda94bcb.tar.gz
traccar-server-570ece9e288d55b4986f59e6d1407666dda94bcb.tar.bz2
traccar-server-570ece9e288d55b4986f59e6d1407666dda94bcb.zip
Decode level 2 battery
Diffstat (limited to 'src/test/java/org/traccar')
-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 4a5eadf52..c69dffce7 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 {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(null);
+ verifyPosition(decoder, binary(
+ "24702802061601234020031910125482600612695044000000ffffbbff000000000000000001760d04e2c9934d"));
+
verifyNotNull(decoder, buffer(
"*hq,356327081001239,VP1,V,470,002,92,3565,0Y92,19433,30Y92,1340,29#"));