aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-05 16:35:31 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-05 16:35:31 +1300
commit037ff8b24880304190187a632612169c471a82a3 (patch)
tree5f4a6f5a65b0a4eeace0f4adac4dd55f634130a2 /src/org/traccar
parent1570f3cda955c895498edafaa87b12aa4fdd6c33 (diff)
downloadtrackermap-server-037ff8b24880304190187a632612169c471a82a3.tar.gz
trackermap-server-037ff8b24880304190187a632612169c471a82a3.tar.bz2
trackermap-server-037ff8b24880304190187a632612169c471a82a3.zip
Revert to original GT06 commands
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolEncoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolEncoder.java b/src/org/traccar/protocol/Gt06ProtocolEncoder.java
index e842c3a69..edcfae083 100644
--- a/src/org/traccar/protocol/Gt06ProtocolEncoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolEncoder.java
@@ -53,9 +53,9 @@ public class Gt06ProtocolEncoder extends BaseProtocolEncoder {
switch (command.getType()) {
case Command.TYPE_ENGINE_STOP:
- return encodeContent("Relay,1#");
+ return encodeContent("DYD#");
case Command.TYPE_ENGINE_RESUME:
- return encodeContent("Relay,0#");
+ return encodeContent("HFYD#");
}
return null;