Struct MsgMiscCmd

Struct Documentation

struct MsgMiscCmd

Public Types

enum class PrkBrkCmd : uint8_t

Values:

enumerator None
enumerator On
enumerator Off
enum class DoorSelect : uint8_t

Values:

enumerator None
enumerator Left
enumerator Right
enumerator Trunk
enum class DoorCmd : uint8_t

Values:

enumerator None
enumerator Open
enumerator Close

Public Functions

inline void reset()
inline void setCrc()
inline bool validCrc() const

Public Members

uint8_t __pad0__
PrkBrkCmd parking_brake_cmd
DoorSelect door_select
DoorCmd door_cmd
uint8_t __pad1__
uint8_t __pad2__
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x2C0
static constexpr size_t PERIOD_MS = 50
static constexpr size_t TIMEOUT_MS = 250