![]() |
nrfxlib API 3.3.99
|
| #define NRF_RPC_GROUP_DEFINE | ( | _name, | |
| _strid, | |||
| _transport, | |||
| _ack_handler, | |||
| _ack_data, | |||
| _err_handler ) |
#include <nrf_rpc/include/nrf_rpc.h>
Define a group of commands and events.
| _name | Symbol name of the group. |
| _strid | String containing unique identifier of the group. Naming conventions the same as C symbol name. Groups on local and remote must have the same unique identifier. |
| _transport | Group transport. It is used by group to communicate with a remote processor. |
| _ack_handler | Handler of type nrf_rpc_ack_handler_t called when ACK was received after event completion. Can be NULL if group does not want to receive ACK notifications. |
| _ack_data | Opaque pointer for the _ack_handler. |
| _err_handler | Handler of type nrf_rpc_err_handler_t called when error occurred in context of this group. Can be NULL if group does not want to receive error notifications. |