Apply Upstream code (2021-03-15)
[platform/upstream/connectedhomeip.git] / src / darwin / Framework / CHIP / gen / gen_config.h
1 /*
2  *
3  *    Copyright (c) 2021 Project CHIP Authors
4  *
5  *    Licensed under the Apache License, Version 2.0 (the "License");
6  *    you may not use this file except in compliance with the License.
7  *    You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *    Unless required by applicable law or agreed to in writing, software
12  *    distributed under the License is distributed on an "AS IS" BASIS,
13  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *    See the License for the specific language governing permissions and
15  *    limitations under the License.
16  */
17
18 // THIS FILE IS GENERATED BY ZAP
19
20 // Prevent multiple inclusion
21 #pragma once
22
23 // User options for plugin Binding Table Library
24 #define EMBER_BINDING_TABLE_SIZE 10
25
26 /**** Network Section ****/
27 #define EMBER_SUPPORTED_NETWORKS (1)
28
29 #define EMBER_APS_UNICAST_MESSAGE_COUNT 10
30
31 /**** Cluster endpoint counts ****/
32 #define EMBER_AF_APPLICATION_BASIC_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
33 #define EMBER_AF_BARRIER_CONTROL_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
34 #define EMBER_AF_BASIC_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
35 #define EMBER_AF_BINDING_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
36 #define EMBER_AF_COLOR_CONTROL_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
37 #define EMBER_AF_CONTENT_LAUNCH_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
38 #define EMBER_AF_DOOR_LOCK_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
39 #define EMBER_AF_GENERAL_COMMISSIONING_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
40 #define EMBER_AF_GROUPS_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
41 #define EMBER_AF_IDENTIFY_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
42 #define EMBER_AF_LEVEL_CONTROL_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
43 #define EMBER_AF_LOW_POWER_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
44 #define EMBER_AF_MEDIA_PLAYBACK_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
45 #define EMBER_AF_ON_OFF_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
46 #define EMBER_AF_SCENES_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
47 #define EMBER_AF_TEMP_MEASUREMENT_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
48
49 /**** Cluster Plugins ****/
50
51 // Use this macro to check if the client side of the Application Basic cluster is included
52 #define ZCL_USING_APPLICATION_BASIC_CLUSTER_CLIENT
53 #define EMBER_AF_PLUGIN_APPLICATION_BASIC_CLIENT
54
55 // Use this macro to check if the client side of the Barrier Control cluster is included
56 #define ZCL_USING_BARRIER_CONTROL_CLUSTER_CLIENT
57 #define EMBER_AF_PLUGIN_BARRIER_CONTROL_CLIENT
58
59 // Use this macro to check if the client side of the Basic cluster is included
60 #define ZCL_USING_BASIC_CLUSTER_CLIENT
61 #define EMBER_AF_PLUGIN_BASIC_CLIENT
62
63 // Use this macro to check if the client side of the Binding cluster is included
64 #define ZCL_USING_BINDING_CLUSTER_CLIENT
65 #define EMBER_AF_PLUGIN_BINDING_CLIENT
66
67 // Use this macro to check if the client side of the Color Control cluster is included
68 #define ZCL_USING_COLOR_CONTROL_CLUSTER_CLIENT
69 #define EMBER_AF_PLUGIN_COLOR_CONTROL_CLIENT
70
71 // Use this macro to check if the client side of the Content Launch cluster is included
72 #define ZCL_USING_CONTENT_LAUNCH_CLUSTER_CLIENT
73 #define EMBER_AF_PLUGIN_CONTENT_LAUNCH_CLIENT
74
75 // Use this macro to check if the client side of the Door Lock cluster is included
76 #define ZCL_USING_DOOR_LOCK_CLUSTER_CLIENT
77 #define EMBER_AF_PLUGIN_DOOR_LOCK_CLIENT
78
79 // Use this macro to check if the client side of the General Commissioning cluster is included
80 #define ZCL_USING_GENERAL_COMMISSIONING_CLUSTER_CLIENT
81 #define EMBER_AF_PLUGIN_GENERAL_COMMISSIONING_CLIENT
82
83 // Use this macro to check if the client side of the Groups cluster is included
84 #define ZCL_USING_GROUPS_CLUSTER_CLIENT
85 #define EMBER_AF_PLUGIN_GROUPS_CLIENT
86
87 // Use this macro to check if the client side of the Identify cluster is included
88 #define ZCL_USING_IDENTIFY_CLUSTER_CLIENT
89 #define EMBER_AF_PLUGIN_IDENTIFY_CLIENT
90
91 // Use this macro to check if the client side of the Level Control cluster is included
92 #define ZCL_USING_LEVEL_CONTROL_CLUSTER_CLIENT
93 #define EMBER_AF_PLUGIN_LEVEL_CONTROL_CLIENT
94
95 // Use this macro to check if the client side of the Low Power cluster is included
96 #define ZCL_USING_LOW_POWER_CLUSTER_CLIENT
97 #define EMBER_AF_PLUGIN_LOW_POWER_CLIENT
98
99 // Use this macro to check if the client side of the Media Playback cluster is included
100 #define ZCL_USING_MEDIA_PLAYBACK_CLUSTER_CLIENT
101 #define EMBER_AF_PLUGIN_MEDIA_PLAYBACK_CLIENT
102
103 // Use this macro to check if the client side of the On/off cluster is included
104 #define ZCL_USING_ON_OFF_CLUSTER_CLIENT
105 #define EMBER_AF_PLUGIN_ON_OFF_CLIENT
106
107 // Use this macro to check if the client side of the Scenes cluster is included
108 #define ZCL_USING_SCENES_CLUSTER_CLIENT
109 #define EMBER_AF_PLUGIN_SCENES_CLIENT
110
111 // Use this macro to check if the client side of the Temperature Measurement cluster is included
112 #define ZCL_USING_TEMP_MEASUREMENT_CLUSTER_CLIENT
113 #define EMBER_AF_PLUGIN_TEMPERATURE_MEASUREMENT_CLIENT