nrfxlib API 2.8.99
|
void nrf_rpc_evt_no_err | ( | const struct nrf_rpc_group * | group, |
uint8_t | evt, | ||
uint8_t * | packet, | ||
size_t | len ) |
#include <nrf_rpc/include/nrf_rpc.h>
Send an event and pass any error to an error handler.
This variant of event send function returns void
, so sending error returned from the transport layer is passed to the error handler. Source of error is NRF_RPC_ERR_SRC_SEND.
group | Group that event belongs to. |
evt | Event id. |
packet | Packet allocated by nrf_rpc_alloc_tx_buf and filled with encoded data. |
len | Length of the packet. Can be smaller than allocated. |