Multichan#

Modules#

cc_multi_channel_config_t

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.

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
TypeDirectionArgument NameDescription
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
TypeDirectionArgument NameDescription
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
TypeDirectionArgument NameDescription
voidN/A

cc_multi_channel_get_config_endpoint#

cc_multi_channel_config_t const * cc_multi_channel_get_config_endpoint (uint8_t endpoint)
Parameters
TypeDirectionArgument NameDescription
uint8_tN/Aendpoint

cc_multi_channel_are_endpoints_identical#

bool cc_multi_channel_are_endpoints_identical (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A