aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-10 21:10:41 +0800
committerGitHub <noreply@github.com>2017-10-10 21:10:41 +0800
commit53eaf4c4e4162e52ad1ce367c3cd22bc6b4419ed (patch)
tree377b4f5c8a98624cf94885c36dff3d39257dd285 /src/org/traccar/protocol
parentb2ed61db9d33324222c7cbdc5a133152ede0c1ac (diff)
parentbf44a4d63d6e1b2a52999ec656a23f90ed4e4389 (diff)
downloadtrackermap-server-53eaf4c4e4162e52ad1ce367c3cd22bc6b4419ed.tar.gz
trackermap-server-53eaf4c4e4162e52ad1ce367c3cd22bc6b4419ed.tar.bz2
trackermap-server-53eaf4c4e4162e52ad1ce367c3cd22bc6b4419ed.zip
Merge pull request #3577 from kirkryan/patch-1
Update case statement Xexun Protocol
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/XexunProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/XexunProtocolDecoder.java b/src/org/traccar/protocol/XexunProtocolDecoder.java
index ca0a8669e..bb4b4f48c 100644
--- a/src/org/traccar/protocol/XexunProtocolDecoder.java
+++ b/src/org/traccar/protocol/XexunProtocolDecoder.java
@@ -68,11 +68,11 @@ public class XexunProtocolDecoder extends BaseProtocolDecoder {
if (value != null) {
switch (value.toLowerCase()) {
case "acc on":
- case "ACCStart":
+ case "accstart":
position.set(Position.KEY_IGNITION, true);
break;
case "acc off":
- case "ACCStop":
+ case "accstop":
position.set(Position.KEY_IGNITION, false);
break;
case "help me!":