Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
association_plus_base.h
Go to the documentation of this file.
1
7#ifndef _ASSOCIATION_PLUS_BASE_H_
8#define _ASSOCIATION_PLUS_BASE_H_
9
10/****************************************************************************/
11/* INCLUDE FILES */
12/****************************************************************************/
13
14#include "ZAF_types.h"
17
18/****************************************************************************/
19/* EXPORTED TYPES and DEFINITIONS */
20/****************************************************************************/
21
29#define FREE_VALUE 0x00FF // Valid for both Classic and LR variants!
30
31/*
32 * GroupID related definitions.
33 */
34#define NOT_VALID_GROUP_ID 0
35#define LIFELINE_GROUP_ID 1
36#define LIFELINE_ENDPOINT_ALLOWED 0
37
58
59/****************************************************************************/
60/* EXPORTED DATA */
61/****************************************************************************/
62
63// Nothing here.
64
65/****************************************************************************/
66/* EXPORTED FUNCTIONS */
67/****************************************************************************/
68
73void
74CC_Association_Init(void);
75
80void
81CC_Association_Reset(void);
82
92 uint8_t groupId,
93 uint8_t ep,
94 destination_info_t ** ppListOfNodes,
95 uint8_t * pListLen);
96
108AssociationRemove(
109 uint8_t groupId,
110 uint8_t ep,
111 ZW_MULTI_CHANNEL_ASSOCIATION_REMOVE_1BYTE_V2_FRAME* pCmd,
112 uint8_t cmdLength);
113
123void
124AssociationGet(
125 uint8_t endpoint,
126 uint8_t * incomingFrame,
127 uint8_t * outgoingFrame,
128 uint8_t * outgoingFrameLength);
129
144bool AssociationAddNode(
145 uint8_t groupID,
146 uint8_t endpoint,
148 bool multiChannelAssociation);
149
150/***********************************************************************************
151 * Functions used while doing transmission to association groups.
152 **********************************************************************************/
153
166
237 uint8_t * pListLength,
238 destination_info_t * pNode);
239
248
268
277
283uint8_t ApplicationGetLastActiveGroupId(void);
284
297 AGI_PROFILE const * const pProfile,
298 cc_group_t const * const pCurrentCmdGrp,
299 const uint8_t sourceEndpoint);
300
306#endif /* _ASSOCIATION_PLUS_BASE_H_ */
Transport layer for Multi Channel endpoint functionality.
NODE_LIST_STATUS
Definition association_plus_base.h:45
void AssociationGetDestinationInit(destination_info_t *pFirstDestination)
destination_info_t * AssociationGetNextSinglecastDestination(void)
bool AssociationGetBitAdressingDestination(destination_info_t **ppNodeList, uint8_t *pListLength, destination_info_t *pNode)
NODE_LIST_STATUS handleAssociationGetnodeList(uint8_t groupId, uint8_t ep, destination_info_t **ppListOfNodes, uint8_t *pListLen)
uint32_t AssociationGetSinglecastNodeCount(void)
TRANSMIT_OPTIONS_TYPE_EX * ReqNodeList(AGI_PROFILE const *const pProfile, cc_group_t const *const pCurrentCmdGrp, const uint8_t sourceEndpoint)
uint8_t AssociationGetSinglecastEndpointDestinationCount(void)
@ NODE_LIST_STATUS_SUCCESS
Definition association_plus_base.h:46
@ NODE_LIST_STATUS_NO_MORE_NODES
Definition association_plus_base.h:47
@ NODE_LIST_STATUS_ERR_LIFELINE_SUPPORT_NOT_CC_BASIC
Definition association_plus_base.h:55
@ NODE_LIST_STATUS_ASSOCIATION_LIST_EMPTY
Definition association_plus_base.h:48
@ NODE_LIST_STATUS_ERR_ENDPOINT_OUT_OF_RANGE
Definition association_plus_base.h:52
@ NODE_LIST_STATUS_ERR_NO_TABLE_ENDPOINT
Definition association_plus_base.h:50
@ NODE_LIST_STATUS_ERROR_LIST
Definition association_plus_base.h:49
@ NODE_LIST_STATUS_ERR_GROUP_NBR_NOT_LEGAL
Definition association_plus_base.h:53
@ NODE_LIST_STATUS_ERR_LIFELINE_PROFILE_NOT_SUPPORTED
Definition association_plus_base.h:54
@ NODE_LIST_STATUS_ERR_PROFILE_LIFELINE_ONLY_SUPPORT_IN_GRP_1
Definition association_plus_base.h:56
@ NODE_LIST_STATUS_ERR_UNKNOWN_PROFILE
Definition association_plus_base.h:51
e_cmd_handler_return_code_t
Definition ZAF_types.h:95
Definition ZAF_types.h:40
Definition ZW_TransportEndpoint.h:81
Definition ZAF_types.h:135
Definition ZAF_types.h:120
Definition ZW_TransportEndpoint.h:63