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 fromtree] ipc_service: icmsg: Add "unbound" functionality #2538

Closed

Conversation

jaz1-nordic
Copy link
Contributor

Test PR to check compatibility of changes with NCS CI tests.

In some cases, CPUs that may need to reset or
temporary stop communication. This commit adds "unbound"
functionality that provides a callback to IPC service user
when connection was interrupted for some reason, e.g.
expected or unexpected CPU reset, closing the
endpoint. The "unbound" callback is optional to implement
by endpoints. This commit implements it in the ICMsg
backend.

Signed-off-by: Dominik Kilian <[email protected]>
(cherry picked from commit 057145d2ef3199b71a15be7b10da0a9121c31634)
…nt scenarios

This commit adds a test that checks if disconnecting
and restarting the IPC session works correctly. The
test is also focused on the "unbound" callback.

Signed-off-by: Dominik Kilian <[email protected]>
Co-authored-by: Radoslaw Koppel <[email protected]>
(cherry picked from commit e22abdc758984bf449d5da0614c4658da0074b1a)
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