aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
author5of9 <florian@voit.li>2017-06-02 22:06:29 +0200
committerGitHub <noreply@github.com>2017-06-02 22:06:29 +0200
commit5283da7501d74e5f05a1c1ababc85bbd55202414 (patch)
treeabef81df9ba87e4000a2fb6c0a33743f4ecf1671 /src/org/traccar
parentbf8b84657faf61b94a83d7f0ccc50ef903da399d (diff)
parentb4be185da201f2ad10bc13a3ec1b3d8464fdfadc (diff)
downloadtraccar-server-5283da7501d74e5f05a1c1ababc85bbd55202414.tar.gz
traccar-server-5283da7501d74e5f05a1c1ababc85bbd55202414.tar.bz2
traccar-server-5283da7501d74e5f05a1c1ababc85bbd55202414.zip
Merge pull request #4 from 5of9/5of9-patch-2
Update WondexProtocolDecoder.java
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/WondexProtocolDecoder.java3
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);