24DECLARE_REMOTE_PROTOCOL(RC6)
28 TEMPLATABLE_VALUE(uint8_t,
address)
29 TEMPLATABLE_VALUE(uint8_t, command)
34 data.toggle = this->toggle_;
35 data.address = this->address_.value(
x...);
36 data.command = this->command_.value(
x...);
37 RC6Protocol().encode(dst, data);
38 this->toggle_ = !this->toggle_;
void encode(RemoteTransmitData *dst, const RC6Data &data) override
void dump(const RC6Data &data) override
optional< RC6Data > decode(RemoteReceiveData src) override
Providing packet encoding functions for exchanging data with a remote host.
bool operator==(const RC6Data &rhs) const