From d9d4cc75b78f8094d0ed029d61b6a37733186548 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 20 Jun 2020 16:45:21 -0700 Subject: Update GT06 decoder --- src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 22544e596..3e022765e 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -17,6 +17,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyPosition(decoder, binary( + "7878252612030C063816C3026C10540C38C9700144030901CC002866000EEE0C06040302000DA2DB0D0A")); + verifyAttribute(decoder, binary( "78784A1614051C150204EC02777E560C2A2A2A5314AF000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000007E061B0982004B24C00D0A"), Position.KEY_BATTERY_LEVEL, 100); -- cgit v1.2.3