aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-05 23:46:59 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-05 23:46:59 -0700
commit71f894ef66fe8ce84eaa32c2771efb53cfd47de4 (patch)
treecc5d105e3f8867f876848a86a665c7a9c7f7a466 /src/test/java/org
parent473e671a14bb826cdbf73f732fbd8b8eec6f3986 (diff)
downloadtrackermap-server-71f894ef66fe8ce84eaa32c2771efb53cfd47de4.tar.gz
trackermap-server-71f894ef66fe8ce84eaa32c2771efb53cfd47de4.tar.bz2
trackermap-server-71f894ef66fe8ce84eaa32c2771efb53cfd47de4.zip
Workaround for zeroed LBS data
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index cb0b9330d..22544e596 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -18,6 +18,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
"78780D01086471700328358100093F040D0A"));
verifyAttribute(decoder, binary(
+ "78784A1614051C150204EC02777E560C2A2A2A5314AF000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000007E061B0982004B24C00D0A"),
+ Position.KEY_BATTERY_LEVEL, 100);
+
+ verifyAttribute(decoder, binary(
"7979000e941b02084277efef350303eadaed0d0a"),
Position.KEY_DRIVER_UNIQUE_ID, "4277efef");