aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-19 04:09:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-19 04:09:19 +1200
commit73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb (patch)
treeea6b333669924af0c1c5f46564069bf1c19e871c /src/org
parentaa921d5acca68b92f0200183eb1c4a786a5f4882 (diff)
downloadtraccar-server-73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb.tar.gz
traccar-server-73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb.tar.bz2
traccar-server-73fb44dfb7dea5cdddcb3ab939e9b7a64ae49abb.zip
Support Sinocastel version 3 protocol
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/CastelProtocolDecoder.java2
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);