diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-12 14:22:03 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-12 15:20:07 +0500 |
commit | b19f1a505f7088ff48f467b32b5f1c207aa3be01 (patch) | |
tree | 663ef14ec15af04e5d9062c2185cd020fb5b9e42 /src/org/traccar/protocol/TeltonikaProtocolDecoder.java | |
parent | 4f3830d844dd0542e9e7b09e7a6c17ffbb796264 (diff) | |
download | trackermap-server-b19f1a505f7088ff48f467b32b5f1c207aa3be01.tar.gz trackermap-server-b19f1a505f7088ff48f467b32b5f1c207aa3be01.tar.bz2 trackermap-server-b19f1a505f7088ff48f467b32b5f1c207aa3be01.zip |
- Handle rfid attributes and populate driverUniqueId
- Add Driver Name to Trip report
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 3f5b68f67..f1fd55d98 100644 --- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -114,7 +114,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { position.set(Position.PREFIX_TEMP + 3, readValue(buf, length, true) * 0.1); break; case 78: - position.set(Position.KEY_RFID, readValue(buf, length, false)); + position.set(Position.KEY_RFID, String.valueOf(readValue(buf, length, false))); break; case 182: position.set(Position.KEY_HDOP, readValue(buf, length, false) * 0.1); |