diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-07 04:45:23 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-07 04:45:23 +1300 |
commit | 5bd69427184618591da88161aa51ed00baa85a89 (patch) | |
tree | 78f42b907635c1f1171d51e477c5b6b868265149 /src/org/traccar/protocol | |
parent | cf55f4b6e14b9e8ce2b9c32833f9c232786dfae1 (diff) | |
download | traccar-server-5bd69427184618591da88161aa51ed00baa85a89.tar.gz traccar-server-5bd69427184618591da88161aa51ed00baa85a89.tar.bz2 traccar-server-5bd69427184618591da88161aa51ed00baa85a89.zip |
Handle Sirra GNX-6 serial number
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/GenxProtocolDecoder.java | 1 |
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()); |