From 71f894ef66fe8ce84eaa32c2771efb53cfd47de4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 5 Jun 2020 23:46:59 -0700 Subject: Workaround for zeroed LBS data --- src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test') 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 @@ -17,6 +17,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyAttribute(decoder, binary( + "78784A1614051C150204EC02777E560C2A2A2A5314AF000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000007E061B0982004B24C00D0A"), + Position.KEY_BATTERY_LEVEL, 100); + verifyAttribute(decoder, binary( "7979000e941b02084277efef350303eadaed0d0a"), Position.KEY_DRIVER_UNIQUE_ID, "4277efef"); -- cgit v1.2.3