aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Xt013ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-09 09:57:06 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-09 09:57:06 +1200
commit1a91db44d43fe0aac0dbd56818f0b779900fa70a (patch)
tree425d61250120855c23262f2f0d18bbea20bf550f /src/org/traccar/protocol/Xt013ProtocolDecoder.java
parent38ea2292b1650c6cdfdce5096ab7258dcd8cb29b (diff)
downloadtrackermap-server-1a91db44d43fe0aac0dbd56818f0b779900fa70a.tar.gz
trackermap-server-1a91db44d43fe0aac0dbd56818f0b779900fa70a.tar.bz2
trackermap-server-1a91db44d43fe0aac0dbd56818f0b779900fa70a.zip
Add new STL060 format
Diffstat (limited to 'src/org/traccar/protocol/Xt013ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Xt013ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Xt013ProtocolDecoder.java b/src/org/traccar/protocol/Xt013ProtocolDecoder.java
index 37f204bb3..9e2f1fe40 100644
--- a/src/org/traccar/protocol/Xt013ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Xt013ProtocolDecoder.java
@@ -104,7 +104,7 @@ public class Xt013ProtocolDecoder extends BaseProtocolDecoder {
position.set(Event.KEY_GPS, parser.group(index++));
position.set(Event.KEY_GSM, parser.group(index++));
position.set(Event.KEY_BATTERY, parser.group(index++));
- position.set("charging", parser.group(index++));
+ position.set(Event.KEY_CHARGE, parser.group(index++));
return position;
}