Skip to content

nrf_rpc: Reset decode_done_event so event_wait always works#2159

Open
inductivekickback wants to merge 1 commit into
nrfconnect:mainfrom
inductivekickback:pr
Open

nrf_rpc: Reset decode_done_event so event_wait always works#2159
inductivekickback wants to merge 1 commit into
nrfconnect:mainfrom
inductivekickback:pr

Conversation

@inductivekickback

@inductivekickback inductivekickback commented Jun 12, 2026

Copy link
Copy Markdown

If the transport is auto_free_rx_buf then the receive_handler must not return until after the packet has been decoded. Without this patch some code path sets the decode_done_event without a corresponding nrf_rpc_os_event_wait (not necessarily a bug) and then the event_wait stops working as intended.

Depends on nrfconnect/sdk-nrf/pull/29541

If the transport is auto_free_rx_buf then the receive_handler must not
return until after the packet has been decoded. Without this patch
some code path sets the decode_done_event without a corresponding
nrf_rpc_os_event_wait (not necessarily a bug) and then the event_wait
stops working as intended.

Signed-off-by: Daniel Veilleux <daniel.veilleux@nordicsemi.no>
@CLAassistant

CLAassistant commented Jun 12, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud

Copy link
Copy Markdown

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.

3 participants