aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-21 15:37:57 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-21 15:37:57 +0500
commit90459fe4f15c3cfa4a5062ca421a4640a73e7314 (patch)
treecfcee389e32e14158621fdf56191925f954aa19c /src/org/traccar/protocol/TeltonikaProtocolDecoder.java
parent06bdcf65a08b233f6c56ddf4774287c0c0232597 (diff)
downloadtrackermap-server-90459fe4f15c3cfa4a5062ca421a4640a73e7314.tar.gz
trackermap-server-90459fe4f15c3cfa4a5062ca421a4640a73e7314.tar.bz2
trackermap-server-90459fe4f15c3cfa4a5062ca421a4640a73e7314.zip
Teltonika: store command response as KEY_RESULT
Diffstat (limited to 'src/org/traccar/protocol/TeltonikaProtocolDecoder.java')
-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));
}