nrfxlib API 0.1.0
|
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.
[in] | transport | nRF RPC transport instance. |
[in] | receive_cb | Data received callback. It is called every time when transport receives data. |
[in] | context | User context. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |