/* * * Copyright (c) 2022 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. */ // THIS FILE IS GENERATED BY ZAP // Prevent multiple inclusion #pragma once /**** Cluster endpoint counts ****/ #define MATTER_DM_IDENTIFY_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_GROUPS_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_ON_OFF_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_LEVEL_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_DESCRIPTOR_CLUSTER_SERVER_ENDPOINT_COUNT (2) #define MATTER_DM_ACCESS_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_BASIC_INFORMATION_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_CLIENT_ENDPOINT_COUNT (1) #define MATTER_DM_OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_LOCALIZATION_CONFIGURATION_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_TIME_FORMAT_LOCALIZATION_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_GENERAL_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_NETWORK_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_GENERAL_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_SOFTWARE_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_THREAD_NETWORK_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_WIFI_NETWORK_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_ADMINISTRATOR_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_OPERATIONAL_CREDENTIALS_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_GROUP_KEY_MANAGEMENT_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_FIXED_LABEL_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define MATTER_DM_SCENES_CLUSTER_SERVER_ENDPOINT_COUNT (1) /**** Cluster Plugins ****/ // Use this macro to check if the server side of the Identify cluster is included #define ZCL_USING_IDENTIFY_CLUSTER_SERVER #define MATTER_DM_PLUGIN_IDENTIFY_SERVER #define MATTER_DM_PLUGIN_IDENTIFY // Use this macro to check if the server side of the Groups cluster is included #define ZCL_USING_GROUPS_CLUSTER_SERVER #define MATTER_DM_PLUGIN_GROUPS_SERVER #define MATTER_DM_PLUGIN_GROUPS // Use this macro to check if the server side of the On/Off cluster is included #define ZCL_USING_ON_OFF_CLUSTER_SERVER #define MATTER_DM_PLUGIN_ON_OFF_SERVER #define MATTER_DM_PLUGIN_ON_OFF // Use this macro to check if the server side of the Level Control cluster is included #define ZCL_USING_LEVEL_CONTROL_CLUSTER_SERVER #define MATTER_DM_PLUGIN_LEVEL_CONTROL_SERVER #define MATTER_DM_PLUGIN_LEVEL_CONTROL // User options for server plugin Level Control #define MATTER_DM_PLUGIN_LEVEL_CONTROL_MAXIMUM_LEVEL 254 #define MATTER_DM_PLUGIN_LEVEL_CONTROL_MINIMUM_LEVEL 0 #define MATTER_DM_PLUGIN_LEVEL_CONTROL_RATE 0 // Use this macro to check if the server side of the Descriptor cluster is included #define ZCL_USING_DESCRIPTOR_CLUSTER_SERVER #define MATTER_DM_PLUGIN_DESCRIPTOR_SERVER #define MATTER_DM_PLUGIN_DESCRIPTOR // Use this macro to check if the server side of the Access Control cluster is included #define ZCL_USING_ACCESS_CONTROL_CLUSTER_SERVER #define MATTER_DM_PLUGIN_ACCESS_CONTROL_SERVER #define MATTER_DM_PLUGIN_ACCESS_CONTROL // Use this macro to check if the server side of the Basic Information cluster is included #define ZCL_USING_BASIC_INFORMATION_CLUSTER_SERVER #define MATTER_DM_PLUGIN_BASIC_INFORMATION_SERVER #define MATTER_DM_PLUGIN_BASIC_INFORMATION // Use this macro to check if the client side of the OTA Software Update Provider cluster is included #define ZCL_USING_OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_CLIENT #define MATTER_DM_PLUGIN_OTA_SOFTWARE_UPDATE_PROVIDER_CLIENT // Use this macro to check if the server side of the OTA Software Update Requestor cluster is included #define ZCL_USING_OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_SERVER #define MATTER_DM_PLUGIN_OTA_SOFTWARE_UPDATE_REQUESTOR_SERVER #define MATTER_DM_PLUGIN_OTA_SOFTWARE_UPDATE_REQUESTOR // Use this macro to check if the server side of the Localization Configuration cluster is included #define ZCL_USING_LOCALIZATION_CONFIGURATION_CLUSTER_SERVER #define MATTER_DM_PLUGIN_LOCALIZATION_CONFIGURATION_SERVER #define MATTER_DM_PLUGIN_LOCALIZATION_CONFIGURATION // Use this macro to check if the server side of the Time Format Localization cluster is included #define ZCL_USING_TIME_FORMAT_LOCALIZATION_CLUSTER_SERVER #define MATTER_DM_PLUGIN_TIME_FORMAT_LOCALIZATION_SERVER #define MATTER_DM_PLUGIN_TIME_FORMAT_LOCALIZATION // Use this macro to check if the server side of the General Commissioning cluster is included #define ZCL_USING_GENERAL_COMMISSIONING_CLUSTER_SERVER #define MATTER_DM_PLUGIN_GENERAL_COMMISSIONING_SERVER #define MATTER_DM_PLUGIN_GENERAL_COMMISSIONING // Use this macro to check if the server side of the Network Commissioning cluster is included #define ZCL_USING_NETWORK_COMMISSIONING_CLUSTER_SERVER #define MATTER_DM_PLUGIN_NETWORK_COMMISSIONING_SERVER #define MATTER_DM_PLUGIN_NETWORK_COMMISSIONING // Use this macro to check if the server side of the General Diagnostics cluster is included #define ZCL_USING_GENERAL_DIAGNOSTICS_CLUSTER_SERVER #define MATTER_DM_PLUGIN_GENERAL_DIAGNOSTICS_SERVER #define MATTER_DM_PLUGIN_GENERAL_DIAGNOSTICS // Use this macro to check if the server side of the Software Diagnostics cluster is included #define ZCL_USING_SOFTWARE_DIAGNOSTICS_CLUSTER_SERVER #define MATTER_DM_PLUGIN_SOFTWARE_DIAGNOSTICS_SERVER #define MATTER_DM_PLUGIN_SOFTWARE_DIAGNOSTICS // Use this macro to check if the server side of the Thread Network Diagnostics cluster is included #define ZCL_USING_THREAD_NETWORK_DIAGNOSTICS_CLUSTER_SERVER #define MATTER_DM_PLUGIN_THREAD_NETWORK_DIAGNOSTICS_SERVER #define MATTER_DM_PLUGIN_THREAD_NETWORK_DIAGNOSTICS // Use this macro to check if the server side of the Wi-Fi Network Diagnostics cluster is included #define ZCL_USING_WIFI_NETWORK_DIAGNOSTICS_CLUSTER_SERVER #define MATTER_DM_PLUGIN_WI_FI_NETWORK_DIAGNOSTICS_SERVER #define MATTER_DM_PLUGIN_WI_FI_NETWORK_DIAGNOSTICS // Use this macro to check if the server side of the Administrator Commissioning cluster is included #define ZCL_USING_ADMINISTRATOR_COMMISSIONING_CLUSTER_SERVER #define MATTER_DM_PLUGIN_ADMINISTRATOR_COMMISSIONING_SERVER #define MATTER_DM_PLUGIN_ADMINISTRATOR_COMMISSIONING // Use this macro to check if the server side of the Operational Credentials cluster is included #define ZCL_USING_OPERATIONAL_CREDENTIALS_CLUSTER_SERVER #define MATTER_DM_PLUGIN_OPERATIONAL_CREDENTIALS_SERVER #define MATTER_DM_PLUGIN_OPERATIONAL_CREDENTIALS // Use this macro to check if the server side of the Group Key Management cluster is included #define ZCL_USING_GROUP_KEY_MANAGEMENT_CLUSTER_SERVER #define MATTER_DM_PLUGIN_GROUP_KEY_MANAGEMENT_SERVER #define MATTER_DM_PLUGIN_GROUP_KEY_MANAGEMENT // Use this macro to check if the server side of the Fixed Label cluster is included #define ZCL_USING_FIXED_LABEL_CLUSTER_SERVER #define MATTER_DM_PLUGIN_FIXED_LABEL_SERVER #define MATTER_DM_PLUGIN_FIXED_LABEL // Use this macro to check if the server side of the Scenes Management cluster is included #define ZCL_USING_SCENES_CLUSTER_SERVER #define MATTER_DM_PLUGIN_SCENES_MANAGEMENT_SERVER #define MATTER_DM_PLUGIN_SCENES_MANAGEMENT // User options for server plugin Scenes Management // Cluster spec 1.4.8.7 #define SCENES_MANAGEMENT_TABLE_SIZE 16 // Scenes FeatureMap Attribute Toggle Scenes Name feature // App cluster specs 1.4.4 #define MATTER_CLUSTER_SCENE_NAME_SUPPORT_MASK 0x0001 #define MATTER_CLUSTER_SCENE_NAME_SUPPORT (0x0000 & MATTER_CLUSTER_SCENE_NAME_SUPPORT_MASK) // Scenes FeatureMap Table Size feature used for the SCENES_MANAGEMENT_TABLE_SIZE define // App cluster specs 1.4.4.2 #define MATTER_CLUSTER_TABLE_SIZE_SUPPORT_MASK 0x0001 #define MATTER_CLUSTER_TABLE_SIZE_SUPPORT (0x0000 & MATTER_CLUSTER_TABLE_SIZE_SUPPORT_MASK)