aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TmgProtocolDecoder.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/TmgProtocolDecoder.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/TmgProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TmgProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TmgProtocolDecoder.java b/src/org/traccar/protocol/TmgProtocolDecoder.java
index 40ce04c5b..a0459a161 100644
--- a/src/org/traccar/protocol/TmgProtocolDecoder.java
+++ b/src/org/traccar/protocol/TmgProtocolDecoder.java
@@ -129,7 +129,7 @@ public class TmgProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_HDOP, parser.nextDouble());
position.set(Position.KEY_SATELLITES, parser.nextInt());
position.set(Position.KEY_SATELLITES_VISIBLE, parser.nextInt());
- position.set("operator", parser.next());
+ position.set(Position.KEY_OPERATOR, parser.next());
position.set(Position.KEY_RSSI, parser.nextInt());
position.set(Position.KEY_IGNITION, parser.nextInt() == 1);
position.set(Position.KEY_BATTERY, parser.nextDouble());