aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-03 22:25:56 +1200
committerGitHub <noreply@github.com>2017-05-03 22:25:56 +1200
commit2d8e0b1070f998edd90c15b275f219b3368e956a (patch)
tree30ca0299ed2b087984f6086255c61b32d9a69bc3 /src/org/traccar
parente1ed9217f32fd26493043bfd038072f1cb79e53e (diff)
parent8c9489b9ed91da50b4f5752e0876bccdb1f794d2 (diff)
downloadtrackermap-server-2d8e0b1070f998edd90c15b275f219b3368e956a.tar.gz
trackermap-server-2d8e0b1070f998edd90c15b275f219b3368e956a.tar.bz2
trackermap-server-2d8e0b1070f998edd90c15b275f219b3368e956a.zip
Merge pull request #3139 from AnshulJain1985/GT06
Change GT06 command result to result key from command key
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
index 5ddca8096..ef2237ad1 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -305,7 +305,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
if (commandLength > 0) {
buf.readUnsignedByte(); // server flag (reserved)
- position.set(Position.KEY_COMMAND,
+ position.set(Position.KEY_RESULT,
buf.readBytes(commandLength - 1).toString(StandardCharsets.US_ASCII));
}