22DECLARE_REMOTE_PROTOCOL(NEC)
26 TEMPLATABLE_VALUE(uint16_t,
address)
27 TEMPLATABLE_VALUE(uint16_t, command)
28 TEMPLATABLE_VALUE(uint16_t, command_repeats)
32 data.address = this->address_.value(
x...);
33 data.command = this->command_.value(
x...);
34 data.command_repeats = this->command_repeats_.value(
x...);
35 NECProtocol().encode(dst, data);
void dump(const NECData &data) override
void encode(RemoteTransmitData *dst, const NECData &data) override
optional< NECData > decode(RemoteReceiveData src) override
bool operator==(const NECData &rhs) const