diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-04 11:17:47 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-04 11:17:47 +1200 |
commit | 40cb222dddfe3c0acdf6043617e00d7deaa4646c (patch) | |
tree | 6be53c9eea90e2f8c6ca4660eced01eeeb940f62 /src/org/traccar/protocol/WondexProtocolDecoder.java | |
parent | 4268c1f1840349297a61e6972a61404f3f0e5e04 (diff) | |
parent | d6e8af781b125cf11b6a74b51ac6283e3235ad50 (diff) | |
download | traccar-server-40cb222dddfe3c0acdf6043617e00d7deaa4646c.tar.gz traccar-server-40cb222dddfe3c0acdf6043617e00d7deaa4646c.tar.bz2 traccar-server-40cb222dddfe3c0acdf6043617e00d7deaa4646c.zip |
Merge pull request #3217 from 5of9/master
Wondex upgrade and fix for a little missing thing
Diffstat (limited to 'src/org/traccar/protocol/WondexProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/WondexProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WondexProtocolDecoder.java b/src/org/traccar/protocol/WondexProtocolDecoder.java index dc334becc..8249d2c68 100644 --- a/src/org/traccar/protocol/WondexProtocolDecoder.java +++ b/src/org/traccar/protocol/WondexProtocolDecoder.java @@ -69,7 +69,8 @@ public class WondexProtocolDecoder extends BaseProtocolDecoder { return null; } else if (buf.toString(StandardCharsets.US_ASCII).startsWith("$OK:") - || buf.toString(StandardCharsets.US_ASCII).startsWith("$ERR:")) { + || buf.toString(StandardCharsets.US_ASCII).startsWith("$ERR:") + || buf.toString(StandardCharsets.US_ASCII).startsWith("$MSG:")) { DeviceSession deviceSession = getDeviceSession(channel, remoteAddress); |