| /* |
| * |
| * Copyright (c) 2020 Project CHIP Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // Prevent multiple inclusion |
| #pragma once |
| |
| // User options for plugin Binding Table Library |
| #define EMBER_BINDING_TABLE_SIZE 10 |
| |
| /**** Network Section ****/ |
| #define EMBER_SUPPORTED_NETWORKS (1) |
| |
| #define EMBER_APS_UNICAST_MESSAGE_COUNT 10 |
| |
| /**** Cluster endpoint counts ****/ |
| #define EMBER_AF_BARRIER_CONTROL_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_BARRIER_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_BASIC_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_BASIC_CLUSTER_SERVER_ENDPOINT_COUNT (2) |
| #define EMBER_AF_COLOR_CONTROL_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_COLOR_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_DOOR_LOCK_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_DOOR_LOCK_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_GROUPS_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_GROUPS_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_IAS_ZONE_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_IDENTIFY_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_IDENTIFY_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_LEVEL_CONTROL_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_LEVEL_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_ON_OFF_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_ON_OFF_CLUSTER_SERVER_ENDPOINT_COUNT (2) |
| #define EMBER_AF_SCENES_CLUSTER_CLIENT_ENDPOINT_COUNT (1) |
| #define EMBER_AF_SCENES_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| #define EMBER_AF_TEMP_MEASUREMENT_CLUSTER_SERVER_ENDPOINT_COUNT (1) |
| |
| /**** Cluster Plugins ****/ |
| |
| // Use this macro to check if the client side of the Barrier Control cluster is included |
| #define ZCL_USING_BARRIER_CONTROL_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_BARRIER_CONTROL_CLIENT |
| |
| // Use this macro to check if the server side of the Barrier Control cluster is included |
| #define ZCL_USING_BARRIER_CONTROL_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_BARRIER_CONTROL_SERVER |
| #define EMBER_AF_PLUGIN_BARRIER_CONTROL |
| |
| // Use this macro to check if the client side of the Basic cluster is included |
| #define ZCL_USING_BASIC_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_BASIC_CLIENT |
| |
| // Use this macro to check if the server side of the Basic cluster is included |
| #define ZCL_USING_BASIC_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_BASIC_SERVER |
| #define EMBER_AF_PLUGIN_BASIC |
| |
| // Use this macro to check if the client side of the Color Control cluster is included |
| #define ZCL_USING_COLOR_CONTROL_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_COLOR_CONTROL_CLIENT |
| |
| // Use this macro to check if the server side of the Color Control cluster is included |
| #define ZCL_USING_COLOR_CONTROL_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_COLOR_CONTROL_SERVER |
| #define EMBER_AF_PLUGIN_COLOR_CONTROL |
| // User options for server plugin Color Control |
| #define EMBER_AF_PLUGIN_COLOR_CONTROL_SERVER_XY |
| #define EMBER_AF_PLUGIN_COLOR_CONTROL_SERVER_TEMP |
| #define EMBER_AF_PLUGIN_COLOR_CONTROL_SERVER_HSV |
| |
| // Use this macro to check if the client side of the Door Lock cluster is included |
| #define ZCL_USING_DOOR_LOCK_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_DOOR_LOCK_CLIENT |
| |
| // Use this macro to check if the server side of the Door Lock cluster is included |
| #define ZCL_USING_DOOR_LOCK_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_DOOR_LOCK_SERVER |
| #define EMBER_AF_PLUGIN_DOOR_LOCK |
| |
| // Use this macro to check if the client side of the Groups cluster is included |
| #define ZCL_USING_GROUPS_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_GROUPS_CLIENT |
| |
| // Use this macro to check if the server side of the Groups cluster is included |
| #define ZCL_USING_GROUPS_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_GROUPS_SERVER |
| #define EMBER_AF_PLUGIN_GROUPS |
| |
| // Use this macro to check if the server side of the IAS Zone cluster is included |
| #define ZCL_USING_IAS_ZONE_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_IAS_ZONE_SERVER |
| #define EMBER_AF_PLUGIN_IAS_ZONE |
| // User options for server plugin IAS Zone |
| #define EMBER_AF_PLUGIN_IAS_ZONE_SERVER_ZONE_TYPE 541 |
| |
| // Use this macro to check if the client side of the Identify cluster is included |
| #define ZCL_USING_IDENTIFY_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_IDENTIFY_CLIENT |
| |
| // Use this macro to check if the server side of the Identify cluster is included |
| #define ZCL_USING_IDENTIFY_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_IDENTIFY_SERVER |
| #define EMBER_AF_PLUGIN_IDENTIFY |
| |
| // Use this macro to check if the client side of the Level Control cluster is included |
| #define ZCL_USING_LEVEL_CONTROL_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_LEVEL_CONTROL_CLIENT |
| |
| // Use this macro to check if the server side of the Level Control cluster is included |
| #define ZCL_USING_LEVEL_CONTROL_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_LEVEL_CONTROL_SERVER |
| #define EMBER_AF_PLUGIN_LEVEL_CONTROL |
| // User options for server plugin Level Control |
| #define EMBER_AF_PLUGIN_LEVEL_CONTROL_MAXIMUM_LEVEL 255 |
| #define EMBER_AF_PLUGIN_LEVEL_CONTROL_MINIMUM_LEVEL 0 |
| #define EMBER_AF_PLUGIN_LEVEL_CONTROL_RATE 0 |
| |
| // Use this macro to check if the client side of the On/off cluster is included |
| #define ZCL_USING_ON_OFF_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_ON_OFF_CLIENT |
| |
| // Use this macro to check if the server side of the On/off cluster is included |
| #define ZCL_USING_ON_OFF_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_ON_OFF_SERVER |
| #define EMBER_AF_PLUGIN_ON_OFF |
| |
| // Use this macro to check if the client side of the Scenes cluster is included |
| #define ZCL_USING_SCENES_CLUSTER_CLIENT |
| #define EMBER_AF_PLUGIN_SCENES_CLIENT |
| |
| // Use this macro to check if the server side of the Scenes cluster is included |
| #define ZCL_USING_SCENES_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_SCENES_SERVER |
| #define EMBER_AF_PLUGIN_SCENES |
| // User options for server plugin Scenes |
| #define EMBER_AF_PLUGIN_SCENES_TABLE_SIZE 3 |
| |
| // Use this macro to check if the server side of the Temperature Measurement cluster is included |
| #define ZCL_USING_TEMP_MEASUREMENT_CLUSTER_SERVER |
| #define EMBER_AF_PLUGIN_TEMPERATURE_MEASUREMENT_SERVER |
| #define EMBER_AF_PLUGIN_TEMPERATURE_MEASUREMENT |
| |
| // TODO Issue #3871 Reporting should only be enabled if there are reportable attributes |
| // Use this macro to check if Reporting plugin is included |
| #define EMBER_AF_PLUGIN_REPORTING |
| // User options for plugin Reporting |
| #define EMBER_AF_PLUGIN_REPORTING_TABLE_SIZE 20 |
| #define EMBER_AF_PLUGIN_REPORTING_ENABLE_GROUP_BOUND_REPORTS |