aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-08 13:43:01 +0800
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-08 13:43:19 +0800
commit7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017 (patch)
treeaf148799b5779c89bd830bcf4f07167ae49a90f7 /src
parentbc0b11eec363415eca42fc831535b0be2f3ca389 (diff)
downloadtraccar-server-7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017.tar.gz
traccar-server-7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017.tar.bz2
traccar-server-7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017.zip
Support alternative Xexun ignition
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/XexunProtocolDecoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/XexunProtocolDecoder.java b/src/org/traccar/protocol/XexunProtocolDecoder.java
index a5a38c370..ca0a8669e 100644
--- a/src/org/traccar/protocol/XexunProtocolDecoder.java
+++ b/src/org/traccar/protocol/XexunProtocolDecoder.java
@@ -68,9 +68,11 @@ public class XexunProtocolDecoder extends BaseProtocolDecoder {
if (value != null) {
switch (value.toLowerCase()) {
case "acc on":
+ case "ACCStart":
position.set(Position.KEY_IGNITION, true);
break;
case "acc off":
+ case "ACCStop":
position.set(Position.KEY_IGNITION, false);
break;
case "help me!":