Zigbee Protocol Controller 1.6.0
zigpc_group_mgmt.c File Reference
#include <string.h>
#include "sl_log.h"
#include "zigpc_group_map.h"
#include "zigpc_group_mgmt.h"
#include "zigpc_group_mgmt_mqtt.h"
#include "zcl_command_parser.h"

Functions

void zigpc_group_handle_add_response (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint, const zigpc_zclcmdparse_callback_data_t *add_data)
 
void zigpc_group_handle_remove_response (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint, const zigpc_zclcmdparse_callback_data_t *remove_data)
 
sl_status_t zigpc_group_init ()
 zigpc_groups_init Initialize the groups component. Sets up all the parts required for groups operation, including all callbacks More...
 
sl_status_t zigpc_group_add_desired (const zigbee_group_id_t group_id, const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id)
 zigpc_group_add_desired Add a new "desired" or expected group to a given node and endpoint More...
 
sl_status_t zigpc_group_add_desired_with_name (const zigbee_group_id_t group_id, const char *group_name, const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id)
 zigpc_group_add_desired_with_name Add a new group with a specified name More...
 
sl_status_t zigpc_group_add_reported (const zigbee_group_id_t group_id, const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id)
 zigpc_group_add_reported Add a new "reported" or actual group to a given node and endpoint More...
 
sl_status_t zigpc_group_remove (const zigbee_group_id_t group_id, const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id, bool is_reported)
 zigpc_group_remove Remove an eui64/endpoint from a given group More...
 
sl_status_t zigpc_group_remove_all (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id)
 zigpc_group_remove_all Remove the eui64/endpoint from all associated groups More...
 
size_t zigpc_groupmgmt_get_member_count (zigbee_group_id_t group_id)
 Retrieve the count of EUI64/endpoint combinations as part of a Group ID. More...
 
sl_status_t zigpc_groupmgmt_get_member_list (zigbee_group_id_t group_id, zigpc_group_member_t *const member_list, size_t member_list_count)
 Retrieve the list of group members corresponding to a Group ID. More...
 

Variables

static const char LOG_TAG [] = "zigpc_groups_interface"
 

Function Documentation

◆ zigpc_group_handle_add_response()

void zigpc_group_handle_add_response ( const zigbee_eui64_t  eui64,
const zigbee_endpoint_id_t  endpoint,
const zigpc_zclcmdparse_callback_data_t add_data 
)

◆ zigpc_group_handle_remove_response()

void zigpc_group_handle_remove_response ( const zigbee_eui64_t  eui64,
const zigbee_endpoint_id_t  endpoint,
const zigpc_zclcmdparse_callback_data_t remove_data 
)

Variable Documentation

◆ LOG_TAG

const char LOG_TAG[] = "zigpc_groups_interface"
static