![]() |
nrfxlib API 3.3.99
|
| #define NRF_RPC_EVT_DECODER | ( | _group, | |
| _name, | |||
| _evt, | |||
| _handler, | |||
| _data ) |
#include <nrf_rpc/include/nrf_rpc.h>
Register an event decoder.
| _group | Group that the decoder will belong to, created with a NRF_RPC_GROUP_DEFINE(). |
| _name | Name of the decoder. |
| _evt | Event id. Can be from 0 to 254. |
| _handler | Handler function of type nrf_rpc_handler_t. |
| _data | Opaque pointer for the _handler. |