diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-25 21:01:18 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 16:00:16 -0500 |
commit | 2d6adb7ba45ae0668e0084e85441ad275ebfb7eb (patch) | |
tree | bd32dd27e6ad0367fc32eb28f19efacbd5ee9610 /src/org/traccar/protocol/CellocatorProtocolDecoder.java | |
parent | 2df0487ffaac8afe4f338bcf2f04dd4dfaa86c4b (diff) | |
download | trackermap-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.java | 2 |
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 |