Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sender Support for Protocols than Don't Have ProtocolEncoder #110

Open
mahdi1-kh opened this issue Mar 16, 2024 · 0 comments
Open

Sender Support for Protocols than Don't Have ProtocolEncoder #110

mahdi1-kh opened this issue Mar 16, 2024 · 0 comments

Comments

@mahdi1-kh
Copy link

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::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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant