Skip to content

Commit

Permalink
add networkType to thermal
Browse files Browse the repository at this point in the history
  • Loading branch information
valish committed Jan 31, 2020
1 parent 3f01dcf commit 23abef4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ struct ThermalData {
batteryCurrent @15 :Int32;
batteryVoltage @16 :Int32;
usbOnline @12 :Bool;
networkType @22 :NetworkType;

fanSpeed @10 :UInt16;
started @11 :Bool;
Expand All @@ -297,6 +298,15 @@ struct ThermalData {
red @2; # no engage, will disengage
danger @3; # immediate process shutdown
}

enum NetworkType {
none @0;
wifi @1;
cell2G @2;
cell3G @3;
cell4G @4;
cell5G @5;
}
}

struct HealthData {
Expand Down

0 comments on commit 23abef4

Please sign in to comment.