nrfxlib API 2.8.99
Loading...
Searching...
No Matches
nrf_rpc_tr_api Struct Reference

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.
 

Detailed Description

Unified nRF RPC transport API structure.


The documentation for this struct was generated from the following file: