aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-26 20:05:51 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-26 20:09:08 -0700
commit8c20ee9f2eb3e321204c524ce4fd013d175bb674 (patch)
treeba33ae3c5c1c4ad457550bfb7fd317dc7c8940c5 /src/test/java/org/traccar/protocol
parent557c40e533027b15b46aeb3f5eec802089978163 (diff)
downloadtraccar-server-8c20ee9f2eb3e321204c524ce4fd013d175bb674.tar.gz
traccar-server-8c20ee9f2eb3e321204c524ce4fd013d175bb674.tar.bz2
traccar-server-8c20ee9f2eb3e321204c524ce4fd013d175bb674.zip
Support temperature sensor
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index f1e952647..776a984dc 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(
+ "7979000E9B0332382E33A1E60D0A0289BE490D0A"),
+ Position.PREFIX_TEMP + 1, 28.3);
+
verifyPosition(decoder, binary(
"7878353714080d05000ac500a886eb0b7522f000100001fe0a05ea004f1b000001002e0400002328003b0217c0003c0401020001002c468a0d0a"));