Skip to content

Separate embedded-io-async RxWorker target/controller modes#133

Merged
jamesmunns merged 2 commits intomainfrom
james/temp-edge-controller-fixup
Sep 7, 2025
Merged

Separate embedded-io-async RxWorker target/controller modes#133
jamesmunns merged 2 commits intomainfrom
james/temp-edge-controller-fixup

Conversation

@jamesmunns
Copy link
Copy Markdown
Owner

@jamesmunns jamesmunns commented Sep 7, 2025

Currently, RxWorker in a controller configuration will do the same "wait for address assignment" that the target does, which doesn't generally work if both the controller and target are waiting for the other to make the first move.

This gives separate constructors so we can get out of that deadlock.

Thanks to @AndWass for reporting!

This isn't a great fix, but fine for now. We should revisit this.
Comment thread crates/ergot/src/interface_manager/profiles/direct_edge/mod.rs Outdated
@jamesmunns jamesmunns changed the title Add a method that lets you set the rx worker to "controller" mode Separate embedded-io-async RxWorker target/controller modes Sep 7, 2025
@jamesmunns jamesmunns merged commit 0b01761 into main Sep 7, 2025
7 checks passed
@jamesmunns jamesmunns deleted the james/temp-edge-controller-fixup branch September 7, 2025 20:09
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.

1 participant