aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/GalileoProtocolDecoder.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/GalileoProtocolDecoder.java b/src/org/traccar/protocol/GalileoProtocolDecoder.java
index 8ed4840a5..e66d8fa53 100644
--- a/src/org/traccar/protocol/GalileoProtocolDecoder.java
+++ b/src/org/traccar/protocol/GalileoProtocolDecoder.java
@@ -128,6 +128,9 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder {
case 0x34:
position.setAltitude(buf.readShortLE());
break;
+ case 0x35:
+ position.set(Position.KEY_HDOP, buf.readUnsignedByte() * 0.1);
+ break;
case 0x40:
position.set(Position.KEY_STATUS, buf.readUnsignedShortLE());
break;
@@ -234,6 +237,17 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder {
position.set("userDataArray", ByteBufUtil.hexDump(buf.readSlice(buf.readUnsignedByte())));
position.set("userDataArray", ByteBufUtil.hexDump(buf.readSlice(buf.readUnsignedByte())));
break;
+ case 0xf0:
+ case 0xf1:
+ case 0xf2:
+ case 0xf3:
+ case 0xf4:
+ case 0xf5:
+ case 0xf6:
+ case 0xf7:
+ case 0xf8:
+ position.set("can32Bit" + (tag - 0xf0 + 5), buf.readUnsignedIntLE());
+ break;
default:
buf.skipBytes(getTagLength(tag));
break;