Struct MsgMiscReport2

Struct Documentation

struct MsgMiscReport2

Public Types

enum class HeadlightCtrlLow : uint8_t

Values:

enumerator Unknown
enumerator Off
enumerator On
enumerator Auto
enumerator Park
enum class HeadlightCtrlHigh : uint8_t

Values:

enumerator Unknown
enumerator Off
enumerator On
enumerator Auto
enumerator Flash
enum class WiperFront : uint8_t

Values:

enumerator Unknown
enumerator Off
enumerator MovingOff
enumerator ManualOff
enumerator ManualOn
enumerator ManualLow
enumerator ManualHigh
enumerator AutoOff
enumerator AutoLow
enumerator AutoHigh
enumerator AutoAdjust
enumerator MistFlick
enumerator Wash
enumerator CourtesyWipe
enumerator Stalled
enum class AmbientLight : uint8_t

Values:

enumerator Unknown
enumerator Dark
enumerator Medium
enumerator Light

Public Functions

inline void reset()
inline void setOutsideAirTempDegC(float deg_c)
inline bool outsideAirTempValid() const
inline float outsideAirTempDegC() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

HeadlightCtrlLow headlight_low_control
uint8_t headlight_low
HeadlightCtrlHigh headlight_high_control
uint8_t headlight_high
WiperFront wiper_front
uint8_t __pad0__
AmbientLight ambient_light
uint8_t __pad1__
uint8_t __pad2__
uint8_t __pad3__
uint8_t outside_air_temp
uint8_t __pad4__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x2C5
static constexpr size_t PERIOD_MS = 50
static constexpr size_t TIMEOUT_MS = 200