nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ init

int(* nrf_rpc_tr_api::init) (const struct nrf_rpc_tr *transport, nrf_rpc_tr_receive_handler_t receive_cb, void *context)

Function for initialization the nRF RPC transport interface.

Parameters
[in]transportnRF RPC transport instance.
[in]receive_cbData received callback. It is called every time when transport receives data.
[in]contextUser context.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.