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

◆ nrf_rpc_err_handler_t

typedef void(* nrf_rpc_err_handler_t) (const struct nrf_rpc_err_report *report)

#include <nrf_rpc/include/nrf_rpc.h>

Callback to report error that cannot be returned by the API call.

This callback will be called when received packet cannot be correctly interpreted. Second case is when one of _no_err sending functions failed.

Callback can be assigned to specific group. If group in which error occurred is known associated error handler is called. Later global error handler provided in nrf_rpc_init is called.

See also
NRF_RPC_GROUP_DEFINE
nrf_rpc_init
Parameters
reportError report.