aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorgejimenez88 <jorgejimenez88@outlook.com>2015-08-21 10:31:55 -0500
committerjorgejimenez88 <jorgejimenez88@outlook.com>2015-08-21 10:31:55 -0500
commit130b252455e217d5d2b8c4f41f8cff73b7f14f61 (patch)
treeca20230f144f474afee8ea32832252f09e00c6f6
parent89a615dff136fc590bd0cdeb1bb8d06ea17d24c9 (diff)
downloadtrackermap-server-130b252455e217d5d2b8c4f41f8cff73b7f14f61.tar.gz
trackermap-server-130b252455e217d5d2b8c4f41f8cff73b7f14f61.tar.bz2
trackermap-server-130b252455e217d5d2b8c4f41f8cff73b7f14f61.zip
Create MeitrackProtocolEncoder.java
-rw-r--r--src/org/traccar/protocol/MeitrackProtocolEncoder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolEncoder.java b/src/org/traccar/protocol/MeitrackProtocolEncoder.java
index d5eca9a97..73f3d01e4 100644
--- a/src/org/traccar/protocol/MeitrackProtocolEncoder.java
+++ b/src/org/traccar/protocol/MeitrackProtocolEncoder.java
@@ -25,13 +25,13 @@ public class MeitrackProtocolEncoder extends StringProtocolEncoder {
switch (command.getType()) {
case Command.TYPE_ENGINE_STOP:
- return formatCommand(command, "@@M34,{%s},C01,0,12222*18\r\n", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "@@M33,{%s},C01,0,12222*18\r\n", Command.KEY_UNIQUE_ID);
case Command.TYPE_ENGINE_RESUME:
- return formatCommand(command, "@@M34,{%s},C01,0,02222*18\r\n", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "@@M33,{%s},C01,0,02222*18\r\n", Command.KEY_UNIQUE_ID);
case Command.TYPE_ALARM_ARM:
- return formatCommand(command, "@@M34,{%s},C01,0,22122*18\r\n", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "@@M33,{%s},C01,0,22122*18\r\n", Command.KEY_UNIQUE_ID);
case Command.TYPE_ALARM_DISARM:
- return formatCommand(command, "@@M34,{%s},C01,0,22022*18\r\n", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "@@M33,{%s},C01,0,22022*18\r\n", Command.KEY_UNIQUE_ID);
}
return null;