aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/SuntechProtocolEncoder.java
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-07-12 18:57:44 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-07-12 18:57:44 -0300
commitfee6c4709866248e26f63db2fd265deac7edde99 (patch)
treeefb8322d3fa4d31ddd8ec8dd6f6fc7b063b80dbf /src/org/traccar/protocol/SuntechProtocolEncoder.java
parent9c20d2d85c9909b41711e7fe198539dc8cd7d485 (diff)
downloadtrackermap-server-fee6c4709866248e26f63db2fd265deac7edde99.tar.gz
trackermap-server-fee6c4709866248e26f63db2fd265deac7edde99.tar.bz2
trackermap-server-fee6c4709866248e26f63db2fd265deac7edde99.zip
- Fix number of params.
Diffstat (limited to 'src/org/traccar/protocol/SuntechProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/SuntechProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/org/traccar/protocol/SuntechProtocolEncoder.java
index e63637584..86c07c7d2 100644
--- a/src/org/traccar/protocol/SuntechProtocolEncoder.java
+++ b/src/org/traccar/protocol/SuntechProtocolEncoder.java
@@ -30,7 +30,7 @@ public class SuntechProtocolEncoder extends StringProtocolEncoder {
case Command.TYPE_POSITION_SINGLE:
return formatCommand(command, "SA200GTR;{%s};02;\r", Command.KEY_UNIQUE_ID);
case Command.TYPE_OUTPUT_CONTROL:
- return formatCommand(command, "SA200CMD;{%s};0{%s};Enable{%s}\r", Command.KEY_UNIQUE_ID, Command.KEY_DATA);
+ return formatCommand(command, "SA200CMD;{%s};0{%s};Enable{%s}\r", Command.KEY_UNIQUE_ID, Command.KEY_DATA, Command.KEY_DATA);
case Command.TYPE_ENGINE_STOP:
return formatCommand(command, "SA200CMD;{%s};02;Enable1\r", Command.KEY_UNIQUE_ID);
case Command.TYPE_ENGINE_RESUME: