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

[nrf fromlist] modules: hal_nordic: nrfs: Enqueue requests when not c… #2273

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

57300
Copy link
Contributor

@57300 57300 commented Nov 15, 2024

…onnected

Upstream PR #: 81422

Allow nrfs_backend_send to push early requests into the message queue, but defer sending them until a connection is established, at which point the queue will be flushed. This benefits asynchronous code by making it optional to call nrfs_backend_wait_for_connection before using the nrfs service API, which is already non-blocking.

Signed-off-by: Grzegorz Swiderski [email protected]
(cherry picked from commit 398f183ee3eed9c65cc2b2d3944581cf59a949ae)

…onnected

Upstream PR #: 81422

Allow `nrfs_backend_send` to push early requests into the message queue,
but defer sending them until a connection is established, at which point
the queue will be flushed. This benefits asynchronous code by making it
optional to call `nrfs_backend_wait_for_connection` before using the
nrfs service API, which is already non-blocking.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 398f183ee3eed9c65cc2b2d3944581cf59a949ae)
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