#include <midea_protocol.h>
|
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 |
|
|
std::array< uint8_t, 6 > | data_ |
|
Definition at line 13 of file midea_protocol.h.
◆ MideaDataType
Enumerator |
---|
MIDEA_TYPE_CONTROL | |
MIDEA_TYPE_SPECIAL | |
MIDEA_TYPE_FOLLOW_ME | |
Definition at line 37 of file midea_protocol.h.
◆ MideaData() [1/3]
esphome::remote_base::MideaData::MideaData |
( |
| ) |
|
|
inline |
◆ MideaData() [2/3]
esphome::remote_base::MideaData::MideaData |
( |
std::initializer_list< uint8_t > |
data | ) |
|
|
inline |
◆ MideaData() [3/3]
esphome::remote_base::MideaData::MideaData |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
inline |
◆ calc_cs_()
uint8_t esphome::remote_base::MideaData::calc_cs_ |
( |
| ) |
const |
|
protected |
◆ data() [1/2]
uint8_t* esphome::remote_base::MideaData::data |
( |
| ) |
|
|
inline |
◆ data() [2/2]
const uint8_t* esphome::remote_base::MideaData::data |
( |
| ) |
const |
|
inline |
◆ finalize()
void esphome::remote_base::MideaData::finalize |
( |
| ) |
|
|
inline |
◆ get_value_()
uint8_t esphome::remote_base::MideaData::get_value_ |
( |
uint8_t |
idx, |
|
|
uint8_t |
mask = 255 , |
|
|
uint8_t |
shift = 0 |
|
) |
| const |
|
inlineprotected |
◆ is_compliment()
bool esphome::remote_base::MideaData::is_compliment |
( |
const MideaData & |
rhs | ) |
const |
◆ is_valid()
bool esphome::remote_base::MideaData::is_valid |
( |
| ) |
const |
|
inline |
◆ operator==()
bool esphome::remote_base::MideaData::operator== |
( |
const MideaData & |
rhs | ) |
const |
|
inline |
◆ operator[]() [1/2]
uint8_t& esphome::remote_base::MideaData::operator[] |
( |
size_t |
idx | ) |
|
|
inline |
◆ operator[]() [2/2]
const uint8_t& esphome::remote_base::MideaData::operator[] |
( |
size_t |
idx | ) |
const |
|
inline |
◆ set_mask_()
void esphome::remote_base::MideaData::set_mask_ |
( |
uint8_t |
idx, |
|
|
bool |
state, |
|
|
uint8_t |
mask = 255 |
|
) |
| |
|
inlineprotected |
◆ set_value_()
void esphome::remote_base::MideaData::set_value_ |
( |
uint8_t |
idx, |
|
|
uint8_t |
value, |
|
|
uint8_t |
mask = 255 , |
|
|
uint8_t |
shift = 0 |
|
) |
| |
|
inlineprotected |
◆ size()
uint8_t esphome::remote_base::MideaData::size |
( |
| ) |
const |
|
inline |
◆ to()
template<typename T >
T esphome::remote_base::MideaData::to |
( |
| ) |
const |
|
inline |
◆ to_string()
std::string esphome::remote_base::MideaData::to_string |
( |
| ) |
const |
|
inline |
◆ type()
◆ data_
std::array<uint8_t, 6> esphome::remote_base::MideaData::data_ |
|
protected |
◆ OFFSET_CS
const uint8_t esphome::remote_base::MideaData::OFFSET_CS = 5 |
|
staticprotected |
The documentation for this class was generated from the following files: