ESPHome
2024.11.0
|
#include <midea_data.h>
Public Member Functions | |
SpecialData (uint8_t code) | |
Public Member Functions inherited from esphome::remote_base::MideaData | |
MideaData () | |
MideaData (std::initializer_list< uint8_t > data) | |
MideaData (const std::vector< uint8_t > &data) | |
uint8_t * | data () |
const uint8_t * | data () const |
uint8_t | size () const |
bool | is_valid () const |
void | finalize () |
bool | is_compliment (const MideaData &rhs) const |
std::string | to_string () const |
bool | operator== (const MideaData &rhs) const |
MideaDataType | type () const |
template<typename T > | |
T | to () const |
uint8_t & | operator[] (size_t idx) |
const uint8_t & | operator[] (size_t idx) const |
Static Public Attributes | |
static const uint8_t | VSWING_STEP = 1 |
static const uint8_t | VSWING_TOGGLE = 2 |
static const uint8_t | TURBO_TOGGLE = 9 |
Additional Inherited Members | |
Public Types inherited from esphome::remote_base::MideaData | |
enum | MideaDataType : uint8_t { MIDEA_TYPE_CONTROL = 0xA1, MIDEA_TYPE_SPECIAL = 0xA2, MIDEA_TYPE_FOLLOW_ME = 0xA4 } |
Protected Member Functions inherited from esphome::remote_base::MideaData | |
uint8_t | get_value_ (uint8_t idx, uint8_t mask=255, uint8_t shift=0) const |
void | set_value_ (uint8_t idx, uint8_t value, uint8_t mask=255, uint8_t shift=0) |
void | set_mask_ (uint8_t idx, bool state, uint8_t mask=255) |
uint8_t | calc_cs_ () const |
Protected Attributes inherited from esphome::remote_base::MideaData | |
std::array< uint8_t, 6 > | data_ |
Static Protected Attributes inherited from esphome::remote_base::MideaData | |
static const uint8_t | OFFSET_CS = 5 |
Definition at line 83 of file midea_data.h.
|
inline |
Definition at line 85 of file midea_data.h.
|
static |
Definition at line 88 of file midea_data.h.
|
static |
Definition at line 86 of file midea_data.h.
|
static |
Definition at line 87 of file midea_data.h.