Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
Association Group Information
+ Collaboration diagram for Association Group Information:

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)
 

Detailed Description

General information

CC Association Group Information (CC AGI) reports which commands a device can control and which commands are reported to the Lifeline.

CC AGI configuration

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:

zw_cc_agi:
endpoints:
- endpoint: 0
groups:
- name: BTN0
profile_msb: ASSOCIATION_GROUP_INFO_REPORT_AGI_PROFILE_CONTROL
profile_lsb: ASSOCIATION_GROUP_INFO_REPORT_AGI_CONTROL_KEY01
commands:
- command_class: COMMAND_CLASS_BASIC_V2
command: BASIC_SET_V2

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

Function Documentation

◆ cc_agi_get_group_id()

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.

Parameters
[in]profileAGI profile to search for.
[in]cmdGrpCommand class / command pair to search for.
[in]endpointEndpoint.
Returns
Returns the group ID, if found. Otherwise 0xFF.