aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-11-01 21:26:02 -0700
committerAnton Tananaev <anton@traccar.org>2022-11-01 21:26:02 -0700
commit49646eccd5ec57013c78ea0a0776c206f812cb0b (patch)
tree8540e7c8f43773eaffd04308ee2c3887d44709a7 /src/test/java/org/traccar/protocol
parentd5ac6aa371b5dfd9a6613e693a6afc711fb740df (diff)
downloadtrackermap-server-49646eccd5ec57013c78ea0a0776c206f812cb0b.tar.gz
trackermap-server-49646eccd5ec57013c78ea0a0776c206f812cb0b.tar.bz2
trackermap-server-49646eccd5ec57013c78ea0a0776c206f812cb0b.zip
Better Meiligao commands
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java
index 5b72f6f1f..1f2e5f7e3 100644
--- a/src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java
@@ -36,6 +36,10 @@ public class MeiligaoProtocolEncoderTest extends ProtocolTest {
verifyCommand(encoder, command, binary("4040001312345678901234410603e87bb00d0a"));
+ command.setType(Command.TYPE_ENGINE_STOP);
+
+ verifyCommand(encoder, command, binary("4040001212345678901234411501fd460d0a"));
+
}
}