aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/OkoProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/OkoProtocolDecoder.java b/src/main/java/org/traccar/protocol/OkoProtocolDecoder.java
index 4d9c9afc4..fa35ab455 100644
--- a/src/main/java/org/traccar/protocol/OkoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OkoProtocolDecoder.java
@@ -49,8 +49,8 @@ public class OkoProtocolDecoder extends BaseProtocolDecoder {
.number("(d+.d+|xx),") // adc
.number("(xx),") // event
.number("(d+.d+|xx),") // power
- .number("d,") // memory status
- .number("(xx)?") // io
+ .number("d") // memory status
+ .number(",(xx)").optional() // io
.any()
.compile();