Z-Wave Protocol Controller Reference
zwave_command_class_agi.h File Reference
#include "sl_status.h"
#include "zwave_command_class_association_internals.h"
#include "zwave_controller_types.h"
#include "ZW_classcmd.h"
Include dependency graph for zwave_command_class_agi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  association_group_name_report_frame
 
struct  association_group_info_report_frame
 
struct  association_group_command_list_report_frame
 

Macros

#define MAX_SUPPORTED_NODES_PER_GROUP   10
 How many groups do we support. More...
 
#define NUMBER_OF_SUPPORTED_GROUPS   1
 
#define AGI_NA_PROFILE   0x0000
 Lifeline Group ID. More...
 
#define LIFELINE_GROUP_ID   1
 
#define AGI_LIFELINE_PROFILE   0x0001
 
#define LIFELINE_NAME   "Lifeline"
 
#define AGI_RESERVED_PROFILE   0xFFFF
 
#define AGI_INFO_REPORT_GROUP_COUNT_MASK   0x3F
 Frame parsing defines. More...
 
#define MAX_GROUP_NAME_SIZE   ATTRIBUTE_STORE_MAXIMUM_VALUE_LENGTH
 

Typedefs

typedef uint32_t agi_profile_t
 
typedef struct association_group_name_report_frame association_group_name_report_frame_t
 
typedef struct association_group_info_report_frame association_group_info_report_frame_t
 
typedef struct association_group_command_list_report_frame association_group_command_list_report_frame_t
 

Functions

sl_status_t zwave_command_class_agi_init ()
 Setup fixture for the Association Group Information (AGI) Command Class. More...
 
agi_profile_t zwave_command_class_agi_get_group_profile (zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id, association_group_id_t group_id)
 Lets a component register commands that it sends via an association group. More...
 
sl_status_t zwave_command_class_agi_add_group_commands (association_group_id_t group_id, zwave_command_class_t command_class, zwave_command_t command)
 Lets a component register commands that it sends via an association group. More...
 
bool zwave_command_class_agi_is_command_allowed_for_group (association_group_id_t group_id, zwave_command_class_t command_class, zwave_command_t command)
 Verifies if a Command Class/Command pair is allowed for an Association group. More...
 
void zwave_command_class_agi_request_to_establish_association (zwave_command_class_t command_class, zwave_command_t command)
 Registers a Command Class / Command pair that we want to make sure to receive via Associations. More...
 
bool zwave_command_class_agi_group_contains_listeners (zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id, association_group_id_t group_id)
 Verifies if a Group ID under a NodeID/Endpoint sends some commands that we want to receive. More...