8 namespace remote_base {
21 void dump(
const AEHAData &data)
override;
24 std::string format_data_(
const std::vector<uint8_t> &data);
31 TEMPLATABLE_VALUE(uint16_t,
address)
32 TEMPLATABLE_VALUE(std::vector<uint8_t>,
data)
33 TEMPLATABLE_VALUE(uint32_t, carrier_frequency);
35 void set_data(
const std::vector<uint8_t> &
data) { data_ =
data; }
38 data.address = this->address_.value(
x...);
39 data.data = this->data_.value(
x...);
bool operator==(const AEHAData &rhs) const
void set_carrier_frequency(uint32_t carrier_frequency)
DECLARE_REMOTE_PROTOCOL(AEHA) template< typename... Ts > class AEHAAction
std::vector< uint8_t > data
Implementation of SPI Controller mode.
void encode(RemoteTransmitData *dst, const AEHAData &data) override