diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 17:15:40 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 17:17:44 -0500 |
commit | 525db3566a9e17f626d34e498c85e02d382d6655 (patch) | |
tree | 4fd160372e81e76e775253b038d8e3056e0891dd /src/org/traccar/protocol/TeltonikaProtocolDecoder.java | |
parent | aa1668df74c2d3c9a5d624d571f95bc110ad5414 (diff) | |
download | trackermap-server-525db3566a9e17f626d34e498c85e02d382d6655.tar.gz trackermap-server-525db3566a9e17f626d34e498c85e02d382d6655.tar.bz2 trackermap-server-525db3566a9e17f626d34e498c85e02d382d6655.zip |
Added Position.KEY_COMMAND;
Diffstat (limited to 'src/org/traccar/protocol/TeltonikaProtocolDecoder.java')
-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 77211b7ab..e55d354cf 100644 --- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -67,7 +67,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_TYPE, buf.readUnsignedByte()); - position.set("command", buf.readBytes(buf.readInt()).toString(StandardCharsets.US_ASCII)); + position.set(Position.KEY_COMMAND, buf.readBytes(buf.readInt()).toString(StandardCharsets.US_ASCII)); } |