aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Xrb28ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-14 17:14:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-14 17:14:46 +1300
commit735e087d084afd443fe7941364201964722e44db (patch)
treed03fddc3d549502145cc23f057490e4e3746bc9d /src/org/traccar/protocol/Xrb28ProtocolDecoder.java
parentff6011468a3d2b24eb4e67412e777fdf262a6824 (diff)
downloadtrackermap-server-735e087d084afd443fe7941364201964722e44db.tar.gz
trackermap-server-735e087d084afd443fe7941364201964722e44db.tar.bz2
trackermap-server-735e087d084afd443fe7941364201964722e44db.zip
Fix XRB 28 issues
Diffstat (limited to 'src/org/traccar/protocol/Xrb28ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Xrb28ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Xrb28ProtocolDecoder.java b/src/org/traccar/protocol/Xrb28ProtocolDecoder.java
index 7c382900a..c1854e4b0 100644
--- a/src/org/traccar/protocol/Xrb28ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Xrb28ProtocolDecoder.java
@@ -68,7 +68,7 @@ public class Xrb28ProtocolDecoder extends BaseProtocolDecoder {
String sentence = (String) msg;
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, sentence.substring(8, 24));
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, sentence.substring(9, 24));
if (deviceSession == null) {
return null;
}