aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-05-23 11:26:54 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-05-23 11:26:54 -0700
commit410260640a5e58b6f3816e987470da0143337490 (patch)
tree44e707584913c63b92e7c6fba7faa3856387c727 /src/test/java
parent8b29c4b31db0a9552ed2106ca8d2030fca6edea9 (diff)
downloadtraccar-server-410260640a5e58b6f3816e987470da0143337490.tar.gz
traccar-server-410260640a5e58b6f3816e987470da0143337490.tar.bz2
traccar-server-410260640a5e58b6f3816e987470da0143337490.zip
Fix temperature decoding
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
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"),