Command Classes List Generator#
Functions#
Gets all lists based on an endpoint.
Generates 3 CC lists for the root device and for each supported endpoint.
Frees the lists generate by zafi_cc_list_generator_generate.
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.
Type | Direction | Argument Name | Description |
---|---|---|---|
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.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
Remarks
Must be invoked by ZAF_Init().
zafi_cc_list_generator_destroy#
void zafi_cc_list_generator_destroy (void )
Frees the lists generate by zafi_cc_list_generator_generate.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
Remarks
MUST NOT be invoked from the application because the CC lists are used during the lifetime of the device.