aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-12 16:54:17 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-12 16:54:17 +1300
commit63d6a96b7953b09c013657fa912f4bcf21308477 (patch)
tree667bfc2f96a869a4d23fa9fcf21176fc204d0496
parenta1397ca05d9000b914b249b78997f7f3ebb14319 (diff)
downloadtrackermap-server-63d6a96b7953b09c013657fa912f4bcf21308477.tar.gz
trackermap-server-63d6a96b7953b09c013657fa912f4bcf21308477.tar.bz2
trackermap-server-63d6a96b7953b09c013657fa912f4bcf21308477.zip
Support Galileo extended status
-rw-r--r--src/org/traccar/protocol/GalileoProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/GalileoProtocolDecoder.java b/src/org/traccar/protocol/GalileoProtocolDecoder.java
index f9631dbf4..26f8f4686 100644
--- a/src/org/traccar/protocol/GalileoProtocolDecoder.java
+++ b/src/org/traccar/protocol/GalileoProtocolDecoder.java
@@ -176,6 +176,9 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder {
case 0x46:
position.set(Position.KEY_INPUT, buf.readUnsignedShortLE());
break;
+ case 0x48:
+ position.set("statusExtended", buf.readUnsignedShortLE());
+ break;
case 0x58:
position.set("rs2320", buf.readUnsignedShortLE());
break;