aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-05 22:45:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-05 22:45:38 +1300
commit923a49d6bc33f94bf39b8be13c77b1dad4d1dda0 (patch)
tree85f7b5c83d75b4b913d73c08a5039e73d171cfc0 /src/org/traccar/protocol
parentca8264c895b67cb040b63604500254465abc7677 (diff)
downloadtrackermap-server-923a49d6bc33f94bf39b8be13c77b1dad4d1dda0.tar.gz
trackermap-server-923a49d6bc33f94bf39b8be13c77b1dad4d1dda0.tar.bz2
trackermap-server-923a49d6bc33f94bf39b8be13c77b1dad4d1dda0.zip
Another try at GT06 commands
Diffstat (limited to 'src/org/traccar/protocol')
-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 edcfae083..e842c3a69 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("DYD#");
+ return encodeContent("Relay,1#");
case Command.TYPE_ENGINE_RESUME:
- return encodeContent("HFYD#");
+ return encodeContent("Relay,0#");
}
return null;