diff options
author | 5of9 <florian@voit.li> | 2017-06-02 21:55:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 21:55:48 +0200 |
commit | b4be185da201f2ad10bc13a3ec1b3d8464fdfadc (patch) | |
tree | a82cc4c2699fe3f6da8db5ba580b05789a211243 /src/org | |
parent | 4268c1f1840349297a61e6972a61404f3f0e5e04 (diff) | |
download | traccar-server-b4be185da201f2ad10bc13a3ec1b3d8464fdfadc.tar.gz traccar-server-b4be185da201f2ad10bc13a3ec1b3d8464fdfadc.tar.bz2 traccar-server-b4be185da201f2ad10bc13a3ec1b3d8464fdfadc.zip |
Update WondexProtocolDecoder.java
Didn't show $MSG messages from the tracker, example hex:
2017-06-02 21:43:43 DEBUG: [BEEC07FB: 5032 < 2.247.253.121] HEX: 244d53473a47534d494e464f3d6e65747a636c75622b2c33302c312c300d0a
$MSG:GSMINFO=netzclub+,30,1,0[13][10]
Diffstat (limited to 'src/org')
-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); |