Z-Wave Protocol Controller Reference
zwave_command_class_multi_channel_association.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
26#ifndef ZWAVE_COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_H
27#define ZWAVE_COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_H
28
29#include "sl_status.h"
30#include "attribute_store.h"
31
32// Constant stating how many commands we need as a maximum to set an
33// association group content.
34#define MAXIMUM_COMMANDS_TO_SET_GROUP_CONTENT 2
35
37#define GROUPING_REPORT_MINIMUM_LENGTH 3
38#define GROUPING_REPORT_NUMBER_OF_GROUPS_INDEX 2
39
40// Frame parsing indices
42#define GROUP_IDENTIFIER_INDEX 2
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
58
65void establish_zpc_associations(attribute_store_node_t group_id_node);
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif //ZWAVE_COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_H
void establish_zpc_associations(attribute_store_node_t group_id_node)
Ensures that the lifeline association or other associations are set properly for a group_id node.
sl_status_t zwave_command_class_multi_channel_association_init()
Setup fixture for Multi Channel Association Command Class.
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.