Skip to content

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

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 c120f4f)
@57300 57300 changed the title [nrf fromlist] modules: hal_nordic: nrfs: Enqueue requests when not c… [nrf fromtree] modules: hal_nordic: nrfs: Enqueue requests when not c… Nov 28, 2024
@57300 57300 force-pushed the nrfs-early-send-ncs branch from 6f0961f to 68b50b1 Compare November 28, 2024 12:01
@nordicjm nordicjm merged commit 4efcb15 into nrfconnect:main Nov 29, 2024
18 checks passed
@57300 57300 deleted the nrfs-early-send-ncs branch April 9, 2025 15:22
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.

4 participants