aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/CellocatorProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-25 21:01:18 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-04 16:00:16 -0500
commit2d6adb7ba45ae0668e0084e85441ad275ebfb7eb (patch)
treebd32dd27e6ad0367fc32eb28f19efacbd5ee9610 /src/org/traccar/protocol/CellocatorProtocolDecoder.java
parent2df0487ffaac8afe4f338bcf2f04dd4dfaa86c4b (diff)
downloadtrackermap-server-2d6adb7ba45ae0668e0084e85441ad275ebfb7eb.tar.gz
trackermap-server-2d6adb7ba45ae0668e0084e85441ad275ebfb7eb.tar.bz2
trackermap-server-2d6adb7ba45ae0668e0084e85441ad275ebfb7eb.zip
Added Position.KEY_OPERATOR and updated protocols accordingly;
Diffstat (limited to 'src/org/traccar/protocol/CellocatorProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/CellocatorProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CellocatorProtocolDecoder.java b/src/org/traccar/protocol/CellocatorProtocolDecoder.java
index c0f871f80..ce43cce37 100644
--- a/src/org/traccar/protocol/CellocatorProtocolDecoder.java
+++ b/src/org/traccar/protocol/CellocatorProtocolDecoder.java
@@ -126,7 +126,7 @@ public class CellocatorProtocolDecoder extends BaseProtocolDecoder {
operator <<= 8;
operator += buf.readUnsignedByte();
- position.set("operator", operator);
+ position.set(Position.KEY_OPERATOR, operator);
position.set(Position.PREFIX_ADC + 1, buf.readUnsignedInt()); // ADC
position.set(Position.KEY_ODOMETER, buf.readUnsignedMedium()); // Odometer