From 410260640a5e58b6f3816e987470da0143337490 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 23 May 2021 11:26:54 -0700 Subject: Fix temperature decoding --- src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 f285fde97..ab1fc33f4 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -19,7 +19,7 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyAttribute(decoder, binary( "78782b1215050d03041bcf031ff30a0be795bc001c17014e14a065dd95314504b6040000001c00000cd90ab8fb6f0d0a"), - Position.PREFIX_TEMP + 1, 0); + Position.PREFIX_TEMP + 1, 0x1c); verifyAttribute(decoder, binary( "7878151330802b00000642014f0008720000802b5ee4d4c90d0a"), -- cgit v1.2.3