Skip to content

Commit

Permalink
nrf_rpc: Improve binding robustness
Browse files Browse the repository at this point in the history
The failure to bind the IPC channel is not an unrecoverable error. The
IPC state should remain in WAITING state when binding was not completed
on time.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
  • Loading branch information
e-rk authored and rlubos committed May 24, 2024
1 parent aeef889 commit e794f65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion subsys/nrf_rpc/nrf_rpc_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ static int send(const struct nrf_rpc_tr *transport, const uint8_t *data, size_t
case NRF_RPC_IPC_STATE_WAITING:
if (!k_event_wait(&endpoint->ept_bond, 0x01, false,
ipc_config->endpoint.timeout)) {
ipc_config->state = NRF_RPC_IPC_STATE_ERROR;
LOG_ERR("IPC endpoint bond timeout");
return -NRF_EPIPE;
}
Expand Down

0 comments on commit e794f65

Please sign in to comment.