From 9702fc67d842017f27832abd3b8edba47cda0f4f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 17 May 2021 21:47:03 -0700 Subject: Decode additional data (fix #4677) --- src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java/org/traccar') diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index d45d7acd9..f285fde97 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( + "78782b1215050d03041bcf031ff30a0be795bc001c17014e14a065dd95314504b6040000001c00000cd90ab8fb6f0d0a"), + Position.PREFIX_TEMP + 1, 0); + verifyAttribute(decoder, binary( "7878151330802b00000642014f0008720000802b5ee4d4c90d0a"), Position.KEY_BATTERY_LEVEL, 6); -- cgit v1.2.3