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

Wait for confirmations from the receiver when sending telnet messages #281

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

ol-iver
Copy link
Owner

@ol-iver ol-iver commented Feb 4, 2024

Some telnet commands like changing the sound mode block the receiver for while. In the meantime they ignore any sent commands.
With this PR the telnet interface locks the telnet send command until it receives a confirmation message. The lock also expires after 2 seconds without an confirmation.

Fixes #274

@ol-iver ol-iver merged commit 7c2ff49 into main Feb 4, 2024
6 checks passed
@ol-iver ol-iver deleted the enh/wait-for-command-confirmation branch February 4, 2024 18:21
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

Successfully merging this pull request may close these issues.

Setting the sound mode appears to take time to complete, causing successive commands to be ignored
1 participant