diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-22 07:50:17 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-22 07:50:17 +1300 |
commit | 049fc82cd5f5b7fea93d3e55aad083e30af22cdd (patch) | |
tree | 4f6b3d39826f35b371a3e28eaf44476d3fe5265b /src/org/traccar/protocol/TeltonikaProtocolDecoder.java | |
parent | 886eb61ff0961d7e3be4e926d1510994b3df84e2 (diff) | |
download | trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.tar.gz trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.tar.bz2 trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.zip |
Add new Galileo attributes
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 9c1e0a2ff..203f62f87 100644 --- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -89,7 +89,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_BATTERY, buf.readUnsignedShort() + "mV"); break; case 70: - position.set("pcbTemp", (length == 4 ? buf.readInt() : buf.readShort()) * 0.1); + position.set(Position.KEY_DEVICE_TEMP, (length == 4 ? buf.readInt() : buf.readShort()) * 0.1); break; case 72: position.set(Position.PREFIX_TEMP + 1, buf.readInt() * 0.1); |