aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/StbProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/StbProtocolDecoder.java b/src/main/java/org/traccar/protocol/StbProtocolDecoder.java
index 7e25674b9..0e4f030cf 100644
--- a/src/main/java/org/traccar/protocol/StbProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StbProtocolDecoder.java
@@ -51,7 +51,7 @@ public class StbProtocolDecoder extends BaseProtocolDecoder {
JsonObject root = Json.createReader(new StringReader((String) msg)).readObject();
Response response = new Response();
- response.type = root.getInt("msgType");
+ response.type = root.getInt("msgType") + 1;
response.deviceId = root.getString("devId");
response.result = 1;
response.transaction = root.getString("txnNo");