diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-05 16:25:42 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-05 16:25:42 +1300 |
commit | 1570f3cda955c895498edafaa87b12aa4fdd6c33 (patch) | |
tree | dbd7b2fae6a48507e9e92d304282ba89657e6e6f /src/org/traccar/protocol | |
parent | c261ba04b0e8c1a0cc9c9be8a9fb7dfc6bf0d826 (diff) | |
download | traccar-server-1570f3cda955c895498edafaa87b12aa4fdd6c33.tar.gz traccar-server-1570f3cda955c895498edafaa87b12aa4fdd6c33.tar.bz2 traccar-server-1570f3cda955c895498edafaa87b12aa4fdd6c33.zip |
Fix checksum calculation methods
Diffstat (limited to 'src/org/traccar/protocol')
-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 495e2fff5..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("RELAY,1#"); + return encodeContent("Relay,1#"); case Command.TYPE_ENGINE_RESUME: - return encodeContent("RELAY,0#"); + return encodeContent("Relay,0#"); } return null; |