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

FR: udp repeat messages #115

Open
nagyrobi opened this issue Jun 14, 2024 · 0 comments
Open

FR: udp repeat messages #115

nagyrobi opened this issue Jun 14, 2024 · 0 comments

Comments

@nagyrobi
Copy link

nagyrobi commented Jun 14, 2024

As a method to improve reliability of the channel, we could have a

repeat:
  interval: 50ms
  count: 3

option on the provider side. Sane values could probably be between 10ms and 1s for interval, and 1 to 5 for count.
Mimicking the infrared remotes, some of which repeat single key presses within the protocol to increase reliability.

Care should be taken on the receiver side not to trigger repeated updates for the repeated packet so maybe a provider-side nonce which would be the same in the repeats could be employed for this purpose.

This would let us use a wider update_interval for the entire component, and could offer increased reliability in case of #114.

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