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 RPC: cancel ongoing commands on peer reboot #1629

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

Conversation

Damian-Nordic
Copy link
Contributor

If out-of-order initialization packet is received from the peer, cancel ongoing commands waiting for a response as the response is never going to arrive.

manifest-pr-skip

If out-of-order initialization packet is received from
the peer, cancel ongoing commands waiting for a response
as the response is never going to arrive.

Signed-off-by: Damian Krolik <[email protected]>
@@ -650,6 +654,18 @@ static int init_packet_parse(struct init_packet_data *init_data, const uint8_t *
return 0;
}

static void cancel_wait_for_response(const struct nrf_rpc_group* group)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to move the * : nrf_rpc_group* group to nrf_rpc_group *group

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.

2 participants