diff options
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/SuntechProtocolEncoder.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/org/traccar/protocol/SuntechProtocolEncoder.java index 7bcb02088..6d1306645 100644 --- a/src/org/traccar/protocol/SuntechProtocolEncoder.java +++ b/src/org/traccar/protocol/SuntechProtocolEncoder.java @@ -15,12 +15,9 @@ */ package org.traccar.protocol; -import org.traccar.BaseProtocolEncoder; import org.traccar.StringProtocolEncoder; import org.traccar.model.Command; -import java.util.Map; - public class SuntechProtocolEncoder extends StringProtocolEncoder { @Override @@ -30,7 +27,7 @@ public class SuntechProtocolEncoder extends StringProtocolEncoder { case Command.TYPE_ENGINE_STOP: return formatCommand(command, "CMD;{%s};02;Enable1\r", Command.KEY_UNIQUE_ID); case Command.TYPE_ENGINE_RESUME: - return formatCommand(command, "CMD;{%s};02;Disable1\n", Command.KEY_UNIQUE_ID); + return formatCommand(command, "CMD;{%s};02;Disable1\r", Command.KEY_UNIQUE_ID); } return null; |