aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-07 04:45:23 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-07 04:45:23 +1300
commit5bd69427184618591da88161aa51ed00baa85a89 (patch)
tree78f42b907635c1f1171d51e477c5b6b868265149 /src/org/traccar
parentcf55f4b6e14b9e8ce2b9c32833f9c232786dfae1 (diff)
downloadtrackermap-server-5bd69427184618591da88161aa51ed00baa85a89.tar.gz
trackermap-server-5bd69427184618591da88161aa51ed00baa85a89.tar.bz2
trackermap-server-5bd69427184618591da88161aa51ed00baa85a89.zip
Handle Sirra GNX-6 serial number
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/GenxProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/GenxProtocolDecoder.java b/src/org/traccar/protocol/GenxProtocolDecoder.java
index ebf6f2b53..3b38227dc 100644
--- a/src/org/traccar/protocol/GenxProtocolDecoder.java
+++ b/src/org/traccar/protocol/GenxProtocolDecoder.java
@@ -55,6 +55,7 @@ public class GenxProtocolDecoder extends BaseProtocolDecoder {
for (int i = 0; i < Math.min(values.length, reportColumns.length); i++) {
switch (reportColumns[i]) {
case 1:
+ case 28:
DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, values[i]);
if (deviceSession != null) {
position.setDeviceId(deviceSession.getDeviceId());