I have written a code that receives IR signals using MultiReceiver's event_iter and then sends the same received commands using transmitter.load :
but this code only works for the nec, rc6, and rc5 protocols since they have their ProtocolEncoder, but for other protocols like Denon I get the following error:
the trait bound infrared::protocol::Denon: ProtocolEncoder<20000> is not satisfied
--> src\main.rs:152:43
|
<infrared::protocol::Rc5 as ProtocolEncoder>
<infrared::protocol::Rc6 as ProtocolEncoder>
Am I doing something wrong or is sending Denon commands not supported at the moment?
Hi and thank you for this awesome crate.
I have written a code that receives IR signals using MultiReceiver's event_iter and then sends the same received commands using transmitter.load :
but this code only works for the nec, rc6, and rc5 protocols since they have their ProtocolEncoder, but for other protocols like Denon I get the following error:
the trait bound>
<infrared::protocol::Rc6 as ProtocolEncoder>
infrared::protocol::Denon: ProtocolEncoder<20000>
is not satisfied --> src\main.rs:152:43 | <infrared::protocol::Rc5 as ProtocolEncoderAm I doing something wrong or is sending Denon commands not supported at the moment?