diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-21 23:47:17 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-21 23:47:17 +1200 |
commit | e1a3107082ec78d375bba3f42b8ffe58d21395df (patch) | |
tree | cfcee389e32e14158621fdf56191925f954aa19c /src | |
parent | 06bdcf65a08b233f6c56ddf4774287c0c0232597 (diff) | |
parent | 90459fe4f15c3cfa4a5062ca421a4640a73e7314 (diff) | |
download | trackermap-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')
-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)); } |