Command Classes List Generator#

Functions#

void
zafi_cc_list_generator_get_lists(uint8_t endpoint, zaf_cc_list_t **unsecure_included_ccs, zaf_cc_list_t **secure_included_unsecure_ccs, zaf_cc_list_t **secure_included_secure_ccs)

Gets all lists based on an endpoint.

void

Generates 3 CC lists for the root device and for each supported endpoint.

Function Documentation#

zafi_cc_list_generator_get_lists#

void zafi_cc_list_generator_get_lists (uint8_t endpoint, zaf_cc_list_t ** unsecure_included_ccs, zaf_cc_list_t ** secure_included_unsecure_ccs, zaf_cc_list_t ** secure_included_secure_ccs)

Gets all lists based on an endpoint.

Parameters
TypeDirectionArgument NameDescription
uint8_t[in]endpoint

0 for root device, 1-N where N is max number of endpoints, other values are invalid.

zaf_cc_list_t **[out]unsecure_included_ccs

A pointer to the list of unsecure included Command Classes

zaf_cc_list_t **[out]secure_included_unsecure_ccs

A pointer to the list of secure included unsecure Command Classes

zaf_cc_list_t **[out]secure_included_secure_ccs

A pointer to the list of secure included secure Command Classes


zafi_cc_list_generator_generate#

void zafi_cc_list_generator_generate (void )

Generates 3 CC lists for the root device and for each supported endpoint.

Parameters
TypeDirectionArgument NameDescription
voidN/A

Remarks


zafi_cc_list_generator_destroy#

void zafi_cc_list_generator_destroy (void )

Frees the lists generate by zafi_cc_list_generator_generate.

Parameters
TypeDirectionArgument NameDescription
voidN/A

Remarks

  • MUST NOT be invoked from the application because the CC lists are used during the lifetime of the device.