aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-25 07:37:46 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-25 07:37:46 -0700
commite6960c3d49025eb63243052e4c7aedde9955fe40 (patch)
tree736e8e9c0daf8394267d71bbf20f00c08c4af324 /src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
parentd4efbfa2a7d9d8410540fd2b6409c4086da9cec5 (diff)
downloadtrackermap-server-e6960c3d49025eb63243052e4c7aedde9955fe40.tar.gz
trackermap-server-e6960c3d49025eb63243052e4c7aedde9955fe40.tar.bz2
trackermap-server-e6960c3d49025eb63243052e4c7aedde9955fe40.zip
Support Wetrust GPS tracker
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-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 3b4cb158e..5dc6b803e 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(
+ "78782912170316053b3bcf015b51220af1201105d56100000000000000000000869c0130010000000238d1af0d0a"),
+ Position.KEY_DRIVING_TIME, 0);
+
+ verifyAttribute(decoder, binary(
"78781219012ed042cc00954d00040419000056fe290d0a"),
Position.KEY_ALARM, Position.ALARM_LOW_BATTERY);