aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-05 16:25:42 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-05 16:25:42 +1300
commit1570f3cda955c895498edafaa87b12aa4fdd6c33 (patch)
treedbd7b2fae6a48507e9e92d304282ba89657e6e6f /src/org/traccar/protocol
parentc261ba04b0e8c1a0cc9c9be8a9fb7dfc6bf0d826 (diff)
downloadtraccar-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.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 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;