aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-10-03 07:24:27 +0800
committerAnton Tananaev <anton@traccar.org>2023-10-03 07:24:27 +0800
commit45a0d3b8673a5bab98570b84a864e6b313fe2899 (patch)
treea1be218ab8676057773f9f08902b1b3a628e1d32 /src/test/java/org/traccar/protocol
parent65f54c200cf0dcadaa9a1ce685e3eaeb88ce7506 (diff)
downloadtrackermap-server-45a0d3b8673a5bab98570b84a864e6b313fe2899.tar.gz
trackermap-server-45a0d3b8673a5bab98570b84a864e6b313fe2899.tar.bz2
trackermap-server-45a0d3b8673a5bab98570b84a864e6b313fe2899.zip
Add Seeworld temp and humidity
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 9b196e501..a2ee4d1bc 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -18,6 +18,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
"78780D01086471700328358100093F040D0A"));
verifyAttribute(decoder, binary(
+ "78782f22170a020b2737cf02c568a8089fc0dc125c4d01369a371b0a6967020000000007327a00000000001500260074544c0d0a"),
+ "humidity", 53.76);
+
+ verifyAttribute(decoder, binary(
"78785995ffff01170719152013df0163d45f041ee52018be002f00876900004556454e545f3836323739383035303137353131325f30303030303030305f323032335f30375f32355f31385f33325f30355f31342e6d70340119d15a0d0a"),
Position.KEY_EVENT, 0x69);