nrfxlib API 0.1.0
|
#define NRF_RPC_CBOR_EVT_DECODER | ( | _group, | |
_name, | |||
_evt, | |||
_handler, | |||
_data | |||
) |
#include <nrf_rpc/include/nrf_rpc_cbor.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_cbor_handler_t. |
_data | Opaque pointer for the _handler . |