mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
zap: Update zap file and zap-generated files for the zap_light app
submodule: Update connectedhomeip submodule to 26bfa093f1
This commit is contained in:
@@ -18,7 +18,7 @@ git clone --recursive https://github.com/espressif/esp-matter.git
|
|||||||
|
|
||||||
## Supported ESP-IDF and connectedhomeip versions
|
## Supported ESP-IDF and connectedhomeip versions
|
||||||
|
|
||||||
- This SDK currently works with [commit 069b09b](https://github.com/espressif/connectedhomeip/tree/069b09b5f31d07d0772cfef91ba8010237f81b49) of connectedhomeip.
|
- This SDK currently works with [commit 26bfa09](https://github.com/espressif/connectedhomeip/tree/26bfa09) of connectedhomeip.
|
||||||
- For Wi-Fi devices (ESP32, ESP32-C3, ESP32-S3), ESP-IDF [v4.4.2 release](https://github.com/espressif/esp-idf/releases/tag/v4.4.2) is required.
|
- For Wi-Fi devices (ESP32, ESP32-C3, ESP32-S3), ESP-IDF [v4.4.2 release](https://github.com/espressif/esp-idf/releases/tag/v4.4.2) is required.
|
||||||
- For Thread devices (ESP32-H2) and Zigbee Bridge example, ESP-IDF release/v5.0 branch at [commit ccdeb43](https://github.com/espressif/esp-idf/tree/ccdeb43) should be used.
|
- For Thread devices (ESP32-H2) and Zigbee Bridge example, ESP-IDF release/v5.0 branch at [commit ccdeb43](https://github.com/espressif/esp-idf/tree/ccdeb43) should be used.
|
||||||
|
|
||||||
|
|||||||
Submodule connectedhomeip/connectedhomeip updated: 069b09b5f3...26bfa093f1
@@ -24,6 +24,7 @@ declare_args() {
|
|||||||
# DeviceAttestationCredentialsProvider and DeviceInstanceInforProvider
|
# DeviceAttestationCredentialsProvider and DeviceInstanceInforProvider
|
||||||
chip_use_factory_data_provider = false
|
chip_use_factory_data_provider = false
|
||||||
chip_use_device_info_provider = false
|
chip_use_device_info_provider = false
|
||||||
|
chip_config_software_version_number = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
config("ESP32_custom_include") {
|
config("ESP32_custom_include") {
|
||||||
@@ -53,6 +54,7 @@ buildconfig_header("custom_buildconfig") {
|
|||||||
"CHIP_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/CHIPPlatformConfig.h>",
|
"CHIP_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/CHIPPlatformConfig.h>",
|
||||||
"INET_CONFIG_INCLUDE=<platform/ESP32_custom/InetPlatformConfig.h>",
|
"INET_CONFIG_INCLUDE=<platform/ESP32_custom/InetPlatformConfig.h>",
|
||||||
"SYSTEM_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/SystemPlatformConfig.h>",
|
"SYSTEM_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/SystemPlatformConfig.h>",
|
||||||
|
"CHIP_CONFIG_SOFTWARE_VERSION_NUMBER=${chip_config_software_version_number}",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (chip_enable_ota_requestor) {
|
if (chip_enable_ota_requestor) {
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ declare_args() {
|
|||||||
# DeviceAttestationCredentialsProvider and DeviceInstanceInforProvider
|
# DeviceAttestationCredentialsProvider and DeviceInstanceInforProvider
|
||||||
chip_use_factory_data_provider = false
|
chip_use_factory_data_provider = false
|
||||||
chip_use_device_info_provider = false
|
chip_use_device_info_provider = false
|
||||||
|
chip_config_software_version_number = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
config("ESP32_custom_include") {
|
config("ESP32_custom_include") {
|
||||||
@@ -50,6 +51,7 @@ buildconfig_header("custom_buildconfig") {
|
|||||||
"CHIP_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/CHIPPlatformConfig.h>",
|
"CHIP_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/CHIPPlatformConfig.h>",
|
||||||
"INET_CONFIG_INCLUDE=<platform/ESP32_custom/InetPlatformConfig.h>",
|
"INET_CONFIG_INCLUDE=<platform/ESP32_custom/InetPlatformConfig.h>",
|
||||||
"SYSTEM_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/SystemPlatformConfig.h>",
|
"SYSTEM_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/SystemPlatformConfig.h>",
|
||||||
|
"CHIP_CONFIG_SOFTWARE_VERSION_NUMBER=${chip_config_software_version_number}",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (chip_enable_ota_requestor) {
|
if (chip_enable_ota_requestor) {
|
||||||
|
|||||||
@@ -16,3 +16,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY ZAP
|
// THIS FILE IS GENERATED BY ZAP
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <app-common/zap-generated/af-structs.h>
|
||||||
|
#include <app-common/zap-generated/cluster-objects.h>
|
||||||
|
#include <app/InteractionModelEngine.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
|
||||||
|
|||||||
@@ -16,3 +16,29 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY ZAP
|
// 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, app::Clusters::OtaSoftwareUpdateProvider::Id, endpoint)
|
||||||
|
{}
|
||||||
|
~OtaSoftwareUpdateProviderCluster() {}
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace Controller
|
||||||
|
} // namespace chip
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -21,22 +21,31 @@
|
|||||||
|
|
||||||
#include <app-common/zap-generated/callbacks/PluginCallbacks.h>
|
#include <app-common/zap-generated/callbacks/PluginCallbacks.h>
|
||||||
|
|
||||||
#define MATTER_PLUGINS_INIT \
|
#define MATTER_PLUGINS_INIT \
|
||||||
MatterAccessControlPluginServerInitCallback(); \
|
MatterIdentifyPluginServerInitCallback(); \
|
||||||
MatterAdministratorCommissioningPluginServerInitCallback(); \
|
MatterGroupsPluginServerInitCallback(); \
|
||||||
MatterBasicPluginServerInitCallback(); \
|
MatterOnOffPluginServerInitCallback(); \
|
||||||
MatterColorControlPluginServerInitCallback(); \
|
MatterLevelControlPluginServerInitCallback(); \
|
||||||
MatterDescriptorPluginServerInitCallback(); \
|
MatterDescriptorPluginServerInitCallback(); \
|
||||||
MatterGeneralCommissioningPluginServerInitCallback(); \
|
MatterAccessControlPluginServerInitCallback(); \
|
||||||
MatterGeneralDiagnosticsPluginServerInitCallback(); \
|
MatterBasicPluginServerInitCallback(); \
|
||||||
MatterGroupKeyManagementPluginServerInitCallback(); \
|
MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \
|
||||||
MatterGroupsPluginServerInitCallback(); \
|
MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \
|
||||||
MatterIdentifyPluginServerInitCallback(); \
|
MatterLocalizationConfigurationPluginServerInitCallback(); \
|
||||||
MatterLevelControlPluginServerInitCallback(); \
|
MatterTimeFormatLocalizationPluginServerInitCallback(); \
|
||||||
MatterLocalizationConfigurationPluginServerInitCallback(); \
|
MatterGeneralCommissioningPluginServerInitCallback(); \
|
||||||
MatterNetworkCommissioningPluginServerInitCallback(); \
|
MatterNetworkCommissioningPluginServerInitCallback(); \
|
||||||
MatterOnOffPluginServerInitCallback(); \
|
MatterDiagnosticLogsPluginServerInitCallback(); \
|
||||||
MatterOperationalCredentialsPluginServerInitCallback(); \
|
MatterGeneralDiagnosticsPluginServerInitCallback(); \
|
||||||
MatterScenesPluginServerInitCallback(); \
|
MatterSoftwareDiagnosticsPluginServerInitCallback(); \
|
||||||
MatterTimeFormatLocalizationPluginServerInitCallback(); \
|
MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \
|
||||||
MatterUnitLocalizationPluginServerInitCallback();
|
MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \
|
||||||
|
MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \
|
||||||
|
MatterSwitchPluginServerInitCallback(); \
|
||||||
|
MatterAdministratorCommissioningPluginServerInitCallback(); \
|
||||||
|
MatterOperationalCredentialsPluginServerInitCallback(); \
|
||||||
|
MatterGroupKeyManagementPluginServerInitCallback(); \
|
||||||
|
MatterFixedLabelPluginServerInitCallback(); \
|
||||||
|
MatterUserLabelPluginServerInitCallback(); \
|
||||||
|
MatterColorControlPluginServerInitCallback(); \
|
||||||
|
MatterOccupancySensingPluginServerInitCallback();
|
||||||
|
|||||||
@@ -29,13 +29,17 @@
|
|||||||
|
|
||||||
// Parallel array data (*cluster*, attribute, privilege) for read attribute
|
// Parallel array data (*cluster*, attribute, privilege) for read attribute
|
||||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__CLUSTER { \
|
#define GENERATED_ACCESS_READ_ATTRIBUTE__CLUSTER { \
|
||||||
|
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||||
|
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||||
31, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
31, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||||
31, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
31, /* 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: NodeLabel, Privilege: view */ \
|
||||||
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
||||||
/* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: view */ \
|
/* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
|
||||||
49, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||||
49, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||||
@@ -43,17 +47,24 @@
|
|||||||
49, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||||
49, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||||
|
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||||
|
/* Cluster: User Label, Attribute: label list, Privilege: view */ \
|
||||||
|
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parallel array data (cluster, *attribute*, privilege) for read attribute
|
// Parallel array data (cluster, *attribute*, privilege) for read attribute
|
||||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__ATTRIBUTE { \
|
#define GENERATED_ACCESS_READ_ATTRIBUTE__ATTRIBUTE { \
|
||||||
|
/* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: view */ \
|
||||||
|
/* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: view */ \
|
||||||
0, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
0, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||||
1, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
1, /* 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: NodeLabel, Privilege: view */ \
|
||||||
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
||||||
/* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: view */ \
|
/* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
|
||||||
0, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
0, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||||
1, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
1, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||||
@@ -61,17 +72,24 @@
|
|||||||
6, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
6, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||||
7, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
7, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||||
0, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
0, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||||
|
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||||
|
/* Cluster: User Label, Attribute: label list, Privilege: view */ \
|
||||||
|
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parallel array data (cluster, attribute, *privilege*) for read attribute
|
// Parallel array data (cluster, attribute, *privilege*) for read attribute
|
||||||
#define GENERATED_ACCESS_READ_ATTRIBUTE__PRIVILEGE { \
|
#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: ACL, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, 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: NodeLabel, Privilege: view */ \
|
||||||
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
/* Cluster: Basic, Attribute: Location, Privilege: view */ \
|
||||||
/* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: view */ \
|
/* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: view */ \
|
||||||
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
/* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: view */ \
|
||||||
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: MaxNetworks, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: Networks, Privilege: administer */ \
|
||||||
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
/* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: view */ \
|
||||||
@@ -79,71 +97,84 @@
|
|||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastNetworkID, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: LastConnectErrorValue, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Attribute: NOCs, Privilege: administer */ \
|
||||||
|
/* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: view */ \
|
||||||
|
/* Cluster: User Label, Attribute: label list, Privilege: view */ \
|
||||||
|
/* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: view */ \
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// Parallel array data (*cluster*, attribute, privilege) for write attribute
|
// Parallel array data (*cluster*, attribute, privilege) for write attribute
|
||||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__CLUSTER { \
|
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__CLUSTER { \
|
||||||
|
6, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||||
|
8, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||||
31, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
31, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||||
31, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
31, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||||
40, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
40, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
||||||
40, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
40, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
||||||
768, /* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: manage */ \
|
40, /* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||||
48, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
48, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||||
63, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
|
||||||
49, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||||
|
63, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||||
|
65, /* Cluster: User Label, Attribute: label list, Privilege: manage */ \
|
||||||
|
768, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parallel array data (cluster, *attribute*, privilege) for write attribute
|
// Parallel array data (cluster, *attribute*, privilege) for write attribute
|
||||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__ATTRIBUTE { \
|
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__ATTRIBUTE { \
|
||||||
|
16387, /* Cluster: On/Off, Attribute: StartUpOnOff, Privilege: manage */ \
|
||||||
|
16384, /* Cluster: Level Control, Attribute: StartUpCurrentLevel, Privilege: manage */ \
|
||||||
0, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
0, /* Cluster: Access Control, Attribute: ACL, Privilege: administer */ \
|
||||||
1, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
1, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||||
5, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
5, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
||||||
6, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
6, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
||||||
16400, /* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: manage */ \
|
16, /* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||||
0, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
0, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||||
0, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
|
||||||
4, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
4, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||||
|
0, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||||
|
0, /* Cluster: User Label, Attribute: label list, Privilege: manage */ \
|
||||||
|
16400, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parallel array data (cluster, attribute, *privilege*) for write attribute
|
// Parallel array data (cluster, attribute, *privilege*) for write attribute
|
||||||
#define GENERATED_ACCESS_WRITE_ATTRIBUTE__PRIVILEGE { \
|
#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: ACL, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Access Control, Attribute: Extension, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Basic, Attribute: NodeLabel, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Basic, Attribute: Location, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: start up color temperature mireds, Privilege: manage */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Basic, Attribute: LocalConfigDisabled, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \
|
||||||
|
kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \
|
||||||
|
kMatterAccessPrivilegeManage, /* Cluster: User Label, Attribute: label list, Privilege: manage */ \
|
||||||
|
kMatterAccessPrivilegeManage, /* Cluster: Color Control, Attribute: StartUpColorTemperatureMireds, Privilege: manage */ \
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// Parallel array data (*cluster*, command, privilege) for invoke command
|
// Parallel array data (*cluster*, command, privilege) for invoke command
|
||||||
#define GENERATED_ACCESS_INVOKE_COMMAND__CLUSTER { \
|
#define GENERATED_ACCESS_INVOKE_COMMAND__CLUSTER { \
|
||||||
60, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
3, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||||
60, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
3, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||||
60, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, 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: AddGroup, Privilege: manage */ \
|
||||||
4, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
4, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||||
4, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
4, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||||
4, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
4, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||||
3, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
48, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||||
3, /* Cluster: Identify, Command: IdentifyQuery, Privilege: manage */ \
|
48, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||||
|
48, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||||
49, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||||
49, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, 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: RemoveNetwork, Privilege: administer */ \
|
||||||
49, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||||
49, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
49, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||||
|
51, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||||
|
60, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||||
|
60, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||||
|
60, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||||
@@ -152,36 +183,33 @@
|
|||||||
62, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
62, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||||
62, /* Cluster: Operational Credentials, Command: RemoveTrustedRootCertificate, Privilege: administer */ \
|
63, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||||
5, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
63, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||||
5, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
63, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||||
5, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
63, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||||
5, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parallel array data (cluster, *command*, privilege) for invoke command
|
// Parallel array data (cluster, *command*, privilege) for invoke command
|
||||||
#define GENERATED_ACCESS_INVOKE_COMMAND__COMMAND { \
|
#define GENERATED_ACCESS_INVOKE_COMMAND__COMMAND { \
|
||||||
0, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
0, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||||
1, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
64, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||||
2, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, 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 */ \
|
0, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||||
3, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
3, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||||
4, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
4, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||||
5, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
5, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||||
0, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
0, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||||
1, /* Cluster: Identify, Command: IdentifyQuery, Privilege: manage */ \
|
2, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \
|
||||||
|
4, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \
|
||||||
0, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
0, /* Cluster: Network Commissioning, Command: ScanNetworks, Privilege: administer */ \
|
||||||
2, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, 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 */ \
|
4, /* Cluster: Network Commissioning, Command: RemoveNetwork, Privilege: administer */ \
|
||||||
6, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
6, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||||
8, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
8, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||||
|
0, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||||
|
0, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||||
|
1, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||||
|
2, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||||
0, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
0, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||||
2, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
2, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||||
4, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
4, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||||
@@ -190,36 +218,33 @@
|
|||||||
9, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
9, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||||
10, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
10, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||||
11, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
11, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||||
12, /* Cluster: Operational Credentials, Command: RemoveTrustedRootCertificate, Privilege: administer */ \
|
0, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||||
0, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
1, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||||
2, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
3, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||||
3, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
4, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||||
4, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parallel array data (cluster, command, *privilege*) for invoke command
|
// Parallel array data (cluster, command, *privilege*) for invoke command
|
||||||
#define GENERATED_ACCESS_INVOKE_COMMAND__PRIVILEGE { \
|
#define GENERATED_ACCESS_INVOKE_COMMAND__PRIVILEGE { \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: TriggerEffect, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, 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: Groups, Command: AddGroup, Privilege: manage */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroup, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
kMatterAccessPrivilegeManage, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: Identify, Privilege: manage */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Identify, Command: IdentifyQuery, Privilege: manage */ \
|
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: ScanNetworks, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: AddOrUpdateWiFiNetwork, 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: RemoveNetwork, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ConnectNetwork, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Command: ReorderNetwork, Privilege: administer */ \
|
||||||
|
kMatterAccessPrivilegeManage, /* Cluster: General Diagnostics, Command: TestEventTrigger, Privilege: manage */ \
|
||||||
|
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: OpenCommissioningWindow, Privilege: administer */ \
|
||||||
|
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: OpenBasicCommissioningWindow, Privilege: administer */ \
|
||||||
|
kMatterAccessPrivilegeAdminister, /* Cluster: AdministratorCommissioning, Command: RevokeCommissioning, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AttestationRequest, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CertificateChainRequest, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: CSRRequest, Privilege: administer */ \
|
||||||
@@ -228,11 +253,10 @@
|
|||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: UpdateFabricLabel, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: RemoveFabric, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: AddTrustedRootCertificate, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeAdminister, /* Cluster: Operational Credentials, Command: RemoveTrustedRootCertificate, Privilege: administer */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetWrite, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRead, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetRemove, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \
|
kMatterAccessPrivilegeAdminister, /* Cluster: Group Key Management, Command: KeySetReadAllIndices, Privilege: administer */ \
|
||||||
kMatterAccessPrivilegeManage, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -31,41 +31,9 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
// This file is generated by Simplicity Studio. Please do not edit manually.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
// Enclosing macro to prevent multiple inclusion
|
// Enclosing macro to prevent multiple inclusion
|
||||||
#ifndef __AF_GEN_EVENT__
|
#ifndef __AF_GEN_EVENT__
|
||||||
#define __AF_GEN_EVENT__
|
#define __AF_GEN_EVENT__
|
||||||
|
|
||||||
// Code used to configure the cluster event mechanism
|
|
||||||
#define EMBER_AF_GENERATED_EVENT_CODE \
|
|
||||||
EmberEventControl emberAfLevelControlClusterServerTickCallbackControl1; \
|
|
||||||
static void clusterTickWrapper(EmberEventControl * control, EmberAfTickFunction callback, uint8_t endpoint) \
|
|
||||||
{ \
|
|
||||||
/* emberAfPushEndpointNetworkIndex(endpoint); */ \
|
|
||||||
emberEventControlSetInactive(control); \
|
|
||||||
(*callback)(endpoint); \
|
|
||||||
/* emberAfPopNetworkIndex(); */ \
|
|
||||||
} \
|
|
||||||
void emberAfLevelControlClusterServerTickCallbackWrapperFunction1(void) \
|
|
||||||
{ \
|
|
||||||
clusterTickWrapper(&emberAfLevelControlClusterServerTickCallbackControl1, emberAfLevelControlClusterServerTickCallback, \
|
|
||||||
1); \
|
|
||||||
}
|
|
||||||
|
|
||||||
// EmberEventData structs used to populate the EmberEventData table
|
|
||||||
#define EMBER_AF_GENERATED_EVENTS \
|
|
||||||
{ &emberAfLevelControlClusterServerTickCallbackControl1, emberAfLevelControlClusterServerTickCallbackWrapperFunction1 },
|
|
||||||
|
|
||||||
#define EMBER_AF_GENERATED_EVENT_STRINGS "Level Control Cluster Server EP 1",
|
|
||||||
|
|
||||||
// The length of the event context table used to track and retrieve cluster events
|
|
||||||
#define EMBER_AF_EVENT_CONTEXT_LENGTH 1
|
|
||||||
|
|
||||||
// EmberAfEventContext structs used to populate the EmberAfEventContext table
|
|
||||||
#define EMBER_AF_GENERATED_EVENT_CONTEXT \
|
|
||||||
{ 0x1, 0x8, false, EMBER_AF_LONG_POLL, EMBER_AF_OK_TO_SLEEP, &emberAfLevelControlClusterServerTickCallbackControl1 },
|
|
||||||
|
|
||||||
#endif // __AF_GEN_EVENT__
|
#endif // __AF_GEN_EVENT__
|
||||||
|
|||||||
@@ -25,246 +25,319 @@
|
|||||||
using namespace chip;
|
using namespace chip;
|
||||||
|
|
||||||
// Cluster Init Functions
|
// Cluster Init Functions
|
||||||
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId) {
|
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId)
|
||||||
switch (clusterId) {
|
{
|
||||||
case ZCL_ACCESS_CONTROL_CLUSTER_ID:
|
switch (clusterId)
|
||||||
emberAfAccessControlClusterInitCallback(endpoint);
|
{
|
||||||
break;
|
case ZCL_ACCESS_CONTROL_CLUSTER_ID:
|
||||||
case ZCL_ADMINISTRATOR_COMMISSIONING_CLUSTER_ID:
|
emberAfAccessControlClusterInitCallback(endpoint);
|
||||||
emberAfAdministratorCommissioningClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_ADMINISTRATOR_COMMISSIONING_CLUSTER_ID:
|
||||||
case ZCL_BASIC_CLUSTER_ID:
|
emberAfAdministratorCommissioningClusterInitCallback(endpoint);
|
||||||
emberAfBasicClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_BASIC_CLUSTER_ID:
|
||||||
case ZCL_COLOR_CONTROL_CLUSTER_ID:
|
emberAfBasicClusterInitCallback(endpoint);
|
||||||
emberAfColorControlClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_COLOR_CONTROL_CLUSTER_ID:
|
||||||
case ZCL_DESCRIPTOR_CLUSTER_ID:
|
emberAfColorControlClusterInitCallback(endpoint);
|
||||||
emberAfDescriptorClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_DESCRIPTOR_CLUSTER_ID:
|
||||||
case ZCL_GENERAL_COMMISSIONING_CLUSTER_ID:
|
emberAfDescriptorClusterInitCallback(endpoint);
|
||||||
emberAfGeneralCommissioningClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_DIAGNOSTIC_LOGS_CLUSTER_ID:
|
||||||
case ZCL_GENERAL_DIAGNOSTICS_CLUSTER_ID:
|
emberAfDiagnosticLogsClusterInitCallback(endpoint);
|
||||||
emberAfGeneralDiagnosticsClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_ID:
|
||||||
case ZCL_GROUP_KEY_MANAGEMENT_CLUSTER_ID:
|
emberAfEthernetNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||||
emberAfGroupKeyManagementClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_FIXED_LABEL_CLUSTER_ID:
|
||||||
case ZCL_GROUPS_CLUSTER_ID:
|
emberAfFixedLabelClusterInitCallback(endpoint);
|
||||||
emberAfGroupsClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_GENERAL_COMMISSIONING_CLUSTER_ID:
|
||||||
case ZCL_IDENTIFY_CLUSTER_ID:
|
emberAfGeneralCommissioningClusterInitCallback(endpoint);
|
||||||
emberAfIdentifyClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_GENERAL_DIAGNOSTICS_CLUSTER_ID:
|
||||||
case ZCL_LEVEL_CONTROL_CLUSTER_ID:
|
emberAfGeneralDiagnosticsClusterInitCallback(endpoint);
|
||||||
emberAfLevelControlClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_GROUP_KEY_MANAGEMENT_CLUSTER_ID:
|
||||||
case ZCL_LOCALIZATION_CONFIGURATION_CLUSTER_ID:
|
emberAfGroupKeyManagementClusterInitCallback(endpoint);
|
||||||
emberAfLocalizationConfigurationClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_GROUPS_CLUSTER_ID:
|
||||||
case ZCL_NETWORK_COMMISSIONING_CLUSTER_ID:
|
emberAfGroupsClusterInitCallback(endpoint);
|
||||||
emberAfNetworkCommissioningClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_IDENTIFY_CLUSTER_ID:
|
||||||
case ZCL_ON_OFF_CLUSTER_ID:
|
emberAfIdentifyClusterInitCallback(endpoint);
|
||||||
emberAfOnOffClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_LEVEL_CONTROL_CLUSTER_ID:
|
||||||
case ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID:
|
emberAfLevelControlClusterInitCallback(endpoint);
|
||||||
emberAfOperationalCredentialsClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_LOCALIZATION_CONFIGURATION_CLUSTER_ID:
|
||||||
case ZCL_SCENES_CLUSTER_ID:
|
emberAfLocalizationConfigurationClusterInitCallback(endpoint);
|
||||||
emberAfScenesClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_NETWORK_COMMISSIONING_CLUSTER_ID:
|
||||||
case ZCL_TIME_FORMAT_LOCALIZATION_CLUSTER_ID:
|
emberAfNetworkCommissioningClusterInitCallback(endpoint);
|
||||||
emberAfTimeFormatLocalizationClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_OTA_PROVIDER_CLUSTER_ID:
|
||||||
case ZCL_UNIT_LOCALIZATION_CLUSTER_ID:
|
emberAfOtaSoftwareUpdateProviderClusterInitCallback(endpoint);
|
||||||
emberAfUnitLocalizationClusterInitCallback(endpoint);
|
break;
|
||||||
break;
|
case ZCL_OTA_REQUESTOR_CLUSTER_ID:
|
||||||
default:
|
emberAfOtaSoftwareUpdateRequestorClusterInitCallback(endpoint);
|
||||||
// Unrecognized cluster ID
|
break;
|
||||||
break;
|
case ZCL_OCCUPANCY_SENSING_CLUSTER_ID:
|
||||||
}
|
emberAfOccupancySensingClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_ON_OFF_CLUSTER_ID:
|
||||||
|
emberAfOnOffClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID:
|
||||||
|
emberAfOperationalCredentialsClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_SOFTWARE_DIAGNOSTICS_CLUSTER_ID:
|
||||||
|
emberAfSoftwareDiagnosticsClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_SWITCH_CLUSTER_ID:
|
||||||
|
emberAfSwitchClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_THREAD_NETWORK_DIAGNOSTICS_CLUSTER_ID:
|
||||||
|
emberAfThreadNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_TIME_FORMAT_LOCALIZATION_CLUSTER_ID:
|
||||||
|
emberAfTimeFormatLocalizationClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_USER_LABEL_CLUSTER_ID:
|
||||||
|
emberAfUserLabelClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
case ZCL_WIFI_NETWORK_DIAGNOSTICS_CLUSTER_ID:
|
||||||
|
emberAfWiFiNetworkDiagnosticsClusterInitCallback(endpoint);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
// Unrecognized cluster ID
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfAccessControlClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfAccessControlClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfAdministratorCommissioningClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfAdministratorCommissioningClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfBasicClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfBasicClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfColorControlClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfColorControlClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfDescriptorClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfDescriptorClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfDiagnosticLogsClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfGeneralCommissioningClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfEthernetNetworkDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfGeneralDiagnosticsClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfFixedLabelClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfGroupKeyManagementClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfGeneralCommissioningClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfGroupsClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfGeneralDiagnosticsClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfIdentifyClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfGroupKeyManagementClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfLevelControlClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfGroupsClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfLocalizationConfigurationClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfIdentifyClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfNetworkCommissioningClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfLevelControlClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfOnOffClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfLocalizationConfigurationClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfOperationalCredentialsClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfNetworkCommissioningClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfScenesClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfOtaSoftwareUpdateProviderClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfTimeFormatLocalizationClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(void) endpoint;
|
||||||
}
|
}
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfOtaSoftwareUpdateRequestorClusterInitCallback(EndpointId endpoint)
|
||||||
emberAfUnitLocalizationClusterInitCallback(EndpointId endpoint) {
|
{
|
||||||
// To prevent warning
|
// To prevent warning
|
||||||
(void)endpoint;
|
(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)) 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Non-Cluster Related Callbacks
|
// Non-Cluster Related Callbacks
|
||||||
//
|
//
|
||||||
|
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfAddToCurrentAppTasksCallback(EmberAfApplicationTask tasks) {}
|
||||||
emberAfAddToCurrentAppTasksCallback(EmberAfApplicationTask tasks) {}
|
|
||||||
|
|
||||||
void __attribute__((weak))
|
void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks) {}
|
||||||
emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks) {}
|
|
||||||
|
|
||||||
EmberAfAttributeWritePermission __attribute__((weak))
|
EmberAfAttributeWritePermission __attribute__((weak))
|
||||||
emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint,
|
emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value,
|
||||||
ClusterId clusterId,
|
uint8_t type)
|
||||||
AttributeId attributeId, uint8_t mask,
|
{
|
||||||
uint8_t *value, uint8_t type) {
|
return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default
|
||||||
return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default
|
}
|
||||||
|
|
||||||
|
bool __attribute__((weak)) emberAfAttributeReadAccessCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool __attribute__((weak)) emberAfAttributeWriteAccessCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool __attribute__((weak)) emberAfDefaultResponseCallback(ClusterId clusterId, CommandId commandId, EmberAfStatus status)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * messageStruct, EmberStatus * status)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame,
|
||||||
|
uint16_t msgLen, uint8_t * message, EmberStatus status)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
EmberAfStatus __attribute__((weak))
|
||||||
|
emberAfExternalAttributeReadCallback(EndpointId endpoint, ClusterId clusterId, const EmberAfAttributeMetadata * attributeMetadata,
|
||||||
|
uint8_t * buffer, uint16_t maxReadLength)
|
||||||
|
{
|
||||||
|
return EMBER_ZCL_STATUS_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
|
EmberAfStatus __attribute__((weak))
|
||||||
|
emberAfExternalAttributeWriteCallback(EndpointId endpoint, ClusterId clusterId, const EmberAfAttributeMetadata * attributeMetadata,
|
||||||
|
uint8_t * buffer)
|
||||||
|
{
|
||||||
|
return EMBER_ZCL_STATUS_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
|
uint32_t __attribute__((weak)) emberAfGetCurrentTimeCallback()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool __attribute__((weak))
|
bool __attribute__((weak))
|
||||||
emberAfAttributeReadAccessCallback(EndpointId endpoint, ClusterId clusterId,
|
emberAfGetEndpointInfoCallback(EndpointId endpoint, uint8_t * returnNetworkIndex, EmberAfEndpointInfoStruct * returnEndpointInfo)
|
||||||
AttributeId attributeId) {
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
bool __attribute__((weak))
|
|
||||||
emberAfAttributeWriteAccessCallback(EndpointId endpoint, ClusterId clusterId,
|
|
||||||
AttributeId attributeId) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool __attribute__((weak))
|
|
||||||
emberAfDefaultResponseCallback(ClusterId clusterId, CommandId commandId,
|
|
||||||
EmberAfStatus status) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool __attribute__((weak))
|
|
||||||
emberAfPreMessageSendCallback(EmberAfMessageStruct *messageStruct,
|
|
||||||
EmberStatus *status) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool __attribute__((weak))
|
|
||||||
emberAfMessageSentCallback(const MessageSendDestination &destination,
|
|
||||||
EmberApsFrame *apsFrame, uint16_t msgLen,
|
|
||||||
uint8_t *message, EmberStatus status) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
EmberAfStatus __attribute__((weak)) emberAfExternalAttributeReadCallback(
|
|
||||||
EndpointId endpoint, ClusterId clusterId,
|
|
||||||
const EmberAfAttributeMetadata *attributeMetadata, uint8_t *buffer,
|
|
||||||
uint16_t maxReadLength) {
|
|
||||||
return EMBER_ZCL_STATUS_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
EmberAfStatus __attribute__((weak)) emberAfExternalAttributeWriteCallback(
|
|
||||||
EndpointId endpoint, ClusterId clusterId,
|
|
||||||
const EmberAfAttributeMetadata *attributeMetadata, uint8_t *buffer) {
|
|
||||||
return EMBER_ZCL_STATUS_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t __attribute__((weak)) emberAfGetCurrentTimeCallback() { return 0; }
|
|
||||||
|
|
||||||
bool __attribute__((weak))
|
|
||||||
emberAfGetEndpointInfoCallback(EndpointId endpoint, uint8_t *returnNetworkIndex,
|
|
||||||
EmberAfEndpointInfoStruct *returnEndpointInfo) {
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((weak)) emberAfRegistrationAbortCallback() {}
|
void __attribute__((weak)) emberAfRegistrationAbortCallback() {}
|
||||||
|
|
||||||
EmberStatus __attribute__((weak))
|
EmberStatus __attribute__((weak))
|
||||||
emberAfInterpanSendMessageCallback(EmberAfInterpanHeader *header,
|
emberAfInterpanSendMessageCallback(EmberAfInterpanHeader * header, uint16_t messageLength, uint8_t * message)
|
||||||
uint16_t messageLength, uint8_t *message) {
|
{
|
||||||
return EMBER_LIBRARY_NOT_PRESENT;
|
return EMBER_LIBRARY_NOT_PRESENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool __attribute__((weak)) emberAfStartMoveCallback() { return false; }
|
bool __attribute__((weak)) emberAfStartMoveCallback()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
chip::Protocols::InteractionModel::Status __attribute__((weak))
|
chip::Protocols::InteractionModel::Status __attribute__((weak))
|
||||||
MatterPreAttributeChangeCallback(
|
MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size,
|
||||||
const chip::app::ConcreteAttributePath &attributePath, uint8_t mask,
|
uint8_t * value)
|
||||||
uint8_t type, uint16_t size, uint8_t *value) {
|
{
|
||||||
return chip::Protocols::InteractionModel::Status::Success;
|
return chip::Protocols::InteractionModel::Status::Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((weak)) MatterPostAttributeChangeCallback(
|
void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type,
|
||||||
const chip::app::ConcreteAttributePath &attributePath, uint8_t mask,
|
uint16_t size, uint8_t * value)
|
||||||
uint8_t type, uint16_t size, uint8_t *value) {}
|
{}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -29,91 +29,52 @@
|
|||||||
#define EMBER_APS_UNICAST_MESSAGE_COUNT 10
|
#define EMBER_APS_UNICAST_MESSAGE_COUNT 10
|
||||||
|
|
||||||
/**** Cluster endpoint counts ****/
|
/**** Cluster endpoint counts ****/
|
||||||
#define EMBER_AF_ACCESS_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_ADMINISTRATOR_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_BASIC_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_COLOR_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_DESCRIPTOR_CLUSTER_SERVER_ENDPOINT_COUNT (2)
|
|
||||||
#define EMBER_AF_GENERAL_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_GENERAL_DIAGNOSTICS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_GROUP_KEY_MANAGEMENT_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_GROUPS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_IDENTIFY_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
#define EMBER_AF_IDENTIFY_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||||
#define EMBER_AF_LEVEL_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
#define EMBER_AF_GROUPS_CLUSTER_SERVER_ENDPOINT_COUNT (2)
|
||||||
#define EMBER_AF_LOCALIZATION_CONFIGURATION_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_NETWORK_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
|
||||||
#define EMBER_AF_ON_OFF_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
#define EMBER_AF_ON_OFF_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||||
#define EMBER_AF_OPERATIONAL_CREDENTIALS_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
#define EMBER_AF_LEVEL_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||||
#define EMBER_AF_SCENES_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_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||||
|
#define EMBER_AF_OTA_PROVIDER_CLUSTER_CLIENT_ENDPOINT_COUNT (1)
|
||||||
|
#define EMBER_AF_OTA_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_TIME_FORMAT_LOCALIZATION_CLUSTER_SERVER_ENDPOINT_COUNT (1)
|
||||||
#define EMBER_AF_UNIT_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 ****/
|
/**** Cluster Plugins ****/
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Access Control cluster is
|
// Use this macro to check if the server side of the Identify cluster is included
|
||||||
// included
|
#define ZCL_USING_IDENTIFY_CLUSTER_SERVER
|
||||||
#define ZCL_USING_ACCESS_CONTROL_CLUSTER_SERVER
|
#define EMBER_AF_PLUGIN_IDENTIFY_SERVER
|
||||||
#define EMBER_AF_PLUGIN_ACCESS_CONTROL_SERVER
|
#define EMBER_AF_PLUGIN_IDENTIFY
|
||||||
#define EMBER_AF_PLUGIN_ACCESS_CONTROL
|
|
||||||
|
|
||||||
// Use this macro to check if the server side of the AdministratorCommissioning
|
|
||||||
// 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 Basic cluster is included
|
|
||||||
#define ZCL_USING_BASIC_CLUSTER_SERVER
|
|
||||||
#define EMBER_AF_PLUGIN_BASIC_SERVER
|
|
||||||
#define EMBER_AF_PLUGIN_BASIC
|
|
||||||
|
|
||||||
// Use this macro to check if the 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 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 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 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 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 Groups cluster is included
|
// Use this macro to check if the server side of the Groups cluster is included
|
||||||
#define ZCL_USING_GROUPS_CLUSTER_SERVER
|
#define ZCL_USING_GROUPS_CLUSTER_SERVER
|
||||||
#define EMBER_AF_PLUGIN_GROUPS_SERVER
|
#define EMBER_AF_PLUGIN_GROUPS_SERVER
|
||||||
#define EMBER_AF_PLUGIN_GROUPS
|
#define EMBER_AF_PLUGIN_GROUPS
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Identify cluster is
|
// Use this macro to check if the server side of the On/Off cluster is included
|
||||||
// included
|
#define ZCL_USING_ON_OFF_CLUSTER_SERVER
|
||||||
#define ZCL_USING_IDENTIFY_CLUSTER_SERVER
|
#define EMBER_AF_PLUGIN_ON_OFF_SERVER
|
||||||
#define EMBER_AF_PLUGIN_IDENTIFY_SERVER
|
#define EMBER_AF_PLUGIN_ON_OFF
|
||||||
#define EMBER_AF_PLUGIN_IDENTIFY
|
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Level Control cluster is
|
// Use this macro to check if the server side of the Level Control cluster is included
|
||||||
// included
|
|
||||||
#define ZCL_USING_LEVEL_CONTROL_CLUSTER_SERVER
|
#define ZCL_USING_LEVEL_CONTROL_CLUSTER_SERVER
|
||||||
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_SERVER
|
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_SERVER
|
||||||
#define EMBER_AF_PLUGIN_LEVEL_CONTROL
|
#define EMBER_AF_PLUGIN_LEVEL_CONTROL
|
||||||
@@ -122,44 +83,120 @@
|
|||||||
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_MINIMUM_LEVEL 0
|
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_MINIMUM_LEVEL 0
|
||||||
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_RATE 0
|
#define EMBER_AF_PLUGIN_LEVEL_CONTROL_RATE 0
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Localization Configuration
|
// Use this macro to check if the server side of the Descriptor cluster is included
|
||||||
// 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 cluster is included
|
||||||
|
#define ZCL_USING_BASIC_CLUSTER_SERVER
|
||||||
|
#define EMBER_AF_PLUGIN_BASIC_SERVER
|
||||||
|
#define EMBER_AF_PLUGIN_BASIC
|
||||||
|
|
||||||
|
// Use this macro to check if the client side of the OTA Software Update Provider cluster is included
|
||||||
|
#define ZCL_USING_OTA_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_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 ZCL_USING_LOCALIZATION_CONFIGURATION_CLUSTER_SERVER
|
||||||
#define EMBER_AF_PLUGIN_LOCALIZATION_CONFIGURATION_SERVER
|
#define EMBER_AF_PLUGIN_LOCALIZATION_CONFIGURATION_SERVER
|
||||||
#define EMBER_AF_PLUGIN_LOCALIZATION_CONFIGURATION
|
#define EMBER_AF_PLUGIN_LOCALIZATION_CONFIGURATION
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Network Commissioning
|
// Use this macro to check if the server side of the Time Format Localization cluster is included
|
||||||
// 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 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 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 Scenes cluster is included
|
|
||||||
#define ZCL_USING_SCENES_CLUSTER_SERVER
|
|
||||||
#define EMBER_AF_PLUGIN_SCENES_SERVER
|
|
||||||
#define EMBER_AF_PLUGIN_SCENES
|
|
||||||
// User options for server plugin Scenes
|
|
||||||
#define EMBER_AF_PLUGIN_SCENES_TABLE_SIZE 3
|
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Time Format Localization
|
|
||||||
// cluster is included
|
|
||||||
#define ZCL_USING_TIME_FORMAT_LOCALIZATION_CLUSTER_SERVER
|
#define ZCL_USING_TIME_FORMAT_LOCALIZATION_CLUSTER_SERVER
|
||||||
#define EMBER_AF_PLUGIN_TIME_FORMAT_LOCALIZATION_SERVER
|
#define EMBER_AF_PLUGIN_TIME_FORMAT_LOCALIZATION_SERVER
|
||||||
#define EMBER_AF_PLUGIN_TIME_FORMAT_LOCALIZATION
|
#define EMBER_AF_PLUGIN_TIME_FORMAT_LOCALIZATION
|
||||||
|
|
||||||
// Use this macro to check if the server side of the Unit Localization cluster
|
// Use this macro to check if the server side of the General Commissioning cluster is included
|
||||||
// is included
|
#define ZCL_USING_GENERAL_COMMISSIONING_CLUSTER_SERVER
|
||||||
#define ZCL_USING_UNIT_LOCALIZATION_CLUSTER_SERVER
|
#define EMBER_AF_PLUGIN_GENERAL_COMMISSIONING_SERVER
|
||||||
#define EMBER_AF_PLUGIN_UNIT_LOCALIZATION_SERVER
|
#define EMBER_AF_PLUGIN_GENERAL_COMMISSIONING
|
||||||
#define EMBER_AF_PLUGIN_UNIT_LOCALIZATION
|
|
||||||
|
// 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 AdministratorCommissioning 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
|
||||||
|
|||||||
@@ -33,11 +33,13 @@
|
|||||||
#endif // DEFINETOKENS
|
#endif // DEFINETOKENS
|
||||||
|
|
||||||
// Macro snippet that loads all the attributes from tokens
|
// Macro snippet that loads all the attributes from tokens
|
||||||
#define GENERATED_TOKEN_LOADER(endpoint) \
|
#define GENERATED_TOKEN_LOADER(endpoint) \
|
||||||
do { \
|
do \
|
||||||
} while (false)
|
{ \
|
||||||
|
} while (false)
|
||||||
|
|
||||||
// Macro snippet that saves the attribute to token
|
// Macro snippet that saves the attribute to token
|
||||||
#define GENERATED_TOKEN_SAVER \
|
#define GENERATED_TOKEN_SAVER \
|
||||||
do { \
|
do \
|
||||||
} while (false)
|
{ \
|
||||||
|
} while (false)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user