Topics | |
Configuration of CC Association Group Information | |
Functions | |
uint8_t | cc_agi_get_group_id (agi_profile_t const *const profile, ccc_pair_t const *const cmdGrp, uint8_t const endpoint) |
CC Association Group Information (CC AGI) reports which commands a device can control and which commands are reported to the Lifeline.
The Lifeline group is automatically configured, but other groups may be manually configured if desired. For instance, a wall switch might control a bulb using CC Binary Switch. In such case, the wall switch would need to have an association group defined that lists Binary Switch Set. Simplicity Studio / SLC generates this configuration automatically based on user configuration in *.yaml files.
Example of configuration:
The specification of CC AGI can be found in https://github.com/Z-Wave-Alliance/AWG/tree/main/source/management_command_classes/command_class_definitions
uint8_t cc_agi_get_group_id | ( | agi_profile_t const *const | profile, |
ccc_pair_t const *const | cmdGrp, | ||
uint8_t const | endpoint ) |
Returns the association group ID that matches the given AGI profile, command class/command-pair and endpoint.
[in] | profile | AGI profile to search for. |
[in] | cmdGrp | Command class / command pair to search for. |
[in] | endpoint | Endpoint. |