aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-21 23:47:17 +1200
committerGitHub <noreply@github.com>2017-09-21 23:47:17 +1200
commite1a3107082ec78d375bba3f42b8ffe58d21395df (patch)
treecfcee389e32e14158621fdf56191925f954aa19c /src/org/traccar
parent06bdcf65a08b233f6c56ddf4774287c0c0232597 (diff)
parent90459fe4f15c3cfa4a5062ca421a4640a73e7314 (diff)
downloadtrackermap-server-e1a3107082ec78d375bba3f42b8ffe58d21395df.tar.gz
trackermap-server-e1a3107082ec78d375bba3f42b8ffe58d21395df.tar.bz2
trackermap-server-e1a3107082ec78d375bba3f42b8ffe58d21395df.zip
Merge pull request #3541 from Abyss777/teltonika_command_response
Teltonika: store command response as KEY_RESULT
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
index aa9bfe4fe..4700350d4 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -76,7 +76,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_TYPE, buf.readUnsignedByte());
- position.set(Position.KEY_COMMAND, buf.readBytes(buf.readInt()).toString(StandardCharsets.US_ASCII));
+ position.set(Position.KEY_RESULT, buf.readBytes(buf.readInt()).toString(StandardCharsets.US_ASCII));
}