Multichan#
Modules#
Functions#
bool
ZAF_CC_MultiChannel_IsCCSupported(RECEIVE_OPTIONS_TYPE_EX *pRxOpt, ZW_APPLICATION_TX_BUFFER *pCmd)
Given a frame and the associated receive options this function returns whether the command is supported or not.
void
CmdClassMultiChannelEncapsulate(uint8_t **ppData, size_t *dataLength, TRANSMIT_OPTIONS_TYPE_SINGLE_EX *pTxOptionsEx)
Encapsulates a frame with Multi Channel.
cc_multi_channel_config_t const *
cc_multi_channel_config_t const *
cc_multi_channel_get_config_endpoint(uint8_t endpoint)
bool
Function Documentation#
ZAF_CC_MultiChannel_IsCCSupported#
bool ZAF_CC_MultiChannel_IsCCSupported (RECEIVE_OPTIONS_TYPE_EX * pRxOpt, ZW_APPLICATION_TX_BUFFER * pCmd)
Given a frame and the associated receive options this function returns whether the command is supported or not.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
RECEIVE_OPTIONS_TYPE_EX * | [in] | pRxOpt | Receive options. |
ZW_APPLICATION_TX_BUFFER * | [in] | pCmd | Frame including command. |
Returns
true if the command is supported, false otherwise.
CmdClassMultiChannelEncapsulate#
void CmdClassMultiChannelEncapsulate (uint8_t ** ppData, size_t * dataLength, TRANSMIT_OPTIONS_TYPE_SINGLE_EX * pTxOptionsEx)
Encapsulates a frame with Multi Channel.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t ** | [inout] | ppData | Pointer to data. |
size_t * | [inout] | dataLength | Pointer to data length. |
TRANSMIT_OPTIONS_TYPE_SINGLE_EX * | [in] | pTxOptionsEx | Pointer to transmit options. |
cc_multi_channel_get_config#
cc_multi_channel_config_t const * cc_multi_channel_get_config (void )
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
cc_multi_channel_get_config_endpoint#
cc_multi_channel_config_t const * cc_multi_channel_get_config_endpoint (uint8_t endpoint)
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint |
cc_multi_channel_are_endpoints_identical#
bool cc_multi_channel_are_endpoints_identical (void )
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |