diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-19 04:09:19 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-19 04:09:19 +1200 |
commit | 73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb (patch) | |
tree | ea6b333669924af0c1c5f46564069bf1c19e871c /src/org | |
parent | aa921d5acca68b92f0200183eb1c4a786a5f4882 (diff) | |
download | trackermap-server-73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb.tar.gz trackermap-server-73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb.tar.bz2 trackermap-server-73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb.zip |
Support Sinocastel version 3 protocol
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/CastelProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CastelProtocolDecoder.java b/src/org/traccar/protocol/CastelProtocolDecoder.java index 83664fa5a..3a0ccea78 100644 --- a/src/org/traccar/protocol/CastelProtocolDecoder.java +++ b/src/org/traccar/protocol/CastelProtocolDecoder.java @@ -440,7 +440,7 @@ public class CastelProtocolDecoder extends BaseProtocolDecoder { } - } else if (version == 4) { + } else if (version == 3 || version == 4) { return decodeSc(channel, remoteAddress, buf, version, id, type, deviceSession); |