Skip to content

Commit

Permalink
Merge pull request #27 from commaai/ublox-hw-status
Browse files Browse the repository at this point in the history
Added ublox hw status
  • Loading branch information
robbederks authored Feb 5, 2020
2 parents 23abef4 + 2e7f4b9 commit ab32956
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,7 @@ struct UbloxGnss {
measurementReport @0 :MeasurementReport;
ephemeris @1 :Ephemeris;
ionoData @2 :IonoData;
hwStatus @3 :HwStatus;
}

struct MeasurementReport {
Expand Down Expand Up @@ -1555,8 +1556,29 @@ struct UbloxGnss {
healthValid @5 :Bool;
ionoCoeffsValid @6 :Bool;
}
}

struct HwStatus {
noisePerMS @0 :UInt16;
agcCnt @1 :UInt16;
aStatus @2 :AntennaSupervisorState;
aPower @3 :AntennaPowerStatus;
jamInd @4 :UInt8;

enum AntennaSupervisorState {
init @0;
dontknow @1;
ok @2;
short @3;
open @4;
}

enum AntennaPowerStatus {
off @0;
on @1;
dontknow @2;
}
}
}

struct Clocks {
bootTimeNanos @0 :UInt64;
Expand Down

0 comments on commit ab32956

Please sign in to comment.