mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'esp-matter/zap-clean' into 'main'
esp-matter: update zap-common and clean zap-file for zap-light example See merge request app-frameworks/esp-matter!398
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
set(SRC_DIRS_LIST "."
|
||||
"zap_common/zap-generated"
|
||||
"${ZAP_GENERATED_PATH}"
|
||||
"${MATTER_SDK_PATH}/zzz_generated/app-common/app-common/zap-generated/attributes"
|
||||
"${MATTER_SDK_PATH}/src/app"
|
||||
"${MATTER_SDK_PATH}/src/app/server"
|
||||
@@ -24,6 +22,7 @@ set(SRC_DIRS_LIST "."
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/door-lock-server"
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/ethernet-network-diagnostics-server"
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/fan-control-server"
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/fault-injection-server"
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/fixed-label-server"
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/general-commissioning-server"
|
||||
"${MATTER_SDK_PATH}/src/app/clusters/general-diagnostics-server"
|
||||
@@ -64,10 +63,14 @@ set(SRC_DIRS_LIST "."
|
||||
)
|
||||
|
||||
set(INCLUDE_DIRS_LIST "."
|
||||
"zap_common"
|
||||
"${MATTER_SDK_PATH}/zzz_generated/app-common"
|
||||
"${MATTER_SDK_PATH}/src"
|
||||
"${ZAP_GENERATED_PATH}/../")
|
||||
"${MATTER_SDK_PATH}/third_party/nlfaultinjection/repo/include"
|
||||
"${MATTER_SDK_PATH}/src")
|
||||
|
||||
if (CONFIG_ESP_MATTER_ENABLE_DATA_MODEL)
|
||||
list(APPEND SRC_DIRS_LIST "zap_common/app")
|
||||
list(APPEND INCLUDE_DIRS_LIST "zap_common")
|
||||
endif()
|
||||
|
||||
set(REQUIRES_LIST chip bt esp_matter_console nvs_flash app_update esp_secure_cert_mgr mbedtls esp_system openthread)
|
||||
|
||||
@@ -81,6 +84,11 @@ idf_component_register( SRC_DIRS ${SRC_DIRS_LIST}
|
||||
idf_build_set_property(COMPILE_OPTIONS "-Wno-error=uninitialized;-Wno-error=maybe-uninitialized;-Wno-missing-field-initializers;" APPEND)
|
||||
idf_build_set_property(COMPILE_OPTIONS "-Wno-error=array-bounds" APPEND)
|
||||
|
||||
if (NOT CONFIG_ESP_MATTER_ENABLE_DATA_MODEL)
|
||||
target_include_directories(${COMPONENT_LIB} PUBLIC "${CMAKE_BINARY_DIR}/gen/app-codegen/cpp-app"
|
||||
"${CMAKE_BINARY_DIR}/gen/app-zapgen/zapgen/app-templates")
|
||||
endif()
|
||||
|
||||
# For Xtensa chips, uint32_t was defined as 'unsigned' before v5.0, and after IDF v5.0 it is defined
|
||||
# as 'unsigned long', same as RISC-V. add this compile option to avoid format errors.
|
||||
# https://github.com/espressif/esp-idf/issues/6906#issuecomment-1207373706
|
||||
|
||||
@@ -194,4 +194,13 @@ menu "ESP Matter"
|
||||
|
||||
This option is kept disabled by default to maintain the backward compatibility.
|
||||
|
||||
config ESP_MATTER_ENABLE_DATA_MODEL
|
||||
bool "Use ESP-Matter data model"
|
||||
default y
|
||||
help
|
||||
This option should be disable for zap examples
|
||||
|
||||
If enabled, we will not use zap to define the data model of the node. All of the
|
||||
endpoints are dynamic.
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -193,7 +193,7 @@ static void send_command_failure_callback(void *context, CHIP_ERROR error)
|
||||
{
|
||||
ESP_LOGI(TAG, "FSend command failure");
|
||||
}
|
||||
|
||||
#if CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
|
||||
namespace on_off {
|
||||
namespace command {
|
||||
|
||||
@@ -1035,6 +1035,7 @@ esp_err_t send_remove_group(peer_device_t *remote_device, uint16_t remote_endpoi
|
||||
|
||||
} // namespace command
|
||||
} // namespace groups
|
||||
#endif // CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
|
||||
|
||||
} // namespace cluster
|
||||
} // namespace esp_matter
|
||||
|
||||
@@ -46,11 +46,6 @@ void plugin_init_callback_common()
|
||||
if (plugin_server_init_callback) {
|
||||
plugin_server_init_callback();
|
||||
}
|
||||
/* Plugin client init callback */
|
||||
plugin_client_init_callback_t plugin_client_init_callback = get_plugin_client_init_callback(cluster);
|
||||
if (plugin_client_init_callback) {
|
||||
plugin_client_init_callback();
|
||||
}
|
||||
cluster = get_next(cluster);
|
||||
}
|
||||
endpoint = endpoint::get_next(endpoint);
|
||||
@@ -69,7 +64,7 @@ cluster_t *create_default_binding_cluster(endpoint_t *endpoint)
|
||||
return binding::create(endpoint, &config, CLUSTER_FLAG_SERVER);
|
||||
}
|
||||
|
||||
#if (FIXED_ENDPOINT_COUNT == 0)
|
||||
#if CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
|
||||
namespace descriptor {
|
||||
const function_generic_t *function_list = NULL;
|
||||
const int function_flags = CLUSTER_FLAG_NONE;
|
||||
@@ -86,9 +81,6 @@ cluster_t *create(endpoint_t *endpoint, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterDescriptorPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterDescriptorPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -122,9 +114,6 @@ cluster_t *create(endpoint_t *endpoint, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, NULL);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, NULL);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -153,9 +142,6 @@ cluster_t *create(endpoint_t *endpoint, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterAccessControlPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterAccessControlPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -191,9 +177,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterBasicInformationPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterBasicInformationPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -239,9 +222,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterBindingPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterBindingPluginClientInitCallback);
|
||||
}
|
||||
|
||||
/* Extra initialization */
|
||||
client::binding_init();
|
||||
@@ -279,9 +259,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterOtaSoftwareUpdateProviderPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterOtaSoftwareUpdateProviderPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -322,9 +299,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterOtaSoftwareUpdateRequestorPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterOtaSoftwareUpdateRequestorPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -365,9 +339,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterGeneralCommissioningPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterGeneralCommissioningPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -414,9 +385,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterNetworkCommissioningPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterNetworkCommissioningPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -469,9 +437,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterGeneralDiagnosticsPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterGeneralDiagnosticsPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -510,9 +475,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterAdministratorCommissioningPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterAdministratorCommissioningPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -554,9 +516,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterOperationalCredentialsPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterOperationalCredentialsPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -610,9 +569,6 @@ cluster_t *create(endpoint_t *endpoint, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterGroupKeyManagementPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterGroupKeyManagementPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -652,9 +608,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterWiFiNetworkDiagnosticsPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterWiFiNetworkDiagnosticsPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -693,9 +646,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterThreadNetworkDiagnosticsPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterThreadNetworkDiagnosticsPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -749,9 +699,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterTimeSynchronizationPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterTimeSynchronizationPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -819,9 +766,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterUserLabelPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterUserLabelPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -856,9 +800,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterFixedLabelPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterFixedLabelPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -896,9 +837,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterIdentifyPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterIdentifyPluginClientInitCallback);
|
||||
}
|
||||
|
||||
/* Extra initialization */
|
||||
uint16_t endpoint_id = endpoint::get_id(endpoint);
|
||||
@@ -943,9 +881,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterGroupsPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterGroupsPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -994,9 +929,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterScenesPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterScenesPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -1053,10 +985,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_
|
||||
set_plugin_server_init_callback(cluster, MatterOnOffPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterOnOffPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -1104,10 +1032,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_
|
||||
set_plugin_server_init_callback(cluster, MatterLevelControlPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterLevelControlPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -1165,10 +1089,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_
|
||||
set_plugin_server_init_callback(cluster, MatterColorControlPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterColorControlPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes managed internally */
|
||||
@@ -1236,8 +1156,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
/* not implemented: Setting NULL since the MatterFanControlPluginClientInitCallback is not implemented */
|
||||
set_plugin_client_init_callback(cluster, NULL);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1281,7 +1199,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterThermostatPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1329,7 +1246,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterDoorLockPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1377,7 +1293,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterWindowCoveringPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1429,7 +1344,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterSwitchPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1468,7 +1382,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterTemperatureMeasurementPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1508,7 +1421,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterRelativeHumidityMeasurementPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1550,7 +1462,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterOccupancySensingPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1590,7 +1501,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterBooleanStatePluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1629,9 +1539,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
set_plugin_server_init_callback(cluster, MatterLocalizationConfigurationPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterLocalizationConfigurationPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes not managed internally */
|
||||
@@ -1672,9 +1579,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_
|
||||
set_plugin_server_init_callback(cluster, MatterTimeFormatLocalizationPluginServerInitCallback);
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterTimeFormatLocalizationPluginClientInitCallback);
|
||||
}
|
||||
|
||||
if (flags & CLUSTER_FLAG_SERVER) {
|
||||
/* Attributes not managed internally */
|
||||
@@ -1716,7 +1620,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterIlluminanceMeasurementPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1756,7 +1659,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterPressureMeasurementPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1794,7 +1696,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterFlowMeasurementPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1837,7 +1738,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
add_function_list(cluster, function_list, function_flags);
|
||||
}
|
||||
if (flags & CLUSTER_FLAG_CLIENT) {
|
||||
set_plugin_client_init_callback(cluster, MatterPumpConfigurationAndControlPluginClientInitCallback);
|
||||
create_default_binding_cluster(endpoint);
|
||||
}
|
||||
|
||||
@@ -1863,6 +1763,6 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
|
||||
return cluster;
|
||||
}
|
||||
} /* pump_configuration_and_control */
|
||||
#endif // FIXED_ENDPOINT_COUNT == 0
|
||||
#endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
|
||||
} /* cluster */
|
||||
} /* esp_matter */
|
||||
|
||||
@@ -163,7 +163,6 @@ typedef struct _cluster {
|
||||
uint16_t flags;
|
||||
const cluster::function_generic_t *function_list;
|
||||
cluster::plugin_server_init_callback_t plugin_server_init_callback;
|
||||
cluster::plugin_client_init_callback_t plugin_client_init_callback;
|
||||
_attribute_t *attribute_list;
|
||||
_command_t *command_list;
|
||||
struct _cluster *next;
|
||||
@@ -1860,17 +1859,6 @@ esp_err_t set_plugin_server_init_callback(cluster_t *cluster, plugin_server_init
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
esp_err_t set_plugin_client_init_callback(cluster_t *cluster, plugin_client_init_callback_t callback)
|
||||
{
|
||||
if (!cluster) {
|
||||
ESP_LOGE(TAG, "Cluster cannot be NULL");
|
||||
return ESP_ERR_INVALID_ARG;
|
||||
}
|
||||
_cluster_t *current_cluster = (_cluster_t *)cluster;
|
||||
current_cluster->plugin_client_init_callback = callback;
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
plugin_server_init_callback_t get_plugin_server_init_callback(cluster_t *cluster)
|
||||
{
|
||||
if (!cluster) {
|
||||
@@ -1881,16 +1869,6 @@ plugin_server_init_callback_t get_plugin_server_init_callback(cluster_t *cluster
|
||||
return current_cluster->plugin_server_init_callback;
|
||||
}
|
||||
|
||||
plugin_client_init_callback_t get_plugin_client_init_callback(cluster_t *cluster)
|
||||
{
|
||||
if (!cluster) {
|
||||
ESP_LOGE(TAG, "Cluster cannot be NULL");
|
||||
return NULL;
|
||||
}
|
||||
_cluster_t *current_cluster = (_cluster_t *)cluster;
|
||||
return current_cluster->plugin_client_init_callback;
|
||||
}
|
||||
|
||||
esp_err_t add_function_list(cluster_t *cluster, const function_generic_t *function_list, int function_flags)
|
||||
{
|
||||
if (!cluster) {
|
||||
|
||||
@@ -298,13 +298,6 @@ namespace cluster {
|
||||
*/
|
||||
typedef void (*plugin_server_init_callback_t)();
|
||||
|
||||
/** Cluster plugin client init callback
|
||||
*
|
||||
* This callback will be called when the endpoints are initialised. This should be set to upstream's
|
||||
* `Matter<cluster_name>PluginClientInitCallback` API, if it exists.
|
||||
*/
|
||||
typedef void (*plugin_client_init_callback_t)();
|
||||
|
||||
/** Generic function
|
||||
*
|
||||
* This can be used to add additional functions based on `cluster_flags_t`.
|
||||
@@ -383,20 +376,6 @@ uint32_t get_id(cluster_t *cluster);
|
||||
*/
|
||||
esp_err_t set_plugin_server_init_callback(cluster_t *cluster, plugin_server_init_callback_t callback);
|
||||
|
||||
/** Set cluster plugin client init callback
|
||||
*
|
||||
* Set the cluster plugin client init callback. This callback will be called when the endpoints are initialised. The
|
||||
* callback should be set to upstream's `Matter<cluster_name>PluginClientInitCallback` API for the cluster, if it
|
||||
* exists.
|
||||
*
|
||||
* @param[in] cluster Cluster handle.
|
||||
* @param[in] callback Plugin client init callback.
|
||||
*
|
||||
* @return ESP_OK on success.
|
||||
* @return error in case of failure.
|
||||
*/
|
||||
esp_err_t set_plugin_client_init_callback(cluster_t *cluster, plugin_client_init_callback_t callback);
|
||||
|
||||
/** Get cluster plugin server init callback
|
||||
*
|
||||
* Get the cluster plugin server init callback which has previously been set.
|
||||
@@ -408,17 +387,6 @@ esp_err_t set_plugin_client_init_callback(cluster_t *cluster, plugin_client_init
|
||||
*/
|
||||
plugin_server_init_callback_t get_plugin_server_init_callback(cluster_t *cluster);
|
||||
|
||||
/** Get cluster plugin client init callback
|
||||
*
|
||||
* Get the cluster plugin client init callback which has previously been set.
|
||||
*
|
||||
* @param[in] cluster Cluster handle.
|
||||
*
|
||||
* @return Plugin client init callback.
|
||||
* @return NULL in case of failure or if it has not been set.
|
||||
*/
|
||||
plugin_client_init_callback_t get_plugin_client_init_callback(cluster_t *cluster);
|
||||
|
||||
/** Add cluster function list
|
||||
*
|
||||
* This API can be used to add additional cluster functions based on `cluster_flags_t`. This should be set
|
||||
|
||||
@@ -19,155 +19,74 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
void __attribute__((weak)) MatterIdentifyPluginClientInitCallback() {}
|
||||
void MatterIdentifyPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterGroupsPluginClientInitCallback() {}
|
||||
void MatterGroupsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterScenesPluginClientInitCallback() {}
|
||||
void MatterScenesPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterOnOffPluginClientInitCallback() {}
|
||||
void MatterOnOffPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterOnOffSwitchConfigurationPluginClientInitCallback() {}
|
||||
void MatterOnOffSwitchConfigurationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterLevelControlPluginClientInitCallback() {}
|
||||
void MatterLevelControlPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBinaryInputBasicPluginClientInitCallback() {}
|
||||
void MatterBinaryInputBasicPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterPulseWidthModulationPluginClientInitCallback() {}
|
||||
void MatterPulseWidthModulationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterDescriptorPluginClientInitCallback() {}
|
||||
void MatterDescriptorPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBindingPluginClientInitCallback() {}
|
||||
void MatterBindingPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterAccessControlPluginClientInitCallback() {}
|
||||
void MatterAccessControlPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterActionsPluginClientInitCallback() {}
|
||||
void MatterActionsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBasicInformationPluginClientInitCallback() {}
|
||||
void MatterBasicInformationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterOtaSoftwareUpdateProviderPluginClientInitCallback() {}
|
||||
void MatterOtaSoftwareUpdateProviderPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterOtaSoftwareUpdateRequestorPluginClientInitCallback() {}
|
||||
void MatterOtaSoftwareUpdateRequestorPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterLocalizationConfigurationPluginClientInitCallback() {}
|
||||
void MatterLocalizationConfigurationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterTimeFormatLocalizationPluginClientInitCallback() {}
|
||||
void MatterTimeFormatLocalizationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterUnitLocalizationPluginClientInitCallback() {}
|
||||
void MatterUnitLocalizationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterPowerSourceConfigurationPluginClientInitCallback() {}
|
||||
void MatterPowerSourceConfigurationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterPowerSourcePluginClientInitCallback() {}
|
||||
void MatterPowerSourcePluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterGeneralCommissioningPluginClientInitCallback() {}
|
||||
void MatterGeneralCommissioningPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterNetworkCommissioningPluginClientInitCallback() {}
|
||||
void MatterNetworkCommissioningPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterDiagnosticLogsPluginClientInitCallback() {}
|
||||
void MatterDiagnosticLogsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterGeneralDiagnosticsPluginClientInitCallback() {}
|
||||
void MatterGeneralDiagnosticsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterSoftwareDiagnosticsPluginClientInitCallback() {}
|
||||
void MatterSoftwareDiagnosticsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterThreadNetworkDiagnosticsPluginClientInitCallback() {}
|
||||
void MatterThreadNetworkDiagnosticsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterWiFiNetworkDiagnosticsPluginClientInitCallback() {}
|
||||
void MatterWiFiNetworkDiagnosticsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterEthernetNetworkDiagnosticsPluginClientInitCallback() {}
|
||||
void MatterEthernetNetworkDiagnosticsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterTimeSynchronizationPluginClientInitCallback() {}
|
||||
void MatterTimeSynchronizationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBridgedDeviceBasicPluginClientInitCallback() {}
|
||||
void MatterBridgedDeviceBasicPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterSwitchPluginClientInitCallback() {}
|
||||
void MatterSwitchPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterAdministratorCommissioningPluginClientInitCallback() {}
|
||||
void MatterAdministratorCommissioningPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterOperationalCredentialsPluginClientInitCallback() {}
|
||||
void MatterOperationalCredentialsPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterGroupKeyManagementPluginClientInitCallback() {}
|
||||
void MatterGroupKeyManagementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterFixedLabelPluginClientInitCallback() {}
|
||||
void MatterFixedLabelPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterUserLabelPluginClientInitCallback() {}
|
||||
void MatterUserLabelPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterProxyConfigurationPluginClientInitCallback() {}
|
||||
void MatterProxyConfigurationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterProxyDiscoveryPluginClientInitCallback() {}
|
||||
void MatterProxyDiscoveryPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterProxyValidPluginClientInitCallback() {}
|
||||
void MatterProxyValidPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBooleanStatePluginClientInitCallback() {}
|
||||
void MatterBooleanStatePluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterModeSelectPluginClientInitCallback() {}
|
||||
void MatterModeSelectPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterDoorLockPluginClientInitCallback() {}
|
||||
void MatterDoorLockPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterWindowCoveringPluginClientInitCallback() {}
|
||||
void MatterWindowCoveringPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBarrierControlPluginClientInitCallback() {}
|
||||
void MatterBarrierControlPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterPumpConfigurationAndControlPluginClientInitCallback() {}
|
||||
void MatterPumpConfigurationAndControlPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterThermostatPluginClientInitCallback() {}
|
||||
void MatterThermostatPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterFanControlPluginClientInitCallback() {}
|
||||
void MatterFanControlPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterThermostatUserInterfaceConfigurationPluginClientInitCallback() {}
|
||||
void MatterThermostatUserInterfaceConfigurationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterColorControlPluginClientInitCallback() {}
|
||||
void MatterColorControlPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterBallastConfigurationPluginClientInitCallback() {}
|
||||
void MatterBallastConfigurationPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterIlluminanceMeasurementPluginClientInitCallback() {}
|
||||
void MatterIlluminanceMeasurementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterTemperatureMeasurementPluginClientInitCallback() {}
|
||||
void MatterTemperatureMeasurementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterPressureMeasurementPluginClientInitCallback() {}
|
||||
void MatterPressureMeasurementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterFlowMeasurementPluginClientInitCallback() {}
|
||||
void MatterFlowMeasurementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterRelativeHumidityMeasurementPluginClientInitCallback() {}
|
||||
void MatterRelativeHumidityMeasurementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterOccupancySensingPluginClientInitCallback() {}
|
||||
void MatterOccupancySensingPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterWakeOnLanPluginClientInitCallback() {}
|
||||
void MatterWakeOnLanPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterChannelPluginClientInitCallback() {}
|
||||
void MatterChannelPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterTargetNavigatorPluginClientInitCallback() {}
|
||||
void MatterTargetNavigatorPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterMediaPlaybackPluginClientInitCallback() {}
|
||||
void MatterMediaPlaybackPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterMediaInputPluginClientInitCallback() {}
|
||||
void MatterMediaInputPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterLowPowerPluginClientInitCallback() {}
|
||||
void MatterLowPowerPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterKeypadInputPluginClientInitCallback() {}
|
||||
void MatterKeypadInputPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterContentLauncherPluginClientInitCallback() {}
|
||||
void MatterContentLauncherPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterAudioOutputPluginClientInitCallback() {}
|
||||
void MatterAudioOutputPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterApplicationLauncherPluginClientInitCallback() {}
|
||||
void MatterApplicationLauncherPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterApplicationBasicPluginClientInitCallback() {}
|
||||
void MatterApplicationBasicPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterAccountLoginPluginClientInitCallback() {}
|
||||
void MatterAccountLoginPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterElectricalMeasurementPluginClientInitCallback() {}
|
||||
void MatterActionsPluginServerInitCallback();
|
||||
void MatterAdministratorCommissioningPluginServerInitCallback();
|
||||
void MatterApplicationBasicPluginServerInitCallback();
|
||||
void MatterApplicationLauncherPluginServerInitCallback();
|
||||
void MatterAudioOutputPluginServerInitCallback();
|
||||
void MatterBallastConfigurationPluginServerInitCallback();
|
||||
void MatterBarrierControlPluginServerInitCallback();
|
||||
void MatterBasicInformationPluginServerInitCallback();
|
||||
void MatterBinaryInputBasicPluginServerInitCallback();
|
||||
void MatterBindingPluginServerInitCallback();
|
||||
void MatterBooleanStatePluginServerInitCallback();
|
||||
void MatterChannelPluginServerInitCallback();
|
||||
void MatterClientMonitoringPluginServerInitCallback();
|
||||
void MatterColorControlPluginServerInitCallback();
|
||||
void MatterContentLauncherPluginServerInitCallback();
|
||||
void MatterDescriptorPluginServerInitCallback();
|
||||
void MatterDiagnosticLogsPluginServerInitCallback();
|
||||
void MatterDoorLockPluginServerInitCallback();
|
||||
void MatterElectricalMeasurementPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterTestClusterPluginClientInitCallback() {}
|
||||
void MatterTestClusterPluginServerInitCallback();
|
||||
void __attribute__((weak)) MatterFaultInjectionPluginClientInitCallback() {}
|
||||
void MatterEthernetNetworkDiagnosticsPluginServerInitCallback();
|
||||
void MatterFanControlPluginServerInitCallback();
|
||||
void MatterFaultInjectionPluginServerInitCallback();
|
||||
void MatterFixedLabelPluginServerInitCallback();
|
||||
void MatterFlowMeasurementPluginServerInitCallback();
|
||||
void MatterGeneralCommissioningPluginServerInitCallback();
|
||||
void MatterGeneralDiagnosticsPluginServerInitCallback();
|
||||
void MatterGroupKeyManagementPluginServerInitCallback();
|
||||
void MatterGroupsPluginServerInitCallback();
|
||||
void MatterIdentifyPluginServerInitCallback();
|
||||
void MatterIlluminanceMeasurementPluginServerInitCallback();
|
||||
void MatterKeypadInputPluginServerInitCallback();
|
||||
void MatterLevelControlPluginServerInitCallback();
|
||||
void MatterLocalizationConfigurationPluginServerInitCallback();
|
||||
void MatterLowPowerPluginServerInitCallback();
|
||||
void MatterMediaInputPluginServerInitCallback();
|
||||
void MatterMediaPlaybackPluginServerInitCallback();
|
||||
void MatterModeSelectPluginServerInitCallback();
|
||||
void MatterNetworkCommissioningPluginServerInitCallback();
|
||||
void MatterOccupancySensingPluginServerInitCallback();
|
||||
void MatterOnOffPluginServerInitCallback();
|
||||
void MatterOnOffSwitchConfigurationPluginServerInitCallback();
|
||||
void MatterOperationalCredentialsPluginServerInitCallback();
|
||||
void MatterOtaSoftwareUpdateProviderPluginServerInitCallback();
|
||||
void MatterOtaSoftwareUpdateRequestorPluginServerInitCallback();
|
||||
void MatterPowerSourcePluginServerInitCallback();
|
||||
void MatterPowerSourceConfigurationPluginServerInitCallback();
|
||||
void MatterPressureMeasurementPluginServerInitCallback();
|
||||
void MatterPumpConfigurationAndControlPluginServerInitCallback();
|
||||
void MatterRelativeHumidityMeasurementPluginServerInitCallback();
|
||||
void MatterScenesPluginServerInitCallback();
|
||||
void MatterSoftwareDiagnosticsPluginServerInitCallback();
|
||||
void MatterSwitchPluginServerInitCallback();
|
||||
void MatterTargetNavigatorPluginServerInitCallback();
|
||||
void MatterTemperatureMeasurementPluginServerInitCallback();
|
||||
void MatterThermostatPluginServerInitCallback();
|
||||
void MatterThermostatUserInterfaceConfigurationPluginServerInitCallback();
|
||||
void MatterThreadNetworkDiagnosticsPluginServerInitCallback();
|
||||
void MatterTimeFormatLocalizationPluginServerInitCallback();
|
||||
void MatterTimeSynchronizationPluginServerInitCallback();
|
||||
void MatterUnitLocalizationPluginServerInitCallback();
|
||||
void MatterUnitTestingPluginServerInitCallback();
|
||||
void MatterUserLabelPluginServerInitCallback();
|
||||
void MatterWakeOnLanPluginServerInitCallback();
|
||||
void MatterWiFiNetworkDiagnosticsPluginServerInitCallback();
|
||||
void MatterWindowCoveringPluginServerInitCallback();
|
||||
|
||||
#include <zap-generated/endpoint_config.h>
|
||||
#if FIXED_ENDPOINT_COUNT == 0 // Use esp-matter data model
|
||||
#include <esp_matter_cluster.h>
|
||||
|
||||
#define MATTER_PLUGINS_INIT esp_matter::cluster::plugin_init_callback_common();
|
||||
#else
|
||||
|
||||
#include <zap-generated/PluginApplicationCallbacks.h>
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,565 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <app-common/zap-generated/callback.h>
|
||||
#include <app-common/zap-generated/ids/Clusters.h>
|
||||
#include <lib/support/Span.h>
|
||||
#include <protocols/interaction_model/Constants.h>
|
||||
|
||||
using namespace chip;
|
||||
|
||||
// Cluster Init Functions
|
||||
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId)
|
||||
{
|
||||
switch (clusterId)
|
||||
{
|
||||
case app::Clusters::AccessControl::Id:
|
||||
emberAfAccessControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::AccountLogin::Id:
|
||||
emberAfAccountLoginClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Actions::Id:
|
||||
emberAfActionsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::AdministratorCommissioning::Id:
|
||||
emberAfAdministratorCommissioningClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ApplicationBasic::Id:
|
||||
emberAfApplicationBasicClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ApplicationLauncher::Id:
|
||||
emberAfApplicationLauncherClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::AudioOutput::Id:
|
||||
emberAfAudioOutputClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::BallastConfiguration::Id:
|
||||
emberAfBallastConfigurationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::BarrierControl::Id:
|
||||
emberAfBarrierControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::BasicInformation::Id:
|
||||
emberAfBasicInformationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::BinaryInputBasic::Id:
|
||||
emberAfBinaryInputBasicClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Binding::Id:
|
||||
emberAfBindingClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::BooleanState::Id:
|
||||
emberAfBooleanStateClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Channel::Id:
|
||||
emberAfChannelClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ClientMonitoring::Id:
|
||||
emberAfClientMonitoringClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ColorControl::Id:
|
||||
emberAfColorControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ContentLauncher::Id:
|
||||
emberAfContentLauncherClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Descriptor::Id:
|
||||
emberAfDescriptorClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::DiagnosticLogs::Id:
|
||||
emberAfDiagnosticLogsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::DoorLock::Id:
|
||||
emberAfDoorLockClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ElectricalMeasurement::Id:
|
||||
emberAfElectricalMeasurementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::EthernetNetworkDiagnostics::Id:
|
||||
emberAfEthernetNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::FanControl::Id:
|
||||
emberAfFanControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::FaultInjection::Id:
|
||||
emberAfFaultInjectionClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::FixedLabel::Id:
|
||||
emberAfFixedLabelClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::FlowMeasurement::Id:
|
||||
emberAfFlowMeasurementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::GeneralCommissioning::Id:
|
||||
emberAfGeneralCommissioningClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::GeneralDiagnostics::Id:
|
||||
emberAfGeneralDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::GroupKeyManagement::Id:
|
||||
emberAfGroupKeyManagementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Groups::Id:
|
||||
emberAfGroupsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Identify::Id:
|
||||
emberAfIdentifyClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::IlluminanceMeasurement::Id:
|
||||
emberAfIlluminanceMeasurementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::KeypadInput::Id:
|
||||
emberAfKeypadInputClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::LevelControl::Id:
|
||||
emberAfLevelControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::LocalizationConfiguration::Id:
|
||||
emberAfLocalizationConfigurationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::LowPower::Id:
|
||||
emberAfLowPowerClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::MediaInput::Id:
|
||||
emberAfMediaInputClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::MediaPlayback::Id:
|
||||
emberAfMediaPlaybackClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ModeSelect::Id:
|
||||
emberAfModeSelectClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::NetworkCommissioning::Id:
|
||||
emberAfNetworkCommissioningClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OccupancySensing::Id:
|
||||
emberAfOccupancySensingClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OnOff::Id:
|
||||
emberAfOnOffClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OnOffSwitchConfiguration::Id:
|
||||
emberAfOnOffSwitchConfigurationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OperationalCredentials::Id:
|
||||
emberAfOperationalCredentialsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OtaSoftwareUpdateProvider::Id:
|
||||
emberAfOtaSoftwareUpdateProviderClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OtaSoftwareUpdateRequestor::Id:
|
||||
emberAfOtaSoftwareUpdateRequestorClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::PowerSource::Id:
|
||||
emberAfPowerSourceClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::PowerSourceConfiguration::Id:
|
||||
emberAfPowerSourceConfigurationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::PressureMeasurement::Id:
|
||||
emberAfPressureMeasurementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::PumpConfigurationAndControl::Id:
|
||||
emberAfPumpConfigurationAndControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::RelativeHumidityMeasurement::Id:
|
||||
emberAfRelativeHumidityMeasurementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Scenes::Id:
|
||||
emberAfScenesClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::SoftwareDiagnostics::Id:
|
||||
emberAfSoftwareDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Switch::Id:
|
||||
emberAfSwitchClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::TargetNavigator::Id:
|
||||
emberAfTargetNavigatorClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::TemperatureMeasurement::Id:
|
||||
emberAfTemperatureMeasurementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Thermostat::Id:
|
||||
emberAfThermostatClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ThermostatUserInterfaceConfiguration::Id:
|
||||
emberAfThermostatUserInterfaceConfigurationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ThreadNetworkDiagnostics::Id:
|
||||
emberAfThreadNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::TimeFormatLocalization::Id:
|
||||
emberAfTimeFormatLocalizationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::UnitLocalization::Id:
|
||||
emberAfUnitLocalizationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::UnitTesting::Id:
|
||||
emberAfUnitTestingClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::UserLabel::Id:
|
||||
emberAfUserLabelClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::WakeOnLan::Id:
|
||||
emberAfWakeOnLanClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::WiFiNetworkDiagnostics::Id:
|
||||
emberAfWiFiNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::WindowCovering::Id:
|
||||
emberAfWindowCoveringClusterInitCallback(endpoint);
|
||||
break;
|
||||
default:
|
||||
// Unrecognized cluster ID
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void __attribute__((weak)) emberAfAccessControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfAccountLoginClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfActionsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfAdministratorCommissioningClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfApplicationBasicClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfApplicationLauncherClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfAudioOutputClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBallastConfigurationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBarrierControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBasicInformationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBinaryInputBasicClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBindingClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBooleanStateClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfChannelClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfClientMonitoringClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfColorControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfContentLauncherClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfDescriptorClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfDiagnosticLogsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfDoorLockClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfElectricalMeasurementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfEthernetNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfFanControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfFaultInjectionClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfFixedLabelClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfFlowMeasurementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGeneralCommissioningClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGeneralDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGroupKeyManagementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGroupsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfIdentifyClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfIlluminanceMeasurementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfKeypadInputClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfLevelControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfLocalizationConfigurationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfLowPowerClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfMediaInputClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfMediaPlaybackClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfModeSelectClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfNetworkCommissioningClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOccupancySensingClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOnOffClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOnOffSwitchConfigurationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOperationalCredentialsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOtaSoftwareUpdateProviderClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOtaSoftwareUpdateRequestorClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfPowerSourceClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfPowerSourceConfigurationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfPressureMeasurementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfPumpConfigurationAndControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfRelativeHumidityMeasurementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfScenesClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfSoftwareDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfSwitchClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfTargetNavigatorClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfTemperatureMeasurementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfThermostatClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfThermostatUserInterfaceConfigurationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfThreadNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfTimeFormatLocalizationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfUnitLocalizationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfUnitTestingClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfUserLabelClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfWakeOnLanClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfWiFiNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfWindowCoveringClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -29,26 +29,26 @@
|
||||
|
||||
// Parallel array data (*cluster*, attribute, privilege) for read attribute
|
||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__CLUSTER { \
|
||||
31, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
31, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: Access Control, Attribute: SubjectsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: TargetsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: AccessControlEntriesPerFabric, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: white point x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: white point y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: LabelList, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: view */ \
|
||||
@@ -62,56 +62,56 @@
|
||||
/* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: start up current level, Privilege: view */ \
|
||||
49, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
49, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
62, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min heat setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: max heat setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min cool setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: max cool setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min setpoint dead band, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: control sequence of operation, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: system mode, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: keypad lockout, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: schedule programming visibility, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: label list, Privilege: view */ \
|
||||
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinHeatSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MaxHeatSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinCoolSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MaxCoolSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: SystemMode, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: WhitePointX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: WhitePointY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *attribute*, privilege) for read attribute
|
||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__ATTRIBUTE { \
|
||||
0, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
1, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||
0x00000000, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: Access Control, Attribute: SubjectsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: TargetsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: AccessControlEntriesPerFabric, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: white point x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: white point y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
0x00000000, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
0x00000005, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
0x00000006, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
0x00000007, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: LabelList, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: view */ \
|
||||
@@ -125,226 +125,220 @@
|
||||
/* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: start up current level, Privilege: view */ \
|
||||
0, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
1, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
5, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
6, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
7, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
0, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min heat setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: max heat setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min cool setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: max cool setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min setpoint dead band, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: control sequence of operation, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: system mode, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: keypad lockout, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: schedule programming visibility, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: label list, Privilege: view */ \
|
||||
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinHeatSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MaxHeatSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinCoolSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MaxCoolSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: SystemMode, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: WhitePointX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: WhitePointY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, attribute, *privilege*) for read attribute
|
||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__PRIVILEGE { \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: Access Control, Attribute: SubjectsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: TargetsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: AccessControlEntriesPerFabric, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: white point x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: white point y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point r intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point g intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b x, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b y, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: color point b intensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: Language, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: AutoRelockTime, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: SoundVolume, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: OperatingMode, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: EnableOneTouchLocking, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: EnableInsideStatusLED, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: EnablePrivacyModeButton, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: start up current level, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: LabelList, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: Language, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: AutoRelockTime, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: SoundVolume, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: OperatingMode, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: EnableOneTouchLocking, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: EnableInsideStatusLED, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: EnablePrivacyModeButton, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: view */ \
|
||||
/* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: view */ \
|
||||
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: view */ \
|
||||
/* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min heat setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: max heat setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min cool setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: max cool setpoint limit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: min setpoint dead band, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: control sequence of operation, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: system mode, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: keypad lockout, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: schedule programming visibility, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: label list, Privilege: view */ \
|
||||
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinHeatSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MaxHeatSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinCoolSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MaxCoolSetpointLimit, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: view */ \
|
||||
/* Cluster: Thermostat, Attribute: SystemMode, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: view */ \
|
||||
/* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: WhitePointX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: WhitePointY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointRIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointGIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBX, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBY, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: ColorPointBIntensity, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, attribute, privilege) for write attribute
|
||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__CLUSTER { \
|
||||
31, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
31, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
40, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
||||
40, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
||||
40, /* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: white point x, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: white point y, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point r x, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point r y, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point r intensity, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point g x, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point g y, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point g intensity, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point b x, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point b y, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: color point b intensity, Privilege: manage */ \
|
||||
768, /* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: Language, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: AutoRelockTime, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: SoundVolume, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: OperatingMode, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: EnableOneTouchLocking, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: EnableInsideStatusLED, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: EnablePrivacyModeButton, Privilege: manage */ \
|
||||
257, /* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: administer */ \
|
||||
48, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
63, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
8, /* Cluster: Level Control, Attribute: start up current level, Privilege: manage */ \
|
||||
49, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
6, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
512, /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: manage */ \
|
||||
512, /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: manage */ \
|
||||
512, /* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: manage */ \
|
||||
512, /* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: min heat setpoint limit, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: max heat setpoint limit, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: min cool setpoint limit, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: max cool setpoint limit, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: min setpoint dead band, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: control sequence of operation, Privilege: manage */ \
|
||||
513, /* Cluster: Thermostat, Attribute: system mode, Privilege: manage */ \
|
||||
516, /* Cluster: Thermostat User Interface Configuration, Attribute: keypad lockout, Privilege: manage */ \
|
||||
516, /* Cluster: Thermostat User Interface Configuration, Attribute: schedule programming visibility, Privilege: manage */ \
|
||||
65, /* Cluster: User Label, Attribute: label list, Privilege: manage */ \
|
||||
258, /* Cluster: Window Covering, Attribute: Mode, Privilege: manage */ \
|
||||
0x00000006, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
0x00000008, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
0x00000028, /* Cluster: Basic Information, Attribute: NodeLabel, Privilege: manage */ \
|
||||
0x00000028, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \
|
||||
0x00000028, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
0x00000041, /* Cluster: User Label, Attribute: LabelList, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: Language, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: AutoRelockTime, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: SoundVolume, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: OperatingMode, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: EnableOneTouchLocking, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: EnableInsideStatusLED, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: EnablePrivacyModeButton, Privilege: manage */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: administer */ \
|
||||
0x00000102, /* Cluster: Window Covering, Attribute: Mode, Privilege: manage */ \
|
||||
0x00000200, /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: manage */ \
|
||||
0x00000200, /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: manage */ \
|
||||
0x00000200, /* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: manage */ \
|
||||
0x00000200, /* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: MinHeatSetpointLimit, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: MaxHeatSetpointLimit, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: MinCoolSetpointLimit, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: MaxCoolSetpointLimit, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: manage */ \
|
||||
0x00000201, /* Cluster: Thermostat, Attribute: SystemMode, Privilege: manage */ \
|
||||
0x00000204, /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: manage */ \
|
||||
0x00000204, /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: WhitePointX, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: WhitePointY, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointRX, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointRY, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointRIntensity, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointGX, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointGY, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointGIntensity, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointBX, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointBY, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: ColorPointBIntensity, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *attribute*, privilege) for write attribute
|
||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__ATTRIBUTE { \
|
||||
0, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
1, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
5, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
||||
6, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
||||
16, /* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
48, /* Cluster: Color Control, Attribute: white point x, Privilege: manage */ \
|
||||
49, /* Cluster: Color Control, Attribute: white point y, Privilege: manage */ \
|
||||
50, /* Cluster: Color Control, Attribute: color point r x, Privilege: manage */ \
|
||||
51, /* Cluster: Color Control, Attribute: color point r y, Privilege: manage */ \
|
||||
52, /* Cluster: Color Control, Attribute: color point r intensity, Privilege: manage */ \
|
||||
54, /* Cluster: Color Control, Attribute: color point g x, Privilege: manage */ \
|
||||
55, /* Cluster: Color Control, Attribute: color point g y, Privilege: manage */ \
|
||||
56, /* Cluster: Color Control, Attribute: color point g intensity, Privilege: manage */ \
|
||||
58, /* Cluster: Color Control, Attribute: color point b x, Privilege: manage */ \
|
||||
59, /* Cluster: Color Control, Attribute: color point b y, Privilege: manage */ \
|
||||
60, /* Cluster: Color Control, Attribute: color point b intensity, Privilege: manage */ \
|
||||
16400, /* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: manage */ \
|
||||
4, /* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: manage */ \
|
||||
5, /* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: manage */ \
|
||||
6, /* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: manage */ \
|
||||
33, /* Cluster: Door Lock, Attribute: Language, Privilege: manage */ \
|
||||
35, /* Cluster: Door Lock, Attribute: AutoRelockTime, Privilege: manage */ \
|
||||
36, /* Cluster: Door Lock, Attribute: SoundVolume, Privilege: manage */ \
|
||||
37, /* Cluster: Door Lock, Attribute: OperatingMode, Privilege: manage */ \
|
||||
41, /* Cluster: Door Lock, Attribute: EnableOneTouchLocking, Privilege: manage */ \
|
||||
42, /* Cluster: Door Lock, Attribute: EnableInsideStatusLED, Privilege: manage */ \
|
||||
43, /* Cluster: Door Lock, Attribute: EnablePrivacyModeButton, Privilege: manage */ \
|
||||
48, /* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: administer */ \
|
||||
49, /* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: administer */ \
|
||||
51, /* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: administer */ \
|
||||
0, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
0, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
16384, /* Cluster: Level Control, Attribute: start up current level, Privilege: manage */ \
|
||||
4, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
16387, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
21, /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: manage */ \
|
||||
23, /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: manage */ \
|
||||
32, /* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: manage */ \
|
||||
33, /* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: manage */ \
|
||||
21, /* Cluster: Thermostat, Attribute: min heat setpoint limit, Privilege: manage */ \
|
||||
22, /* Cluster: Thermostat, Attribute: max heat setpoint limit, Privilege: manage */ \
|
||||
23, /* Cluster: Thermostat, Attribute: min cool setpoint limit, Privilege: manage */ \
|
||||
24, /* Cluster: Thermostat, Attribute: max cool setpoint limit, Privilege: manage */ \
|
||||
25, /* Cluster: Thermostat, Attribute: min setpoint dead band, Privilege: manage */ \
|
||||
27, /* Cluster: Thermostat, Attribute: control sequence of operation, Privilege: manage */ \
|
||||
28, /* Cluster: Thermostat, Attribute: system mode, Privilege: manage */ \
|
||||
1, /* Cluster: Thermostat User Interface Configuration, Attribute: keypad lockout, Privilege: manage */ \
|
||||
2, /* Cluster: Thermostat User Interface Configuration, Attribute: schedule programming visibility, Privilege: manage */ \
|
||||
0, /* Cluster: User Label, Attribute: label list, Privilege: manage */ \
|
||||
23, /* Cluster: Window Covering, Attribute: Mode, Privilege: manage */ \
|
||||
0x00004003, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
0x00004000, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
0x00000005, /* Cluster: Basic Information, Attribute: NodeLabel, Privilege: manage */ \
|
||||
0x00000006, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \
|
||||
0x00000010, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: User Label, Attribute: LabelList, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: manage */ \
|
||||
0x00000006, /* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: manage */ \
|
||||
0x00000021, /* Cluster: Door Lock, Attribute: Language, Privilege: manage */ \
|
||||
0x00000023, /* Cluster: Door Lock, Attribute: AutoRelockTime, Privilege: manage */ \
|
||||
0x00000024, /* Cluster: Door Lock, Attribute: SoundVolume, Privilege: manage */ \
|
||||
0x00000025, /* Cluster: Door Lock, Attribute: OperatingMode, Privilege: manage */ \
|
||||
0x00000029, /* Cluster: Door Lock, Attribute: EnableOneTouchLocking, Privilege: manage */ \
|
||||
0x0000002A, /* Cluster: Door Lock, Attribute: EnableInsideStatusLED, Privilege: manage */ \
|
||||
0x0000002B, /* Cluster: Door Lock, Attribute: EnablePrivacyModeButton, Privilege: manage */ \
|
||||
0x00000030, /* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: administer */ \
|
||||
0x00000033, /* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: administer */ \
|
||||
0x00000017, /* Cluster: Window Covering, Attribute: Mode, Privilege: manage */ \
|
||||
0x00000015, /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: manage */ \
|
||||
0x00000017, /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: manage */ \
|
||||
0x00000020, /* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: manage */ \
|
||||
0x00000021, /* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: manage */ \
|
||||
0x00000015, /* Cluster: Thermostat, Attribute: MinHeatSetpointLimit, Privilege: manage */ \
|
||||
0x00000016, /* Cluster: Thermostat, Attribute: MaxHeatSetpointLimit, Privilege: manage */ \
|
||||
0x00000017, /* Cluster: Thermostat, Attribute: MinCoolSetpointLimit, Privilege: manage */ \
|
||||
0x00000018, /* Cluster: Thermostat, Attribute: MaxCoolSetpointLimit, Privilege: manage */ \
|
||||
0x00000019, /* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: manage */ \
|
||||
0x0000001B, /* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: manage */ \
|
||||
0x0000001C, /* Cluster: Thermostat, Attribute: SystemMode, Privilege: manage */ \
|
||||
0x00000001, /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: manage */ \
|
||||
0x00000002, /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: manage */ \
|
||||
0x00000030, /* Cluster: Color Control, Attribute: WhitePointX, Privilege: manage */ \
|
||||
0x00000031, /* Cluster: Color Control, Attribute: WhitePointY, Privilege: manage */ \
|
||||
0x00000032, /* Cluster: Color Control, Attribute: ColorPointRX, Privilege: manage */ \
|
||||
0x00000033, /* Cluster: Color Control, Attribute: ColorPointRY, Privilege: manage */ \
|
||||
0x00000034, /* Cluster: Color Control, Attribute: ColorPointRIntensity, Privilege: manage */ \
|
||||
0x00000036, /* Cluster: Color Control, Attribute: ColorPointGX, Privilege: manage */ \
|
||||
0x00000037, /* Cluster: Color Control, Attribute: ColorPointGY, Privilege: manage */ \
|
||||
0x00000038, /* Cluster: Color Control, Attribute: ColorPointGIntensity, Privilege: manage */ \
|
||||
0x0000003A, /* Cluster: Color Control, Attribute: ColorPointBX, Privilege: manage */ \
|
||||
0x0000003B, /* Cluster: Color Control, Attribute: ColorPointBY, Privilege: manage */ \
|
||||
0x0000003C, /* Cluster: Color Control, Attribute: ColorPointBIntensity, Privilege: manage */ \
|
||||
0x00004010, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, attribute, *privilege*) for write attribute
|
||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__PRIVILEGE { \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: white point x, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: white point y, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point r x, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point r y, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point r intensity, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point g x, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point g y, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point g intensity, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point b x, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point b y, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: color point b intensity, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Basic Information, Attribute: NodeLabel, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: User Label, Attribute: LabelList, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Door Lock, Attribute: DoorOpenEvents, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Door Lock, Attribute: DoorClosedEvents, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Door Lock, Attribute: OpenPeriod, Privilege: manage */ \
|
||||
@@ -358,161 +352,159 @@
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Attribute: WrongCodeEntryLimit, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Attribute: UserCodeTemporaryDisableTime, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Attribute: RequirePINforRemoteOperation, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Level Control, Attribute: start up current level, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Window Covering, Attribute: Mode, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Pump Configuration and Control, Attribute: OperationMode, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Pump Configuration and Control, Attribute: ControlMode, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: min heat setpoint limit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: max heat setpoint limit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: min cool setpoint limit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: max cool setpoint limit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: min setpoint dead band, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: control sequence of operation, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: system mode, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat User Interface Configuration, Attribute: keypad lockout, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat User Interface Configuration, Attribute: schedule programming visibility, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: User Label, Attribute: label list, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Window Covering, Attribute: Mode, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: MinHeatSetpointLimit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: MaxHeatSetpointLimit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: MinCoolSetpointLimit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: MaxCoolSetpointLimit, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat, Attribute: SystemMode, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: WhitePointX, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: WhitePointY, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointRX, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointRY, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointRIntensity, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointGX, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointGY, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointGIntensity, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointBX, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointBY, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: ColorPointBIntensity, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, command, privilege) for invoke command
|
||||
#define GENERATED_ACCESS_INVOKE_COMMAND__CLUSTER { \
|
||||
60, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
60, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
60, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: SetYearDaySchedule, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: GetYearDaySchedule, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: SetUser, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: GetUser, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: ClearUser, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: SetCredential, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: GetCredentialStatus, Privilege: administer */ \
|
||||
257, /* Cluster: Door Lock, Command: ClearCredential, Privilege: administer */ \
|
||||
48, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
48, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
48, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
63, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
63, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
63, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
63, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
4, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
4, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
4, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
4, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
3, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
3, /* Cluster: Identify, Command: IdentifyQuery, Privilege: manage */ \
|
||||
3, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
49, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
49, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
51, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
62, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
62, /* Cluster: Operational Credentials, Command: RemoveTrustedRootCertificate, Privilege: administer */ \
|
||||
5, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
||||
5, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
||||
5, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
||||
5, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
||||
0x00000003, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
0x00000003, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
0x00000033, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
0x0000003C, /* Cluster: Administrator Commissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
0x0000003C, /* Cluster: Administrator Commissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
0x0000003C, /* Cluster: Administrator Commissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: ClearWeekDaySchedule, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: SetYearDaySchedule, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: GetYearDaySchedule, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: SetUser, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: GetUser, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: ClearUser, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: SetCredential, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: GetCredentialStatus, Privilege: administer */ \
|
||||
0x00000101, /* Cluster: Door Lock, Command: ClearCredential, Privilege: administer */ \
|
||||
0x00001046, /* Cluster: Client Monitoring, Command: RegisterClientMonitoring, Privilege: manage */ \
|
||||
0x00001046, /* Cluster: Client Monitoring, Command: UnregisterClientMonitoring, Privilege: manage */ \
|
||||
0xFFF1FC06, /* Cluster: Fault Injection, Command: FailAtFault, Privilege: manage */ \
|
||||
0xFFF1FC06, /* Cluster: Fault Injection, Command: FailRandomlyAtFault, Privilege: manage */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *command*, privilege) for invoke command
|
||||
#define GENERATED_ACCESS_INVOKE_COMMAND__COMMAND { \
|
||||
0, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
1, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
2, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
11, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \
|
||||
12, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \
|
||||
14, /* Cluster: Door Lock, Command: SetYearDaySchedule, Privilege: administer */ \
|
||||
15, /* Cluster: Door Lock, Command: GetYearDaySchedule, Privilege: administer */ \
|
||||
26, /* Cluster: Door Lock, Command: SetUser, Privilege: administer */ \
|
||||
27, /* Cluster: Door Lock, Command: GetUser, Privilege: administer */ \
|
||||
29, /* Cluster: Door Lock, Command: ClearUser, Privilege: administer */ \
|
||||
34, /* Cluster: Door Lock, Command: SetCredential, Privilege: administer */ \
|
||||
36, /* Cluster: Door Lock, Command: GetCredentialStatus, Privilege: administer */ \
|
||||
38, /* Cluster: Door Lock, Command: ClearCredential, Privilege: administer */ \
|
||||
0, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
2, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
4, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
0, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
1, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
3, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
4, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
0, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
3, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
4, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
5, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
0, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
1, /* Cluster: Identify, Command: IdentifyQuery, Privilege: manage */ \
|
||||
64, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
0, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
2, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
3, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
4, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
6, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
8, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
0, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
0, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
2, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
4, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
6, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
7, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
9, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
10, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
11, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
12, /* Cluster: Operational Credentials, Command: RemoveTrustedRootCertificate, Privilege: administer */ \
|
||||
0, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
||||
2, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
||||
3, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
||||
4, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
0x00000040, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
0x00000003, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
||||
0x00000002, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
||||
0x00000003, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
0x00000003, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
0x00000006, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
0x00000008, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Administrator Commissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Administrator Commissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: Administrator Commissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
0x00000006, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
0x00000007, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
0x00000009, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
0x0000000A, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
0x0000000B, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
0x00000003, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
0x0000000B, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \
|
||||
0x0000000C, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \
|
||||
0x0000000D, /* Cluster: Door Lock, Command: ClearWeekDaySchedule, Privilege: administer */ \
|
||||
0x0000000E, /* Cluster: Door Lock, Command: SetYearDaySchedule, Privilege: administer */ \
|
||||
0x0000000F, /* Cluster: Door Lock, Command: GetYearDaySchedule, Privilege: administer */ \
|
||||
0x0000001A, /* Cluster: Door Lock, Command: SetUser, Privilege: administer */ \
|
||||
0x0000001B, /* Cluster: Door Lock, Command: GetUser, Privilege: administer */ \
|
||||
0x0000001D, /* Cluster: Door Lock, Command: ClearUser, Privilege: administer */ \
|
||||
0x00000022, /* Cluster: Door Lock, Command: SetCredential, Privilege: administer */ \
|
||||
0x00000024, /* Cluster: Door Lock, Command: GetCredentialStatus, Privilege: administer */ \
|
||||
0x00000026, /* Cluster: Door Lock, Command: ClearCredential, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Client Monitoring, Command: RegisterClientMonitoring, Privilege: manage */ \
|
||||
0x00000001, /* Cluster: Client Monitoring, Command: UnregisterClientMonitoring, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Fault Injection, Command: FailAtFault, Privilege: manage */ \
|
||||
0x00000001, /* Cluster: Fault Injection, Command: FailRandomlyAtFault, Privilege: manage */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, command, *privilege*) for invoke command
|
||||
#define GENERATED_ACCESS_INVOKE_COMMAND__PRIVILEGE { \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetYearDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetYearDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetUser, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetUser, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: ClearUser, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetCredential, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetCredentialStatus, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: ClearCredential, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: IdentifyQuery, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
@@ -520,6 +512,9 @@
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Administrator Commissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Administrator Commissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Administrator Commissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
@@ -528,25 +523,39 @@
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: RemoveTrustedRootCertificate, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: ClearWeekDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetYearDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetYearDaySchedule, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetUser, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetUser, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: ClearUser, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: SetCredential, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: GetCredentialStatus, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Door Lock, Command: ClearCredential, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Client Monitoring, Command: RegisterClientMonitoring, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Client Monitoring, Command: UnregisterClientMonitoring, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Fault Injection, Command: FailAtFault, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Fault Injection, Command: FailRandomlyAtFault, Privilege: manage */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, event, privilege) for read event
|
||||
#define GENERATED_ACCESS_READ_EVENT__CLUSTER { \
|
||||
31, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
31, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *event*, privilege) for read event
|
||||
#define GENERATED_ACCESS_READ_EVENT__EVENT { \
|
||||
0, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
1, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, event, *privilege*) for read event
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <app-common/zap-generated/callback.h>
|
||||
#include <app-common/zap-generated/ids/Clusters.h>
|
||||
#include <lib/support/Span.h>
|
||||
#include <protocols/interaction_model/Constants.h>
|
||||
|
||||
using namespace chip;
|
||||
|
||||
// Cluster Init Functions
|
||||
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId)
|
||||
{
|
||||
// To prevent warning
|
||||
(void)endpoint;
|
||||
(void)clusterId;
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
// This file contains the tokens for attributes stored in flash
|
||||
|
||||
// Identifier tags for tokens
|
||||
|
||||
// Types for the tokens
|
||||
#ifdef DEFINETYPES
|
||||
#endif // DEFINETYPES
|
||||
|
||||
// Actual token definitions
|
||||
#ifdef DEFINETOKENS
|
||||
#endif // DEFINETOKENS
|
||||
|
||||
// Macro snippet that loads all the attributes from tokens
|
||||
#define GENERATED_TOKEN_LOADER(endpoint) \
|
||||
do \
|
||||
{ \
|
||||
} while (false)
|
||||
|
||||
// Macro snippet that saves the attribute to token
|
||||
#define GENERATED_TOKEN_SAVER \
|
||||
do \
|
||||
{ \
|
||||
} while (false)
|
||||
@@ -171,11 +171,6 @@ static esp_err_t plugin_init_callback_endpoint(endpoint_t *endpoint)
|
||||
if (plugin_server_init_callback) {
|
||||
plugin_server_init_callback();
|
||||
}
|
||||
cluster::plugin_client_init_callback_t plugin_client_init_callback =
|
||||
cluster::get_plugin_client_init_callback(cluster);
|
||||
if (plugin_client_init_callback) {
|
||||
plugin_client_init_callback();
|
||||
}
|
||||
cluster = cluster::get_next(cluster);
|
||||
}
|
||||
return ESP_OK;
|
||||
|
||||
@@ -23,7 +23,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
|
||||
@@ -20,7 +20,6 @@ endif(NOT DEFINED ENV{ESP_MATTER_DEVICE_PATH})
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <lib/core/CHIPConfig.h>
|
||||
#include <sdkconfig.h>
|
||||
|
||||
#define GENERATED_ATTRIBUTES \
|
||||
{}
|
||||
|
||||
#define GENERATED_CLUSTERS \
|
||||
{}
|
||||
|
||||
#define GENERATED_ENDPOINT_TYPES \
|
||||
{}
|
||||
|
||||
#define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 0
|
||||
|
||||
// Largest attribute size is needed for various buffers
|
||||
#define ATTRIBUTE_LARGEST (259)
|
||||
|
||||
static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected");
|
||||
|
||||
// Total size of attribute storage
|
||||
#define ATTRIBUTE_MAX_SIZE (0)
|
||||
|
||||
// Number of fixed endpoints
|
||||
#define FIXED_ENDPOINT_COUNT (0)
|
||||
#ifdef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#undef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#endif
|
||||
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT
|
||||
|
||||
// Array of endpoints that are supported, the data inside
|
||||
// the array is the endpoint number.
|
||||
#define FIXED_ENDPOINT_ARRAY \
|
||||
{0}
|
||||
|
||||
// Array of profile ids
|
||||
#define FIXED_PROFILE_IDS \
|
||||
{0}
|
||||
|
||||
// Array of device types
|
||||
#define FIXED_DEVICE_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of device type offsets
|
||||
#define FIXED_DEVICE_TYPE_OFFSETS \
|
||||
{0}
|
||||
|
||||
// Array of device type lengths
|
||||
#define FIXED_DEVICE_TYPE_LENGTHS \
|
||||
{0}
|
||||
|
||||
// Array of endpoint types supported on each endpoint
|
||||
#define FIXED_ENDPOINT_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of networks supported on each endpoint
|
||||
#define FIXED_NETWORKS \
|
||||
{0}
|
||||
@@ -23,7 +23,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <lib/core/CHIPConfig.h>
|
||||
|
||||
#define GENERATED_ATTRIBUTES \
|
||||
{}
|
||||
|
||||
#define GENERATED_CLUSTERS \
|
||||
{}
|
||||
|
||||
#define GENERATED_ENDPOINT_TYPES \
|
||||
{}
|
||||
|
||||
#define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 0
|
||||
|
||||
// Largest attribute size is needed for various buffers
|
||||
#define ATTRIBUTE_LARGEST (259)
|
||||
|
||||
static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected");
|
||||
|
||||
// Total size of attribute storage
|
||||
#define ATTRIBUTE_MAX_SIZE (0)
|
||||
|
||||
// Number of fixed endpoints
|
||||
#define FIXED_ENDPOINT_COUNT (0)
|
||||
#ifdef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#undef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#endif
|
||||
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT (16)
|
||||
|
||||
// Array of endpoints that are supported, the data inside
|
||||
// the array is the endpoint number.
|
||||
#define FIXED_ENDPOINT_ARRAY \
|
||||
{0}
|
||||
|
||||
// Array of profile ids
|
||||
#define FIXED_PROFILE_IDS \
|
||||
{0}
|
||||
|
||||
// Array of device types
|
||||
#define FIXED_DEVICE_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of device type offsets
|
||||
#define FIXED_DEVICE_TYPE_OFFSETS \
|
||||
{0}
|
||||
|
||||
// Array of device type lengths
|
||||
#define FIXED_DEVICE_TYPE_LENGTHS \
|
||||
{0}
|
||||
|
||||
// Array of endpoint types supported on each endpoint
|
||||
#define FIXED_ENDPOINT_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of networks supported on each endpoint
|
||||
#define FIXED_NETWORKS \
|
||||
{0}
|
||||
@@ -29,7 +29,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <lib/core/CHIPConfig.h>
|
||||
#include <sdkconfig.h>
|
||||
|
||||
#define GENERATED_ATTRIBUTES \
|
||||
{}
|
||||
|
||||
#define GENERATED_CLUSTERS \
|
||||
{}
|
||||
|
||||
#define GENERATED_ENDPOINT_TYPES \
|
||||
{}
|
||||
|
||||
#define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 0
|
||||
|
||||
// Largest attribute size is needed for various buffers
|
||||
#define ATTRIBUTE_LARGEST (259)
|
||||
|
||||
static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected");
|
||||
|
||||
// Total size of attribute storage
|
||||
#define ATTRIBUTE_MAX_SIZE (0)
|
||||
|
||||
// Number of fixed endpoints
|
||||
#define FIXED_ENDPOINT_COUNT (0)
|
||||
#ifdef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#undef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#endif
|
||||
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT
|
||||
|
||||
// Array of endpoints that are supported, the data inside
|
||||
// the array is the endpoint number.
|
||||
#define FIXED_ENDPOINT_ARRAY \
|
||||
{0}
|
||||
|
||||
// Array of profile ids
|
||||
#define FIXED_PROFILE_IDS \
|
||||
{0}
|
||||
|
||||
// Array of device types
|
||||
#define FIXED_DEVICE_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of device type offsets
|
||||
#define FIXED_DEVICE_TYPE_OFFSETS \
|
||||
{0}
|
||||
|
||||
// Array of device type lengths
|
||||
#define FIXED_DEVICE_TYPE_LENGTHS \
|
||||
{0}
|
||||
|
||||
// Array of endpoint types supported on each endpoint
|
||||
#define FIXED_ENDPOINT_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of networks supported on each endpoint
|
||||
#define FIXED_NETWORKS \
|
||||
{0}
|
||||
@@ -29,7 +29,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <lib/core/CHIPConfig.h>
|
||||
#include <sdkconfig.h>
|
||||
|
||||
#define GENERATED_ATTRIBUTES \
|
||||
{}
|
||||
|
||||
#define GENERATED_CLUSTERS \
|
||||
{}
|
||||
|
||||
#define GENERATED_ENDPOINT_TYPES \
|
||||
{}
|
||||
|
||||
#define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 0
|
||||
|
||||
// Largest attribute size is needed for various buffers
|
||||
#define ATTRIBUTE_LARGEST (259)
|
||||
|
||||
static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected");
|
||||
|
||||
// Total size of attribute storage
|
||||
#define ATTRIBUTE_MAX_SIZE (0)
|
||||
|
||||
// Number of fixed endpoints
|
||||
#define FIXED_ENDPOINT_COUNT (0)
|
||||
#ifdef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#undef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#endif
|
||||
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT
|
||||
|
||||
// Array of endpoints that are supported, the data inside
|
||||
// the array is the endpoint number.
|
||||
#define FIXED_ENDPOINT_ARRAY \
|
||||
{0}
|
||||
|
||||
// Array of profile ids
|
||||
#define FIXED_PROFILE_IDS \
|
||||
{0}
|
||||
|
||||
// Array of device types
|
||||
#define FIXED_DEVICE_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of device type offsets
|
||||
#define FIXED_DEVICE_TYPE_OFFSETS \
|
||||
{0}
|
||||
|
||||
// Array of device type lengths
|
||||
#define FIXED_DEVICE_TYPE_LENGTHS \
|
||||
{0}
|
||||
|
||||
// Array of endpoint types supported on each endpoint
|
||||
#define FIXED_ENDPOINT_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of networks supported on each endpoint
|
||||
#define FIXED_NETWORKS \
|
||||
{0}
|
||||
@@ -29,7 +29,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <lib/core/CHIPConfig.h>
|
||||
#include <sdkconfig.h>
|
||||
|
||||
#define GENERATED_ATTRIBUTES \
|
||||
{}
|
||||
|
||||
#define GENERATED_CLUSTERS \
|
||||
{}
|
||||
|
||||
#define GENERATED_ENDPOINT_TYPES \
|
||||
{}
|
||||
|
||||
#define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 0
|
||||
|
||||
// Largest attribute size is needed for various buffers
|
||||
#define ATTRIBUTE_LARGEST (259)
|
||||
|
||||
static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected");
|
||||
|
||||
// Total size of attribute storage
|
||||
#define ATTRIBUTE_MAX_SIZE (0)
|
||||
|
||||
// Number of fixed endpoints
|
||||
#define FIXED_ENDPOINT_COUNT (0)
|
||||
#ifdef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#undef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#endif
|
||||
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT
|
||||
|
||||
// Array of endpoints that are supported, the data inside
|
||||
// the array is the endpoint number.
|
||||
#define FIXED_ENDPOINT_ARRAY \
|
||||
{0}
|
||||
|
||||
// Array of profile ids
|
||||
#define FIXED_PROFILE_IDS \
|
||||
{0}
|
||||
|
||||
// Array of device types
|
||||
#define FIXED_DEVICE_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of device type offsets
|
||||
#define FIXED_DEVICE_TYPE_OFFSETS \
|
||||
{0}
|
||||
|
||||
// Array of device type lengths
|
||||
#define FIXED_DEVICE_TYPE_LENGTHS \
|
||||
{0}
|
||||
|
||||
// Array of endpoint types supported on each endpoint
|
||||
#define FIXED_ENDPOINT_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of networks supported on each endpoint
|
||||
#define FIXED_NETWORKS \
|
||||
{0}
|
||||
@@ -29,7 +29,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
@@ -52,3 +51,22 @@ idf_build_set_property(C_COMPILE_OPTIONS "-Os" APPEND)
|
||||
# For RISCV chips, project_include.cmake sets -Wno-format, but does not clear various
|
||||
# flags that depend on -Wformat
|
||||
idf_build_set_property(COMPILE_OPTIONS "-Wno-format-nonliteral;-Wno-format-security" APPEND)
|
||||
|
||||
# The zap generated files don't define these ENDPOINT_COUNTs
|
||||
# Set these COUNTs 1 to avoid compilation errors
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_ACCOUNT_LOGIN_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_APPLICATION_BASIC_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_APPLICATION_LAUNCHER_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_AUDIO_OUTPUT_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_CONTENT_LAUNCHER_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_CHANNEL_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_DOOR_LOCK_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_LOW_POWER_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_MEDIA_INPUT_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_KEYPAD_INPUT_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_MEDIA_PLAYBACK_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_TARGET_NAVIGATOR_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_WAKE_ON_LAN_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DEMBER_AF_WINDOW_COVERING_CLUSTER_SERVER_ENDPOINT_COUNT=1" APPEND)
|
||||
idf_build_set_property(CXX_COMPILE_OPTIONS "-DMATTER_SCENES_TABLE_SIZE=CONFIG_ESP_MATTER_SCENES_TABLE_SIZE" APPEND)
|
||||
|
||||
@@ -4,5 +4,11 @@ idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES ${PRIV_REQUIRES_LIST})
|
||||
|
||||
# We must set CHIP_ROOT to include esp32_codegen.cmake
|
||||
get_filename_component(CHIP_ROOT "${MATTER_SDK_PATH}" REALPATH)
|
||||
include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake")
|
||||
chip_app_component_codegen("${CHIP_ROOT}/examples/lighting-app/lighting-common/lighting-app.matter")
|
||||
chip_app_component_zapgen("${CHIP_ROOT}/examples/lighting-app/lighting-common/lighting-app.zap")
|
||||
|
||||
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 14)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H")
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <app/InteractionModelEngine.h>
|
||||
#include <app-common/zap-generated/cluster-objects.h>
|
||||
#include <app/data-model/DecodableList.h>
|
||||
#include <app/util/af-enums.h>
|
||||
#include <app/util/im-client-callbacks.h>
|
||||
#include <inttypes.h>
|
||||
#include <lib/support/FunctionTraits.h>
|
||||
#include <lib/support/Span.h>
|
||||
|
||||
// List specific responses
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <app-common/zap-generated/ids/Clusters.h>
|
||||
#include <app-common/zap-generated/ids/Commands.h>
|
||||
|
||||
#include <controller/CHIPCluster.h>
|
||||
#include <lib/core/CHIPCallback.h>
|
||||
#include <lib/support/Span.h>
|
||||
|
||||
namespace chip {
|
||||
namespace Controller {
|
||||
|
||||
class DLL_EXPORT OtaSoftwareUpdateProviderCluster : public ClusterBase
|
||||
{
|
||||
public:
|
||||
OtaSoftwareUpdateProviderCluster(Messaging::ExchangeManager & exchangeManager, const SessionHandle & session, EndpointId endpoint) : ClusterBase(exchangeManager, session, endpoint) {}
|
||||
~OtaSoftwareUpdateProviderCluster() {}
|
||||
};
|
||||
|
||||
} // namespace Controller
|
||||
} // namespace chip
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,56 +0,0 @@
|
||||
#pragma once
|
||||
void MatterAccessControlPluginServerInitCallback();
|
||||
void MatterAdministratorCommissioningPluginServerInitCallback();
|
||||
void MatterBasicInformationPluginServerInitCallback();
|
||||
void MatterColorControlPluginServerInitCallback();
|
||||
void MatterDescriptorPluginServerInitCallback();
|
||||
void MatterDiagnosticLogsPluginServerInitCallback();
|
||||
void MatterEthernetNetworkDiagnosticsPluginServerInitCallback();
|
||||
void MatterFixedLabelPluginServerInitCallback();
|
||||
void MatterGeneralCommissioningPluginServerInitCallback();
|
||||
void MatterGeneralDiagnosticsPluginServerInitCallback();
|
||||
void MatterGroupKeyManagementPluginServerInitCallback();
|
||||
void MatterGroupsPluginServerInitCallback();
|
||||
void MatterIdentifyPluginServerInitCallback();
|
||||
void MatterLevelControlPluginServerInitCallback();
|
||||
void MatterLocalizationConfigurationPluginServerInitCallback();
|
||||
void MatterNetworkCommissioningPluginServerInitCallback();
|
||||
void MatterOccupancySensingPluginServerInitCallback();
|
||||
void MatterOnOffPluginServerInitCallback();
|
||||
void MatterOperationalCredentialsPluginServerInitCallback();
|
||||
void MatterOtaSoftwareUpdateRequestorPluginServerInitCallback();
|
||||
void MatterSoftwareDiagnosticsPluginServerInitCallback();
|
||||
void MatterSwitchPluginServerInitCallback();
|
||||
void MatterThreadNetworkDiagnosticsPluginServerInitCallback();
|
||||
void MatterTimeFormatLocalizationPluginServerInitCallback();
|
||||
void MatterUserLabelPluginServerInitCallback();
|
||||
void MatterWiFiNetworkDiagnosticsPluginServerInitCallback();
|
||||
|
||||
#define MATTER_PLUGINS_INIT \
|
||||
MatterAccessControlPluginServerInitCallback(); \
|
||||
MatterAdministratorCommissioningPluginServerInitCallback(); \
|
||||
MatterBasicInformationPluginServerInitCallback(); \
|
||||
MatterColorControlPluginServerInitCallback(); \
|
||||
MatterDescriptorPluginServerInitCallback(); \
|
||||
MatterDiagnosticLogsPluginServerInitCallback(); \
|
||||
MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \
|
||||
MatterFixedLabelPluginServerInitCallback(); \
|
||||
MatterGeneralCommissioningPluginServerInitCallback(); \
|
||||
MatterGeneralDiagnosticsPluginServerInitCallback(); \
|
||||
MatterGroupKeyManagementPluginServerInitCallback(); \
|
||||
MatterGroupsPluginServerInitCallback(); \
|
||||
MatterIdentifyPluginServerInitCallback(); \
|
||||
MatterLevelControlPluginServerInitCallback(); \
|
||||
MatterLocalizationConfigurationPluginServerInitCallback(); \
|
||||
MatterNetworkCommissioningPluginServerInitCallback(); \
|
||||
MatterOccupancySensingPluginServerInitCallback(); \
|
||||
MatterOnOffPluginServerInitCallback(); \
|
||||
MatterOperationalCredentialsPluginServerInitCallback(); \
|
||||
MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \
|
||||
MatterSoftwareDiagnosticsPluginServerInitCallback(); \
|
||||
MatterSwitchPluginServerInitCallback(); \
|
||||
MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \
|
||||
MatterTimeFormatLocalizationPluginServerInitCallback(); \
|
||||
MatterUserLabelPluginServerInitCallback(); \
|
||||
MatterWiFiNetworkDiagnosticsPluginServerInitCallback();
|
||||
|
||||
@@ -1,284 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <app/util/privilege-storage.h>
|
||||
|
||||
// Prevent changing generated format
|
||||
// clang-format off
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, attribute, privilege) for read attribute
|
||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__CLUSTER { \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: Access Control, Attribute: SubjectsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: TargetsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: AccessControlEntriesPerFabric, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: LabelList, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *attribute*, privilege) for read attribute
|
||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__ATTRIBUTE { \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||
0x00000000, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: Access Control, Attribute: SubjectsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: TargetsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: AccessControlEntriesPerFabric, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
0x00000000, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
0x00000005, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
0x00000006, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
0x00000007, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: LabelList, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, attribute, *privilege*) for read attribute
|
||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__PRIVILEGE { \
|
||||
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
/* Cluster: Access Control, Attribute: SubjectsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: TargetsPerAccessControlEntry, Privilege: view */ \
|
||||
/* Cluster: Access Control, Attribute: AccessControlEntriesPerFabric, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: NodeLabel, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: Location, Privilege: view */ \
|
||||
/* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastNetworkingStatus, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||
/* Cluster: User Label, Attribute: LabelList, Privilege: view */ \
|
||||
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, attribute, privilege) for write attribute
|
||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__CLUSTER { \
|
||||
0x00000006, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
0x00000008, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
0x00000028, /* Cluster: Basic Information, Attribute: NodeLabel, Privilege: manage */ \
|
||||
0x00000028, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \
|
||||
0x00000028, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
0x00000041, /* Cluster: User Label, Attribute: LabelList, Privilege: manage */ \
|
||||
0x00000300, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *attribute*, privilege) for write attribute
|
||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__ATTRIBUTE { \
|
||||
0x00004003, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
0x00004000, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
0x00000005, /* Cluster: Basic Information, Attribute: NodeLabel, Privilege: manage */ \
|
||||
0x00000006, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \
|
||||
0x00000010, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: User Label, Attribute: LabelList, Privilege: manage */ \
|
||||
0x00004010, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, attribute, *privilege*) for write attribute
|
||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__PRIVILEGE { \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Basic Information, Attribute: NodeLabel, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: User Label, Attribute: LabelList, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, command, privilege) for invoke command
|
||||
#define GENERATED_ACCESS_INVOKE_COMMAND__CLUSTER { \
|
||||
0x00000003, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
0x00000003, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
0x00000030, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
0x00000031, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
0x00000033, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
0x0000003C, /* Cluster: Administrator Commissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
0x0000003C, /* Cluster: Administrator Commissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
0x0000003C, /* Cluster: Administrator Commissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
0x0000003E, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
0x0000003F, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *command*, privilege) for invoke command
|
||||
#define GENERATED_ACCESS_INVOKE_COMMAND__COMMAND { \
|
||||
0x00000000, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
0x00000040, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
0x00000003, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
0x00000004, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
0x00000005, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
0x00000003, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
0x00000006, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
0x00000008, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
0x00000000, /* Cluster: Administrator Commissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Administrator Commissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: Administrator Commissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
0x00000002, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
0x00000006, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
0x00000007, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
0x00000009, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
0x0000000A, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
0x0000000B, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
0x00000000, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
0x00000003, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
0x00000004, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, command, *privilege*) for invoke command
|
||||
#define GENERATED_ACCESS_INVOKE_COMMAND__PRIVILEGE { \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: AddOrUpdateThreadNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeManage, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Administrator Commissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Administrator Commissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Administrator Commissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AddNOC, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: UpdateNOC, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parallel array data (*cluster*, event, privilege) for read event
|
||||
#define GENERATED_ACCESS_READ_EVENT__CLUSTER { \
|
||||
0x0000001F, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
0x0000001F, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, *event*, privilege) for read event
|
||||
#define GENERATED_ACCESS_READ_EVENT__EVENT { \
|
||||
0x00000000, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
0x00000001, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
}
|
||||
|
||||
// Parallel array data (cluster, event, *privilege*) for read event
|
||||
#define GENERATED_ACCESS_READ_EVENT__PRIVILEGE { \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Event: AccessControlEntryChanged, Privilege: administer */ \
|
||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Event: AccessControlExtensionChanged, Privilege: administer */ \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// clang-format on
|
||||
@@ -1,39 +0,0 @@
|
||||
/**
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* Copyright (c) 2020 Silicon Labs
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
// Enclosing macro to prevent multiple inclusion
|
||||
#ifndef __AF_GEN_EVENT__
|
||||
#define __AF_GEN_EVENT__
|
||||
|
||||
#endif // __AF_GEN_EVENT__
|
||||
@@ -1,233 +0,0 @@
|
||||
#include <app-common/zap-generated/callback.h>
|
||||
#include <app-common/zap-generated/ids/Clusters.h>
|
||||
#include <lib/support/Span.h>
|
||||
#include <protocols/interaction_model/Constants.h>
|
||||
|
||||
using namespace chip;
|
||||
|
||||
// Cluster Init Functions
|
||||
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId)
|
||||
{
|
||||
switch (clusterId)
|
||||
{
|
||||
case app::Clusters::AccessControl::Id:
|
||||
emberAfAccessControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::AdministratorCommissioning::Id:
|
||||
emberAfAdministratorCommissioningClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::BasicInformation::Id:
|
||||
emberAfBasicInformationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ColorControl::Id:
|
||||
emberAfColorControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Descriptor::Id:
|
||||
emberAfDescriptorClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::DiagnosticLogs::Id:
|
||||
emberAfDiagnosticLogsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::EthernetNetworkDiagnostics::Id:
|
||||
emberAfEthernetNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::FixedLabel::Id:
|
||||
emberAfFixedLabelClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::GeneralCommissioning::Id:
|
||||
emberAfGeneralCommissioningClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::GeneralDiagnostics::Id:
|
||||
emberAfGeneralDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::GroupKeyManagement::Id:
|
||||
emberAfGroupKeyManagementClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Groups::Id:
|
||||
emberAfGroupsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Identify::Id:
|
||||
emberAfIdentifyClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::LevelControl::Id:
|
||||
emberAfLevelControlClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::LocalizationConfiguration::Id:
|
||||
emberAfLocalizationConfigurationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::NetworkCommissioning::Id:
|
||||
emberAfNetworkCommissioningClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OccupancySensing::Id:
|
||||
emberAfOccupancySensingClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OnOff::Id:
|
||||
emberAfOnOffClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OperationalCredentials::Id:
|
||||
emberAfOperationalCredentialsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OtaSoftwareUpdateProvider::Id:
|
||||
emberAfOtaSoftwareUpdateProviderClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::OtaSoftwareUpdateRequestor::Id:
|
||||
emberAfOtaSoftwareUpdateRequestorClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::SoftwareDiagnostics::Id:
|
||||
emberAfSoftwareDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::Switch::Id:
|
||||
emberAfSwitchClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::ThreadNetworkDiagnostics::Id:
|
||||
emberAfThreadNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::TimeFormatLocalization::Id:
|
||||
emberAfTimeFormatLocalizationClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::UserLabel::Id:
|
||||
emberAfUserLabelClusterInitCallback(endpoint);
|
||||
break;
|
||||
case app::Clusters::WiFiNetworkDiagnostics::Id:
|
||||
emberAfWiFiNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||
break;
|
||||
default:
|
||||
// Unrecognized cluster ID
|
||||
break;
|
||||
}
|
||||
}
|
||||
void __attribute__((weak)) emberAfAccessControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfAdministratorCommissioningClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfBasicInformationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfColorControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfDescriptorClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfDiagnosticLogsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfEthernetNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfFixedLabelClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGeneralCommissioningClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGeneralDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGroupKeyManagementClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfGroupsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfIdentifyClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfLevelControlClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfLocalizationConfigurationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfNetworkCommissioningClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOccupancySensingClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOnOffClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOperationalCredentialsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOtaSoftwareUpdateProviderClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfOtaSoftwareUpdateRequestorClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfSoftwareDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfSwitchClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfThreadNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfTimeFormatLocalizationClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfUserLabelClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
void __attribute__((weak)) emberAfWiFiNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||
{
|
||||
// To prevent warning
|
||||
(void) endpoint;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,221 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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 EMBER_AF_IDENTIFY_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_GROUPS_CLUSTER_SERVER_ENDPOINT_COUNT (2)
|
||||
#define EMBER_AF_ON_OFF_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_LEVEL_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_DESCRIPTOR_CLUSTER_SERVER_ENDPOINT_COUNT (2)
|
||||
#define EMBER_AF_ACCESS_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_BASIC_INFORMATION_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_LOCALIZATION_CONFIGURATION_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_TIME_FORMAT_LOCALIZATION_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_GENERAL_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_NETWORK_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_DIAGNOSTIC_LOGS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_GENERAL_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_SOFTWARE_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_THREAD_NETWORK_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_WIFI_NETWORK_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_SWITCH_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_ADMINISTRATOR_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_OPERATIONAL_CREDENTIALS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_GROUP_KEY_MANAGEMENT_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_FIXED_LABEL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_USER_LABEL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_COLOR_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||
#define EMBER_AF_OCCUPANCY_SENSING_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 EMBER_AF_PLUGIN_IDENTIFY_SERVER
|
||||
#define EMBER_AF_PLUGIN_IDENTIFY
|
||||
|
||||
|
||||
// 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 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 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 254
|
||||
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_MINIMUM_LEVEL 0
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_DESCRIPTOR_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_ACCESS_CONTROL_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_BASIC_INFORMATION_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_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 EMBER_AF_PLUGIN_OTA_SOFTWARE_UPDATE_REQUESTOR_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_LOCALIZATION_CONFIGURATION_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_TIME_FORMAT_LOCALIZATION_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_GENERAL_COMMISSIONING_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_NETWORK_COMMISSIONING_SERVER
|
||||
#define EMBER_AF_PLUGIN_NETWORK_COMMISSIONING
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the Diagnostic Logs cluster is included
|
||||
#define ZCL_USING_DIAGNOSTIC_LOGS_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_DIAGNOSTIC_LOGS_SERVER
|
||||
#define EMBER_AF_PLUGIN_DIAGNOSTIC_LOGS
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the General Diagnostics cluster is included
|
||||
#define ZCL_USING_GENERAL_DIAGNOSTICS_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_GENERAL_DIAGNOSTICS_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_SOFTWARE_DIAGNOSTICS_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_THREAD_NETWORK_DIAGNOSTICS_SERVER
|
||||
#define EMBER_AF_PLUGIN_THREAD_NETWORK_DIAGNOSTICS
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the WiFi Network Diagnostics cluster is included
|
||||
#define ZCL_USING_WIFI_NETWORK_DIAGNOSTICS_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_WI_FI_NETWORK_DIAGNOSTICS_SERVER
|
||||
#define EMBER_AF_PLUGIN_WI_FI_NETWORK_DIAGNOSTICS
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the Ethernet Network Diagnostics cluster is included
|
||||
#define ZCL_USING_ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_ETHERNET_NETWORK_DIAGNOSTICS_SERVER
|
||||
#define EMBER_AF_PLUGIN_ETHERNET_NETWORK_DIAGNOSTICS
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the Switch cluster is included
|
||||
#define ZCL_USING_SWITCH_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_SWITCH_SERVER
|
||||
#define EMBER_AF_PLUGIN_SWITCH
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the Administrator Commissioning cluster is included
|
||||
#define ZCL_USING_ADMINISTRATOR_COMMISSIONING_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_ADMINISTRATOR_COMMISSIONING_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_OPERATIONAL_CREDENTIALS_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_GROUP_KEY_MANAGEMENT_SERVER
|
||||
#define EMBER_AF_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 EMBER_AF_PLUGIN_FIXED_LABEL_SERVER
|
||||
#define EMBER_AF_PLUGIN_FIXED_LABEL
|
||||
|
||||
|
||||
// Use this macro to check if the server side of the User Label cluster is included
|
||||
#define ZCL_USING_USER_LABEL_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_USER_LABEL_SERVER
|
||||
#define EMBER_AF_PLUGIN_USER_LABEL
|
||||
|
||||
|
||||
// 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 server side of the Occupancy Sensing cluster is included
|
||||
#define ZCL_USING_OCCUPANCY_SENSING_CLUSTER_SERVER
|
||||
#define EMBER_AF_PLUGIN_OCCUPANCY_SENSING_SERVER
|
||||
#define EMBER_AF_PLUGIN_OCCUPANCY_SENSING
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -36,3 +36,6 @@ CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n
|
||||
|
||||
# Enable HKDF in mbedtls
|
||||
CONFIG_MBEDTLS_HKDF_C=y
|
||||
|
||||
# Disable ESP-Matter Data Model
|
||||
CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=n
|
||||
|
||||
@@ -22,7 +22,6 @@ set(PROJECT_VER_NUMBER 1)
|
||||
|
||||
set(ESP_MATTER_PATH $ENV{ESP_MATTER_PATH})
|
||||
set(MATTER_SDK_PATH ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip)
|
||||
set(ZAP_GENERATED_PATH ${CMAKE_CURRENT_LIST_DIR}/main/zap-generated)
|
||||
|
||||
# This should be done before using the IDF_TARGET variable.
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/** Empty File
|
||||
*
|
||||
* This file is just present to prevent cmake warnings about:
|
||||
* No source files found for SRC_DIRS entry '/Users/chirag/work/gitlab/esp-matter/examples/<name>/main/zap-generated'.
|
||||
*
|
||||
* We need to keep the path in SRC_DIRS to be compatible with the zap data model.
|
||||
*/
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
|
||||
#include <lib/core/CHIPConfig.h>
|
||||
#include <sdkconfig.h>
|
||||
|
||||
#define GENERATED_ATTRIBUTES \
|
||||
{}
|
||||
|
||||
#define GENERATED_CLUSTERS \
|
||||
{}
|
||||
|
||||
#define GENERATED_ENDPOINT_TYPES \
|
||||
{}
|
||||
|
||||
#define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 0
|
||||
|
||||
// Largest attribute size is needed for various buffers
|
||||
#define ATTRIBUTE_LARGEST (259)
|
||||
|
||||
static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected");
|
||||
|
||||
// Total size of attribute storage
|
||||
#define ATTRIBUTE_MAX_SIZE (0)
|
||||
|
||||
// Number of fixed endpoints
|
||||
#define FIXED_ENDPOINT_COUNT (0)
|
||||
#ifdef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#undef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
|
||||
#endif
|
||||
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT
|
||||
|
||||
// Array of endpoints that are supported, the data inside
|
||||
// the array is the endpoint number.
|
||||
#define FIXED_ENDPOINT_ARRAY \
|
||||
{0}
|
||||
|
||||
// Array of profile ids
|
||||
#define FIXED_PROFILE_IDS \
|
||||
{0}
|
||||
|
||||
// Array of device types
|
||||
#define FIXED_DEVICE_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of device type offsets
|
||||
#define FIXED_DEVICE_TYPE_OFFSETS \
|
||||
{0}
|
||||
|
||||
// Array of device type lengths
|
||||
#define FIXED_DEVICE_TYPE_LENGTHS \
|
||||
{0}
|
||||
|
||||
// Array of endpoint types supported on each endpoint
|
||||
#define FIXED_ENDPOINT_TYPES \
|
||||
{0}
|
||||
|
||||
// Array of networks supported on each endpoint
|
||||
#define FIXED_NETWORKS \
|
||||
{0}
|
||||
Reference in New Issue
Block a user