diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-25 08:48:53 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-25 08:48:53 -0800 |
commit | 146a4c1c0d9c4e80454d9ed382db226af41670a0 (patch) | |
tree | 022c7b6d7521b5a682e7451a2d7e5b2a794ff5b5 /src/main/java | |
parent | cdf892cd39c528929284728562beef3220e91cf3 (diff) | |
download | trackermap-server-146a4c1c0d9c4e80454d9ed382db226af41670a0.tar.gz trackermap-server-146a4c1c0d9c4e80454d9ed382db226af41670a0.tar.bz2 trackermap-server-146a4c1c0d9c4e80454d9ed382db226af41670a0.zip |
Fix OKO decoding (fix #4609)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/OkoProtocolDecoder.java | 4 |
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(); |