nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_rpc_cbor_rsp_no_err()

void nrf_rpc_cbor_rsp_no_err ( const struct nrf_rpc_group group,
struct nrf_rpc_cbor_ctx ctx 
)

#include <nrf_rpc/include/nrf_rpc_cbor.h>

Send a response and pass any error to an error handler.

This variant of response send function returns void, so sending error returned from the transport layer is passed to the error handler. Source of error is NRF_RPC_ERR_SRC_SEND.

Parameters
groupGroup that response belongs to.
ctxContext allocated by NRF_RPC_CBOR_ALLOC.