Struct MsgMiscReport1

Struct Documentation

struct MsgMiscReport1

Public Types

enum class PrkBrkStat : uint8_t

Values:

enumerator Unknown
enumerator On
enumerator Off
enumerator Transition

Public Functions

inline void reset()
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

uint8_t __pad0__
PrkBrkStat parking_brake
uint8_t pasngr_detect
uint8_t pasngr_airbag
uint8_t buckle_driver
uint8_t buckle_pasngr
uint8_t door_driver
uint8_t door_passenger
uint8_t door_rear_left
uint8_t door_rear_right
uint8_t door_hood
uint8_t door_trunk
uint8_t __pad1__
uint8_t btn_ld_ok
uint8_t btn_ld_up
uint8_t btn_ld_down
uint8_t btn_ld_left
uint8_t btn_ld_right
uint8_t __pad2__
uint8_t btn_rd_ok
uint8_t btn_rd_up
uint8_t btn_rd_down
uint8_t btn_rd_left
uint8_t btn_rd_right
uint8_t __pad3__
uint8_t btn_cc_mode
uint8_t btn_cc_on
uint8_t btn_cc_off
uint8_t btn_cc_res
uint8_t btn_cc_cncl
uint8_t btn_cc_on_off
uint8_t btn_cc_res_cncl
uint8_t btn_cc_res_inc
uint8_t btn_cc_res_dec
uint8_t btn_cc_set_inc
uint8_t btn_cc_set_dec
uint8_t btn_acc_gap_inc
uint8_t btn_acc_gap_dec
uint8_t btn_limit_on_off
uint8_t btn_la_on_off
uint8_t btn_apa
uint8_t btn_media
uint8_t btn_vol_inc
uint8_t btn_vol_dec
uint8_t btn_mute
uint8_t btn_speak
uint8_t btn_prev
uint8_t btn_next
uint8_t btn_call_start
uint8_t btn_call_end
uint8_t __pad4__
uint8_t rc
uint8_t crc

Public Static Attributes

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