diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-05-28 07:33:34 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-05-28 07:33:34 -0700 |
commit | feb008442b63e5467b050e3cee3cf90a01dcb462 (patch) | |
tree | 71b06df3f7bb21445f2af19713c335be1902bdd9 /src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java | |
parent | 7d07898c52ab0442c78b4d068bf0b3922adc4a70 (diff) | |
download | trackermap-server-feb008442b63e5467b050e3cee3cf90a01dcb462.tar.gz trackermap-server-feb008442b63e5467b050e3cee3cf90a01dcb462.tar.bz2 trackermap-server-feb008442b63e5467b050e3cee3cf90a01dcb462.zip |
Decode additional Atrack parameters
Diffstat (limited to 'src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java b/src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java index 344b2f1ea..ec640ba71 100644 --- a/src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java @@ -155,7 +155,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder { Double mainVoltage = parser.nextDouble(0) / 100d; position.set(Position.KEY_POWER, mainVoltage); - position.set("iccid", parser.next()); + position.set(Position.KEY_ICCID, parser.next()); } return position; |