diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-05 22:45:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-05 22:45:38 +1300 |
commit | 923a49d6bc33f94bf39b8be13c77b1dad4d1dda0 (patch) | |
tree | 85f7b5c83d75b4b913d73c08a5039e73d171cfc0 /src/org/traccar | |
parent | ca8264c895b67cb040b63604500254465abc7677 (diff) | |
download | traccar-server-923a49d6bc33f94bf39b8be13c77b1dad4d1dda0.tar.gz traccar-server-923a49d6bc33f94bf39b8be13c77b1dad4d1dda0.tar.bz2 traccar-server-923a49d6bc33f94bf39b8be13c77b1dad4d1dda0.zip |
Another try at GT06 commands
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Gt06ProtocolEncoder.java | 4 |
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; |