aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Stl060ProtocolDecoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-14 11:34:58 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-14 11:34:58 +0500
commit9949cadcdf3f07a4590742e2f0303d82efb653f9 (patch)
treeead536c79cac3e676ef0578598ea03eab22be138 /src/org/traccar/protocol/Stl060ProtocolDecoder.java
parent44691a373200b0e265df5a24e159f5cdff89fb96 (diff)
downloadtrackermap-server-9949cadcdf3f07a4590742e2f0303d82efb653f9.tar.gz
trackermap-server-9949cadcdf3f07a4590742e2f0303d82efb653f9.tar.bz2
trackermap-server-9949cadcdf3f07a4590742e2f0303d82efb653f9.zip
Save driver identification (rfid/ibutton etc.) as driverUniqueId attribute
Diffstat (limited to 'src/org/traccar/protocol/Stl060ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Stl060ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Stl060ProtocolDecoder.java b/src/org/traccar/protocol/Stl060ProtocolDecoder.java
index c81e83aab..26817a5c8 100644
--- a/src/org/traccar/protocol/Stl060ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Stl060ProtocolDecoder.java
@@ -104,7 +104,7 @@ public class Stl060ProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_CHARGE, parser.nextInt(0) == 1);
position.set(Position.KEY_IGNITION, parser.nextInt(0) == 1);
position.set(Position.KEY_INPUT, parser.nextInt(0));
- position.set(Position.KEY_RFID, parser.next());
+ position.set(Position.KEY_DRIVER_UNIQUE_ID, parser.next());
position.set(Position.KEY_ODOMETER, parser.nextInt(0));
position.set(Position.PREFIX_TEMP + 1, parser.nextInt(0));
position.set(Position.KEY_FUEL_LEVEL, parser.nextInt(0));