nrfxlib API 2.8.99
|
Unified nRF RPC transport API structure. More...
#include <nrf_rpc_tr.h>
Data Fields | |
int(* | 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. | |
int(* | send )(const struct nrf_rpc_tr *transport, const uint8_t *data, size_t length) |
Function for sending data over transport interface. | |
void *(* | tx_buf_alloc )(const struct nrf_rpc_tr *transport, size_t *size) |
Function for allocation Tx buffer for packet sending. | |
void(* | tx_buf_free )(const struct nrf_rpc_tr *transport, void *buf) |
Function for free allocated Tx buffer. | |
void(* | rx_buf_free )(const struct nrf_rpc_tr *transport, void *buf) |
Function for free allocated Rx buffer. | |
Unified nRF RPC transport API structure.