nrfxlib API 2.8.99
|
#define NRF_RPC_CBOR_CMD_DECODER | ( | _group, | |
_name, | |||
_cmd, | |||
_handler, | |||
_data ) |
#include <nrf_rpc/include/nrf_rpc_cbor.h>
Register a command decoder.
_group | Group that the decoder will belong to, created with a NRF_RPC_GROUP_DEFINE(). |
_name | Name of the decoder. |
_cmd | Command id. Can be from 0 to 254. |
_handler | Handler function of type nrf_rpc_cbor_handler_t. |
_data | Opaque pointer for the _handler . |