ESPHome  2024.11.1
Public Member Functions
esphome::midea::IrSpecialData Class Reference

#include <ir_transmitter.h>

Inheritance diagram for esphome::midea::IrSpecialData:
esphome::remote_base::MideaData

Public Member Functions

 IrSpecialData (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 >
to () const
 
uint8_t & operator[] (size_t idx)
 
const uint8_t & operator[] (size_t idx) const
 

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
 

Detailed Description

Definition at line 37 of file ir_transmitter.h.

Constructor & Destructor Documentation

◆ IrSpecialData()

esphome::midea::IrSpecialData::IrSpecialData ( uint8_t  code)
inline

Definition at line 39 of file ir_transmitter.h.


The documentation for this class was generated from the following file: