23DECLARE_REMOTE_PROTOCOL(RC6)
27 TEMPLATABLE_VALUE(uint8_t,
address)
28 TEMPLATABLE_VALUE(uint8_t, command)
33 data.toggle = this->toggle_;
34 data.address = this->address_.value(
x...);
35 data.command = this->command_.value(
x...);
36 RC6Protocol().encode(dst, data);
37 this->toggle_ = !this->toggle_;
void encode(RemoteTransmitData *dst, const RC6Data &data) override
void dump(const RC6Data &data) override
optional< RC6Data > decode(RemoteReceiveData src) override
bool operator==(const RC6Data &rhs) const