aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-04 17:57:20 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-07-04 17:57:20 -0700
commita50bc86cb8be51423ad1b473bcab99c8bb298b0b (patch)
treead5c9f0e66d04f563dbb87b463a2723c85027bfb /src/main/java/org
parentc5f05196d5d872c2e79845122037182d9e71b36c (diff)
downloadtraccar-server-a50bc86cb8be51423ad1b473bcab99c8bb298b0b.tar.gz
traccar-server-a50bc86cb8be51423ad1b473bcab99c8bb298b0b.tar.bz2
traccar-server-a50bc86cb8be51423ad1b473bcab99c8bb298b0b.zip
Support ALT report
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
index 903c37a8f..c469be442 100644
--- a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
@@ -421,7 +421,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder {
String type = values[index++];
- if (!type.equals("STT")) {
+ if (!type.equals("STT") && !type.equals("ALT")) {
return null;
}