nrfxlib API 0.1.0
|
int nrf_rpc_evt | ( | 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.
group | Group that event belongs to. |
evt | Event id. |
packet | Packet allocated by nrf_rpc_alloc_tx_buf and filled with an encoded data. |
len | Length of the packet. Can be smaller than allocated. |