diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-21 15:37:57 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-21 15:37:57 +0500 |
commit | 90459fe4f15c3cfa4a5062ca421a4640a73e7314 (patch) | |
tree | cfcee389e32e14158621fdf56191925f954aa19c | |
parent | 06bdcf65a08b233f6c56ddf4774287c0c0232597 (diff) | |
download | traccar-server-90459fe4f15c3cfa4a5062ca421a4640a73e7314.tar.gz traccar-server-90459fe4f15c3cfa4a5062ca421a4640a73e7314.tar.bz2 traccar-server-90459fe4f15c3cfa4a5062ca421a4640a73e7314.zip |
Teltonika: store command response as KEY_RESULT
-rw-r--r-- | src/org/traccar/protocol/TeltonikaProtocolDecoder.java | 2 |
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)); } |