From 20dc3b6be8ed80e486bac78ca264bc9b587e838d Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 23 Jun 2021 17:13:26 +0200 Subject: [PATCH 1/3] Add chip-types.xml instead of relying on data_model/Silabs/types.xml Move cluster definitions to src/app/zap-templates/data-model/chip/ --- examples/all-clusters-app/esp32/main/main.cpp | 2 +- .../commands/clusters/ModelCommand.cpp | 2 +- .../lighting-app/efr32/src/ZclCallbacks.cpp | 4 +- .../lighting-app/k32w/main/ZclCallbacks.cpp | 4 +- examples/lighting-app/linux/main.cpp | 4 +- .../lighting-app/nrfconnect/main/AppTask.cpp | 2 +- .../nrfconnect/main/ZclCallbacks.cpp | 8 +- examples/lighting-app/qpg6100/src/AppTask.cpp | 2 +- .../lighting-app/qpg6100/src/ZclCallbacks.cpp | 6 +- examples/lighting-app/telink/src/AppTask.cpp | 2 +- .../lighting-app/telink/src/ZclCallbacks.cpp | 8 +- .../cc13x2x7_26x2x7/main/ZclCallbacks.cpp | 4 +- examples/lock-app/efr32/src/ZclCallbacks.cpp | 4 +- examples/lock-app/k32w/main/ZclCallbacks.cpp | 4 +- .../lock-app/nrfconnect/main/ZclCallbacks.cpp | 4 +- .../lock-app/qpg6100/src/ZclCallbacks.cpp | 4 +- .../cc13x2x7_26x2x7/main/ZclCallbacks.cpp | 4 +- .../pump-app/nrfconnect/main/ZclCallbacks.cpp | 24 +- .../cc13x2x7_26x2x7/main/ZclCallbacks.cpp | 4 +- .../nrfconnect/main/ZclCallbacks.cpp | 24 +- src/app/CommandHandler.cpp | 4 +- src/app/EventManagement.cpp | 4 +- src/app/InteractionModelEngine.cpp | 8 +- .../ias-zone-server/ias-zone-server.cpp | 2 +- src/app/clusters/ota-server/ota-server.cpp | 2 +- src/app/decoder.cpp | 2 +- src/app/encoder-common.cpp | 6 +- src/app/tests/TestCommandInteraction.cpp | 2 +- src/app/util/basic-types.h | 25 +- src/app/util/process-global-message.cpp | 2 +- src/app/util/util.cpp | 6 +- .../zap-templates/common/ChipTypesHelper.js | 18 +- .../zap-templates/common/ClustersHelper.js | 19 +- src/app/zap-templates/common/override.js | 35 +- .../templates/app/attribute-size-src.zapt | 2 +- .../app/im-cluster-command-handler.zapt | 6 +- src/app/zap-templates/zcl/custom-types.xml | 76 - .../chip}/account-login-cluster.xml | 0 .../chip}/application-basic-cluster.xml | 0 .../chip}/application-launcher-cluster.xml | 0 .../chip}/audio-output-cluster.xml | 0 .../chip}/basic-information-cluster.xml | 0 .../{ => data-model/chip}/binding-cluster.xml | 4 +- .../chip}/bridged-device-basic.xml | 0 .../{ => data-model/chip}/chip-devices.xml | 0 .../zcl/{ => data-model/chip}/chip-ota.xml | 0 .../zcl/data-model/chip/chip-types.xml | 82 + .../chip}/clusters-extensions.xml | 0 .../{ => data-model/chip}/commissioning.xml | 0 .../chip}/content-launch-cluster.xml | 0 .../chip}/descriptor-cluster.xml | 8 +- .../ethernet-network-diagnostics-cluster.xml | 0 .../chip}/fixed-label-cluster.xml | 6 + .../chip}/flow-measurement-cluster.xml | 0 .../chip}/general-commissioning-cluster.xml | 0 .../chip}/general-diagnostics-cluster.xml | 16 + .../chip}/group-key-mgmt-cluster.xml | 20 + .../chip}/keypad-input-cluster.xml | 0 .../chip}/low-power-cluster.xml | 0 .../chip}/media-input-cluster.xml | 0 .../chip}/media-playback-cluster.xml | 0 .../chip}/operational-credentials-cluster.xml | 8 + ...pump-configuration-and-control-cluster.xml | 0 .../chip}/pump-controller-device.xml | 0 .../zcl/{ => data-model/chip}/pump-device.xml | 0 .../relative-humidity-measurement-cluster.xml | 0 .../chip}/software-diagnostics-cluster.xml | 0 .../{ => data-model/chip}/switch-cluster.xml | 0 .../chip}/target-navigator-cluster.xml | 0 .../chip}/temperature-measurement-cluster.xml | 0 .../{ => data-model/chip}/test-cluster.xml | 6 + .../thread-network-diagnostics-cluster.xml | 0 .../chip}/tv-channel-cluster.xml | 0 .../{ => data-model/chip}/tv-device-types.xml | 0 .../chip}/wake-on-lan-cluster.xml | 0 .../wifi-network-diagnostics-cluster.xml | 0 .../zcl/data-model/silabs/ami-devices.xml | 822 --- .../zcl/data-model/silabs/ami.xml | 5703 +---------------- .../zcl/data-model/silabs/cba-devices.xml | 138 - .../zcl/data-model/silabs/cba.xml | 66 - .../zcl/data-model/silabs/chip.xml | 174 - .../zcl/data-model/silabs/general-thread.xml | 970 --- .../zcl/data-model/silabs/general.xml | 253 +- .../data-model/silabs/green-power-devices.xml | 106 - .../zcl/data-model/silabs/green-power.xml | 730 --- .../zcl/data-model/silabs/ha-thread.xml | 2377 ------- .../zcl/data-model/silabs/ha.xml | 46 +- .../zcl/data-model/silabs/hc-devices.xml | 545 -- .../zcl/data-model/silabs/hc.xml | 71 - .../zcl/data-model/silabs/lo-devices.xml | 260 - .../zcl/data-model/silabs/ota-dotdot.xml | 149 - .../zcl/data-model/silabs/ota.xml | 152 - .../zcl/data-model/silabs/profiles.xml | 30 - .../zcl/data-model/silabs/relay-control.xml | 45 - .../zcl/data-model/silabs/silabs.xml | 168 - .../zcl/data-model/silabs/sleeping-mesh.xml | 94 - .../zcl/data-model/silabs/ta-devices.xml | 414 -- .../zcl/data-model/silabs/ta.xml | 886 --- .../zcl/data-model/silabs/types.xml | 127 - .../data-model/silabs/wwah-silabs-devices.xml | 38 - .../zcl/data-model/silabs/wwah-silabs.xml | 352 - .../zcl/data-model/silabs/z3-nfr.xml | 49 - .../zcl/data-model/silabs/zll-devices.xml | 260 - .../zcl/data-model/silabs/zll-thread.xml | 511 -- .../zcl/data-model/silabs/zll.xml | 264 - src/app/zap-templates/zcl/manufacturers.xml | 588 -- src/app/zap-templates/zcl/zcl.json | 76 +- .../CHIP/templates/CHIPClustersObjc.zapt | 2 +- src/lib/core/CHIPCallback.h | 2 +- 109 files changed, 366 insertions(+), 16591 deletions(-) delete mode 100644 src/app/zap-templates/zcl/custom-types.xml rename src/app/zap-templates/zcl/{ => data-model/chip}/account-login-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/application-basic-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/application-launcher-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/audio-output-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/basic-information-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/binding-cluster.xml (94%) rename src/app/zap-templates/zcl/{ => data-model/chip}/bridged-device-basic.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/chip-devices.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/chip-ota.xml (100%) create mode 100644 src/app/zap-templates/zcl/data-model/chip/chip-types.xml rename src/app/zap-templates/zcl/{ => data-model/chip}/clusters-extensions.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/commissioning.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/content-launch-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/descriptor-cluster.xml (89%) rename src/app/zap-templates/zcl/{ => data-model/chip}/ethernet-network-diagnostics-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/fixed-label-cluster.xml (78%) rename src/app/zap-templates/zcl/{ => data-model/chip}/flow-measurement-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/general-commissioning-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/general-diagnostics-cluster.xml (85%) rename src/app/zap-templates/zcl/{ => data-model/chip}/group-key-mgmt-cluster.xml (65%) rename src/app/zap-templates/zcl/{ => data-model/chip}/keypad-input-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/low-power-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/media-input-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/media-playback-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/operational-credentials-cluster.xml (94%) rename src/app/zap-templates/zcl/{ => data-model/chip}/pump-configuration-and-control-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/pump-controller-device.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/pump-device.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/relative-humidity-measurement-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/software-diagnostics-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/switch-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/target-navigator-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/temperature-measurement-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/test-cluster.xml (97%) rename src/app/zap-templates/zcl/{ => data-model/chip}/thread-network-diagnostics-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/tv-channel-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/tv-device-types.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/wake-on-lan-cluster.xml (100%) rename src/app/zap-templates/zcl/{ => data-model/chip}/wifi-network-diagnostics-cluster.xml (100%) delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/ami-devices.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/cba-devices.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/cba.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/chip.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/general-thread.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/green-power-devices.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/green-power.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/ha-thread.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/hc-devices.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/hc.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/ota-dotdot.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/ota.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/profiles.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/relay-control.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/silabs.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/sleeping-mesh.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/ta-devices.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/ta.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/wwah-silabs-devices.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/wwah-silabs.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/z3-nfr.xml delete mode 100644 src/app/zap-templates/zcl/data-model/silabs/zll-thread.xml delete mode 100644 src/app/zap-templates/zcl/manufacturers.xml diff --git a/examples/all-clusters-app/esp32/main/main.cpp b/examples/all-clusters-app/esp32/main/main.cpp index 0e3074414d1063..05c5b233bb5402 100644 --- a/examples/all-clusters-app/esp32/main/main.cpp +++ b/examples/all-clusters-app/esp32/main/main.cpp @@ -372,7 +372,7 @@ void SetupInitialLevelControlValues(chip::EndpointId endpointId) uint8_t level = UINT8_MAX; emberAfWriteAttribute(endpointId, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_CURRENT_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level, - ZCL_DATA8_ATTRIBUTE_TYPE); + ZCL_INT8U_ATTRIBUTE_TYPE); } void SetupPretendDevices() diff --git a/examples/chip-tool/commands/clusters/ModelCommand.cpp b/examples/chip-tool/commands/clusters/ModelCommand.cpp index 0da04008b5ed57..d33508e66e67b1 100644 --- a/examples/chip-tool/commands/clusters/ModelCommand.cpp +++ b/examples/chip-tool/commands/clusters/ModelCommand.cpp @@ -26,7 +26,7 @@ using namespace ::chip; void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Controller, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, + ChipLogDetail(Controller, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, aCommandId, aEndPointId); ChipLogError( Controller, diff --git a/examples/lighting-app/efr32/src/ZclCallbacks.cpp b/examples/lighting-app/efr32/src/ZclCallbacks.cpp index 57b704602353ea..d2b6ea90e341d8 100644 --- a/examples/lighting-app/efr32/src/ZclCallbacks.cpp +++ b/examples/lighting-app/efr32/src/ZclCallbacks.cpp @@ -34,13 +34,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - EFR32_LOG("Unknown cluster ID: %d", clusterId); + EFR32_LOG("Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - EFR32_LOG("Unknown attribute ID: %d", attributeId); + EFR32_LOG("Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lighting-app/k32w/main/ZclCallbacks.cpp b/examples/lighting-app/k32w/main/ZclCallbacks.cpp index df89e54b75ce19..97fbfc5da08af2 100644 --- a/examples/lighting-app/k32w/main/ZclCallbacks.cpp +++ b/examples/lighting-app/k32w/main/ZclCallbacks.cpp @@ -33,13 +33,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lighting-app/linux/main.cpp b/examples/lighting-app/linux/main.cpp index 09e1fef2a20068..eb4376bbef3bda 100644 --- a/examples/lighting-app/linux/main.cpp +++ b/examples/lighting-app/linux/main.cpp @@ -46,13 +46,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lighting-app/nrfconnect/main/AppTask.cpp b/examples/lighting-app/nrfconnect/main/AppTask.cpp index 917b3d73782d93..8f2f90eb212e8c 100644 --- a/examples/lighting-app/nrfconnect/main/AppTask.cpp +++ b/examples/lighting-app/nrfconnect/main/AppTask.cpp @@ -552,7 +552,7 @@ void AppTask::UpdateClusterState() uint8_t level = LightingMgr().GetLevel(); status = emberAfWriteAttribute(1, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_CURRENT_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level, - ZCL_DATA8_ATTRIBUTE_TYPE); + ZCL_INT8U_ATTRIBUTE_TYPE); if (status != EMBER_ZCL_STATUS_SUCCESS) { diff --git a/examples/lighting-app/nrfconnect/main/ZclCallbacks.cpp b/examples/lighting-app/nrfconnect/main/ZclCallbacks.cpp index f2bc5db4c35be8..82e0cf4090f10d 100644 --- a/examples/lighting-app/nrfconnect/main/ZclCallbacks.cpp +++ b/examples/lighting-app/nrfconnect/main/ZclCallbacks.cpp @@ -32,13 +32,13 @@ using namespace chip; void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t mask, uint16_t manufacturerCode, uint8_t type, uint16_t size, uint8_t * value) { - ChipLogProgress(Zcl, "Cluster callback: %d", clusterId); + ChipLogProgress(Zcl, "Cluster callback: %" PRIx32, clusterId); if (clusterId == ZCL_ON_OFF_CLUSTER_ID) { if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -49,7 +49,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (attributeId != ZCL_CURRENT_LEVEL_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -65,7 +65,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId } else { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } } diff --git a/examples/lighting-app/qpg6100/src/AppTask.cpp b/examples/lighting-app/qpg6100/src/AppTask.cpp index 8f5e9c5429f6ec..c41191092bd4bd 100644 --- a/examples/lighting-app/qpg6100/src/AppTask.cpp +++ b/examples/lighting-app/qpg6100/src/AppTask.cpp @@ -445,7 +445,7 @@ void AppTask::UpdateClusterState(void) newValue = LightingMgr().GetLevel(); // TODO understand well enough to implement the level cluster ZCL_CURRENT_LEVEL_ATTRIBUTE_ID status = emberAfWriteAttribute(1, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_CURRENT_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, - (uint8_t *) &newValue, ZCL_DATA8_ATTRIBUTE_TYPE); + (uint8_t *) &newValue, ZCL_INT8U_ATTRIBUTE_TYPE); if (status != EMBER_ZCL_STATUS_SUCCESS) { diff --git a/examples/lighting-app/qpg6100/src/ZclCallbacks.cpp b/examples/lighting-app/qpg6100/src/ZclCallbacks.cpp index d89d16cefec32d..f46d967eeaf700 100644 --- a/examples/lighting-app/qpg6100/src/ZclCallbacks.cpp +++ b/examples/lighting-app/qpg6100/src/ZclCallbacks.cpp @@ -38,7 +38,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -49,7 +49,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (attributeId != ZCL_CURRENT_LEVEL_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -65,7 +65,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId } else { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } } diff --git a/examples/lighting-app/telink/src/AppTask.cpp b/examples/lighting-app/telink/src/AppTask.cpp index 2ba8d88aef4410..06fa73b75d653b 100644 --- a/examples/lighting-app/telink/src/AppTask.cpp +++ b/examples/lighting-app/telink/src/AppTask.cpp @@ -322,7 +322,7 @@ void AppTask::UpdateClusterState() uint8_t level = LightingMgr().GetLevel(); status = emberAfWriteAttribute(1, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_CURRENT_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level, - ZCL_DATA8_ATTRIBUTE_TYPE); + ZCL_INT8U_ATTRIBUTE_TYPE); if (status != EMBER_ZCL_STATUS_SUCCESS) { diff --git a/examples/lighting-app/telink/src/ZclCallbacks.cpp b/examples/lighting-app/telink/src/ZclCallbacks.cpp index 59fe494cd58e99..02c6346da00351 100644 --- a/examples/lighting-app/telink/src/ZclCallbacks.cpp +++ b/examples/lighting-app/telink/src/ZclCallbacks.cpp @@ -32,13 +32,13 @@ using namespace chip; void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t mask, uint16_t manufacturerCode, uint8_t type, uint16_t size, uint8_t * value) { - ChipLogProgress(Zcl, "Cluster callback: %d", clusterId); + ChipLogProgress(Zcl, "Cluster callback: %" PRIx32, clusterId); if (clusterId == ZCL_ON_OFF_CLUSTER_ID) { if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -49,7 +49,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (attributeId != ZCL_CURRENT_LEVEL_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -65,7 +65,7 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId } else { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } } diff --git a/examples/lock-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp b/examples/lock-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp index ade8c656c5ed75..bc9b20d978d201 100644 --- a/examples/lock-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp +++ b/examples/lock-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp @@ -34,13 +34,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lock-app/efr32/src/ZclCallbacks.cpp b/examples/lock-app/efr32/src/ZclCallbacks.cpp index 1ed3b13965a7b6..8007395ffd3e87 100644 --- a/examples/lock-app/efr32/src/ZclCallbacks.cpp +++ b/examples/lock-app/efr32/src/ZclCallbacks.cpp @@ -34,13 +34,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - EFR32_LOG("Unknown cluster ID: %d", clusterId); + EFR32_LOG("Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - EFR32_LOG("Unknown attribute ID: %d", attributeId); + EFR32_LOG("Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lock-app/k32w/main/ZclCallbacks.cpp b/examples/lock-app/k32w/main/ZclCallbacks.cpp index 44d1b03e4df78b..bebceb8b75ebdd 100644 --- a/examples/lock-app/k32w/main/ZclCallbacks.cpp +++ b/examples/lock-app/k32w/main/ZclCallbacks.cpp @@ -33,13 +33,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lock-app/nrfconnect/main/ZclCallbacks.cpp b/examples/lock-app/nrfconnect/main/ZclCallbacks.cpp index 5227345d70e43e..80171954e56b07 100644 --- a/examples/lock-app/nrfconnect/main/ZclCallbacks.cpp +++ b/examples/lock-app/nrfconnect/main/ZclCallbacks.cpp @@ -34,13 +34,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/lock-app/qpg6100/src/ZclCallbacks.cpp b/examples/lock-app/qpg6100/src/ZclCallbacks.cpp index 62f4ffb3aeb0f8..df12228eb7aca5 100644 --- a/examples/lock-app/qpg6100/src/ZclCallbacks.cpp +++ b/examples/lock-app/qpg6100/src/ZclCallbacks.cpp @@ -35,13 +35,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/pump-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp b/examples/pump-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp index 4d9ffce008408a..79d2aea6fb310c 100644 --- a/examples/pump-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp +++ b/examples/pump-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp @@ -35,13 +35,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/pump-app/nrfconnect/main/ZclCallbacks.cpp b/examples/pump-app/nrfconnect/main/ZclCallbacks.cpp index af75ebc3529b9a..50d390a6019044 100644 --- a/examples/pump-app/nrfconnect/main/ZclCallbacks.cpp +++ b/examples/pump-app/nrfconnect/main/ZclCallbacks.cpp @@ -33,16 +33,16 @@ using namespace ::chip; void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t mask, uint16_t manufacturerCode, uint8_t type, uint8_t size, uint8_t * value) { - ChipLogProgress(Zcl, "%s: %d %d %d %d", __FUNCTION__, endpoint, clusterId, attributeId, *value); + ChipLogProgress(Zcl, "%s: %d %" PRIx32 " %" PRIx32 " %d", __FUNCTION__, endpoint, clusterId, attributeId, *value); if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -105,7 +105,7 @@ void emberAfAddToCurrentAppTasksCallback(EmberAfApplicationTask tasks) {} bool emberAfAttributeReadAccessCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, uint16_t manufacturerCode, chip::AttributeId attributeId) { - ChipLogProgress(Zcl, "%s: %d %d %d %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); + ChipLogProgress(Zcl, "%s: %d %" PRIx32 " %" PRIx32 " %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); return true; } @@ -120,7 +120,7 @@ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, c bool emberAfAttributeWriteAccessCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, uint16_t manufacturerCode, chip::AttributeId attributeId) { - ChipLogProgress(Zcl, "%s: %d %d %d %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); + ChipLogProgress(Zcl, "%s: %d %" PRIx32 " %" PRIx32 " %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); return true; } @@ -171,44 +171,44 @@ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip:: bool emberAfReadAttributesResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfWriteAttributesResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfConfigureReportingResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfReadReportingConfigurationResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfReportAttributesCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfDefaultResponseCallback(chip::ClusterId clusterId, chip::CommandId commandId, EmberAfStatus status) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfDiscoverAttributesResponseCallback(chip::ClusterId clusterId, bool discoveryComplete, uint8_t * buffer, uint16_t bufLen, bool extended) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } diff --git a/examples/pump-controller-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp b/examples/pump-controller-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp index 4d9ffce008408a..79d2aea6fb310c 100644 --- a/examples/pump-controller-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp +++ b/examples/pump-controller-app/cc13x2x7_26x2x7/main/ZclCallbacks.cpp @@ -35,13 +35,13 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId { if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } diff --git a/examples/pump-controller-app/nrfconnect/main/ZclCallbacks.cpp b/examples/pump-controller-app/nrfconnect/main/ZclCallbacks.cpp index 9f282d8f21198d..2e257c1612fde0 100644 --- a/examples/pump-controller-app/nrfconnect/main/ZclCallbacks.cpp +++ b/examples/pump-controller-app/nrfconnect/main/ZclCallbacks.cpp @@ -33,16 +33,16 @@ using namespace ::chip; void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t mask, uint16_t manufacturerCode, uint8_t type, uint8_t size, uint8_t * value) { - ChipLogProgress(Zcl, "%s: %d %d %d %d", __FUNCTION__, endpoint, clusterId, attributeId, *value); + ChipLogProgress(Zcl, "%s: %d %" PRIx32 " %" PRIx32 " %d", __FUNCTION__, endpoint, clusterId, attributeId, *value); if (clusterId != ZCL_ON_OFF_CLUSTER_ID) { - ChipLogProgress(Zcl, "Unknown cluster ID: %d", clusterId); + ChipLogProgress(Zcl, "Unknown cluster ID: %" PRIx32, clusterId); return; } if (attributeId != ZCL_ON_OFF_ATTRIBUTE_ID) { - ChipLogProgress(Zcl, "Unknown attribute ID: %d", attributeId); + ChipLogProgress(Zcl, "Unknown attribute ID: %" PRIx32, attributeId); return; } @@ -95,7 +95,7 @@ void emberAfAddToCurrentAppTasksCallback(EmberAfApplicationTask tasks) {} bool emberAfAttributeReadAccessCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, uint16_t manufacturerCode, chip::AttributeId attributeId) { - ChipLogProgress(Zcl, "%s: %d %d %d %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); + ChipLogProgress(Zcl, "%s: %d %" PRIx32 " %" PRIx32 " %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); return true; } @@ -110,7 +110,7 @@ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, c bool emberAfAttributeWriteAccessCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, uint16_t manufacturerCode, chip::AttributeId attributeId) { - ChipLogProgress(Zcl, "%s: %d %d %d %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); + ChipLogProgress(Zcl, "%s: %d %" PRIx32 " %" PRIx32 " %d", __FUNCTION__, endpoint, clusterId, manufacturerCode, attributeId); return true; } @@ -161,44 +161,44 @@ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip:: bool emberAfReadAttributesResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfWriteAttributesResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfConfigureReportingResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfReadReportingConfigurationResponseCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfReportAttributesCallback(chip::ClusterId clusterId, uint8_t * buffer, uint16_t bufLen) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfDefaultResponseCallback(chip::ClusterId clusterId, chip::CommandId commandId, EmberAfStatus status) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } bool emberAfDiscoverAttributesResponseCallback(chip::ClusterId clusterId, bool discoveryComplete, uint8_t * buffer, uint16_t bufLen, bool extended) { - ChipLogProgress(Zcl, "%s: %d", __FUNCTION__, clusterId); + ChipLogProgress(Zcl, "%s: %" PRIx32, __FUNCTION__, clusterId); return false; } diff --git a/src/app/CommandHandler.cpp b/src/app/CommandHandler.cpp index 6379cb2ca177b3..fd81fb33c353ec 100644 --- a/src/app/CommandHandler.cpp +++ b/src/app/CommandHandler.cpp @@ -100,7 +100,7 @@ CHIP_ERROR CommandHandler::ProcessCommandDataElement(CommandDataElement::Parser if (CHIP_END_OF_TLV == err) { err = CHIP_NO_ERROR; - ChipLogDetail(DataManagement, "Received command without data for cluster %d", clusterId); + ChipLogDetail(DataManagement, "Received command without data for cluster %" PRIx32, clusterId); } if (CHIP_NO_ERROR == err) { @@ -120,7 +120,7 @@ CHIP_ERROR CommandHandler::ProcessCommandDataElement(CommandDataElement::Parser // TODO: The error code should be updated after #7072 added error codes required by IM. if (err == CHIP_ERROR_INVALID_PROFILE_ID) { - ChipLogDetail(DataManagement, "No Cluster 0x%" PRIx16 " on Endpoint 0x%" PRIx8, clusterId, endpointId); + ChipLogDetail(DataManagement, "No Cluster 0x%" PRIx32 " on Endpoint 0x%" PRIx16, clusterId, endpointId); } AddStatusCode(returnStatusParam, diff --git a/src/app/EventManagement.cpp b/src/app/EventManagement.cpp index 0f5c8adcf73c20..9e30ebacca9bbe 100644 --- a/src/app/EventManagement.cpp +++ b/src/app/EventManagement.cpp @@ -569,8 +569,8 @@ CHIP_ERROR EventManagement::LogEventPrivate(EventLoggingDelegate * apDelegate, E #if CHIP_CONFIG_EVENT_LOGGING_VERBOSE_DEBUG_LOGS ChipLogDetail(EventLogging, - "LogEvent event number: 0x" ChipLogFormatX64 - " schema priority: %u cluster id: 0x%x event id: 0x%x sys timestamp: 0x" ChipLogFormatX64, + "LogEvent event number: 0x" ChipLogFormatX64 " schema priority: %u cluster id: 0x%" PRIx32 + " event id: 0x%" PRIx32 " sys timestamp: 0x" ChipLogFormatX64, ChipLogValueX64(aEventNumber), static_cast(opts.mpEventSchema->mPriority), opts.mpEventSchema->mClusterId, opts.mpEventSchema->mEventId, ChipLogValueX64(opts.mTimestamp.mValue)); #endif // CHIP_CONFIG_EVENT_LOGGING_VERBOSE_DEBUG_LOGS diff --git a/src/app/InteractionModelEngine.cpp b/src/app/InteractionModelEngine.cpp index fdd740b24ab8d9..626a99d95f97fe 100644 --- a/src/app/InteractionModelEngine.cpp +++ b/src/app/InteractionModelEngine.cpp @@ -324,8 +324,8 @@ void InteractionModelEngine::OnResponseTimeout(Messaging::ExchangeContext * ec) CHIP_ERROR __attribute__((weak)) ReadSingleClusterData(ClusterInfo & aClusterInfo, TLV::TLVWriter & aWriter) { ChipLogDetail(DataManagement, - "Received Cluster Command: Cluster=%" PRIx16 " NodeId=0x" ChipLogFormatX64 " Endpoint=%" PRIx8 " FieldId=%" PRIx8 - " ListIndex=%" PRIx16, + "Received Cluster Command: Cluster=%" PRIx32 " NodeId=0x" ChipLogFormatX64 " Endpoint=%" PRIx16 + " FieldId=%" PRIx32 " ListIndex=%" PRIx16, aClusterInfo.mClusterId, ChipLogValueX64(aClusterInfo.mNodeId), aClusterInfo.mEndpointId, aClusterInfo.mFieldId, aClusterInfo.mListIndex); ChipLogError(DataManagement, @@ -337,8 +337,8 @@ CHIP_ERROR __attribute__((weak)) WriteSingleClusterData(ClusterInfo & aClusterInfo, TLV::TLVReader & aReader, WriteHandler * apWriteHandler) { ChipLogDetail(DataManagement, - "Received Cluster Attribute: Cluster=%" PRIx16 " NodeId=0x" ChipLogFormatX64 " Endpoint=%" PRIx8 - " FieldId=%" PRIx8 " ListIndex=%" PRIx16, + "Received Cluster Attribute: Cluster=%" PRIx32 " NodeId=0x" ChipLogFormatX64 " Endpoint=%" PRIx16 + " FieldId=%" PRIx32 " ListIndex=%" PRIx16, aClusterInfo.mClusterId, ChipLogValueX64(aClusterInfo.mNodeId), aClusterInfo.mEndpointId, aClusterInfo.mFieldId, aClusterInfo.mListIndex); ChipLogError(DataManagement, diff --git a/src/app/clusters/ias-zone-server/ias-zone-server.cpp b/src/app/clusters/ias-zone-server/ias-zone-server.cpp index f9329b11437b47..2d606b07037550 100644 --- a/src/app/clusters/ias-zone-server/ias-zone-server.cpp +++ b/src/app/clusters/ias-zone-server/ias-zone-server.cpp @@ -630,7 +630,7 @@ static void unenrollSecurityDevice(EndpointId endpoint) uint16_t zoneType = EMBER_AF_PLUGIN_IAS_ZONE_SERVER_ZONE_TYPE; emberAfWriteServerAttribute(endpoint, ZCL_IAS_ZONE_CLUSTER_ID, ZCL_IAS_CIE_ADDRESS_ATTRIBUTE_ID, (uint8_t *) ieeeAddress, - ZCL_IEEE_ADDRESS_ATTRIBUTE_TYPE); + ZCL_NODE_ID_ATTRIBUTE_TYPE); emberAfWriteServerAttribute(endpoint, ZCL_IAS_ZONE_CLUSTER_ID, ZCL_ZONE_TYPE_ATTRIBUTE_ID, (uint8_t *) &zoneType, ZCL_INT16U_ATTRIBUTE_TYPE); diff --git a/src/app/clusters/ota-server/ota-server.cpp b/src/app/clusters/ota-server/ota-server.cpp index d6469c5adc91a5..e91761db303eb6 100644 --- a/src/app/clusters/ota-server/ota-server.cpp +++ b/src/app/clusters/ota-server/ota-server.cpp @@ -50,7 +50,7 @@ bool SendStatusIfDelegateNull(chip::EndpointId endpointId) { if (GetDelegate(endpointId) == nullptr) { - ChipLogError(Zcl, "No OTAServerDelegate set for ep:%" PRIu8, endpointId); + ChipLogError(Zcl, "No OTAServerDelegate set for ep:%" PRIu16, endpointId); emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_UNSUP_COMMAND); return true; } diff --git a/src/app/decoder.cpp b/src/app/decoder.cpp index 5306f49dcab9eb..34b3162067aa7a 100644 --- a/src/app/decoder.cpp +++ b/src/app/decoder.cpp @@ -59,7 +59,7 @@ uint16_t extractApsFrame(uint8_t * buffer, uint16_t buf_length, EmberApsFrame * void printApsFrame(EmberApsFrame * frame) { ChipLogProgress(Zcl, - "\n clusterID %d, sourceEndpoint %d, destinationEndPoint %d, options %d, groupID %d, " + "\n clusterID %" PRIx32 ", sourceEndpoint %d, destinationEndPoint %d, options %d, groupID %d, " "sequence %d, radius %d\n", frame, frame->clusterId, frame->sourceEndpoint, frame->destinationEndpoint, frame->options, frame->groupId, frame->sequence, frame->radius); diff --git a/src/app/encoder-common.cpp b/src/app/encoder-common.cpp index c27f1e24d031cf..99a022cc46ecde 100644 --- a/src/app/encoder-common.cpp +++ b/src/app/encoder-common.cpp @@ -28,9 +28,9 @@ uint16_t doEncodeApsFrame(BufferWriter & buf, chip::ClusterId clusterId, chip::E uint8_t control_byte = 0; buf.Put(control_byte) // Put in a control byte - .Put16(clusterId) - .Put8(sourceEndpoint) - .Put8(destinationEndpoint) + .Put32(clusterId) + .Put16(sourceEndpoint) + .Put16(destinationEndpoint) .EndianPut(options, sizeof(EmberApsOption)) .Put16(groupId) .Put8(sequence) diff --git a/src/app/tests/TestCommandInteraction.cpp b/src/app/tests/TestCommandInteraction.cpp index 9a406a78d7c885..4281bb4e651220 100644 --- a/src/app/tests/TestCommandInteraction.cpp +++ b/src/app/tests/TestCommandInteraction.cpp @@ -72,7 +72,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC aCommandId, // CommandId (chip::app::CommandPathFlags::kEndpointIdValid) }; - ChipLogDetail(Controller, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, + ChipLogDetail(Controller, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, aCommandId, aEndPointId); apCommandObj->AddStatusCode(commandPathParams, Protocols::SecureChannel::GeneralStatusCode::kSuccess, diff --git a/src/app/util/basic-types.h b/src/app/util/basic-types.h index 247569128481c4..b0f9f1b2f7d7c3 100644 --- a/src/app/util/basic-types.h +++ b/src/app/util/basic-types.h @@ -28,17 +28,24 @@ // Pull in NodeId #include +// Pull in VendorId +#include + namespace chip { -typedef uint8_t EndpointId; -typedef uint16_t ClusterId; -typedef uint16_t AttributeId; +typedef uint32_t ClusterId; +typedef uint32_t AttributeId; +typedef uint32_t FieldId; +typedef uint32_t EventId; +typedef uint32_t CommandId; +typedef uint8_t ActionId; +typedef uint32_t TransactionId; +typedef uint32_t DeviceTypeId; +typedef uint64_t FabricId; typedef uint16_t GroupId; -typedef uint8_t CommandId; -typedef uint16_t EventId; +typedef uint32_t StatusCode; +typedef uint32_t DataVersion; typedef uint64_t EventNumber; -typedef uint64_t DataVersion; -typedef uint32_t DeviceTypeId; -typedef uint8_t FieldId; +typedef uint16_t EndpointId; +typedef uint8_t FabricIndex; typedef uint16_t ListIndex; -typedef uint64_t FabricId; } // namespace chip diff --git a/src/app/util/process-global-message.cpp b/src/app/util/process-global-message.cpp index c8d7a98a9a8484..c3e89193391788 100644 --- a/src/app/util/process-global-message.cpp +++ b/src/app/util/process-global-message.cpp @@ -501,7 +501,7 @@ bool emAfProcessGlobalCommand(EmberAfClusterCommand * cmd) if (emAfSyncingTime && !cmd->mfgSpecific && msgLen - msgIndex == 8 // attr:2 status:1 type:1 data:4 && (emberAfGetInt16u(message, msgIndex, msgLen) == ZCL_TIME_ATTRIBUTE_ID) && (emberAfGetInt8u(message, msgIndex + 2, msgLen) == EMBER_ZCL_STATUS_SUCCESS) && - (emberAfGetInt8u(message, msgIndex + 3, msgLen) == ZCL_UTC_TIME_ATTRIBUTE_TYPE)) + (emberAfGetInt8u(message, msgIndex + 3, msgLen) == ZCL_UTC_ATTRIBUTE_TYPE)) { // emberAfSetTime(emberAfGetInt32u(message, msgIndex + 4, msgLen)); // emberAfDebugPrintln("time sync ok, time: %4x", emberAfGetCurrentTime()); diff --git a/src/app/util/util.cpp b/src/app/util/util.cpp index 1101e44177a744..3a3deb87f3ca0a 100644 --- a/src/app/util/util.cpp +++ b/src/app/util/util.cpp @@ -362,7 +362,7 @@ void emberAfStackDown(void) uint16_t emberAfFindClusterNameIndexWithMfgCode(ClusterId cluster, uint16_t mfgCode) { - static_assert(sizeof(ClusterId) == 2, "May need to adjust our index type or somehow define it in terms of cluster id type"); + static_assert(sizeof(ClusterId) == 4, "May need to adjust our index type or somehow define it in terms of cluster id type"); uint16_t index = 0; while (zclClusterNames[index].id != ZCL_NULL_CLUSTER_ID) { @@ -394,8 +394,8 @@ void emberAfDecodeAndPrintClusterWithMfgCode(ClusterId cluster, uint16_t mfgCode uint16_t index = emberAfFindClusterNameIndexWithMfgCode(cluster, mfgCode); if (index == 0xFFFF) { - static_assert(sizeof(ClusterId) == 2, "Adjust the print formatting"); - emberAfPrint(emberAfPrintActiveArea, "(Unknown clus. [0x%2x])", cluster); + static_assert(sizeof(ClusterId) == 4, "Adjust the print formatting"); + emberAfPrint(emberAfPrintActiveArea, "(Unknown clus. [0x%4x])", cluster); } else { diff --git a/src/app/zap-templates/common/ChipTypesHelper.js b/src/app/zap-templates/common/ChipTypesHelper.js index 62152bfad82f51..c0bf4080bff739 100644 --- a/src/app/zap-templates/common/ChipTypesHelper.js +++ b/src/app/zap-templates/common/ChipTypesHelper.js @@ -18,18 +18,26 @@ function asBasicType(type) { switch (type) { - case 'chip::CommandId': - case 'chip::EndpointId': + case 'chip::ActionId': + case 'chip::FabricIndex': return 'uint8_t'; - case 'chip::AttributeId': - case 'chip::ClusterId': - case 'chip::EventId': + case 'chip::EndpointId': + case 'chip::VendorId': case 'chip::GroupId': return 'uint16_t'; + case 'chip::ClusterId': + case 'chip::AttributeId': + case 'chip::FieldId': + case 'chip::EventId': + case 'chip::CommandId': + case 'chip::TransactionId': case 'chip::DeviceTypeId': + case 'chip::StatusCode': + case 'chip::DataVersion': return 'uint32_t'; case 'chip::NodeId': case 'chip::FabricId': + case 'chip::EventNumber': return 'uint64_t'; default: return type; diff --git a/src/app/zap-templates/common/ClustersHelper.js b/src/app/zap-templates/common/ClustersHelper.js index 01aed0da0d25a4..fd04eafdbc2a49 100644 --- a/src/app/zap-templates/common/ClustersHelper.js +++ b/src/app/zap-templates/common/ClustersHelper.js @@ -259,17 +259,14 @@ function handleBasic(item, [ atomics, enums, bitmaps, structs ]) const atomic = getAtomic(atomics, itemType); if (atomic) { - item.name = item.name || item.label; - item.isStruct = false; - item.atomicTypeId = atomic.atomicId; - item.discrete = atomic.isDiscrete; - item.size = atomic.size; - item.chipType = atomic.chipType; - // For the moment, SECURITY_KEY is unhandled. - if (atomic.atomicId != 0xF1) { - item.chipTypePutLength = asPutLength(atomic.chipType); - item.chipTypePutCastType = asPutCastType(atomic.chipType); - } + item.name = item.name || item.label; + item.isStruct = false; + item.atomicTypeId = atomic.atomicId; + item.discrete = atomic.isDiscrete; + item.size = atomic.size; + item.chipType = atomic.chipType; + item.chipTypePutLength = asPutLength(atomic.chipType); + item.chipTypePutCastType = asPutCastType(atomic.chipType); return true; } diff --git a/src/app/zap-templates/common/override.js b/src/app/zap-templates/common/override.js index afa8e9511e5fd0..3ab35bcc8f61f7 100644 --- a/src/app/zap-templates/common/override.js +++ b/src/app/zap-templates/common/override.js @@ -18,22 +18,33 @@ function atomicType(arg) { switch (arg.name) { + case 'cluster_id': + case 'field_id': + case 'event_id': + case 'command_id': + case 'action_id': + case 'transaction_id': case 'node_id': - return 'chip::NodeId'; - case 'endpoint_id': - return 'chip::EndpointId'; + case 'vendor_id': + case 'fabric_id': case 'group_id': - return 'chip::GroupId'; - case 'attribute_id': + const parts = arg.name.split('_'); + return 'chip::' + parts[0][0].toUpperCase() + parts[0].substring(1) + parts[1][0].toUpperCase() + parts[1].substring(1); + + case 'attrib_id': return 'chip::AttributeId'; - case 'cluster_id': - return 'chip::ClusterId'; - case 'device_type_id': + case 'devtype_id': return 'chip::DeviceTypeId'; - case 'fabric_id': - return 'chip::FabricId'; - case 'ieee_address': - return 'uint64_t'; + case 'fabric_idx': + return 'chip::FabricIndex'; + case 'status': + return 'chip::StatusCode'; + case 'data_ver': + return 'chip::DataVersion'; + case 'event_no': + return 'chip::EventNumber'; + case 'endpoint_no': + return 'chip::EndpointId'; default: throw 'not overriding'; } diff --git a/src/app/zap-templates/templates/app/attribute-size-src.zapt b/src/app/zap-templates/templates/app/attribute-size-src.zapt index 47a3ac6820d00b..0178f50f1c81e8 100644 --- a/src/app/zap-templates/templates/app/attribute-size-src.zapt +++ b/src/app/zap-templates/templates/app/attribute-size-src.zapt @@ -176,7 +176,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt b/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt index 0e4b99d1ceb477..c32781734ca211 100644 --- a/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt +++ b/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt @@ -64,7 +64,7 @@ void Dispatch{{asCamelCased side false}}Command(app::Command * apCommandObj, Com (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_{{asDelimitedMacro define}}_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_{{asDelimitedMacro define}}_ID); return; } } @@ -93,7 +93,7 @@ void Dispatch{{asCamelCased side false}}Command(app::Command * apCommandObj, Com void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; @@ -116,7 +116,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/src/app/zap-templates/zcl/custom-types.xml b/src/app/zap-templates/zcl/custom-types.xml deleted file mode 100644 index 4a5995b027c4c2..00000000000000 --- a/src/app/zap-templates/zcl/custom-types.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/app/zap-templates/zcl/account-login-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/account-login-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml diff --git a/src/app/zap-templates/zcl/application-basic-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/application-basic-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml diff --git a/src/app/zap-templates/zcl/application-launcher-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/application-launcher-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml diff --git a/src/app/zap-templates/zcl/audio-output-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/audio-output-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml diff --git a/src/app/zap-templates/zcl/basic-information-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/basic-information-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml diff --git a/src/app/zap-templates/zcl/binding-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml similarity index 94% rename from src/app/zap-templates/zcl/binding-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml index 58f30094498017..f72201716072b3 100644 --- a/src/app/zap-templates/zcl/binding-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml @@ -28,14 +28,14 @@ limitations under the License. Add a binding - + Remove a binding - + diff --git a/src/app/zap-templates/zcl/bridged-device-basic.xml b/src/app/zap-templates/zcl/data-model/chip/bridged-device-basic.xml similarity index 100% rename from src/app/zap-templates/zcl/bridged-device-basic.xml rename to src/app/zap-templates/zcl/data-model/chip/bridged-device-basic.xml diff --git a/src/app/zap-templates/zcl/chip-devices.xml b/src/app/zap-templates/zcl/data-model/chip/chip-devices.xml similarity index 100% rename from src/app/zap-templates/zcl/chip-devices.xml rename to src/app/zap-templates/zcl/data-model/chip/chip-devices.xml diff --git a/src/app/zap-templates/zcl/chip-ota.xml b/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml similarity index 100% rename from src/app/zap-templates/zcl/chip-ota.xml rename to src/app/zap-templates/zcl/data-model/chip/chip-ota.xml diff --git a/src/app/zap-templates/zcl/data-model/chip/chip-types.xml b/src/app/zap-templates/zcl/data-model/chip/chip-types.xml new file mode 100644 index 00000000000000..21e90fa65faafa --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/chip/chip-types.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/zap-templates/zcl/clusters-extensions.xml b/src/app/zap-templates/zcl/data-model/chip/clusters-extensions.xml similarity index 100% rename from src/app/zap-templates/zcl/clusters-extensions.xml rename to src/app/zap-templates/zcl/data-model/chip/clusters-extensions.xml diff --git a/src/app/zap-templates/zcl/commissioning.xml b/src/app/zap-templates/zcl/data-model/chip/commissioning.xml similarity index 100% rename from src/app/zap-templates/zcl/commissioning.xml rename to src/app/zap-templates/zcl/data-model/chip/commissioning.xml diff --git a/src/app/zap-templates/zcl/content-launch-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/content-launch-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml diff --git a/src/app/zap-templates/zcl/descriptor-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml similarity index 89% rename from src/app/zap-templates/zcl/descriptor-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml index dd0a1a945ceefc..cbd2879f3136ab 100644 --- a/src/app/zap-templates/zcl/descriptor-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml @@ -16,6 +16,12 @@ limitations under the License. --> + + + + + + General Descriptor @@ -25,6 +31,6 @@ limitations under the License. device list server list client list - parts list + parts list diff --git a/src/app/zap-templates/zcl/ethernet-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/ethernet-network-diagnostics-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml diff --git a/src/app/zap-templates/zcl/fixed-label-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml similarity index 78% rename from src/app/zap-templates/zcl/fixed-label-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml index 237a1220521d23..5fea8674ff69f8 100644 --- a/src/app/zap-templates/zcl/fixed-label-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml @@ -16,6 +16,12 @@ limitations under the License. --> + + + + + + General Fixed Label diff --git a/src/app/zap-templates/zcl/flow-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/flow-measurement-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml diff --git a/src/app/zap-templates/zcl/general-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/general-commissioning-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml diff --git a/src/app/zap-templates/zcl/general-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml similarity index 85% rename from src/app/zap-templates/zcl/general-diagnostics-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml index 15cac0fbceb576..3d4f8dfbb3f00f 100644 --- a/src/app/zap-templates/zcl/general-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml @@ -53,6 +53,22 @@ limitations under the License. + + + + + + + + + + + + + + + + General General Diagnostics diff --git a/src/app/zap-templates/zcl/group-key-mgmt-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml similarity index 65% rename from src/app/zap-templates/zcl/group-key-mgmt-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml index 370324e8b4d6f6..c989f8da3047cc 100644 --- a/src/app/zap-templates/zcl/group-key-mgmt-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml @@ -16,6 +16,26 @@ limitations under the License. --> + + + + + + + + + + + + + + + + + + + + General Group Key Management diff --git a/src/app/zap-templates/zcl/keypad-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/keypad-input-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml diff --git a/src/app/zap-templates/zcl/low-power-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/low-power-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/low-power-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/low-power-cluster.xml diff --git a/src/app/zap-templates/zcl/media-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/media-input-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml diff --git a/src/app/zap-templates/zcl/media-playback-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/media-playback-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml diff --git a/src/app/zap-templates/zcl/operational-credentials-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml similarity index 94% rename from src/app/zap-templates/zcl/operational-credentials-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml index dd2397b1e043fe..32da910efed348 100644 --- a/src/app/zap-templates/zcl/operational-credentials-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml @@ -16,6 +16,14 @@ limitations under the License. --> + + + + + + + + General Operational Credentials diff --git a/src/app/zap-templates/zcl/pump-configuration-and-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/pump-configuration-and-control-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml diff --git a/src/app/zap-templates/zcl/pump-controller-device.xml b/src/app/zap-templates/zcl/data-model/chip/pump-controller-device.xml similarity index 100% rename from src/app/zap-templates/zcl/pump-controller-device.xml rename to src/app/zap-templates/zcl/data-model/chip/pump-controller-device.xml diff --git a/src/app/zap-templates/zcl/pump-device.xml b/src/app/zap-templates/zcl/data-model/chip/pump-device.xml similarity index 100% rename from src/app/zap-templates/zcl/pump-device.xml rename to src/app/zap-templates/zcl/data-model/chip/pump-device.xml diff --git a/src/app/zap-templates/zcl/relative-humidity-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/relative-humidity-measurement-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml diff --git a/src/app/zap-templates/zcl/software-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/software-diagnostics-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml diff --git a/src/app/zap-templates/zcl/switch-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/switch-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml diff --git a/src/app/zap-templates/zcl/target-navigator-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/target-navigator-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml diff --git a/src/app/zap-templates/zcl/temperature-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/temperature-measurement-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml diff --git a/src/app/zap-templates/zcl/test-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml similarity index 97% rename from src/app/zap-templates/zcl/test-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/test-cluster.xml index ad698167a98d68..6f90ce5a38e6be 100644 --- a/src/app/zap-templates/zcl/test-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml @@ -16,6 +16,12 @@ limitations under the License. --> + + + + + + CHIP Test Cluster diff --git a/src/app/zap-templates/zcl/thread-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/thread-network-diagnostics-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml diff --git a/src/app/zap-templates/zcl/tv-channel-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/tv-channel-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/tv-channel-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/tv-channel-cluster.xml diff --git a/src/app/zap-templates/zcl/tv-device-types.xml b/src/app/zap-templates/zcl/data-model/chip/tv-device-types.xml similarity index 100% rename from src/app/zap-templates/zcl/tv-device-types.xml rename to src/app/zap-templates/zcl/data-model/chip/tv-device-types.xml diff --git a/src/app/zap-templates/zcl/wake-on-lan-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/wake-on-lan-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml diff --git a/src/app/zap-templates/zcl/wifi-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml similarity index 100% rename from src/app/zap-templates/zcl/wifi-network-diagnostics-cluster.xml rename to src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml diff --git a/src/app/zap-templates/zcl/data-model/silabs/ami-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/ami-devices.xml deleted file mode 100644 index e901edbde042b7..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/ami-devices.xml +++ /dev/null @@ -1,822 +0,0 @@ - - - - - SE-rangeextender - SE - SE Range Extender - Router - 0x0109 - 0x0008 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Keep-Alive - - - - SE-ESP - SE - SE Energy Service Interface - Coordinator - 0x0109 - 0x0500 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Messaging - Price - Demand Response and Load Control - Time - Simple Metering - Keep-Alive - - - - SE-Meter - SE - SE Metering Device - Coordinator - 0x0109 - 0x0501 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Simple Metering - Time - Price - Messaging - Keep-Alive - - - - SE-Meter-Mirror - SE - SE Metering Mirror Device - Coordinator - 0x0109 - 0x0501 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Simple Metering - Time - Price - Messaging - Keep-Alive - - - - SE-IPD - SE - SE In-Premises Display - Router - 0x0109 - 0x0502 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Demand Response and Load Control - Time - Price - Simple Metering - Messaging - Keep-Alive - - - - SE-PCT - SE - SE Programmable Communicating Thermostat (PCT) - Router - 0x0109 - 0x0503 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Demand Response and Load Control - Time - Price - Simple Metering - Messaging - Keep-Alive - - - - SE-LC - SE - SE Load Control Device - Router - 0x0109 - 0x0504 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Demand Response and Load Control - Time - Price - Keep-Alive - - - - SE-SA - SE - SE Smart Appliance - Router - 0x0109 - 0x0505 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Price - Time - Demand Response and Load Control - Messaging - Keep-Alive - - - - SE-pt - SE - SE Prepayment Terminal - Router - 0x0109 - 0x0506 - - Basic - Key Establishment - Power Configuration - Alarms - Commissioning - Identify - Over the Air Bootloading - Tunneling - Generic Tunnel - Price - Time - Prepayment - Demand Response and Load Control - Simple Metering - Messaging - Calendar - Device Management - Events - Keep-Alive - - - - SE1.2-rangeextender - SE - SE 1.2 Range Extender - Router - 0x0109 - 0x0008 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - - - - SE1.2-ESP - SE - SE 1.2 Energy Service Interface - Coordinator - 0x0109 - 0x0500 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Messaging - Price - Demand Response and Load Control - Time - Calendar - Simple Metering - Prepayment - Device Management - Alarms - MDU Pairing - Energy Management - Tunneling - Keep-Alive - - - - SE1.2-Meter - SE - SE 1.2 Metering Device - Router - 0x0109 - 0x0501 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Simple Metering - Time - Prepayment - Price - Calendar - Messaging - Device Management - MDU Pairing - Alarms - Tunneling - Keep-Alive - - - - SE1.2-Meter-Mirror - SE - SE 1.2 Metering Mirror Device - Router - 0x0109 - 0x0501 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Simple Metering - Time - Prepayment - Price - Calendar - Messaging - Device Management - MDU Pairing - Alarms - Tunneling - Keep-Alive - - - - SE1.2-In-Home-Display - SE - SE 1.2 In-Home Display - Router - 0x0109 - 0x0502 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Demand Response and Load Control - Time - Prepayment - Price - Calendar - Simple Metering - Messaging - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - - - - SE1.2-PCT - SE - SE 1.2 Programmable Communicating Thermostat (PCT) - Router - 0x0109 - 0x0503 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Demand Response and Load Control - Time - Prepayment - Price - Calendar - Simple Metering - Messaging - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - - - - SE1.2-LC - SE - SE 1.2 Load Control Device - Router - 0x0109 - 0x0504 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Demand Response and Load Control - Time - Price - Calendar - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - - - - SE1.2-SA - SE - SE 1.2 Smart Appliance - Router - 0x0109 - 0x0505 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Price - Time - Demand Response and Load Control - Messaging - Calendar - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - - - - SE1.2-pt - SE - SE 1.2 Prepayment Terminal - Router - 0x0109 - 0x0506 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Tunneling - Price - Time - Prepayment - Demand Response and Load Control - Calendar - Simple Metering - Messaging - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - - - - SE1.2-physical - SE - SE 1.2 Physical Device - Router - 0x0109 - 0x0507 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Keep-Alive - - - - SE1.2-rcd - SE - SE 1.2 Remote Communications Device - Router - 0x0109 - 0x0508 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Tunneling - Time - Keep-Alive - - - - SE1.4-rangeextender - SE - SE 1.4 Range Extender - Router - 0x0109 - 0x0008 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Sub-GHz - - - - SE1.4-ESP - SE - SE 1.4 Energy Service Interface - Coordinator - 0x0109 - 0x0500 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Messaging - Price - Demand Response and Load Control - Time - Calendar - Simple Metering - Prepayment - Device Management - Alarms - MDU Pairing - Energy Management - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-Meter - SE - SE 1.4 Metering Device - Router - 0x0109 - 0x0501 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Simple Metering - Time - Prepayment - Price - Calendar - Messaging - Device Management - MDU Pairing - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-Meter-Mirror - SE - SE 1.4 Metering Mirror Device - Router - 0x0109 - 0x0501 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Simple Metering - Time - Prepayment - Price - Calendar - Messaging - Device Management - MDU Pairing - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-In-Home-Display - SE - SE 1.4 In-Home Display - Router - 0x0109 - 0x0502 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Demand Response and Load Control - Time - Prepayment - Price - Calendar - Simple Metering - Messaging - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-PCT - SE - SE 1.4 Programmable Communicating Thermostat (PCT) - Router - 0x0109 - 0x0503 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Demand Response and Load Control - Time - Prepayment - Price - Calendar - Simple Metering - Messaging - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-LC - SE - SE 1.4 Load Control Device - Router - 0x0109 - 0x0504 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Demand Response and Load Control - Time - Price - Calendar - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-SA - SE - SE 1.4 Smart Appliance - Router - 0x0109 - 0x0505 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Price - Time - Demand Response and Load Control - Messaging - Calendar - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-pt - SE - SE 1.4 Prepayment Terminal - Router - 0x0109 - 0x0506 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Tunneling - Price - Time - Prepayment - Demand Response and Load Control - Calendar - Simple Metering - Messaging - Device Management - MDU Pairing - Energy Management - Alarms - Tunneling - Keep-Alive - Sub-GHz - - - - SE1.4-physical - SE - SE 1.4 Physical Device - Router - 0x0109 - 0x0507 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Keep-Alive - Sub-GHz - - - - SE1.4-rcd - SE - SE 1.4 Remote Communications Device - Router - 0x0109 - 0x0508 - - Basic - Key Establishment - Power Configuration - Commissioning - Identify - Events - Over the Air Bootloading - Tunneling - Time - Keep-Alive - Sub-GHz - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ami.xml b/src/app/zap-templates/zcl/data-model/silabs/ami.xml index 525f417c698484..ba1bb45ff5c41b 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/ami.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/ami.xml @@ -24,5705 +24,76 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - Price + Messaging SE - The Price Cluster provides the mechanism for communicating Gas, Energy, or Water pricing information within the premises. - 0x0700 - PRICE_CLUSTER + This cluster provides an interface for passing text messages between SE devices. + 0x0703 + MESSAGING_CLUSTER true true - - - tier 1 price label - tier 2 price label - tier 3 price label - tier 4 price label - tier 5 price label - tier 6 price label - tier 7 price label - tier 8 price label - tier 9 price label - tier 10 price label - tier 11 price label - tier 12 price label - tier 13 price label - tier 14 price label - tier 15 price label - tier 16 price label - tier 17 price label - tier 18 price label - tier 19 price label - tier 20 price label - tier 21 price label - tier 22 price label - tier 23 price label - tier 24 price label - tier 25 price label - tier 26 price label - tier 27 price label - tier 28 price label - tier 29 price label - tier 30 price label - tier 31 price label - tier 32 price label - tier 33 price label - tier 34 price label - tier 35 price label - tier 36 price label - tier 37 price label - tier 38 price label - tier 39 price label - tier 40 price label - tier 41 price label - tier 42 price label - tier 43 price label - tier 44 price label - tier 45 price label - tier 46 price label - tier 47 price label - tier 48 price label - - block 1 threshold - block 2 threshold - block 3 threshold - block 4 threshold - block 5 threshold - block 6 threshold - block 7 threshold - block 8 threshold - block 9 threshold - block 10 threshold - block 11 threshold - block 12 threshold - block 13 threshold - block 14 threshold - block 15 threshold - block threshold count - tier 1 block 1 threshold - tier 1 block 2 threshold - tier 1 block 3 threshold - tier 1 block 4 threshold - tier 1 block 5 threshold - tier 1 block 6 threshold - tier 1 block 7 threshold - tier 1 block 8 threshold - tier 1 block 9 threshold - tier 1 block 10 threshold - tier 1 block 11 threshold - tier 1 block 12 threshold - tier 1 block 13 threshold - tier 1 block 14 threshold - tier 1 block 15 threshold - tier 1 block threshold count - tier 2 block 1 threshold - tier 2 block 2 threshold - tier 2 block 3 threshold - tier 2 block 4 threshold - tier 2 block 5 threshold - tier 2 block 6 threshold - tier 2 block 7 threshold - tier 2 block 8 threshold - tier 2 block 9 threshold - tier 2 block 10 threshold - tier 2 block 11 threshold - tier 2 block 12 threshold - tier 2 block 13 threshold - tier 2 block 14 threshold - tier 2 block 15 threshold - tier 2 block threshold count - tier 3 block 1 threshold - tier 3 block 2 threshold - tier 3 block 3 threshold - tier 3 block 4 threshold - tier 3 block 5 threshold - tier 3 block 6 threshold - tier 3 block 7 threshold - tier 3 block 8 threshold - tier 3 block 9 threshold - tier 3 block 10 threshold - tier 3 block 11 threshold - tier 3 block 12 threshold - tier 3 block 13 threshold - tier 3 block 14 threshold - tier 3 block 15 threshold - tier 3 block threshold count - tier 4 block 1 threshold - tier 4 block 2 threshold - tier 4 block 3 threshold - tier 4 block 4 threshold - tier 4 block 5 threshold - tier 4 block 6 threshold - tier 4 block 7 threshold - tier 4 block 8 threshold - tier 4 block 9 threshold - tier 4 block 10 threshold - tier 4 block 11 threshold - tier 4 block 12 threshold - tier 4 block 13 threshold - tier 4 block 14 threshold - tier 4 block 15 threshold - tier 4 block threshold count - tier 5 block 1 threshold - tier 5 block 2 threshold - tier 5 block 3 threshold - tier 5 block 4 threshold - tier 5 block 5 threshold - tier 5 block 6 threshold - tier 5 block 7 threshold - tier 5 block 8 threshold - tier 5 block 9 threshold - tier 5 block 10 threshold - tier 5 block 11 threshold - tier 5 block 12 threshold - tier 5 block 13 threshold - tier 5 block 14 threshold - tier 5 block 15 threshold - tier 5 block threshold count - tier 6 block 1 threshold - tier 6 block 2 threshold - tier 6 block 3 threshold - tier 6 block 4 threshold - tier 6 block 5 threshold - tier 6 block 6 threshold - tier 6 block 7 threshold - tier 6 block 8 threshold - tier 6 block 9 threshold - tier 6 block 10 threshold - tier 6 block 11 threshold - tier 6 block 12 threshold - tier 6 block 13 threshold - tier 6 block 14 threshold - tier 6 block 15 threshold - tier 6 block threshold count - tier 7 block 1 threshold - tier 7 block 2 threshold - tier 7 block 3 threshold - tier 7 block 4 threshold - tier 7 block 5 threshold - tier 7 block 6 threshold - tier 7 block 7 threshold - tier 7 block 8 threshold - tier 7 block 9 threshold - tier 7 block 10 threshold - tier 7 block 11 threshold - tier 7 block 12 threshold - tier 7 block 13 threshold - tier 7 block 14 threshold - tier 7 block 15 threshold - tier 7 block threshold count - tier 8 block 1 threshold - tier 8 block 2 threshold - tier 8 block 3 threshold - tier 8 block 4 threshold - tier 8 block 5 threshold - tier 8 block 6 threshold - tier 8 block 7 threshold - tier 8 block 8 threshold - tier 8 block 9 threshold - tier 8 block 10 threshold - tier 8 block 11 threshold - tier 8 block 12 threshold - tier 8 block 13 threshold - tier 8 block 14 threshold - tier 8 block 15 threshold - tier 8 block threshold count - tier 9 block 1 threshold - tier 9 block 2 threshold - tier 9 block 3 threshold - tier 9 block 4 threshold - tier 9 block 5 threshold - tier 9 block 6 threshold - tier 9 block 7 threshold - tier 9 block 8 threshold - tier 9 block 9 threshold - tier 9 block 10 threshold - tier 9 block 11 threshold - tier 9 block 12 threshold - tier 9 block 13 threshold - tier 9 block 14 threshold - tier 9 block 15 threshold - tier 9 block threshold count - tier 10 block 1 threshold - tier 10 block 2 threshold - tier 10 block 3 threshold - tier 10 block 4 threshold - tier 10 block 5 threshold - tier 10 block 6 threshold - tier 10 block 7 threshold - tier 10 block 8 threshold - tier 10 block 9 threshold - tier 10 block 10 threshold - tier 10 block 11 threshold - tier 10 block 12 threshold - tier 10 block 13 threshold - tier 10 block 14 threshold - tier 10 block 15 threshold - tier 10 block threshold count - tier 11 block 1 threshold - tier 11 block 2 threshold - tier 11 block 3 threshold - tier 11 block 4 threshold - tier 11 block 5 threshold - tier 11 block 6 threshold - tier 11 block 7 threshold - tier 11 block 8 threshold - tier 11 block 9 threshold - tier 11 block 10 threshold - tier 11 block 11 threshold - tier 11 block 12 threshold - tier 11 block 13 threshold - tier 11 block 14 threshold - tier 11 block 15 threshold - tier 11 block threshold count - tier 12 block 1 threshold - tier 12 block 2 threshold - tier 12 block 3 threshold - tier 12 block 4 threshold - tier 12 block 5 threshold - tier 12 block 6 threshold - tier 12 block 7 threshold - tier 12 block 8 threshold - tier 12 block 9 threshold - tier 12 block 10 threshold - tier 12 block 11 threshold - tier 12 block 12 threshold - tier 12 block 13 threshold - tier 12 block 14 threshold - tier 12 block 15 threshold - tier 12 block threshold count - tier 13 block 1 threshold - tier 13 block 2 threshold - tier 13 block 3 threshold - tier 13 block 4 threshold - tier 13 block 5 threshold - tier 13 block 6 threshold - tier 13 block 7 threshold - tier 13 block 8 threshold - tier 13 block 9 threshold - tier 13 block 10 threshold - tier 13 block 11 threshold - tier 13 block 12 threshold - tier 13 block 13 threshold - tier 13 block 14 threshold - tier 13 block 15 threshold - tier 13 block threshold count - tier 14 block 1 threshold - tier 14 block 2 threshold - tier 14 block 3 threshold - tier 14 block 4 threshold - tier 14 block 5 threshold - tier 14 block 6 threshold - tier 14 block 7 threshold - tier 14 block 8 threshold - tier 14 block 9 threshold - tier 14 block 10 threshold - tier 14 block 11 threshold - tier 14 block 12 threshold - tier 14 block 13 threshold - tier 14 block 14 threshold - tier 14 block 15 threshold - tier 14 block threshold count - tier 15 block 1 threshold - tier 15 block 2 threshold - tier 15 block 3 threshold - tier 15 block 4 threshold - tier 15 block 5 threshold - tier 15 block 6 threshold - tier 15 block 7 threshold - tier 15 block 8 threshold - tier 15 block 9 threshold - tier 15 block 10 threshold - tier 15 block 11 threshold - tier 15 block 12 threshold - tier 15 block 13 threshold - tier 15 block 14 threshold - tier 15 block 15 threshold - tier 15 block threshold count - - start of block period - block period duration (minutes) - threshold multiplier - threshold divisor - block period duration type - - commodity type - standing charge - conversion factor - conversion factor trailing digit - calorific value - calorific value unit - calorific value trailing digit - - no tier block 1 price - no tier block 2 price - no tier block 3 price - no tier block 4 price - no tier block 5 price - no tier block 6 price - no tier block 7 price - no tier block 8 price - no tier block 9 price - no tier block 10 price - no tier block 11 price - no tier block 12 price - no tier block 13 price - no tier block 14 price - no tier block 15 price - no tier block 16 price - tier 1 block 1 price - tier 1 block 2 price - tier 1 block 3 price - tier 1 block 4 price - tier 1 block 5 price - tier 1 block 6 price - tier 1 block 7 price - tier 1 block 8 price - tier 1 block 9 price - tier 1 block 10 price - tier 1 block 11 price - tier 1 block 12 price - tier 1 block 13 price - tier 1 block 14 price - tier 1 block 15 price - tier 1 block 16 price - tier 2 block 1 price - tier 2 block 2 price - tier 2 block 3 price - tier 2 block 4 price - tier 2 block 5 price - tier 2 block 6 price - tier 2 block 7 price - tier 2 block 8 price - tier 2 block 9 price - tier 2 block 10 price - tier 2 block 11 price - tier 2 block 12 price - tier 2 block 13 price - tier 2 block 14 price - tier 2 block 15 price - tier 2 block 16 price - tier 3 block 1 price - tier 3 block 2 price - tier 3 block 3 price - tier 3 block 4 price - tier 3 block 5 price - tier 3 block 6 price - tier 3 block 7 price - tier 3 block 8 price - tier 3 block 9 price - tier 3 block 10 price - tier 3 block 11 price - tier 3 block 12 price - tier 3 block 13 price - tier 3 block 14 price - tier 3 block 15 price - tier 3 block 16 price - tier 4 block 1 price - tier 4 block 2 price - tier 4 block 3 price - tier 4 block 4 price - tier 4 block 5 price - tier 4 block 6 price - tier 4 block 7 price - tier 4 block 8 price - tier 4 block 9 price - tier 4 block 10 price - tier 4 block 11 price - tier 4 block 12 price - tier 4 block 13 price - tier 4 block 14 price - tier 4 block 15 price - tier 4 block 16 price - tier 5 block 1 price - tier 5 block 2 price - tier 5 block 3 price - tier 5 block 4 price - tier 5 block 5 price - tier 5 block 6 price - tier 5 block 7 price - tier 5 block 8 price - tier 5 block 9 price - tier 5 block 10 price - tier 5 block 11 price - tier 5 block 12 price - tier 5 block 13 price - tier 5 block 14 price - tier 5 block 15 price - tier 5 block 16 price - tier 6 block 1 price - tier 6 block 2 price - tier 6 block 3 price - tier 6 block 4 price - tier 6 block 5 price - tier 6 block 6 price - tier 6 block 7 price - tier 6 block 8 price - tier 6 block 9 price - tier 6 block 10 price - tier 6 block 11 price - tier 6 block 12 price - tier 6 block 13 price - tier 6 block 14 price - tier 6 block 15 price - tier 6 block 16 price - tier 7 block 1 price - tier 7 block 2 price - tier 7 block 3 price - tier 7 block 4 price - tier 7 block 5 price - tier 7 block 6 price - tier 7 block 7 price - tier 7 block 8 price - tier 7 block 9 price - tier 7 block 10 price - tier 7 block 11 price - tier 7 block 12 price - tier 7 block 13 price - tier 7 block 14 price - tier 7 block 15 price - tier 7 block 16 price - tier 8 block 1 price - tier 8 block 2 price - tier 8 block 3 price - tier 8 block 4 price - tier 8 block 5 price - tier 8 block 6 price - tier 8 block 7 price - tier 8 block 8 price - tier 8 block 9 price - tier 8 block 10 price - tier 8 block 11 price - tier 8 block 12 price - tier 8 block 13 price - tier 8 block 14 price - tier 8 block 15 price - tier 8 block 16 price - tier 9 block 1 price - tier 9 block 2 price - tier 9 block 3 price - tier 9 block 4 price - tier 9 block 5 price - tier 9 block 6 price - tier 9 block 7 price - tier 9 block 8 price - tier 9 block 9 price - tier 9 block 10 price - tier 9 block 11 price - tier 9 block 12 price - tier 9 block 13 price - tier 9 block 14 price - tier 9 block 15 price - tier 9 block 16 price - tier 10 block 1 price - tier 10 block 2 price - tier 10 block 3 price - tier 10 block 4 price - tier 10 block 5 price - tier 10 block 6 price - tier 10 block 7 price - tier 10 block 8 price - tier 10 block 9 price - tier 10 block 10 price - tier 10 block 11 price - tier 10 block 12 price - tier 10 block 13 price - tier 10 block 14 price - tier 10 block 15 price - tier 10 block 16 price - tier 11 block 1 price - tier 11 block 2 price - tier 11 block 3 price - tier 11 block 4 price - tier 11 block 5 price - tier 11 block 6 price - tier 11 block 7 price - tier 11 block 8 price - tier 11 block 9 price - tier 11 block 10 price - tier 11 block 11 price - tier 11 block 12 price - tier 11 block 13 price - tier 11 block 14 price - tier 11 block 15 price - tier 11 block 16 price - tier 12 block 1 price - tier 12 block 2 price - tier 12 block 3 price - tier 12 block 4 price - tier 12 block 5 price - tier 12 block 6 price - tier 12 block 7 price - tier 12 block 8 price - tier 12 block 9 price - tier 12 block 10 price - tier 12 block 11 price - tier 12 block 12 price - tier 12 block 13 price - tier 12 block 14 price - tier 12 block 15 price - tier 12 block 16 price - tier 13 block 1 price - tier 13 block 2 price - tier 13 block 3 price - tier 13 block 4 price - tier 13 block 5 price - tier 13 block 6 price - tier 13 block 7 price - tier 13 block 8 price - tier 13 block 9 price - tier 13 block 10 price - tier 13 block 11 price - tier 13 block 12 price - tier 13 block 13 price - tier 13 block 14 price - tier 13 block 15 price - tier 13 block 16 price - tier 14 block 1 price - tier 14 block 2 price - tier 14 block 3 price - tier 14 block 4 price - tier 14 block 5 price - tier 14 block 6 price - tier 14 block 7 price - tier 14 block 8 price - tier 14 block 9 price - tier 14 block 10 price - tier 14 block 11 price - tier 14 block 12 price - tier 14 block 13 price - tier 14 block 14 price - tier 14 block 15 price - tier 14 block 16 price - tier 15 block 1 price - tier 15 block 2 price - tier 15 block 3 price - tier 15 block 4 price - tier 15 block 5 price - tier 15 block 6 price - tier 15 block 7 price - tier 15 block 8 price - tier 15 block 9 price - tier 15 block 10 price - tier 15 block 11 price - tier 15 block 12 price - tier 15 block 13 price - tier 15 block 14 price - tier 15 block 15 price - tier 15 block 16 price - - price tier 16 - price tier 17 - price tier 18 - price tier 19 - price tier 20 - price tier 21 - price tier 22 - price tier 23 - price tier 24 - price tier 25 - price tier 26 - price tier 27 - price tier 28 - price tier 29 - price tier 30 - price tier 31 - price tier 32 - price tier 33 - price tier 34 - price tier 35 - price tier 36 - price tier 37 - price tier 38 - price tier 39 - price tier 40 - price tier 41 - price tier 42 - price tier 43 - price tier 44 - price tier 45 - price tier 46 - price tier 47 - price tier 48 - CPP1 Price - CPP2 Price - - tariff label - number of price tiers in use - number of block thresholds in use - tier block mode - unit of measure - currency - price trailing digit - tariff resolution period - CO2 - CO2 unit - CO2 trailing digit - - current billing period start - current billing period duration - last billing period start - last billing period duration - last billing period consolidated bill - - credit payment due date - credit payment status - credit payment over due amount - payment discount - payment discount period - credit payment 1 - credit payment date 1 - credit payment ref 1 - credit payment 2 - credit payment date 2 - credit payment ref 2 - credit payment 3 - credit payment date 3 - credit payment ref 3 - credit payment 4 - credit payment date 4 - credit payment ref 4 - credit payment 5 - credit payment date 5 - credit payment ref 5 - - rx tier 1 price label - rx tier 2 price label - rx tier 3 price label - rx tier 4 price label - rx tier 5 price label - rx tier 6 price label - rx tier 7 price label - rx tier 8 price label - rx tier 9 price label - rx tier 10 price label - rx tier 11 price label - rx tier 12 price label - rx tier 13 price label - rx tier 14 price label - rx tier 15 price label - rx tier 16 price label - rx tier 17 price label - rx tier 18 price label - rx tier 19 price label - rx tier 20 price label - rx tier 21 price label - rx tier 22 price label - rx tier 23 price label - rx tier 24 price label - rx tier 25 price label - rx tier 26 price label - rx tier 27 price label - rx tier 28 price label - rx tier 29 price label - rx tier 30 price label - rx tier 31 price label - rx tier 32 price label - rx tier 33 price label - rx tier 34 price label - rx tier 35 price label - rx tier 36 price label - rx tier 37 price label - rx tier 38 price label - rx tier 39 price label - rx tier 40 price label - rx tier 41 price label - rx tier 42 price label - rx tier 43 price label - rx tier 44 price label - rx tier 45 price label - rx tier 46 price label - rx tier 47 price label - rx tier 48 price label - - rx block 1 threshold - rx block 2 threshold - rx block 3 threshold - rx block 4 threshold - rx block 5 threshold - rx block 6 threshold - rx block 7 threshold - rx block 8 threshold - rx block 9 threshold - rx block 10 threshold - rx block 11 threshold - rx block 12 threshold - rx block 13 threshold - rx block 14 threshold - rx block 15 threshold - - rx start of block period - rx block period duration - rx threshold multiplier - rx threshold divisor - - rx no tier block 1 price - rx no tier block 2 price - rx no tier block 3 price - rx no tier block 4 price - rx no tier block 5 price - rx no tier block 6 price - rx no tier block 7 price - rx no tier block 8 price - rx no tier block 9 price - rx no tier block 10 price - rx no tier block 11 price - rx no tier block 12 price - rx no tier block 13 price - rx no tier block 14 price - rx no tier block 15 price - rx no tier block 16 price - rx tier 1 block 1 price - rx tier 1 block 2 price - rx tier 1 block 3 price - rx tier 1 block 4 price - rx tier 1 block 5 price - rx tier 1 block 6 price - rx tier 1 block 7 price - rx tier 1 block 8 price - rx tier 1 block 9 price - rx tier 1 block 10 price - rx tier 1 block 11 price - rx tier 1 block 12 price - rx tier 1 block 13 price - rx tier 1 block 14 price - rx tier 1 block 15 price - rx tier 1 block 16 price - rx tier 2 block 1 price - rx tier 2 block 2 price - rx tier 2 block 3 price - rx tier 2 block 4 price - rx tier 2 block 5 price - rx tier 2 block 6 price - rx tier 2 block 7 price - rx tier 2 block 8 price - rx tier 2 block 9 price - rx tier 2 block 10 price - rx tier 2 block 11 price - rx tier 2 block 12 price - rx tier 2 block 13 price - rx tier 2 block 14 price - rx tier 2 block 15 price - rx tier 2 block 16 price - rx tier 3 block 1 price - rx tier 3 block 2 price - rx tier 3 block 3 price - rx tier 3 block 4 price - rx tier 3 block 5 price - rx tier 3 block 6 price - rx tier 3 block 7 price - rx tier 3 block 8 price - rx tier 3 block 9 price - rx tier 3 block 10 price - rx tier 3 block 11 price - rx tier 3 block 12 price - rx tier 3 block 13 price - rx tier 3 block 14 price - rx tier 3 block 15 price - rx tier 3 block 16 price - rx tier 4 block 1 price - rx tier 4 block 2 price - rx tier 4 block 3 price - rx tier 4 block 4 price - rx tier 4 block 5 price - rx tier 4 block 6 price - rx tier 4 block 7 price - rx tier 4 block 8 price - rx tier 4 block 9 price - rx tier 4 block 10 price - rx tier 4 block 11 price - rx tier 4 block 12 price - rx tier 4 block 13 price - rx tier 4 block 14 price - rx tier 4 block 15 price - rx tier 4 block 16 price - rx tier 5 block 1 price - rx tier 5 block 2 price - rx tier 5 block 3 price - rx tier 5 block 4 price - rx tier 5 block 5 price - rx tier 5 block 6 price - rx tier 5 block 7 price - rx tier 5 block 8 price - rx tier 5 block 9 price - rx tier 5 block 10 price - rx tier 5 block 11 price - rx tier 5 block 12 price - rx tier 5 block 13 price - rx tier 5 block 14 price - rx tier 5 block 15 price - rx tier 5 block 16 price - rx tier 6 block 1 price - rx tier 6 block 2 price - rx tier 6 block 3 price - rx tier 6 block 4 price - rx tier 6 block 5 price - rx tier 6 block 6 price - rx tier 6 block 7 price - rx tier 6 block 8 price - rx tier 6 block 9 price - rx tier 6 block 10 price - rx tier 6 block 11 price - rx tier 6 block 12 price - rx tier 6 block 13 price - rx tier 6 block 14 price - rx tier 6 block 15 price - rx tier 6 block 16 price - rx tier 7 block 1 price - rx tier 7 block 2 price - rx tier 7 block 3 price - rx tier 7 block 4 price - rx tier 7 block 5 price - rx tier 7 block 6 price - rx tier 7 block 7 price - rx tier 7 block 8 price - rx tier 7 block 9 price - rx tier 7 block 10 price - rx tier 7 block 11 price - rx tier 7 block 12 price - rx tier 7 block 13 price - rx tier 7 block 14 price - rx tier 7 block 15 price - rx tier 7 block 16 price - rx tier 8 block 1 price - rx tier 8 block 2 price - rx tier 8 block 3 price - rx tier 8 block 4 price - rx tier 8 block 5 price - rx tier 8 block 6 price - rx tier 8 block 7 price - rx tier 8 block 8 price - rx tier 8 block 9 price - rx tier 8 block 10 price - rx tier 8 block 11 price - rx tier 8 block 12 price - rx tier 8 block 13 price - rx tier 8 block 14 price - rx tier 8 block 15 price - rx tier 8 block 16 price - rx tier 9 block 1 price - rx tier 9 block 2 price - rx tier 9 block 3 price - rx tier 9 block 4 price - rx tier 9 block 5 price - rx tier 9 block 6 price - rx tier 9 block 7 price - rx tier 9 block 8 price - rx tier 9 block 9 price - rx tier 9 block 10 price - rx tier 9 block 11 price - rx tier 9 block 12 price - rx tier 9 block 13 price - rx tier 9 block 14 price - rx tier 9 block 15 price - rx tier 9 block 16 price - rx tier 10 block 1 price - rx tier 10 block 2 price - rx tier 10 block 3 price - rx tier 10 block 4 price - rx tier 10 block 5 price - rx tier 10 block 6 price - rx tier 10 block 7 price - rx tier 10 block 8 price - rx tier 10 block 9 price - rx tier 10 block 10 price - rx tier 10 block 11 price - rx tier 10 block 12 price - rx tier 10 block 13 price - rx tier 10 block 14 price - rx tier 10 block 15 price - rx tier 10 block 16 price - rx tier 11 block 1 price - rx tier 11 block 2 price - rx tier 11 block 3 price - rx tier 11 block 4 price - rx tier 11 block 5 price - rx tier 11 block 6 price - rx tier 11 block 7 price - rx tier 11 block 8 price - rx tier 11 block 9 price - rx tier 11 block 10 price - rx tier 11 block 11 price - rx tier 11 block 12 price - rx tier 11 block 13 price - rx tier 11 block 14 price - rx tier 11 block 15 price - rx tier 11 block 16 price - rx tier 12 block 1 price - rx tier 12 block 2 price - rx tier 12 block 3 price - rx tier 12 block 4 price - rx tier 12 block 5 price - rx tier 12 block 6 price - rx tier 12 block 7 price - rx tier 12 block 8 price - rx tier 12 block 9 price - rx tier 12 block 10 price - rx tier 12 block 11 price - rx tier 12 block 12 price - rx tier 12 block 13 price - rx tier 12 block 14 price - rx tier 12 block 15 price - rx tier 12 block 16 price - rx tier 13 block 1 price - rx tier 13 block 2 price - rx tier 13 block 3 price - rx tier 13 block 4 price - rx tier 13 block 5 price - rx tier 13 block 6 price - rx tier 13 block 7 price - rx tier 13 block 8 price - rx tier 13 block 9 price - rx tier 13 block 10 price - rx tier 13 block 11 price - rx tier 13 block 12 price - rx tier 13 block 13 price - rx tier 13 block 14 price - rx tier 13 block 15 price - rx tier 13 block 16 price - rx tier 14 block 1 price - rx tier 14 block 2 price - rx tier 14 block 3 price - rx tier 14 block 4 price - rx tier 14 block 5 price - rx tier 14 block 6 price - rx tier 14 block 7 price - rx tier 14 block 8 price - rx tier 14 block 9 price - rx tier 14 block 10 price - rx tier 14 block 11 price - rx tier 14 block 12 price - rx tier 14 block 13 price - rx tier 14 block 14 price - rx tier 14 block 15 price - rx tier 14 block 16 price - rx tier 15 block 1 price - rx tier 15 block 2 price - rx tier 15 block 3 price - rx tier 15 block 4 price - rx tier 15 block 5 price - rx tier 15 block 6 price - rx tier 15 block 7 price - rx tier 15 block 8 price - rx tier 15 block 9 price - rx tier 15 block 10 price - rx tier 15 block 11 price - rx tier 15 block 12 price - rx tier 15 block 13 price - rx tier 15 block 14 price - rx tier 15 block 15 price - rx tier 15 block 16 price - - rx price tier 16 - rx price tier 17 - rx price tier 18 - rx price tier 19 - rx price tier 20 - rx price tier 21 - rx price tier 22 - rx price tier 23 - rx price tier 24 - rx price tier 25 - rx price tier 26 - rx price tier 27 - rx price tier 28 - rx price tier 29 - rx price tier 30 - rx price tier 31 - rx price tier 32 - rx price tier 33 - rx price tier 34 - rx price tier 35 - rx price tier 36 - rx price tier 37 - rx price tier 38 - rx price tier 39 - rx price tier 40 - rx price tier 41 - rx price tier 42 - rx price tier 43 - rx price tier 44 - rx price tier 45 - rx price tier 46 - rx price tier 47 - rx price tier 48 - - rx tariff label - rx number of price tiers in use - rx number of block thresholds in use - rx tier block mode - rx tariff resolution period - rx CO2 - rx CO2 unit - rx CO2 trailing digit - - rx current billing period start - rx current billing period duration - rx last billing period start - rx last billing period duration - rx last billing period consolidated bill - - price increase randomize minutes - price decrease randomize minutes - commodity type - - - - The PublishPrice command is generated in response to receiving a Get Current Price command, in response to a Get Scheduled Prices command, and when an update to the pricing information is available from the commodity provider, either before or when a TOU price becomes active. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The PublishBlockPeriod command is generated in response to receiving a GetBlockPeriod(s) command or when an update to the block tariff schedule is available from the commodity provider. - - - - - - - - - - - - - - The PublishConversionFactor command is sent in response to a GetConversionFactor command or if a new Conversion factor is available. - - - - - - - - - The PublishCalorificValue command is sent in response to a GetCalorificValue command or if a new calorific value is available. - - - - - - - - - - The PublishTariffInformation command is sent in response to a GetTariffInformation command or if new tariff information is available (including price matrix and block thresholds). - - - - - - - - - - - - - - - - - - - - PublishPriceMatrix command is used to publish the Block Price Information Set (up to 15 tiers x 15 blocks) and the Extended Price Information Set (up to 48 tiers). The PublishPriceMatrix command is sent in response to a GetPriceMatrix command. - - - - - - - - - - - - - The PublishBlockThreshold command is sent in response to a GetBlockThreshold command. - - - - - - - - - - - - - The PublishCO2Value command is sent in response to a GetCO2Value command or if a new CO2 conversion factor is available. - - - - - - - - - - - - The PublishTierLabels command is generated in response to receiving a GetTierLabels command or when there is a tier label change. - - - - - - - - - - - - The PublishBillingPeriod command is generated in response to receiving a GetBillingPeriod(s) command or when an update to the Billing schedule is available from the commodity Supplier. - - - - - - - - - - - The PublishConsolidatedBill command is used to make consolidated billing information of previous billing periods available to other end devices. This command is issued in response to a GetConsolidatedBill command or if new billing information is available. - - - - - - - - - - - - + + + + - The PublishCPPEvent command is sent from an ESI to its price clients to notify them of a Critical Peak Pricing event. + Command description for DisplayMessage - - + + - - - - - - - The PublishCreditPayment command is used to update the credit payment information is available. - - - - - - - - - - - - - The PublishCurrencyConversion command is sent in response to a GetCurrencyConversion command or when a new currency becomes available. - - - - - - - - - - - - - The CancelTariff command indicates that all data associated with a particular tariff instance should be discarded. - - - - - - - - - The GetCurrentPrice command initiates a PublishPrice command for the current time. - - - - - - The GetScheduledPrices command initiates a PublishPrice command for available price events. - - - - - - - The PriceAcknowledgement command described provides the ability to acknowledge a previously sent PublishPrice command. - - - - - - - - - The GetBlockPeriods command initiates a PublishBlockPeriod command for the currently scheduled block periods. - - - - - - - - The GetConversionFactor command initiates a PublishConversionFactor command for the scheduled conversion factor updates. - - - - - - - - The GetCalorificValue command initiates a PublishCalorificValue command for the scheduled conversion factor updates. - - - - - - - - The GetTariffInformation command initiates a PublishTariffInformation command for the scheduled tariff updates. - - - - - - - - - The GetPriceMatrix command initiates a PublishPriceMatrix command for the scheduled Price Matrix updates. - - - - - - The GetBlockThresholds command initiates a PublishBlockThreshold command for the scheduled Block Threshold updates. - - - - - - The GetCO2Value command initiates a PublishCO2Value command for the scheduled CO2 conversion factor updates. - - - - - - - - - The GetTierLabels command allows a client to retrieve the tier labels associated with a given tariff; this command initiates a PublishTierLabels command from the server. - - - - - - The GetBillingPeriod command initiates one or more PublishBillingPeriod commands for the currently scheduled billing periods. - - - - - - - - - The GetConsolidatedBill command initiates one or more PublishConsolidatedBill commands with the requested billing information. - - - - - - - - - The CPPEventResponse command is sent from a Client (IHD) to the ESI to notify it of a Critical Peak Pricing event authorization. - - - - - - - The GetCreditPayment command initiates PublishCreditPayment commands for the requested credit payment information. - - - - - - - The GetCurrencyConversionCommand command initiates a PublishCurrencyConversion command for the currency conversion factor updates. A server shall be capable of storing both the old and the new currencies. - + + - + - The GetTariffCancellation command initiates the return of the last CancelTariff command held on the associated server. + The CancelMessage command provides the ability to cancel the sending or acceptance of previously sent messages. + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Demand Response and Load Control - SE - This cluster provides an interface to the functionality of Smart Energy Demand Response and Load Control. Devices targeted by this cluster include thermostats and devices that support load control. - 0x0701 - DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER - true - true - - - - utility enrollment group - start randomization minutes - duration randomization minutes - device class value - - + - Command description for LoadControlEvent + The DisplayProtected Message command is for use with messages that are protected by a password or PIN. - - - + + - - - - - - - - - - - - Command description for CancelLoadControlEvent - - - - - - - - - - Command description for CancelAllLoadControlEvents - - - - - - - Command description for ReportEventStatus - - - - - - - - - - - - - - - - Command description for GetScheduledEvents - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Simple Metering - SE - The Metering Cluster provides a mechanism to retrieve usage information from Electric, Gas, Water, and potentially Thermal metering devices. - 0x0702 - SIMPLE_METERING_CLUSTER - true - true - - - - current summation delivered - current summation received - current max demand delivered - current max demand received - dft summation - daily freeze time - power factor - reading snapshot time - current max demand delivered time - current max demand received time - default update period - fast poll update period - current block period consumption delivered - daily consumption target - current block - profile interval period - interval read reporting period - preset reading time - volume per report - flow restriction - supply status - current inlet energy carrier summation - current outlet energy carrier summation - inlet temperature - outlet temperature - control temperature - current inlet energy carrier demand - current outlet energy carrier demand - previous block period consumption delivered - current block period consumption received - current block received - dft summation received - active register tier delivered - active register tier received - last block switch time - - current tier 1 summation delivered - current tier 1 summation received - current tier 2 summation delivered - current tier 2 summation received - current tier 3 summation delivered - current tier 3 summation received - current tier 4 summation delivered - current tier 4 summation received - current tier 5 summation delivered - current tier 5 summation received - current tier 6 summation delivered - current tier 6 summation received - current tier 7 summation delivered - current tier 7 summation received - current tier 8 summation delivered - current tier 8 summation received - current tier 9 summation delivered - current tier 9 summation received - current tier 10 summation delivered - current tier 10 summation received - current tier 11 summation delivered - current tier 11 summation received - current tier 12 summation delivered - current tier 12 summation received - current tier 13 summation delivered - current tier 13 summation received - current tier 14 summation delivered - current tier 14 summation received - current tier 15 summation delivered - current tier 15 summation received - current tier 16 summation delivered - current tier 16 summation received - current tier 17 summation delivered - current tier 17 summation received - current tier 18 summation delivered - current tier 18 summation received - current tier 19 summation delivered - current tier 19 summation received - current tier 20 summation delivered - current tier 20 summation received - current tier 21 summation delivered - current tier 21 summation received - current tier 22 summation delivered - current tier 22 summation received - current tier 23 summation delivered - current tier 23 summation received - current tier 24 summation delivered - current tier 24 summation received - current tier 25 summation delivered - current tier 25 summation received - current tier 26 summation delivered - current tier 26 summation received - current tier 27 summation delivered - current tier 27 summation received - current tier 28 summation delivered - current tier 28 summation received - current tier 29 summation delivered - current tier 29 summation received - current tier 30 summation delivered - current tier 30 summation received - current tier 31 summation delivered - current tier 31 summation received - current tier 32 summation delivered - current tier 32 summation received - current tier 33 summation delivered - current tier 33 summation received - current tier 34 summation delivered - current tier 34 summation received - current tier 35 summation delivered - current tier 35 summation received - current tier 36 summation delivered - current tier 36 summation received - current tier 37 summation delivered - current tier 37 summation received - current tier 38 summation delivered - current tier 38 summation received - current tier 39 summation delivered - current tier 39 summation received - current tier 40 summation delivered - current tier 40 summation received - current tier 41 summation delivered - current tier 41 summation received - current tier 42 summation delivered - current tier 42 summation received - current tier 43 summation delivered - current tier 43 summation received - current tier 44 summation delivered - current tier 44 summation received - current tier 45 summation delivered - current tier 45 summation received - current tier 46 summation delivered - current tier 46 summation received - current tier 47 summation delivered - current tier 47 summation received - current tier 48 summation delivered - current tier 48 summation received - CPP1 Summation Delivered - CPP2 Summation Delivered - - status - remaining battery life - hours in operation - hours in fault - extended status - remaining battery life in days - current meter id - ambient consumption indicator - - unit of measure - multiplier - divisor - summation formatting - demand formatting - historical consumption formatting - metering device type - site id - meter serial number - energy carrier unit of measure - energy carrier summation formatting - energy carrier demand formatting - temperature unit of measure - temperature formatting - module serial number - operating tariff label delivered - operating tariff label received - customer id number - alternative unit of measure - alternative demand formatting - alternative consumption formatting - - instantaneous demand - current day consumption delivered - current day consumption received - previous day consumption delivered - previous day consumption received - current partial profile interval start time delivered - current partial profile interval start time received - current partial profile interval value delivered - current partial profile interval value received - current day max pressure - current day min pressure - previous day max pressure - previous day min pressure - current day max demand - previous day max demand - current month max demand - current year max demand - current day max energy carrier demand - previous day max energy carrier demand - current month max energy carrier demand - current month min energy carrier demand - current year max energy carrier demand - current year min energy carrier demand - previous day 2 consumption delivered - previous day 2 consumption received - previous day 3 consumption delivered - previous day 3 consumption received - previous day 4 consumption delivered - previous day 4 consumption received - previous day 5 consumption delivered - previous day 5 consumption received - previous day 6 consumption delivered - previous day 6 consumption received - previous day 7 consumption delivered - previous day 7 consumption received - previous day 8 consumption delivered - previous day 8 consumption received - current week consumption delivered - current week consumption received - previous week consumption delivered - previous week consumption received - previous week 2 consumption delivered - previous week 2 consumption received - previous week 3 consumption delivered - previous week 3 consumption received - previous week 4 consumption delivered - previous week 4 consumption received - previous week 5 consumption delivered - previous week 5 consumption received - current month consumption delivered - current month consumption received - previous month consumption delivered - previous month consumption received - previous month 2 consumption delivered - previous month 2 consumption received - previous month 3 consumption delivered - previous month 3 consumption received - previous month 4 consumption delivered - previous month 4 consumption received - previous month 5 consumption delivered - previous month 5 consumption received - previous month 6 consumption delivered - previous month 6 consumption received - previous month 7 consumption delivered - previous month 7 consumption received - previous month 8 consumption delivered - previous month 8 consumption received - previous month 9 consumption delivered - previous month 9 consumption received - previous month 10 consumption delivered - previous month 10 consumption received - previous month 11 consumption delivered - previous month 11 consumption received - previous month 12 consumption delivered - previous month 12 consumption received - previous month 13 consumption delivered - previous month 13 consumption received - historical freeze time - current day max demand delivered - current day max demand delivered time - current day max demand received - current day max demand received time - previous day max demand delivered - previous day max demand delivered time - previous day max demand received - previous day max demand received time - - max number of periods delivered - - current demand delivered - demand limit - demand integration period - number of demand subintervals - demand limit arm duration in minutes - load limit supply state - load limit counter - supply tamper state - supply depletion state - supply uncontrolled flow state - - current no tier block 1 summation delivered - current no tier block 2 summation delivered - current no tier block 3 summation delivered - current no tier block 4 summation delivered - current no tier block 5 summation delivered - current no tier block 6 summation delivered - current no tier block 7 summation delivered - current no tier block 8 summation delivered - current no tier block 9 summation delivered - current no tier block 10 summation delivered - current no tier block 11 summation delivered - current no tier block 12 summation delivered - current no tier block 13 summation delivered - current no tier block 14 summation delivered - current no tier block 15 summation delivered - current no tier block 16 summation delivered - current tier 1 block 1 summation delivered - current tier 1 block 2 summation delivered - current tier 1 block 3 summation delivered - current tier 1 block 4 summation delivered - current tier 1 block 5 summation delivered - current tier 1 block 6 summation delivered - current tier 1 block 7 summation delivered - current tier 1 block 8 summation delivered - current tier 1 block 9 summation delivered - current tier 1 block 10 summation delivered - current tier 1 block 11 summation delivered - current tier 1 block 12 summation delivered - current tier 1 block 13 summation delivered - current tier 1 block 14 summation delivered - current tier 1 block 15 summation delivered - current tier 1 block 16 summation delivered - current tier 2 block 1 summation delivered - current tier 2 block 2 summation delivered - current tier 2 block 3 summation delivered - current tier 2 block 4 summation delivered - current tier 2 block 5 summation delivered - current tier 2 block 6 summation delivered - current tier 2 block 7 summation delivered - current tier 2 block 8 summation delivered - current tier 2 block 9 summation delivered - current tier 2 block 10 summation delivered - current tier 2 block 11 summation delivered - current tier 2 block 12 summation delivered - current tier 2 block 13 summation delivered - current tier 2 block 14 summation delivered - current tier 2 block 15 summation delivered - current tier 2 block 16 summation delivered - current tier 3 block 1 summation delivered - current tier 3 block 2 summation delivered - current tier 3 block 3 summation delivered - current tier 3 block 4 summation delivered - current tier 3 block 5 summation delivered - current tier 3 block 6 summation delivered - current tier 3 block 7 summation delivered - current tier 3 block 8 summation delivered - current tier 3 block 9 summation delivered - current tier 3 block 10 summation delivered - current tier 3 block 11 summation delivered - current tier 3 block 12 summation delivered - current tier 3 block 13 summation delivered - current tier 3 block 14 summation delivered - current tier 3 block 15 summation delivered - current tier 3 block 16 summation delivered - current tier 4 block 1 summation delivered - current tier 4 block 2 summation delivered - current tier 4 block 3 summation delivered - current tier 4 block 4 summation delivered - current tier 4 block 5 summation delivered - current tier 4 block 6 summation delivered - current tier 4 block 7 summation delivered - current tier 4 block 8 summation delivered - current tier 4 block 9 summation delivered - current tier 4 block 10 summation delivered - current tier 4 block 11 summation delivered - current tier 4 block 12 summation delivered - current tier 4 block 13 summation delivered - current tier 4 block 14 summation delivered - current tier 4 block 15 summation delivered - current tier 4 block 16 summation delivered - current tier 5 block 1 summation delivered - current tier 5 block 2 summation delivered - current tier 5 block 3 summation delivered - current tier 5 block 4 summation delivered - current tier 5 block 5 summation delivered - current tier 5 block 6 summation delivered - current tier 5 block 7 summation delivered - current tier 5 block 8 summation delivered - current tier 5 block 9 summation delivered - current tier 5 block 10 summation delivered - current tier 5 block 11 summation delivered - current tier 5 block 12 summation delivered - current tier 5 block 13 summation delivered - current tier 5 block 14 summation delivered - current tier 5 block 15 summation delivered - current tier 5 block 16 summation delivered - current tier 6 block 1 summation delivered - current tier 6 block 2 summation delivered - current tier 6 block 3 summation delivered - current tier 6 block 4 summation delivered - current tier 6 block 5 summation delivered - current tier 6 block 6 summation delivered - current tier 6 block 7 summation delivered - current tier 6 block 8 summation delivered - current tier 6 block 9 summation delivered - current tier 6 block 10 summation delivered - current tier 6 block 11 summation delivered - current tier 6 block 12 summation delivered - current tier 6 block 13 summation delivered - current tier 6 block 14 summation delivered - current tier 6 block 15 summation delivered - current tier 6 block 16 summation delivered - current tier 7 block 1 summation delivered - current tier 7 block 2 summation delivered - current tier 7 block 3 summation delivered - current tier 7 block 4 summation delivered - current tier 7 block 5 summation delivered - current tier 7 block 6 summation delivered - current tier 7 block 7 summation delivered - current tier 7 block 8 summation delivered - current tier 7 block 9 summation delivered - current tier 7 block 10 summation delivered - current tier 7 block 11 summation delivered - current tier 7 block 12 summation delivered - current tier 7 block 13 summation delivered - current tier 7 block 14 summation delivered - current tier 7 block 15 summation delivered - current tier 7 block 16 summation delivered - current tier 8 block 1 summation delivered - current tier 8 block 2 summation delivered - current tier 8 block 3 summation delivered - current tier 8 block 4 summation delivered - current tier 8 block 5 summation delivered - current tier 8 block 6 summation delivered - current tier 8 block 7 summation delivered - current tier 8 block 8 summation delivered - current tier 8 block 9 summation delivered - current tier 8 block 10 summation delivered - current tier 8 block 11 summation delivered - current tier 8 block 12 summation delivered - current tier 8 block 13 summation delivered - current tier 8 block 14 summation delivered - current tier 8 block 15 summation delivered - current tier 8 block 16 summation delivered - current tier 9 block 1 summation delivered - current tier 9 block 2 summation delivered - current tier 9 block 3 summation delivered - current tier 9 block 4 summation delivered - current tier 9 block 5 summation delivered - current tier 9 block 6 summation delivered - current tier 9 block 7 summation delivered - current tier 9 block 8 summation delivered - current tier 9 block 9 summation delivered - current tier 9 block 10 summation delivered - current tier 9 block 11 summation delivered - current tier 9 block 12 summation delivered - current tier 9 block 13 summation delivered - current tier 9 block 14 summation delivered - current tier 9 block 15 summation delivered - current tier 9 block 16 summation delivered - current tier 10 block 1 summation delivered - current tier 10 block 2 summation delivered - current tier 10 block 3 summation delivered - current tier 10 block 4 summation delivered - current tier 10 block 5 summation delivered - current tier 10 block 6 summation delivered - current tier 10 block 7 summation delivered - current tier 10 block 8 summation delivered - current tier 10 block 9 summation delivered - current tier 10 block 10 summation delivered - current tier 10 block 11 summation delivered - current tier 10 block 12 summation delivered - current tier 10 block 13 summation delivered - current tier 10 block 14 summation delivered - current tier 10 block 15 summation delivered - current tier 10 block 16 summation delivered - current tier 11 block 1 summation delivered - current tier 11 block 2 summation delivered - current tier 11 block 3 summation delivered - current tier 11 block 4 summation delivered - current tier 11 block 5 summation delivered - current tier 11 block 6 summation delivered - current tier 11 block 7 summation delivered - current tier 11 block 8 summation delivered - current tier 11 block 9 summation delivered - current tier 11 block 10 summation delivered - current tier 11 block 11 summation delivered - current tier 11 block 12 summation delivered - current tier 11 block 13 summation delivered - current tier 11 block 14 summation delivered - current tier 11 block 15 summation delivered - current tier 11 block 16 summation delivered - current tier 12 block 1 summation delivered - current tier 12 block 2 summation delivered - current tier 12 block 3 summation delivered - current tier 12 block 4 summation delivered - current tier 12 block 5 summation delivered - current tier 12 block 6 summation delivered - current tier 12 block 7 summation delivered - current tier 12 block 8 summation delivered - current tier 12 block 9 summation delivered - current tier 12 block 10 summation delivered - current tier 12 block 11 summation delivered - current tier 12 block 12 summation delivered - current tier 12 block 13 summation delivered - current tier 12 block 14 summation delivered - current tier 12 block 15 summation delivered - current tier 12 block 16 summation delivered - current tier 13 block 1 summation delivered - current tier 13 block 2 summation delivered - current tier 13 block 3 summation delivered - current tier 13 block 4 summation delivered - current tier 13 block 5 summation delivered - current tier 13 block 6 summation delivered - current tier 13 block 7 summation delivered - current tier 13 block 8 summation delivered - current tier 13 block 9 summation delivered - current tier 13 block 10 summation delivered - current tier 13 block 11 summation delivered - current tier 13 block 12 summation delivered - current tier 13 block 13 summation delivered - current tier 13 block 14 summation delivered - current tier 13 block 15 summation delivered - current tier 13 block 16 summation delivered - current tier 14 block 1 summation delivered - current tier 14 block 2 summation delivered - current tier 14 block 3 summation delivered - current tier 14 block 4 summation delivered - current tier 14 block 5 summation delivered - current tier 14 block 6 summation delivered - current tier 14 block 7 summation delivered - current tier 14 block 8 summation delivered - current tier 14 block 9 summation delivered - current tier 14 block 10 summation delivered - current tier 14 block 11 summation delivered - current tier 14 block 12 summation delivered - current tier 14 block 13 summation delivered - current tier 14 block 14 summation delivered - current tier 14 block 15 summation delivered - current tier 14 block 16 summation delivered - current tier 15 block 1 summation delivered - current tier 15 block 2 summation delivered - current tier 15 block 3 summation delivered - current tier 15 block 4 summation delivered - current tier 15 block 5 summation delivered - current tier 15 block 6 summation delivered - current tier 15 block 7 summation delivered - current tier 15 block 8 summation delivered - current tier 15 block 9 summation delivered - current tier 15 block 10 summation delivered - current tier 15 block 11 summation delivered - current tier 15 block 12 summation delivered - current tier 15 block 13 summation delivered - current tier 15 block 14 summation delivered - current tier 15 block 15 summation delivered - current tier 15 block 16 summation delivered - - generic alarm mask - electricity alarm mask - generic flow/pressure alarm mask - water specific alarm mask - heat and cooling specific alarm mask - gas specific alarm mask - extended generic alarm mask - manufacture alarm mask - - current no tier block 1 summation received - current no tier block 2 summation received - current no tier block 3 summation received - current no tier block 4 summation received - current no tier block 5 summation received - current no tier block 6 summation received - current no tier block 7 summation received - current no tier block 8 summation received - current no tier block 9 summation received - current no tier block 10 summation received - current no tier block 11 summation received - current no tier block 12 summation received - current no tier block 13 summation received - current no tier block 14 summation received - current no tier block 15 summation received - current no tier block 16 summation received - current tier 1 block 1 summation received - current tier 1 block 2 summation received - current tier 1 block 3 summation received - current tier 1 block 4 summation received - current tier 1 block 5 summation received - current tier 1 block 6 summation received - current tier 1 block 7 summation received - current tier 1 block 8 summation received - current tier 1 block 9 summation received - current tier 1 block 10 summation received - current tier 1 block 11 summation received - current tier 1 block 12 summation received - current tier 1 block 13 summation received - current tier 1 block 14 summation received - current tier 1 block 15 summation received - current tier 1 block 16 summation received - current tier 2 block 1 summation received - current tier 2 block 2 summation received - current tier 2 block 3 summation received - current tier 2 block 4 summation received - current tier 2 block 5 summation received - current tier 2 block 6 summation received - current tier 2 block 7 summation received - current tier 2 block 8 summation received - current tier 2 block 9 summation received - current tier 2 block 10 summation received - current tier 2 block 11 summation received - current tier 2 block 12 summation received - current tier 2 block 13 summation received - current tier 2 block 14 summation received - current tier 2 block 15 summation received - current tier 2 block 16 summation received - current tier 3 block 1 summation received - current tier 3 block 2 summation received - current tier 3 block 3 summation received - current tier 3 block 4 summation received - current tier 3 block 5 summation received - current tier 3 block 6 summation received - current tier 3 block 7 summation received - current tier 3 block 8 summation received - current tier 3 block 9 summation received - current tier 3 block 10 summation received - current tier 3 block 11 summation received - current tier 3 block 12 summation received - current tier 3 block 13 summation received - current tier 3 block 14 summation received - current tier 3 block 15 summation received - current tier 3 block 16 summation received - current tier 4 block 1 summation received - current tier 4 block 2 summation received - current tier 4 block 3 summation received - current tier 4 block 4 summation received - current tier 4 block 5 summation received - current tier 4 block 6 summation received - current tier 4 block 7 summation received - current tier 4 block 8 summation received - current tier 4 block 9 summation received - current tier 4 block 10 summation received - current tier 4 block 11 summation received - current tier 4 block 12 summation received - current tier 4 block 13 summation received - current tier 4 block 14 summation received - current tier 4 block 15 summation received - current tier 4 block 16 summation received - current tier 5 block 1 summation received - current tier 5 block 2 summation received - current tier 5 block 3 summation received - current tier 5 block 4 summation received - current tier 5 block 5 summation received - current tier 5 block 6 summation received - current tier 5 block 7 summation received - current tier 5 block 8 summation received - current tier 5 block 9 summation received - current tier 5 block 10 summation received - current tier 5 block 11 summation received - current tier 5 block 12 summation received - current tier 5 block 13 summation received - current tier 5 block 14 summation received - current tier 5 block 15 summation received - current tier 5 block 16 summation received - current tier 6 block 1 summation received - current tier 6 block 2 summation received - current tier 6 block 3 summation received - current tier 6 block 4 summation received - current tier 6 block 5 summation received - current tier 6 block 6 summation received - current tier 6 block 7 summation received - current tier 6 block 8 summation received - current tier 6 block 9 summation received - current tier 6 block 10 summation received - current tier 6 block 11 summation received - current tier 6 block 12 summation received - current tier 6 block 13 summation received - current tier 6 block 14 summation received - current tier 6 block 15 summation received - current tier 6 block 16 summation received - current tier 7 block 1 summation received - current tier 7 block 2 summation received - current tier 7 block 3 summation received - current tier 7 block 4 summation received - current tier 7 block 5 summation received - current tier 7 block 6 summation received - current tier 7 block 7 summation received - current tier 7 block 8 summation received - current tier 7 block 9 summation received - current tier 7 block 10 summation received - current tier 7 block 11 summation received - current tier 7 block 12 summation received - current tier 7 block 13 summation received - current tier 7 block 14 summation received - current tier 7 block 15 summation received - current tier 7 block 16 summation received - current tier 8 block 1 summation received - current tier 8 block 2 summation received - current tier 8 block 3 summation received - current tier 8 block 4 summation received - current tier 8 block 5 summation received - current tier 8 block 6 summation received - current tier 8 block 7 summation received - current tier 8 block 8 summation received - current tier 8 block 9 summation received - current tier 8 block 10 summation received - current tier 8 block 11 summation received - current tier 8 block 12 summation received - current tier 8 block 13 summation received - current tier 8 block 14 summation received - current tier 8 block 15 summation received - current tier 8 block 16 summation received - current tier 9 block 1 summation received - current tier 9 block 2 summation received - current tier 9 block 3 summation received - current tier 9 block 4 summation received - current tier 9 block 5 summation received - current tier 9 block 6 summation received - current tier 9 block 7 summation received - current tier 9 block 8 summation received - current tier 9 block 9 summation received - current tier 9 block 10 summation received - current tier 9 block 11 summation received - current tier 9 block 12 summation received - current tier 9 block 13 summation received - current tier 9 block 14 summation received - current tier 9 block 15 summation received - current tier 9 block 16 summation received - current tier 10 block 1 summation received - current tier 10 block 2 summation received - current tier 10 block 3 summation received - current tier 10 block 4 summation received - current tier 10 block 5 summation received - current tier 10 block 6 summation received - current tier 10 block 7 summation received - current tier 10 block 8 summation received - current tier 10 block 9 summation received - current tier 10 block 10 summation received - current tier 10 block 11 summation received - current tier 10 block 12 summation received - current tier 10 block 13 summation received - current tier 10 block 14 summation received - current tier 10 block 15 summation received - current tier 10 block 16 summation received - current tier 11 block 1 summation received - current tier 11 block 2 summation received - current tier 11 block 3 summation received - current tier 11 block 4 summation received - current tier 11 block 5 summation received - current tier 11 block 6 summation received - current tier 11 block 7 summation received - current tier 11 block 8 summation received - current tier 11 block 9 summation received - current tier 11 block 10 summation received - current tier 11 block 11 summation received - current tier 11 block 12 summation received - current tier 11 block 13 summation received - current tier 11 block 14 summation received - current tier 11 block 15 summation received - current tier 11 block 16 summation received - current tier 12 block 1 summation received - current tier 12 block 2 summation received - current tier 12 block 3 summation received - current tier 12 block 4 summation received - current tier 12 block 5 summation received - current tier 12 block 6 summation received - current tier 12 block 7 summation received - current tier 12 block 8 summation received - current tier 12 block 9 summation received - current tier 12 block 10 summation received - current tier 12 block 11 summation received - current tier 12 block 12 summation received - current tier 12 block 13 summation received - current tier 12 block 14 summation received - current tier 12 block 15 summation received - current tier 12 block 16 summation received - current tier 13 block 1 summation received - current tier 13 block 2 summation received - current tier 13 block 3 summation received - current tier 13 block 4 summation received - current tier 13 block 5 summation received - current tier 13 block 6 summation received - current tier 13 block 7 summation received - current tier 13 block 8 summation received - current tier 13 block 9 summation received - current tier 13 block 10 summation received - current tier 13 block 11 summation received - current tier 13 block 12 summation received - current tier 13 block 13 summation received - current tier 13 block 14 summation received - current tier 13 block 15 summation received - current tier 13 block 16 summation received - current tier 14 block 1 summation received - current tier 14 block 2 summation received - current tier 14 block 3 summation received - current tier 14 block 4 summation received - current tier 14 block 5 summation received - current tier 14 block 6 summation received - current tier 14 block 7 summation received - current tier 14 block 8 summation received - current tier 14 block 9 summation received - current tier 14 block 10 summation received - current tier 14 block 11 summation received - current tier 14 block 12 summation received - current tier 14 block 13 summation received - current tier 14 block 14 summation received - current tier 14 block 15 summation received - current tier 14 block 16 summation received - current tier 15 block 1 summation received - current tier 15 block 2 summation received - current tier 15 block 3 summation received - current tier 15 block 4 summation received - current tier 15 block 5 summation received - current tier 15 block 6 summation received - current tier 15 block 7 summation received - current tier 15 block 8 summation received - current tier 15 block 9 summation received - current tier 15 block 10 summation received - current tier 15 block 11 summation received - current tier 15 block 12 summation received - current tier 15 block 13 summation received - current tier 15 block 14 summation received - current tier 15 block 15 summation received - current tier 15 block 16 summation received - - bill to date delivered - bill to date time stamp delivered - projected bill delivered - projected bill time stamp delivered - bill delivered trailing digit - bill to date received - bill to date time stamp received - projected bill received - projected bill time stamp received - bill received trailing digit - - proposed change supply implementation time - proposed change supply status - uncontrolled flow threshold - uncontrolled flow threshold unit of measure - uncontrolled flow threshold multiplier - uncontrolled flow threshold divisor - flow stabilization period - flow measurement period - - alternative instantaneous demand - current day alternative consumption delivered - current day alternative consumption received - previous day alternative consumption delivered - previous day alternative consumption received - current alternative partial profile interval start time delivered - current alternative partial profile interval start time received - current alternative partial profile interval value delivered - current alternative partial profile interval value received - current alternative day max pressure - current alternative day min pressure - previous day alternative max pressure - previous day alternative min pressure - current alternative day max demand - previous day alternative max demand - current alternative month max demand - current alternative year max demand - previous day 2 alternative consumption delivered - previous day 2 alternative consumption received - previous day 3 alternative consumption delivered - previous day 3 alternative consumption received - previous day 4 alternative consumption delivered - previous day 4 alternative consumption received - previous day 5 alternative consumption delivered - previous day 5 alternative consumption received - previous day 6 alternative consumption delivered - previous day 6 alternative consumption received - previous day 7 alternative consumption delivered - previous day 7 alternative consumption received - previous day 8 alternative consumption delivered - previous day 8 alternative consumption received - current week alternative consumption delivered - current week alternative consumption received - previous week alternative consumption delivered - previous week alternative consumption received - previous week 2 alternative consumption delivered - previous week 2 alternative consumption received - previous week 3 alternative consumption delivered - previous week 3 alternative consumption received - previous week 4 alternative consumption delivered - previous week 4 alternative consumption received - previous week 5 alternative consumption delivered - previous week 5 alternative consumption received - current month alternative consumption delivered - current month alternative consumption received - previous month alternative consumption delivered - previous month alternative consumption received - previous month 2 alternative consumption delivered - previous month 2 alternative consumption received - previous month 3 alternative consumption delivered - previous month 3 alternative consumption received - previous month 4 alternative consumption delivered - previous month 4 alternative consumption received - previous month 5 alternative consumption delivered - previous month 5 alternative consumption received - previous month 6 alternative consumption delivered - previous month 6 alternative consumption received - previous month 7 alternative consumption delivered - previous month 7 alternative consumption received - previous month 8 alternative consumption delivered - previous month 8 alternative consumption received - previous month 9 alternative consumption delivered - previous month 9 alternative consumption received - previous month 10 alternative consumption delivered - previous month 10 alternative consumption received - previous month 11 alternative consumption delivered - previous month 11 alternative consumption received - previous month 12 alternative consumption delivered - previous month 12 alternative consumption received - previous month 13 alternative consumption delivered - previous month 13 alternative consumption received - current day alternative max demand delivered - current day alternative max demand delivered time - current day alternative max demand received - current day alternative max demand received time - previous day alternative max demand delivered - previous day alternative max demand delivered time - previous day alternative max demand received - previous day alternative max demand received time - - current active summation q1 - current active summation q2 - current active summation q3 - current active summation q4 - current reactive summation q1 - current reactive summation q2 - current reactive summation q3 - current reactive summation q4 - - - functional notification flags - notification flags 2 - notification flags 3 - notification flags 4 - notification flags 5 - notification flags 6 - notification flags 7 - notification flags 8 - - - - This command is generated when the Client command GetProfile is received. - - - - - - - - - - This command is used to request the ESI to mirror Metering Device data. - - - - - This command is used to request the ESI to remove its mirror of Metering Device data. - - - - - This command is generated when the client command Request Fast Poll Mode is received. - - - - - - - This command is generated in response to a ScheduleSnapshot command, and is sent to confirm whether the requested snapshot schedule has been set up. - - - - - - - This command is generated in response to a TakeSnapshot command, and is sent to confirm whether the requested snapshot has been accepted and successfully taken. - - - - - - - This command is generated in response to a GetSnapshot command. It is used to return a single snapshot to the client. - - - - - - - - - - - - - This command is used to send the requested sample data to the client. It is generated in response to a GetSampledData command. - - - - - - - - - - - ConfigureMirror is sent to the mirror once the mirror has been created. The command deals with the operational configuration of the Mirror. - - - - - - - - - The ConfigureNotificationScheme is sent to the mirror once the mirror has been created. The command deals with the operational configuration of the Mirror and the device that reports to the mirror. No default schemes are allowed to be overwritten. - - - - - - - - The ConfigureNotificationFlags command is used to set the commands relating to the bit value for each NotificationFlags attribute that the scheme is proposing to use. - - - - - - - - - - - - The GetNotifiedMessage command is used only when a BOMD is being mirrored. This command provides a method for the BOMD to notify the Mirror message queue that it wants to receive commands that the Mirror has queued. The Notification flags set within the command shall inform the mirror of the commands that the BOMD is requesting. - - - - + + - + - This command is transmitted by a Metering Device in response to a ChangeSupply command. + The CancelAllMessages command indicates to a client device that it should cancel all display messages currently held by it. - - - - + + - This command is transmitted by a Metering Device in response to a StartSampling command. + Command description for GetLastMessage - - - + - The GetProfile command is generated when a client device wishes to retrieve a list of captured Energy, Gas or water consumption for profiling purposes. + The Message Confirmation command provides an indication that a Utility Customer has acknowledged and/or accepted the contents of a previously sent message. Enhanced Message Confirmation commands shall contain an answer of 'NO', 'YES' and/or a message confirmation string. - - - + + + + - + - The Request Mirror Response Command allows the ESI to inform a sleepy Metering Device it has the ability to store and mirror its data. - - - - - - The Mirror Removed Command allows the ESI to inform a sleepy Metering Device mirroring support has been removed or halted. - - - - - - The Request Fast Poll Mode command is generated when the metering client wishes to receive near real-time updates of InstantaneousDemand. - - - - - - - This command is used to set up a schedule of when the device shall create snapshot data. - - - - - - - - - This command is used to instruct the cluster server to take a single snapshot. - - - - - - This command is used to request snapshot data from the cluster server. - - - - - - - - - The sampling mechanism allows a set of samples of the specified type of data to be taken, commencing at the stipulated start time. This mechanism may run concurrently with the capturing of profile data, and may refer the same parameters, albeit possibly at a different sampling rate. - - - - - - - - - - This command is used to request sampled data from the server. Note that it is the responsibility of the client to ensure that it does not request more samples than can be held in a single command payload. - - - - - - - - - This command is sent in response to the ReportAttribute command when the MirrorReporting attribute is set. - - - - - - - The ResetLoadLimitCounter command shall cause the LoadLimitCounter attribute to be reset. - - - - - - - This command is sent from the Head-end or ESI to the Metering Device to instruct it to change the status of the valve or load switch, i.e. the supply. - - - - - - - - - - - This command is a simplified version of the ChangeSupply command, intended to be sent from an IHD to a meter as the consequence of a user action on the IHD. Its purpose is to provide a local disconnection/reconnection button on the IHD in addition to the one on the meter. - - - - - - This command is used to specify the required status of the supply following the occurance of certain events on the meter. - - - - - - - - - - This command is used to update the 'Uncontrolled Flow Rate' configuration data used by flow meters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Messaging - SE - This cluster provides an interface for passing text messages between SE devices. - 0x0703 - MESSAGING_CLUSTER - true - true - - - - - - - Command description for DisplayMessage - - - - - - - - - - - The CancelMessage command provides the ability to cancel the sending or acceptance of previously sent messages. - - - - - - - The DisplayProtected Message command is for use with messages that are protected by a password or PIN. - - - - - - - - - - - The CancelAllMessages command indicates to a client device that it should cancel all display messages currently held by it. - - - - - - - Command description for GetLastMessage - - - - - The Message Confirmation command provides an indication that a Utility Customer has acknowledged and/or accepted the contents of a previously sent message. Enhanced Message Confirmation commands shall contain an answer of 'NO', 'YES' and/or a message confirmation string. - - - - - - - - - This command initiates the return of the first (and maybe only) Cancel All Messages command held on the associated server, and which has an implementation time equal to or later than the value indicated in the payload. + This command initiates the return of the first (and maybe only) Cancel All Messages command held on the associated server, and which has an implementation time equal to or later than the value indicated in the payload. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tunneling - SE - The tunneling cluster provides an interface for tunneling protocols. - 0x0704 - TUNNELING_CLUSTER - true - true - - - close tunnel timeout - - - - - RequestTunnel is the client command used to setup a tunnel association with the server. The request payload specifies the protocol identifier for the requested tunnel, a manufacturer code in case of proprietary protocols and the use of flow control for streaming protocols. - - - - - - - - - Client command used to close the tunnel with the server. The parameter in the payload specifies the tunnel identifier of the tunnel that has to be closed. The server leaves the tunnel open and the assigned resources allocated until the client sends the CloseTunnel command or the CloseTunnelTimeout fires. - - - - - - Command that indicates (if received) that the client has sent data to the server. The data itself is contained within the payload. - - - - - - - This command is generated by the receiver of a TransferData command if the tunnel status indicates that something is wrong. There are two three cases in which TransferDataError is sent: (1) The TransferData received contains a TunnelID that does not match to any of the active tunnels of the receiving device. This could happen if a (sleeping) device sends a TransferData command to a tunnel that has been closed by the server after the CloseTunnelTimeout. (2) The TransferData received contains a proper TunnelID of an active tunnel, but the device sending the data does not match to it. (3) The TransferData received contains more data than indicated by the MaximumIncomingTransferSize of the receiving device. - - - - - - - Command sent in response to each TransferData command in case - and only in case - flow control has been requested by the client in the TunnelRequest command and is supported by both tunnel endpoints. The response payload indicates the number of octets that may still be received by the receiver. - - - - - - - The ReadyData command is generated - after a receiver had to stop the dataflow using the AckTransferData(0) command - to indicate that the device is now ready to continue receiving data. The parameter NumberOfOctetsLeft gives a hint on how much space is left for the next data transfer. The ReadyData command is only issued if flow control is enabled. - - - - - - - Get Supported Tunnel Protocols is the client command used to determine the Tunnel protocols supported on another device. - - - - - - - RequestTunnelResponse is sent by the server in response to a RequestTunnel command previously received from the client. The response contains the status of the RequestTunnel command and a tunnel identifier corresponding to the tunnel that has been set-up in the server in case of success. - - - - - - - - Command that transfers data from server to the client. The data itself has to be placed within the payload. - - - - - - - This command is generated by the receiver of a TransferData command if the tunnel status indicates that something is wrong. There are two three cases in which TransferDataError is sent: (1) The TransferData received contains a TunnelID that does not match to any of the active tunnels of the receiving device. This could happen if a (sleeping) device sends a TransferData command to a tunnel that has been closed by the server after the CloseTunnelTimeout. (2) The TransferData received contains a proper TunnelID of an active tunnel, but the device sending the data does not match to it. (3) The TransferData received contains more data than indicated by the MaximumIncomingTransferSize of the receiving device. - - - - - - - Command sent in response to each TransferData command in case - and only in case - flow control has been requested by the client in the TunnelRequest command and is supported by both tunnel endpoints. The response payload indicates the number of octets that may still be received by the receiver. - - - - - - - The ReadyData command is generated - after a receiver had to stop the dataflow using the AckTransferData(0) command - to indicate that the device is now ready to continue receiving data. The parameter NumberOfOctetsLeft gives a hint on how much space is left for the next data transfer. The ReadyData command is only issued if flow control is enabled. - - - - - - - Supported Tunnel Protocol Response is sent in response to a Get Supported Tunnel Protocols command previously received. The response contains a list of Tunnel protocols supported by the device; the payload of the response should be capable of holding up to 16 protocols. - - - - - - - - - TunnelClosureNotification is sent by the server to indicate that a tunnel has been closed due to expiration of a CloseTunnelTimeout. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Prepayment - SE - The Prepayment Cluster provides the facility to pass messages relating to prepayment between devices on the HAN. - 0x0705 - PREPAYMENT_CLUSTER - true - true - - - payment control configuration - credit remaining - emergency credit remaining - credit status - credit remaining timestamp - accumulated debt - overall debt cap - emergency credit limit allowance - emergency credit threshold - total credit added - max credit limit - max credit per top up - friendly credit warning - low credit warning level - IHD low credit warning level - Interrupt Suspend Time - remaining friendly credit time - next friendly credit period - cut off value - token carrier id - - top up date/time #1 - top up amount #1 - top up originating device #1 - top up code #1 - top up date/time #2 - top up amount #2 - top up originating device #2 - top up code #2 - top up date/time #3 - top up amount #3 - top up originating device #3 - top up code #3 - top up date/time #4 - top up amount #4 - top up originating device #4 - top up code #4 - top up date/time #5 - top up amount #5 - top up originating device #5 - top up code #5 - - - debt label 1 - debt amount 1 - debt recovery method 1 - debt recovery start time 1 - debt recovery collection time 1 - debt recovery frequency 1 - debt recovery amount 1 - debt recovery top up percentage 1 - debt label 2 - debt amount 2 - debt recovery method 2 - debt recovery start time 2 - debt recovery collection time 2 - debt recovery frequency 2 - debt recovery amount 2 - debt recovery top up percentage 2 - debt label 3 - debt amount 3 - debt recovery method 3 - debt recovery start time 3 - debt recovery collection time 3 - debt recovery frequency 3 - debt recovery amount 3 - debt recovery top up percentage 3 - - - - prepayment alarm status - prepay generic alarm mask - prepay switch alarm mask - prepay event alarm mask - - historical cost consumption formatting - consumption unit of measurement - currency scaling factor - currency - current day cost consumption delivered - current day cost consumption received - previous day cost consumption delivered - previous day cost consumption received - previous day 2 cost consumption delivered - previous day 2 cost consumption received - previous day 3 cost consumption delivered - previous day 3 cost consumption received - previous day 4 cost consumption delivered - previous day 4 cost consumption received - previous day 5 cost consumption delivered - previous day 5 cost consumption received - previous day 6 cost consumption delivered - previous day 6 cost consumption received - previous day 7 cost consumption delivered - previous day 7 cost consumption received - previous day 8 cost consumption delivered - previous day 8 cost consumption received - current week cost consumption delivered - current week cost consumption received - previous week cost consumption delivered - previous week cost consumption received - previous week 2 cost consumption delivered - previous week 2 cost consumption received - previous week 3 cost consumption delivered - previous week 3 cost consumption received - previous week 4 cost consumption delivered - previous week 4 cost consumption received - previous week 5 cost consumption delivered - previous week 5 cost consumption received - current month cost consumption delivered - current month cost consumption received - previous month cost consumption delivered - previous month cost consumption received - previous month 2 cost consumption delivered - previous month 2 cost consumption received - previous month 3 cost consumption delivered - previous month 3 cost consumption received - previous month 4 cost consumption delivered - previous month 4 cost consumption received - previous month 5 cost consumption delivered - previous month 5 cost consumption received - previous month 6 cost consumption delivered - previous month 6 cost consumption received - previous month 7 cost consumption delivered - previous month 7 cost consumption received - previous month 8 cost consumption delivered - previous month 8 cost consumption received - previous month 9 cost consumption delivered - previous month 9 cost consumption received - previous month 10 cost consumption delivered - previous month 10 cost consumption received - previous month 11 cost consumption delivered - previous month 11 cost consumption received - previous month 12 cost consumption delivered - previous month 12 cost consumption received - previous month 13 cost consumption delivered - previous month 13 cost consumption received - historical freeze time - - - - - This command is sent to the Metering Device to activate the use of any Emergency Credit available on the Metering Device. - - - - - - - - - The ChangeDebt command is send to the Metering Device to change the fuel or Non fuel debt values. - - - - - - - - - - - - - - - This command is a method to set up the parameters for the emergency credit. - - - - - - - - - The ConsumerTopUp command is used by the IPD and the ESI as a method of applying credit top up values to the prepayment meter. - - - - - - - The CreditAdjustment command is sent to update the accounting base for the Prepayment meter. - - - - - - - - - This command is sent to a Metering Device to instruct it to change its mode of operation. i.e. from Credit to Prepayment. - - - - - - - - - - This command is used to request the cluster server for snapshot data. - - - - - - - - - This command is sent to the Metering Device to retrieve the log of Top Up codes received by the meter. - - - - - - - This command is sent from client to a Prepayment server to set the warning level for low credit. - - - - - - This command is used to request the contents of the repayment log. - - - - - - - - This command is sent from a client to the Prepayment server to set the maximum credit level allowed in the meter. - - - - - - - - - - This command is sent from a client to the Prepayment server to set the overall debt cap allowed in the meter. - - - - - - - - - This command is generated in response to a GetPrepaySnapshot command. It is used to return a single snapshot to the client. - - - - - - - - - - - - - This command is send in response to the ChangePaymentMode Command. - - - - - - - - - This command is send in response to the ConsumerTopUp Command. - - - - - - - - - This command is used to send the Top Up Code Log entries to the client. - - - - - - - - This command is used to send the contents of the Repayment Log. - - - - - - - - - - - - - - - - - - - - - - - - - - - Energy Management - SE - This cluster provides attributes and commands to assist applications in creating resource monitoring protocols. - 0x0706 - ENERGY_MANAGEMENT_CLUSTER - true - true - - Load Control State - Current Event ID - Current Event Status - Conformance Level - Minimum Off Time - Minimum On Time - Minimum Cycle Period - - - - - This command is reused from the DRLC cluster. This command is generated in response to the Manage Event command. - - - - - - - - - - - - - - - The Manage Event command allows a remote device (such as an IHD or web portal) to change the behavior of a DRLC cluster client when responding to a DRLC Load Control Event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Calendar - SE - This cluster provides attributes and commands to assist applications in developing time and date based protocol. - 0x0707 - CALENDAR_CLUSTER - true - true - - Auxiliary Switch 1 Label - Auxiliary Switch 2 Label - Auxiliary Switch 3 Label - Auxiliary Switch 4 Label - Auxiliary Switch 5 Label - Auxiliary Switch 6 Label - Auxiliary Switch 7 Label - Auxiliary Switch 8 Label - - - - The PublishCalendar command is published in response to a GetCalendar command or if new calendar information is available. - - - - - - - - - - - - - - - The PublishDayProfile command is published in response to a GetDayProfile command. - - - - - - - - - - - - - - The PublishWeekProfile command is published in response to a GetWeekProfile command. - - - - - - - - - - - - - - - - The PublishSeasons command is published in response to a GetSeason command. - - - - - - - - - - - The PublishSpecialDays command is published in response to a GetSpecialDays command or if a calendar update is available. - - - - - - - - - - - - - - The CancelCalendar command indicates that all data associated with a particular calendar instance should be discarded. - - - - - - - - - This command initiates PublishCalendar command(s) for scheduled Calendar updates. - - - - - - - - - - This command initiates one or more PublishDayProfile commands for the referenced Calendar. - - - - - - - - - This command initiates one or more PublishWeekProfile commands for the referenced Calendar. - - - - - - - - - This command initiates one or more PublishSeasons commands for the referenced Calendar. - - - - - - - This command initiates one or more PublishSpecialDays commands for the scheduled Special Day Table updates. - - - - - - - - - - This command initiates the return of the last CancelCalendar command held on the associated server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Device Management - SE - This cluster provides attributes and commands to support device-cognisant application layer protocols. - 0x0708 - DEVICE_MANAGEMENT_CLUSTER - true - true - - - provider id (server) - provider name - provider contact details - proposed provider id - proposed provider name - proposed provider change date time - proposed provider change control - received provider id (server) - received provider name - received provider contact details - received proposed provider id - received proposed provider name - received proposed provider change date time - received proposed provider change control - - change of tenancy update date time - proposed tenancy change control - - wan status - - low medium threshold - medium high threshold - - - provider id (client) - received provider id (client) - - tou tariff activation - block tariff activated - block tou tariff activated - single tariff rate activated - asynchronous billing occurred - synchronous billing occurred - tariff not supported - price cluster not found - currency change passive activated - currency change passive updated - price matrix passive activated - price matrix passive updated - tariff change passive activated - tariff change passive updated - publish price received - publish price actioned - publish price cancelled - publish price rejected - publish tariff information received - publish tariff information actioned - publish tariff information cancelled - publish tariff information rejected - publish price matrix received - publish price matrix actioned - publish price matrix cancelled - publish price matrix rejected - publish block thresholds received - publish block thresholds actioned - publish block thresholds cancelled - publish block thresholds rejected - publish calorific value received - publish calorific value actioned - publish calorific value cancelled - publish calorific value rejected - publish conversion factor received - publish conversion factor actioned - publish conversion factor cancelled - publish conversion factor rejected - publish co2 value received - publish co2 value actioned - publish co2 value cancelled - publish co2 value rejected - publish cpp event received - publish cpp event actioned - publish cpp event cancelled - publish cpp event rejected - publish tier labels received - publish tier labels actioned - publish tier labels cancelled - publish tier labels rejected - publish billing period received - publish billing period actioned - publish billing period cancelled - publish billing period rejected - publish consolidated bill received - publish consolidated bill actioned - publish consolidated bill cancelled - publish consolidated bill rejected - publish block period received - publish block period actioned - publish block period cancelled - publish block period rejected - publish credit payment info received - publish credit payment info actioned - publish credit payment info cancelled - publish credit payment info rejected - publish conversion factor received - publish conversion factor actioned - publish conversion factor cancelled - publish conversion factor rejected - - check meter - low battery - tamper detect - supply status - supply quality - leak detect - service disconnect - - reverse flow general - meter cover removed - meter cover closed - strong magnetic field - no strong magnetic field - battery failure - program memory error - ram error - nv memory error - low voltage L1 - high voltage L1 - low voltage L2 - high voltage L2 - low voltage L3 - high voltage L3 - over current L1 - over current L2 - over current L3 - frequency too low L1 - frequency too high L1 - frequency too low L2 - frequency too high L2 - frequency too low L3 - frequency too high L3 - ground fault - electric tamper detect - incorrect polarity - current no voltage - under voltage - over voltage - normal voltage - pf below threshold - pf above threshold - terminal cover removed - terminal cover closed - burst detect - pressure too low - pressure too high - flow sensor communication error - flow sensor measurement fault - flow sensor reverse flow - flow sensor air detect - pipe empty - inlet temperature sensor fault - outlet temperature sensor fault - reverse flow - tilt tamper - battery cover removed - battery cover closed - excess flow - tilt tamper enabled - measurement system error - watchdog error - supply disconnect failure - supply connect failure - measurement software changed - dst enabled - dst disabled - clock adj backward - clock adj forward - clock invalid - communication error han - communication ok han - meter fraud attempt - power loss - unusual han traffic - unexpected clock change - comms using unauthenticated component - - metering error reg clear - metering alarm reg clear - unexpected hw reset - unexpected program execution - limit threshold exceeded - limit threshold ok - limit threshold changed - maximum demand exceeded - profile cleared - load profile cleared - battery warn - wrong signature - no signature - signature not valid - unauthorise action from HAN - fast polling start - fast polling end - meter reporting interval changed - disconnect to load limit - meter supply status register changed - meter alarm status register changed - extended meter alarm status register changed - data access via local port - configure mirror success - configure mirror failure - configure notification flag scheme success - configure notification flag scheme failure - configure notification flags success - configure notification flags failure - stay awake request han - stay awake request wan - manufacturer specific a - manufacturer specific b - manufacturer specific c - manufacturer specific d - manufacturer specific e - manufacturer specific f - manufacturer specific g - manufacturer specific h - manufacturer specific i - get profile command received - get profile command actioned - get profile command cancelled - get profile command rejected - request mirror response command received - request mirror response command actioned - request mirror response command cancelled - request mirror response command rejected - mirror removed command received - mirror removed command actioned - mirror removed command cancelled - mirror removed command rejected - get snapshot command received - get snapshot command actioned - get snapshot command cancelled - get snapshot command rejected - take snapshot command received - take snapshot command actioned - take snapshot command cancelled - take snapshot command rejected - mirror report attribute response command received - mirror report attribute response command actioned - mirror report attribute response command cancelled - mirror report attribute response command rejected - schedule snapshot command received - schedule snapshot command actioned - schedule snapshot command cancelled - schedule snapshot command rejected - start sampling command received - start sampling command actioned - start sampling command cancelled - start sampling command rejected - get sampled data command received - get sampled data command actioned - get sampled data command cancelled - get sampled data command rejected - supply on - supply armed - supply off - disconnected due to tamper detected - manual disconnect - manual connect - remote disconnection - remote connect - local disconnection - local connect - change supply received - change supply actioned - change supply cancelled - change supply rejected - local change supply received - local change supply actioned - local change supply cancelled - local change supply rejected - publish uncontrolled flow threshold received - publish uncontrolled flow threshold actioned - publish uncontrolled flow threshold cancelled - publish uncontrolled flow threshold rejected - - message confirmation sent - display message received - display message actioned - display message cancelled - display message rejected - cancel message received - cancel message actioned - cancel message cancelled - cancel message rejected - - low credit - no credit - credit exhausted - emergency credit enabled - emergency credit exhausted - IHD low credit warning - physical attack on the prepay meter - electronic attack on the prepay meter - discount applied - credit adjustment - credit adjust fail - debt adjustment - debt adjust fail - mode change - topup code error - topup already used - topup code invalid - topup accepted via remote - topup accepted via manual entry - friendly credit in use - friendly credit end warning - friendly credit period end - - prepay error reg clear - prepay alarm reg clear - prepay cluster not found - topup value too large - mode credit 2 prepay - mode prepay 2 credit - mode default - select available emergency credit received - select available emergency credit actioned - select available emergency credit cancelled - select available emergency credit rejected - change debt received - change debt actioned - change debt cancelled - change debt rejected - emergency credit setup received - emergency credit setup actioned - emergency credit setup cancelled - emergency credit setup rejected - consumer topup received - consumer topup actioned - consumer topup cancelled - consumer topup rejected - credit adjustment received - credit adjustment actioned - credit adjustment cancelled - credit adjustment rejected - change payment mode received - change payment mode actioned - change payment mode cancelled - change payment mode rejected - get prepay snapshot received - get prepay snapshot actioned - get prepay snapshot cancelled - get prepay snapshot rejected - get topup log received - get topup log actioned - get topup log cancelled - get topup log rejected - set low credit warning level received - set low credit warning level actioned - set low credit warning level cancelled - set low credit warning level rejected - get debt repay log received - get debt repay log actioned - get debt repay log cancelled - get debt repay log rejected - set maximum credit limit received - set maximum credit limit actioned - set maximum credit limit cancelled - set maximum credit limit rejected - set overall debt cap received - set overall debt cap actioned - set overall debt cap cancelled - set overall debt cap rejected - - calendar cluster not found - calendar change passive activated - calendar change passive updated - publish calendar received - publish calendar actioned - publish calendar cancelled - publish calendar rejected - publish day profile received - publish day profile actioned - publish day profile cancelled - publish day profile rejected - publish week profile received - publish week profile actioned - publish week profile cancelled - publish week profile rejected - publish seasons received - publish seasons actioned - publish seasons cancelled - publish seasons rejected - publish special days received - publish special days actioned - publish special days cancelled - publish special days rejected - - password 1 change - password 2 change - password 3 change - password 4 change - event log cleared - zigbee aps timeout - zigbee ieee transmission failure over threshold - zigbee ieee frame check sequence threshold - error certificate - error signature - error program storage - publish cot received - publish cot actioned - publish cot cancelled - publish cot rejected - publish cos received - publish cos actioned - publish cos cancelled - publish cos rejected - change password received - change password actioned - change password cancelled - change password rejected - set event configuration received - set event configuration actioned - set event configuration cancelled - set event configuration rejected - update site id received - update site id actioned - update site id cancelled - update site id rejected - update cin received - update cin actioned - update cin cancelled - update cin rejected - - tunneling cluster not found - unsupported protocol - unsupported protocol - request tunnel command received - request tunnel command rejected - request tunnel command generated - close tunnel command received - close tunnel command rejected - close tunnel command generated - transfer data command received - transfer data command rejected - transfer data command generated - transfer data error command received - transfer data error command rejected - transfer data error command generated - ack transfer data command received - ack transfer data command rejected - ack transfer data command generated - ready data command received - ready data command rejected - ready data command generated - get supported tunnel protocols command received - get supported tunnel protocols command rejected - get supported tunnel protocols command generated - - firmware ready for activation - firmware activated - firmware activation failure - patch ready for activation - patch activated - patch failure - image notify command received - image notify command rejected - query next image request generated - query next image response received - query next image response rejected - image block request generated - image page request generated - image block response received - image block response rejected - upgrade end request generated - upgrade end response received - upgrade end response rejected - query specific file request generated - query specific file response received - query specific file response rejected - - - - This command is used to request the ESI to respond with information regarding any available change of tenancy. - - - - - This command is used to request the ESI to respond with information regarding any available change of supplier. - - - - - This command is used to request the current password from the server. - - - - - - This command is used to request the ESI to respond with information regarding any pending change of Site ID. - - - - - This command is sent in response to a GetEventConfiguration command. - - - - - - - - This command is used to request the ESI to respond with information regarding any pending change of Customer ID Number. - - - - - - This command is used to change the tenancy of a meter. - - - - - - - - - - This command is used to change the Supplier (energy supplier) that is supplying the meter (s). - - - - - - - - - - - - - This command is used to send the current password to the client. - - - - - - - - - - This command is used to set the siteID. - - - - - - - - - This command provides a method to set the event configuration attributes, held in a client device. - - - - - - - - - - This command allows the server to request details of event configurations. - - - - - - This command is used to set the CustomerIDNumber attribute held in the Metering cluster. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Events - SE - This cluster provides an interface on which applications can use event-based protocols. - 0x0709 - EVENTS_CLUSTER - true - true - - - - - - The GetEventLog command allows a client to request events from a server's event logs. One or more PublishEventLog commands are returned on receipt of this command. - - - - - - - - - - - The ClearEventLogRequest command requests that an Events server device clear the specified event log(s). - - - - - - - The PublishEvent command is generated upon an event trigger from within the reporting device and, if supported, the associated Event Configuration attribute in the Device Management cluster. - - - - - - - - - - This command is generated on receipt of a GetEventLog command. The command returns the most recent event first and up to the number of events requested. - - - - - - - - - - This command is generated on receipt of a Clear Event Log Request command. - - - - - - - MDU Pairing - SE - This cluster seeks to assist in the commissioning of networks that include multi-dwelling units (MDUs). - 0x070A - MDU_PAIRING_CLUSTER - true - true - - - - - - The Pairing Response command provides a device joining a MDU network with a list of the devices that will constitute the 'virtual HAN' for the household in which the joining device is to operate. - - - - - - - - - - - The Pairing Request command allows a device joining a MDU network to determine the devices that will constitute the 'virtual HAN' for the household in which it is to operate. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sub-GHz - SE - Used by the Smart Energy profile for duty cycle monitoring and frequency agility. - 0x070B - SUB_GHZ_CLUSTER - true - true - - sub-GHz channel change (server) - sub-GHz page 28 channel mask (server) - sub-GHz page 29 channel mask (server) - sub-GHz page 30 channel mask (server) - sub-GHz page 31 channel mask (server) - - - - - The server sends it to temporarily suspend ZCL messages from clients it identifies as causing too much traffic. - - - - - - - The client sends it to determine the current status of its ZCL communications from the server. - - - - - - - - - - - - - - - - - - - Key Establishment - General - Key Establishment cluster - 0x0800 - KEY_ESTABLISHMENT_CLUSTER - true - true - - - key establishment suite (server) - - key establishment suite (client) - - - - Command description for InitiateKeyEstablishmentRequest - - - - - - - - - Command description for EphemeralDataRequest - - - - - - Command description for ConfirmKeyDataRequest - - - - - - - Command description for TerminateKeyEstablishment - - - - - - - - - Command description for InitiateKeyEstablishmentResponse - - - - - - - - - Command description for EphemeralDataResponse - - - - - - Command description for ConfirmKeyDataResponse - - - - - - Keep-Alive - - SE - This cluster supports the commands and attributes directed to the network Trust Center in order to determine whether communication with the Trust Center is still available. - 0x0025 - KEEPALIVE_CLUSTER - true - true - - - Keep-Alive Base - Keep-Alive Jitter - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/cba-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/cba-devices.xml deleted file mode 100644 index d6a4ca30caa3ef..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/cba-devices.xml +++ /dev/null @@ -1,138 +0,0 @@ - - - - - BACnet Tunneled Device - CBA - CBA BACnet Tunneled Device - Coordinator - 0x0105 - 0x000a - - Basic - Identify - Groups - Commissioning - Power Configuration - Device Temperature Configuration - Time - Generic Tunnel - BACnet Protocol Tunnel - - - - CBA-onofflight - CBA - CBA On/Off Light - Coordinator - 0x109 - 0x0100 - - Basic - Identify - Power Configuration - Device Temperature Configuration - Alarms - Time - Groups - On/off - Scenes - Occupancy Sensing - Commissioning - - - - CBA-onofflightswitch - CBA - CBA On/Off Light Switch - Coordinator - 0x105 - 0x0103 - - Basic - Identify - Power Configuration - Device Temperature Configuration - Alarms - Time - On/Off Switch Configuration - On/off - Scenes - Groups - Commissioning - - - - CBA-tstat - CBA - CBA Thermostat - Sleepy End Device - 0x105 - 0x0301 - - Basic - Identify - Power Configuration - Device Temperature Configuration - Alarms - Time - Thermostat - Scenes - Groups - Thermostat User Interface Configuration - Fan control - Temperature measurement - Occupancy Sensing - Relative Humidity Measurement - Commissioning - - - - CBA-tempsensor - CBA - CBA Temperature Sensor - Sleepy End Device - 0x105 - 0x0302 - - Basic - Identify - Power Configuration - Device Temperature Configuration - Alarms - Time - Temperature measurement - Groups - Commissioning - - - - CBA-config - CBA - CBA Config Tool - Coordinator - 0x0105 - 0x0005 - - Basic - Identify - Groups - Scenes - Commissioning - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/cba.xml b/src/app/zap-templates/zcl/data-model/silabs/cba.xml deleted file mode 100644 index 68ecced30d69d7..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/cba.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - Generic Tunnel - CBA - The minimum common commands and attributes required to tunnel any protocol. - 0x0600 - GENERIC_TUNNEL_CLUSTER - true - true - maximum incoming transfer size - maximum outgoing transfer size - protocol address - - - This command is generated when an application wishes to find the ZigBee address (node, endpoint) of the Generic Tunnel server cluster with a given ProtocolAddress attribute. The command is typically multicast to a group of inter-communicating Generic Tunnel clusters - - - - - - This command is generated upon receipt of a Match Protocol Address command to indicate that the Protocol Address was successfully matched. - - - - - - - This command is typically sent upon startup, and whenever the ProtocolAddress attribute changes. It is typically multicast to a group of inter-communicating Generic Tunnel clusters. - - - - - - BACnet Protocol Tunnel - CBA - Commands and attributes required to tunnel the BACnet protocol. - 0x0601 - BACNET_PROTOCOL_TUNNEL_CLUSTER - true - true - - - This command is generated when a BACnet network layer wishes to transfer a BACnet NPDU across a ZigBee tunnel to another BACnet network layer. - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/chip.xml b/src/app/zap-templates/zcl/data-model/silabs/chip.xml deleted file mode 100644 index 033043f7b06330..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/chip.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Network Provisioning - CHIP - TODO - 0x9999 - NWPROV_CLUSTER - true - true - - TODO - - - - - - TODO - - - - - - - TODO - - - - - - - TODO - - - - - TODO - - - - - - - TODO - - - - - TODO - - - - - - TODO - - - - - TODO - - - - - - TODO - - - - - TODO - - - - - - TODO - - - - - TODO - - - - - - TODO - - - - - TODO - - - - - - TODO - - - - - TODO - - - - - - TODO - - - - - TODO - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/general-thread.xml b/src/app/zap-templates/zcl/data-model/silabs/general-thread.xml deleted file mode 100644 index 2c38e35ef404fb..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/general-thread.xml +++ /dev/null @@ -1,970 +0,0 @@ - - - - - - - - - - - - - - - Command description for ReadAttributes - - - - - - Command description for ReadAttributesResponse - - - - - - Command description for WriteAttributes - - - - - - Command description for WriteAttributesUndivided - - - - - - Command description for WriteAttributesResponse - - - - - - Command description for WriteAttributesNoResponse - - - - - - Command description for ConfigureReporting - - - - - - Command description for ConfigureReportingResponse - - - - - - Command description for ReadReportingConfiguration - - - - - - Command description for ReadReportingConfigurationResponse - - - - - - Command description for ReportAttributes - - - - - - Command description for DefaultResponse - - - - - - - Command description for DiscoverAttributes - - - - - - - Command description for DiscoverAttributesResponse - - - - - - - Command description for ReadAttributesStructured - - - - - - Command description for WriteAttributesStructured - - - - - - Command description for WriteAttributesStructuredResponse - - - - - This command may be used to discover all commands processed (received) by this cluster, including optional or manufacturer specific commands. - - - - - The discover commands received response command is sent in response to a discover commands received command, and is used to discover which commands a particular cluster can process. - - - - - This command may be used to discover all commands which may be generated (sent) by the cluster, including optional or manufacturer specific commands. - - - - - The discover client commands response command is sent in response to a discover client commands command, and is used to discover which commands a particular cluster supports. - - - - - This command is similar to the discover attributes command, but also includes a field to indicate whether the attribute is readable, writeable or reportable. - - - - - This command is sent in response to a discover attribute extended command and is used to determine if attributes are readable, writable or reportable. - - - - cluster revision - reporting status - cluster revision - reporting status - - - Basic - General - Attributes for determining basic information about a device, setting user device information such as location, and enabling a device. - 0x0000 - BASIC_CLUSTER - true - true - ZCL version - - application version - stack version - hardware version - manufacturer name - model identifier - date code - power source - generic device class - generic device type - product code - product url - location description - physical environment - device enabled - alarm mask - disable local config - - Command that resets all attribute values to factory default. - - - - Power Configuration - General - Attributes for determining more detailed information about a device's power source(s), and for configuring under/over voltage alarms. - 0x0001 - POWER_CONFIG_CLUSTER - true - true - mains voltage - mains frequency - mains alarm mask - mains voltage min threshold - mains voltage max threshold - mains voltage dwell trip - battery voltage - battery percentage remaining - battery manufacturer - battery size - battery ahr rating - battery quantity - battery rated voltage - battery alarm mask - battery voltage min threshold - battery voltage threshold 1 - battery voltage threshold 2 - battery voltage threshold 3 - battery percentage min threshold - battery percentage threshold 1 - battery percentage threshold 2 - battery percentage threshold 3 - battery alarm state - battery 2 voltage - battery 2 percentage remaining - battery 2 manufacturer - battery 2 size - battery 2 ahr rating - battery 2 quantity - battery 2 rated voltage - battery 2 alarm mask - battery 2 voltage min threshold - battery 2 voltage threshold 1 - battery 2 voltage threshold 2 - battery 2 voltage threshold 3 - battery 2 percentage min threshold - battery 2 percentage threshold 1 - battery 2 percentage threshold 2 - battery 2 percentage threshold 3 - battery 2 alarm state - battery 3 voltage - battery 3 percentage remaining - battery 3 manufacturer - battery 3 size - battery 3 ahr rating - battery 3 quantity - battery 3 rated voltage - battery 3 alarm mask - battery 3 voltage min threshold - battery 3 voltage threshold 1 - battery 3 voltage threshold 2 - battery 3 voltage threshold 3 - battery 3 percentage min threshold - battery 3 percentage threshold 1 - battery 3 percentage threshold 2 - battery 3 percentage threshold 3 - battery 3 alarm state - - - Device Temperature Configuration - General - Attributes for determining information about a device's internal temperature, and for configuring under/over temperature alarms. - 0x0002 - DEVICE_TEMP_CLUSTER - true - true - current temperature - min temp experienced - max temp experienced - over temp total dwell - device temp alarm mask - low temp threshold - high temp threshold - low temp dwell trip point - high temp dwell trip point - - - Identify - General - Attributes and commands for putting a device into Identification mode (e.g. flashing a light). - 0x0003 - IDENTIFY_CLUSTER - true - true - identify time - commission state - - - Command description for Identify - - - - - - Command description for IdentifyQuery - - - - - Invoke EZMode on an Identify Server - - - - - - Update Commission State on the server device. - - - - - - - Command description for IdentifyQueryResponse - - - - - - Groups - General - Attributes and commands for group configuration and manipulation. - 0x0004 - GROUPS_CLUSTER - true - true - name support - - - - Command description for AddGroup - - - - - - - - - - Command description for ViewGroup - - - - - - Command description for GetGroupMembership - - - - - - - Command description for RemoveGroup - - - - - - Command description for RemoveAllGroups - - - - - Command description for AddGroupIfIdentifying - - - - - - - - - - Command description for AddGroupResponse - - - - - - - Command description for ViewGroupResponse - - - - - - - - - - - Command description for GetGroupMembershipResponse - - - - - - - - Command description for RemoveGroupResponse - - - - - - - Scenes - General - Attributes and commands for scene configuration and manipulation. - 0x0005 - SCENES_CLUSTER - true - true - scene count - current scene - current group - scene valid - name support - - last configured by - - - Add a scene to the scene table. Extension field sets are supported, and are inputed as arrays of the form [[cluster ID] [length] [value0...n] ...] - - - - - - - - - - Command description for ViewScene - - - - - - - Command description for RemoveScene - - - - - - - Command description for RemoveAllScenes - - - - - - Command description for StoreScene - - - - - - - Command description for RecallScene - - - - - - - - Command description for GetSceneMembership - - - - - - Command description for AddSceneResponse - - - - - - - - Command description for ViewSceneResponse - - - - - - - - - - - Command description for RemoveSceneResponse - - - - - - - - Command description for RemoveAllScenesResponse - - - - - - - Command description for StoreSceneResponse - - - - - - - - Command description for GetSceneMembershipResponse - - - - - - - - - - On/off - General - Attributes and commands for switching devices between 'On' and 'Off' states. - 0x0006 - ON_OFF_CLUSTER - true - true - on/off - start up on off - - - Command description for Off - - - - - Command description for On - - - - - Command description for Toggle - - - - - On/off Switch Configuration - General - Attributes and commands for configuring On/Off switching devices. - 0x0007 - ON_OFF_SWITCH_CONFIG_CLUSTER - true - true - switch type - switch actions - - - Level Control - General - Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' - 0x0008 - LEVEL_CONTROL_CLUSTER - true - true - current level - remaining time - - on off transition time - on level - on transition time - off transition time - default move rate - options - start up current level - - - Command description for MoveToLevel - - - - - - - Command description for Move - - - - - - - Command description for Step - - - - - - - - Command description for Stop - - - - - Command description for MoveToLevelWithOnOff - - - - - - - Command description for MoveWithOnOff - - - - - - - Command description for StepWithOnOff - - - - - - - - Command description for StopWithOnOff - - - - - Alarms - General - Attributes and commands for sending notifications and configuring alarm functionality. - 0x0009 - ALARM_CLUSTER - true - true - alarm count - - - Command description for ResetAlarm - - - - - - - Command description for ResetAllAlarms - - - - - Command description for GetAlarm - - - - - Command description for ResetAlarmLog - - - - - Command description for Alarm - - - - - - - Command description for GetAlarmResponse - - - - - - - - - Time - General - Attributes and commands that provide a basic interface to a real-time clock. - 0x000A - TIME_CLUSTER - true - true - time - time status - time zone - dst start - dst end - dst shift - standard time - local time - last set time - valid until time - - - RSSI Location - General - Attributes and commands that provide a means for exchanging location information and channel parameters among devices. - 0x000B - RSSI_LOCATION_CLUSTER - true - true - location type - location method - location age - quality measure - number of devices - coordinate 1 - coordinate 2 - coordinate 3 - power - path loss exponent - reporting period - calculation period - number rssi measurements - - - Command description for SetAbsoluteLocation - - - - - - - - - - Command description for SetDeviceConfiguration - - - - - - - - - - Command description for GetDeviceConfiguration - - - - - - Command description for GetLocationData - - - - - - - - Command description for RssiResponse - - - - - - - - - - - Command description for SendPings - - - - - - - - Command description for AnchorNodeAnnounce - - - - - - - - - Command description for DeviceConfigurationResponse - - - - - - - - - - - Command description for LocationDataResponse - - - - - - - - - - - - - - - Command description for LocationDataNotification - - - - - - - - - - - - - - Command description for CompactLocationDataNotification - - - - - - - - - - - Command description for RssiPing - - - - - - Command description for RssiRequest - - - - - Command description for ReportRssiMeasurements - - - - - - - - Command description for RequestOwnLocation - - - - - - Binary Input (Basic) - General - An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. - 0x000F - BINARY_INPUT_BASIC_CLUSTER - true - true - active text - description - inactive text - out of service - polarity - present value - reliability - status flags - application type - - - Commissioning - General - Attributes and commands for commissioning and managing a ZigBee device. - 0x0015 - COMMISSIONING_CLUSTER - true - true - short address - extended pan id - pan id - channel mask - protocol version - stack profile - startup control - trust center address - trust center master key - network key - use insecure join - preconfigured link key - network key sequence number - network key type - network manager address - scan attempts - time between scans - rejoin interval - max rejoin interval - indirect poll rate - parent retry threshold - concentrator flag - concentrator radius - concentrator discovery time - - - Command description for RestartDevice - - - - - - - - Command description for SaveStartupParameters - - - - - - - Command description for RestoreStartupParameters - - - - - - - Command description for ResetStartupParameters - - - - - - - Command description for RestartDeviceResponse - - - - - - Command description for SaveStartupParametersResponse - - - - - - Command description for RestoreStartupParametersResponse - - - - - - Command description for ResetStartupParametersResponse - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/general.xml b/src/app/zap-templates/zcl/data-model/silabs/general.xml index b52690b45b28a8..d49a7268336b5a 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/general.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/general.xml @@ -671,7 +671,7 @@ limitations under the License. true true - time + time time status time zone dst start @@ -679,168 +679,8 @@ limitations under the License. dst shift standard time local time - last set time - valid until time - - - RSSI Location - General - Attributes and commands that provide a means for exchanging location information and channel parameters among devices. - 0x000B - RSSI_LOCATION_CLUSTER - true - true - location type - location method - location age - quality measure - number of devices - coordinate 1 - coordinate 2 - coordinate 3 - power - path loss exponent - reporting period - calculation period - number rssi measurements - - - Command description for SetAbsoluteLocation - - - - - - - - - - Command description for SetDeviceConfiguration - - - - - - - - - - Command description for GetDeviceConfiguration - - - - - - Command description for GetLocationData - - - - - - - - Command description for RssiResponse - - - - - - - - - - - Command description for SendPings - - - - - - - - Command description for AnchorNodeAnnounce - - - - - - - - - Command description for DeviceConfigurationResponse - - - - - - - - - - - Command description for LocationDataResponse - - - - - - - - - - - - - - - Command description for LocationDataNotification - - - - - - - - - - - - - - Command description for CompactLocationDataNotification - - - - - - - - - - - Command description for RssiPing - - - - - - Command description for RssiRequest - - - - - Command description for ReportRssiMeasurements - - - - - - - - Command description for RequestOwnLocation - - - + last set time + valid until time Binary Input (Basic) @@ -860,91 +700,4 @@ limitations under the License. status flags application type - - Commissioning - General - Attributes and commands for commissioning and managing a ZigBee device. - 0x0015 - COMMISSIONING_CLUSTER - true - true - - short address - extended pan id - pan id - channel mask - protocol version - stack profile - startup control - trust center address - trust center master key - network key - use insecure join - preconfigured link key - network key sequence number - network key type - network manager address - scan attempts - time between scans - rejoin interval - max rejoin interval - indirect poll rate - parent retry threshold - concentrator flag - concentrator radius - concentrator discovery time - - - Command description for RestartDevice - - - - - - - - Command description for SaveStartupParameters - - - - - - - Command description for RestoreStartupParameters - - - - - - - Command description for ResetStartupParameters - - - - - - - Command description for RestartDeviceResponse - - - - - - Command description for SaveStartupParametersResponse - - - - - - Command description for RestoreStartupParametersResponse - - - - - - Command description for ResetStartupParametersResponse - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/green-power-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/green-power-devices.xml deleted file mode 100644 index f0abc9af866cc3..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/green-power-devices.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - - GP-proxy - GP - GP Proxy - Router - 0xA1E0 - 0x0060 - - - - - - GP-proxy-basic - GP - GP Proxy Basic - Router - 0xA1E0 - 0x0061 - - - - - - GP-target-plus - GP - GP Target+ - Router - 0xA1E0 - 0x0062 - - - - - - GP-target - GP - GP Target - Router - 0xA1E0 - 0x0063 - - - - - - GP-commissioning-tool - GP - GP Commissioning Tool - Router - 0xA1E0 - 0x0064 - - - - - - GP-combo - GP - GP Combo - Router - 0xA1E0 - 0x0065 - - - - - - GP-combo-basic - GP - GP Combo Basic - Router - 0xA1E0 - 0x0066 - - - - - - GP-test-device - GP - GP Test Device - Router - 0xA1E0 - 0x0066 - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/green-power.xml b/src/app/zap-templates/zcl/data-model/silabs/green-power.xml deleted file mode 100644 index 376824a46bdefc..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/green-power.xml +++ /dev/null @@ -1,730 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Green Power - GP - The Green Power cluster defines the format of the commands exchanged when handling GPDs. - 0x0021 - GREEN_POWER_CLUSTER - true - true - - gps max sink table entries - sink table - gps communication mode - gps commissioning exit mode - gps commissioning window - gps security level - gps functionality - gps active functionality - - gp shared security key type - gp shared security key - gp link key - - gpp max proxy table entries - proxy table - gpp notification retry number - gpp notification retry timer - gpp max search counter - gpp blocked gpd id - gpp functionality - gpp active functionality - - gp shared security key type - gp shared security key - gp link key - - - - From GPP to GPS to tunnel GP frame. - - - - - - - - - - - - - - From GPP to GPSs in entire network to get pairing indication related to GPD for Proxy Table update. - - - - - - - - - From GPP to neighbor GPPs to indicate GP Notification sent in unicast mode. - - - - - - - - - - - - From GPP to GPS to tunnel GPD commissioning data. - - - - - - - - - - - - - - - To enable commissioning mode of the sink, over the air - - - - - - - - - To configure GPD Command Translation Table. - - - - - - - - - - To provide GPD Command Translation Table content. - - - - - - To configure Sink Table. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To read out selected Sink Table Entries, by index or by GPD ID. - - - - - - - - - - To reply with read-out Proxy Table entries, by index or by GPD ID. - - - - - - - - - - - From GPS to GPP to acknowledge GP Notification received in unicast mode. - - - - - - - - - - From GPS to the entire network to (de)register for tunneling service, or for removing GPD from the network. - - - - - - - - - - - - - - - - - From GPS to GPPs in the whole network to indicate commissioning mode. - - - - - - - - From GPS to selected GPP, to provide data to be transmitted to Rx-capable GPD. - - - - - - - - - - - - - To provide GPD Command Translation Table content. - - - - - - - - - - - To selected Proxy Table entries, by index or by GPD ID. - - - - - - - - - - - To request selected Proxy Table entries, by index or by GPD ID. - - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ha-thread.xml b/src/app/zap-templates/zcl/data-model/silabs/ha-thread.xml deleted file mode 100644 index 45ac62508a00f9..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/ha-thread.xml +++ /dev/null @@ -1,2377 +0,0 @@ - - - - - - - - - - - - - - Shade Configuration - Closures - Attributes and commands for configuring a shade. - 0x0100 - SHADE_CONFIG_CLUSTER - true - true - physical closed limit - - motor step size - - status - - closed limit - - mode - - - - Thermostat - HVAC - An interface for configuring and controlling the functionality of a thermostat. - 0x0201 - THERMOSTAT_CLUSTER - true - true - local temperature - outdoor temperature - occupancy - - abs min heat setpoint limit - abs max heat setpoint limit - abs min cool setpoint limit - abs max cool setpoint limit - pi cooling demand - pi heating demand - HVAC system type configuration - local temperature calibration - occupied cooling setpoint - occupied heating setpoint - unoccupied cooling setpoint - unoccupied heating setpoint - min heat setpoint limit - max heat setpoint limit - min cool setpoint limit - max cool setpoint limit - min setpoint dead band - remote sensing - control sequence of operation - system mode - alarm mask - - thermostat running mode - start of week - number of weekly transitions - number of daily transitions - temperature setpoint hold - temperature setpoint hold duration - thermostat programming operation mode - hvac relay state - setpoint change source - setpoint change amount - setpoint change source timestamp - ac type - ac capacity - ac refrigerant type - ac compressor - ac error code - ac louver position - ac coil temperature - ac capacity format - - - Command description for SetpointRaiseLower - - - - - - - Command description for SetWeeklySchedule - - - - - - - - - Command description for GetWeeklySchedule - - - - - - - The Clear Weekly Schedule command is used to clear the weekly schedule. - - - - - The Get Relay Status Log command is used to query the thermostat internal relay status log. - - - - - The Current Weekly Schedule Command is sent from the server in response to the Get Weekly Schedule Command. - - - - - - - - - This command is sent from the thermostat cluster server in response to the Get Relay Status Log. - - - - - - - - - - - Fan Control - HVAC - An interface for controlling a fan in a heating/cooling system. - 0x0202 - FAN_CONTROL_CLUSTER - true - true - fan mode - - fan mode sequence - - - - Dehumidification Control - HVAC - An interface for controlling dehumidification. - 0x0203 - DEHUMID_CONTROL_CLUSTER - true - true - relative humidity - dehumidification cooling - RH dehumidification setpoint - relative humidity mode - dehumidification lockout - dehumidification hysteresis - dehumidification max cool - relative humidity display - - - Thermostat User Interface Configuration - HVAC - An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). - 0x0204 - THERMOSTAT_UI_CONFIG_CLUSTER - true - true - temperature display mode - keypad lockout - schedule programming visibility - - - Color Control - Lighting - Attributes and commands for controlling the color properties of a color-capable light. - 0x0300 - COLOR_CONTROL_CLUSTER - true - true - current hue - - current saturation - - remaining time - - current x - - current y - - drift compensation - - compensation text - - color temperature - - color mode - - color control options - - number of primaries - - primary 1 x - - primary 1 y - - primary 1 intensity - - primary 2 x - - primary 2 y - - primary 2 intensity - - primary 3 x - - primary 3 y - - primary 3 intensity - - primary 4 x - - primary 4 y - - primary 4 intensity - - primary 5 x - - primary 5 y - - primary 5 intensity - - primary 6 x - - primary 6 y - - primary 6 intensity - - white point x - - white point y - - color point r x - - color point r y - - color point r intensity - - color point g x - - color point g y - - color point g intensity - - color point b x - - color point b y - - color point b intensity - - couple color temp to level min-mireds - start up color temperature mireds - - - Move to specified hue. - - - - - - - - Move hue up or down at specified rate. - - - - - - - Step hue up or down by specified size at specified rate. - - - - - - - - Move to specified saturation. - - - - - - - Move saturation up or down at specified rate. - - - - - - - Step saturation up or down by specified size at specified rate. - - - - - - - - Move to hue and saturation. - - - - - - - - Move to specified color. - - - - - - - - Moves the color. - - - - - - - Steps the lighting to a specific color. - - - - - - - - Moves the lighting to a specific color temperature. - - - - - - - Ballast Configuration - Lighting - Attributes and commands for configuring a lighting ballast. - 0x0301 - BALLAST_CONFIGURATION_CLUSTER - true - true - physical min level - physical max level - ballast status - min level - max level - power on level - power on fade time - intrinsic ballast factor - ballast factor adjustment - lamp quality - lamp type - lamp manufacturer - lamp rated hours - lamp burn hours - lamp alarm mode - lamp burn hours trip point - - - Illuminance Measurement - Measurement & Sensing - Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements. - 0x0400 - ILLUM_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - light sensor type - - - - Illuminance Level Sensing - Measurement & Sensing - Attributes and commands for configuring the sensing of illuminance levels, and reporting whether illuminance is above, below, or on target. - 0x0401 - ILLUM_LEVEL_SENSING_CLUSTER - true - true - level status - light sensor type - - illuminance level target - - - Pressure Measurement - Measurement & Sensing - Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements. - 0x0403 - PRESSURE_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - scaled value - min scaled value - max scaled value - scaled tolerance - scale - - - Occupancy Sensing - Measurement & Sensing - Attributes and commands for configuring occupancy sensing, and reporting occupancy status. - 0x0406 - OCCUPANCY_SENSING_CLUSTER - true - true - occupancy - occupancy sensor type - PIR occupied to unoccupied delay - PIR unoccupied to occupied delay - PIR unoccupied to occupied threshold - ultrasonic occupied to unoccupied delay - ultrasonic unoccupied to occupied delay - ultrasonic unoccupied to occupied threshold - - - Carbon Monoxide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the measurement of carbon monoxide concentration and reporting concentration measurements. - 0x040C - CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Carbon Dioxide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the carbon diaoxide concentration and reporting concentration measurements. - 0x040D - CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Ethylene Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Ethylene concentration and reporting concentration measurements. - 0x040E - ETHYLENE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Ethylene Oxide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Ethylene Oxide concentration and reporting concentration measurements. - 0x040F - ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Hydrogen Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Hydrogen concentration and reporting concentration measurements. - 0x0410 - HYDROGEN_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Hydrogen Sulphide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Hydrogen Sulphide concentration and reporting concentration measurements. - 0x0411 - HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Nitric Oxide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Nitric Oxide concentration and reporting concentration measurements. - 0x0412 - NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Nitrogen Dioxide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Nitrogen Dioxide concentration and reporting concentration measurements. - 0x0413 - NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Oxygen Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Oxygen concentration and reporting concentration measurements. - 0x0414 - OXYGEN_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Ozone Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Ozone concentration and reporting concentration measurements. - 0x0415 - OZONE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Sulfur Dioxide Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Sulphur Dioxide concentration and reporting concentration measurements. - 0x0416 - SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Dissolved Oxygen Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Dissolved Oxygen concentration and reporting concentration measurements. - 0x0417 - DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Bromate Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Bromate concentration, and reporting concentration measurements. - 0x0418 - BROMATE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Chloramines Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Chloramines concentration and reporting concentration measurements. - 0x0419 - CHLORAMINES_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Chlorine Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Chlorine concentration and reporting concentration measurements. - 0x041A - CHLORINE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Fecal coliform and E. Coli Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Fecal coliform and E. Coli concentration and reporting concentration measurements. - 0x041B - FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Fluoride Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Fluoride concentration and reporting concentration measurements. - 0x041C - FLUORIDE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Haloacetic Acids Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Haloacetic Acids concentration and reporting concentration measurements. - 0x041D - HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Total Trihalomethanes Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Total Trihalomethanes concentration and reporting concentration measurements. - 0x041E - TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Total Coliform Bacteria Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Total Coliform Bacteria concentration and reporting concentration measurements. - 0x041F - TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Turbidity Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Turbidity concentration and reporting concentration measurements. - 0x0420 - TURBIDITY_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Copper Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Copper concentration and reporting concentration measurements. - 0x0421 - COPPER_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Lead Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Lead concentration and reporting concentration measurements. - 0x0422 - LEAD_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Manganese Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Manganese concentration and reporting concentration measurements. - 0x0423 - MANGANESE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Sulfate Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Sulfate concentration and reporting concentration measurements. - 0x0424 - SULFATE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Bromodichloromethane Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Bromodichloromethane concentration and reporting concentration measurements. - 0x0425 - BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Bromoform Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Bromoform concentration and reporting concentration measurements. - 0x0426 - BROMOFORM_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Chlorodibromomethane Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Chlorodibromomethane concentration and reporting concentration measurements. - 0x0427 - CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Chloroform Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Chloroform concentration and reporting concentration measurements. - 0x0428 - CHLOROFORM_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - Sodium Concentration Measurement - Measurement & Sensing - Attributes and commands for configuring the Sodium concentration and reporting concentration measurements. - 0x0429 - SODIUM_CONCENTRATION_MEASUREMENT_CLUSTER - true - true - measured value - - min measured value - - max measured value - - tolerance - - - - IAS Zone - Security & Safety - Attributes and commands for IAS security zone devices. - 0x0500 - IAS_ZONE_CLUSTER - true - true - zone state - zone type - zone status - IAS CIE address - Zone ID - Number of Zone Sensitivity Levels Supported - Current Zone Sensitivity Level - - - Command description for zoneEnrollResponse - - - - - - - Used to tell the IAS Zone server to commence normal operation mode - - - - - Certain IAS Zone servers may have operational configurations that could be configured OTA or locally on the device. This command enables them to be remotely placed into a test mode so that the user or installer may configure their field of view, sensitivity, and other operational parameters. - - - - - - - Command description for zoneStatusChangeNotification - - - - - - - - - Command description for zoneEnrollRequest - - - - - - - Confirms that the IAS Zone server has commenced normal operation mode. - - - - - Confirms that the IAS Zone server has commenced test mode and that the IAS Zone client should treat any Zone Status Change Notification commands received from the sending IAS Zone server as being in response to test events. - - - - - IAS ACE - Security & Safety - Attributes and commands for IAS Ancillary Control Equipment. - 0x0501 - IAS_ACE_CLUSTER - true - true - - - Command description for Arm - - - - - - - - Command description for Bypass - - - - - - - - Command description for Emergency - - - - - Command description for Fire - - - - - Command description for Panic - - - - - Command description for GetZoneIdMap - - - - - Command description for GetZoneInformation - - - - - - Used by the ACE client to request an update to the status of the ACE server - - - - - Used by the ACE client to retrieve the bypassed zones - - - - - Used by the ACE client to request an update to the zone status of the ACE server - - - - - - - - - Command description for ArmResponse - - - - - - Command description for GetZoneIdMapResponse - - - - - - - - - - - - - - - - - - - - - Command description for GetZoneInformationResponse - - - - - - - - - This command updates ACE clients in the system of changes to zone status recorded by the ACE server (e.g., IAS CIE device). - - - - - - - - - This command updates ACE clients in the system of changes to panel status recorded by the ACE server (e.g., IAS CIE device). - - - - - - - - - Command updates requesting IAS ACE clients in the system of changes to the security panel status recorded by the ACE server. - - - - - - - - - Sets the list of bypassed zones on the IAS ACE client - - - - - - - Provides the response of the security panel to the request from the IAS ACE client to bypass zones via a Bypass command. - - - - - - - This command updates requesting IAS ACE clients in the system of changes to the IAS Zone server statuses recorded by the ACE server (e.g., IAS CIE device). - - - - - - - - IAS WD - Security & Safety - Attributes and commands for IAS Warning Devices. - 0x0502 - IAS_WD_CLUSTER - true - true - max duration - - - Command description for StartWarning - - - - - - - - - Command description for Squawk - - - - - - Door Lock - Closures - Provides an interface into a generic way to secure a door. - 0x0101 - DOOR_LOCK_CLUSTER - true - true - lock state - lock type - actuator enabled - door state - door open events - door closed events - open period - num lock records supported - num total users supported - num PIN users supported - num RFID users supported - num weekday schedules supported per user - num yearday schedules supported per user - num holiday schedules supported per user - max pin length - min pin length - max rfid code length - min rfid code length - enable logging - language - led settings - auto relock time - sound volume - operating mode - supported operating modes - default configuration register - enable local programming - enable one touch locking - enable inside status led - enable privacy mode button - wrong code entry limit - user code temporary disable time - send pin over the air - require pin for rf operation - zigbee security level - alarm mask - keypad operation event mask - RF operation event mask - manual operation event mask - rfid operation event mask - keypad programming event mask - rf programming event mask - rfid programming event mask - - - Locks the door - - - - - - Unlocks the door - - - - - - Toggles the door lock from its current state to the opposite state locked or unlocked. - - - - - - Unlock the door with a timeout. When the timeout expires, the door will automatically re-lock. - - - - - - - Retrieve a log record at a specified index. - - - - - - Set the PIN for a specified user id. - - - - - - - - - Retrieve PIN information for a user with a specific user ID. - - - - - - Clear the PIN for a user with a specific user ID - - - - - - Clear all PIN codes on the lock for all users. - - - - - Set the status value for a specified user ID. - - - - - - - Retrieve the status byte for a specific user. - - - - - - Set the schedule of days during the week that the associated user based on the user ID will have access to the lock and will be able to operate it. - - - - - - - - - - - - Retrieve a weekday schedule for doorlock user activation for a specific schedule id and user id. - - - - - - - Clear a weekday schedule for doorlock user activation for a specific schedule id and user id. - - - - - - - Set a door lock user id activation schedule according to a specific absolute local start and end time - - - - - - - - - Retrieve a yearday schedule for a specific scheduleId and userId - - - - - - - Clear a yearday schedule for a specific scheduleId and userId - - - - - - - Set the holiday schedule for a specific user - - - - - - - - - Retrieve a holiday schedule for a specific scheduleId - - - - - - Clear a holiday schedule for a specific scheduleId - - - - - - Set the type value for a user based on user ID. - - - - - - - Retrieve the type for a specific user based on the user ID. - - - - - - Set the PIN for a specified user id. - - - - - - - - - Retrieve RFID ID information for a user with a specific user ID. - - - - - - Clear the RFID ID for a user with a specific user ID - - - - - - Clear all RFID ID codes on the lock for all users. - - - - - Indicates lock success or failure - - - - - - Indicates unlock success or failure - - - - - - Response provided to the toggle command, indicates whether the toggle was successful or not. - - - - - - Response provided to unlock with specific timeout. This command indicates whether the unlock command was successful or not. - - - - - - Returns the specific log record requested. - - - - - - - - - - - - Indicates whether the setting of the PIN was successful or not. - - - - - - Returns the PIN requested according to the user ID passed. - - - - - - - - - Returns success or failure depending on whether the PIN was cleared or not. - - - - - - Returns success or failure depending on whether the PINs were cleared or not. - - - - - - Returns success or failure depending on whether the user status was set or not. - - - - - - Returns the user status. - - - - - - - Returns the status of setting the weekday schedule - - - - - - Returns the weekday schedule requested. - - - - - - - - - - - - - Returns the status of clearing the weekday schedule - - - - - - Returns success or failure depending on whether the yearday schedule was set or not. - - - - - - Returns the yearday schedule requested - - - - - - - - - - Returns success or failure depending on whether the yearday schedule was removed or not. - - - - - - Returns success or failure depending on whether the holiday schedule was set or not. - - - - - - Returns the holiday schedule requested - - - - - - - - - - Returns success or failure depending on whether the holiday schedule was removed or not. - - - - - - returns success or failure depending on whether the user type was set or not. - - - - - - Returns the user type for the user ID requested. - - - - - - - Indicates whether the setting of the RFID ID was successful or not. - - - - - - Returns the RFID ID requested according to the user ID passed. - - - - - - - - - Returns success or failure depending on whether the RFID ID was cleared or not. - - - - - - Returns success or failure depending on whether the RFID IDs were cleared or not. - - - - - - Indicates that an operation event has taken place. Includes the associated event information. - - - - - - - - - - - Indicates that a programming event has taken place. Includes the associated programming event information. - - - - - - - - - - - - - Window Covering - Closures - Provides an interface for controlling and adjusting automatic window coverings. - 0x0102 - WINDOW_COVERING_CLUSTER - true - true - window covering type - physical closed limit - lift - physical closed limit - tilt - current position - lift - current position - tilt - number of actuations - lift - number of actuations - tilt - config status - current position lift percentage - current position tilt percentage - installed open limit - lift - installed closed limit - lift - installed open limit - tilt - installed closed limit - tilt - velocity - lift - acceleration time - lift - deceleration time - lift - mode - intermediate setpoints - lift - intermediate setpoints - tilt - - - Moves window covering to InstalledOpenLimit - Lift and InstalledOpenLimit - Tilt - - - - - Moves window covering to InstalledClosedLimit - Lift and InstalledCloseLimit - Tilt - - - - - Stop any adjusting of window covering - - - - - Goto lift value specified - - - - - - Goto lift percentage specified - - - - - - Goto tilt value specified - - - - - - Goto tilt percentage specified - - - - - - Barrier Control - Closures - This cluster provides control of a barrier (garage door). - 0x0103 - BARRIER_CONTROL_CLUSTER - true - true - barrier moving state - barrier safety status - barrier capabilities - barrier open events - barrier close events - barrier command open events - barrier command close events - barrier open period - barrier close period - barrier position - - - Command to instruct a barrier to go to a percent open state. - - - - - - Command that instructs the barrier to stop moving. - - - - - Appliance Control - General - This cluster provides an interface to remotely control and to program household appliances. - 0x001B - APPLIANCE_CONTROL_CLUSTER - true - true - start time - finish time - remaining time - - - This basic message is used to remotely control and to program household appliances. - - - - - - This basic message is used to retrieve Household Appliances status. - - - - - This basic message is used to set appliance functions, i.e. information regarding the execution of an appliance cycle. Condition parameters such as start time or finish time information could be provided through this command. - - - - - - - - This command shall be used to resume the normal behavior of a household appliance being in pause mode after receiving a Overload Pause command. - - - - - This command shall be used to pause the household appliance as a consequence of an imminent overload event. - - - - - This basic message is used to send warnings the household appliance as a consequence of a possible overload event, or the notification of the end of the warning state. - - - - - - This command shall be used to return household appliance status, according to Appliance Status Values and Remote Enable Flags Values. - - - - - - - - - This command shall be used to return household appliance status, automatically when appliance status changes. - - - - - - - - - Power Profile - General - This cluster provides an interface for transferring power profile information from a device (e.g. Whitegood) to a controller (e.g. the Home Gateway). The Power Profile transferred can be solicited by client side (request command) or can be notified directly from the device (server side). - 0x001A - POWER_PROFILE_CLUSTER - true - true - total profile num - multiple scheduling - energy formatting - energy remote - schedule mode - - - The PowerProfileRequest Command is generated by a device supporting the client side of the Power Profile cluster in order to request the Power Profile of a server device. - - - - - - The PowerProfileStateRequest Command is generated in order to retrieve the identifiers of current Power Profiles. - - - - - The GetPowerProfilePriceResponse command allows a device (client) to communicate the cost associated to the selected Power Profile to another device (server) requesting it. - - - - - - - - - The GetOverallSchedulePriceResponse command allows a device (client) to communicate the overall cost associated to all Power Profiles scheduled to another device (server) requesting it. - - - - - - - - The EnergyPhasesScheduleNotification Command is generated by a device supporting the client side of the Power Profile cluster in order to schedule the start of the selected Power Profile and its phases. - - - - - - - - This command is generated by the client side of Power Profile cluster as a reply to the EnergyPhasesScheduleRequest command. - - - - - - - - The PowerProfileScheduleConstraintsRequest Command is generated by a device supporting the client side of the Power Profile cluster in order to request the constraints -if set- of Power Profile of a client device, in order to set the proper boundaries for the scheduling when calculating the schedules. - - - - - - The EnergyPhasesScheduleStateRequest Command is generated by a device supporting the client side of the Power Profile cluster to check the states of the scheduling of a power profile, which is supported in the device implementing the server side of Power Profile cluster. - - - - - - The Get Power Profile Price Extended Response command allows a device (client) to communicate the cost associated to all Power Profiles scheduled to another device (server) requesting it according to the specific options contained in the Get Power Profile Price Extended Response. - - - - - - - - - The PowerProfileNotification Command is generated by a device supporting the server side of the Power Profile cluster in order to send the information of the specific parameters (such as Peak power and others) belonging to each phase. - - - - - - - - - This command is generated by the server side of Power Profile cluster as a reply to the PowerProfileRequest command. - - - - - - - - - The PowerProfileStateResponse command allows a device (server) to communicate its current Power Profile(s) to another device (client) that previously requested them. - - - - - - - The GetPowerProfilePrice Command is generated by the server (e.g. White goods) in order to retrieve the cost associated to a specific Power profile. - - - - - - The PowerProfileStateNotification Command is generated by the server (e.g. White goods) in order to update the state of the power profile and the current energy phase. - - - - - - - The GetOverallSchedulePrice Command is generated by the server (e.g. White goods) in order to retrieve the overall cost associated to all the Power Profiles scheduled by the scheduler (the device supporting the Power Profile cluster client side) for the next 24 hours. - - - - - The EnergyPhasesScheduleRequest Command is generated by the server (e.g. White goods) in order to retrieve from the scheduler (e.g. Home Gateway) the schedule (if available) associated to the specific Power Profile carried in the payload. - - - - - - The EnergyPhasesScheduleStateResponse Command is generated by the server (e.g. White goods) in order to reply to a EnergyPhasesScheduleStateRequest command about the scheduling states that are set in the server side. - - - - - - - - The EnergyPhasesScheduleStateNotification Command is generated by the server (e.g. White goods) in order to notify (un-solicited command) a client side about the scheduling states that are set in the server side. - - - - - - - - The PowerProfileScheduleConstraintsNotification Command is generated by a device supporting the server side of the Power Profile cluster to notify the client side of this cluster about the imposed constraints and let the scheduler (i.e. the entity supporting the Power Profile cluster client side) to set the proper boundaries for the scheduling. - - - - - - - - The PowerProfileScheduleConstraintsResponse Command is generated by a device supporting the server side of the Power Profile cluster to reply to a client side of this cluster which sent a PowerProfileScheduleConstraintsRequest. - - - - - - - - The Get Power Profile Price Extended command is generated by the server (e.g., White Goods) in order to retrieve the cost associated to a specific Power profile considering specific conditions described in the option field (e.g., a specific time). - - - - - - - - Poll Control - General - This cluster provides a mechanism for the management of an end device's MAC Data Poll rate. For the purposes of this cluster, the term "poll" always refers to the sending of a MAC Data Poll from the end device to the end device's parent. - 0x0020 - POLL_CONTROL_CLUSTER - true - true - check-in interval - long poll interval - short poll interval - fast poll timeout - check in interval min - long poll interval min - fast poll timeout max - - - The Poll Control Cluster server sends out a Check-in command to the devices to which it is paired based on the server's Check-in Interval attribute. - - - - - The Check-in Response is sent in response to the receipt of a Check-in command. - - - - - - - The Fast Poll Stop command is used to stop the fast poll mode initiated by the Check-in response. - - - - - The Set Long Poll Interval command is used to set the read only Long Poll Interval Attribute. - - - - - - The Set Short Poll Interval command is used to set the read only Short Poll Interval Attribute. - - - - - - Appliance Identification - Home Automation - Attributes and commands for determining basic information about a device and setting user device information. - 0x0B00 - APPLIANCE_IDENTIFICATION_CLUSTER - true - true - basic identification - company name - company id - brand name - brand id - model - part number - product revision - software revision - product type name - product type id - ceced specification version - - - - Meter Identification - Home Automation - This cluster provides Attributes and commands for determining advanced information about utility metering device. - 0x0B01 - METER_IDENTIFICATION_CLUSTER - true - true - company name - meter type id - data quality id - customer name - model - part number - product revision - software revision - utility name - pod - available power - power threshold - - - Appliance Events and Alert - Home Automation - Attributes and commands for transmitting or notifying the occurrence of an event, such as "temperature reached" and of an alert such as alarm, fault or warning. - 0x0B02 - APPLIANCE_EVENTS_AND_ALERT_CLUSTER - true - true - - - This basic message is used to retrieve Household Appliance current alerts. - - - - - This message is used to return household appliance current alerts. - - - - - - - This message is used to notify the current modification of warning and/or fault conditions. - - - - - - - This message is used to notify an event occurred during the normal working of the appliance. - - - - - - - Appliance Statistics - Home Automation - - This cluster provides a mechanism for the transmitting appliance statistics to a collection unit (gateway). The statistics can be in format of data logs. In case of statistic information that will not fit the single ZigBee payload, the Partition cluster should be used. - - 0x0B03 - APPLIANCE_STATISTICS_CLUSTER - true - true - log max size - log queue max size - - - The Appliance Statistics Cluster server occasionally sends out a Log Notification command to the devices to which it needs to log information related to statistics (e.g., home gateways) which implement the client side of Appliance Statistics Cluster. - - - - - - - - - The Appliance Statistics Cluster server sends out a Log Response command to respond to a Log Request command generated by the client side of the Appliance Statistics cluster. - - - - - - - - - The Log Queue Response command is generated as a response to a LogQueueRequest command in order to notify the client side of the Appliance statistics cluster about the logs stored in the server side (queue) that can be retrieved by the client side of this cluster through a LogRequest command. - - - - - - - The Appliance Statistics Cluster server sends out a Statistic Available command to notify the client side of the Appliance Statistics cluster that there are statistics that can be retrieved by using the Log Request command. - - - - - - - The Log request command is sent from a device supporting the client side of the Appliance Statistics cluster (e.g., Home Gateway) to retrieve the log from the device supporting the server side (e.g., appliance). - - - - - - The Log Queue Request command is send from a device supporting the client side of the Appliance Statistics cluster (e.g. Home Gateway) to retrieve the information about the logs inserted in the queue, from the device supporting the server side (e.g. appliance). - - - - - Electrical Measurement - Home Automation - Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. - 0x0B04 - ELECTRICAL_MEASUREMENT_CLUSTER - true - true - measurement type - dc voltage - dc voltage min - dc voltage max - dc current - dc current min - dc current max - dc power - dc power min - dc power max - dc voltage multiplier - dc voltage divisor - dc current multiplier - dc current divisor - dc power multiplier - dc power divisor - ac frequency - ac frequency min - ac frequency max - neutral current - total active power - total reactive power - total apparent power - measured 1st harmonic current - measured 3rd harmonic current - measured 5th harmonic current - measured 7th harmonic current - measured 9th harmonic current - measured 11th harmonic current - measured phase 1st harmonic current - measured phase 3rd harmonic current - measured phase 5th harmonic current - measured phase 7th harmonic current - measured phase 9th harmonic current - measured phase 11th harmonic current - ac frequency multiplier - ac frequency divisor - power multiplier - power divisor - harmonic current multiplier - phase harmonic current multiplier - instantaneous voltage - instantaneous line current - instantaneous active current - instantaneous reactive current - instantaneous power - rms voltage - rms voltage min - rms voltage max - rms current - rms current min - rms current max - active power - active power min - active power max - reactive power - apparent power - power factor - average rms voltage measurement period - average rms under voltage counter - rms extreme over voltage period - rms extreme under voltage period - rms voltage sag period - rms voltage swell period - ac voltage multiplier - ac voltage divisor - ac current multiplier - ac current divisor - ac power multiplier - ac power divisor - overload alarms mask - voltage overload - current overload - ac overload alarms mask - ac voltage overload - ac current overload - ac active power overload - ac reactive power overload - average rms over voltage - average rms under voltage - rms extreme over voltage - rms extreme under voltage - rms voltage sag - rms voltage swell - line current phase b - active current phase b - reactive current phase b - rms voltage phase b - rms voltage min phase b - rms voltage max phase b - rms current phase b - rms current min phase b - rms current max phase b - active power phase b - active power min phase b - active power max phase b - reactive power phase b - apparent power phase b - power factor phase b - average rms voltage measurement period phase b - average rms over voltage counter phase b - average rms under voltage counter phase b - rms extreme over voltage period phase b - rms extreme under voltage period phase b - rms voltage sag period phase b - rms voltage swell period phase b - line current phase c - active current phase c - reactive current phase c - rms voltage phase c - rms voltage min phase c - rms voltage max phase c - rms current phase b - rms current min phase c - rms current max phase c - active power phase c - active power min phase c - active power max phase c - reactive power phase c - apparent power phase c - power factor phase c - average rms voltage measurement period phase c - average rms over voltage counter phase c - average rms under voltage counter phase c - rms extreme over voltage period phase c - rms extreme under voltage period phase c - rms voltage sag period phase c - rms voltage swell period phase c - - - A function which returns the power profiling information requested in the GetProfileInfo command. The power profiling information consists of a list of attributes which are profiled along with the period used to profile them. - - - - - - - - - A function which returns the electricity measurement profile. The electricity measurement profile includes information regarding the amount of time used to capture data related to the flow of electricity as well as the intervals thes - - - - - - - - - - - A function which retrieves the power profiling information from the electrical measurement server. - - - - - A function which retrieves an electricity measurement profile from the electricity measurement server for a specific attribute Id requested. - - - - - - - - Diagnostics - Home Automation - Attributes related to the gathering of diagnostic information from a stack. - 0x0B05 - DIAGNOSTICS_CLUSTER - true - true - number of resets - persistent memory writes - mac rx broadcast - mac tx broadcast - mac rx unicast - mac tx unicast - mac tx unicast retry - mac tx unicast fail - aps rx broadcast - aps tx broadcast - aps rx unicast - aps unicast success - aps tx unicast retries - aps tx unicast failures - route discovery initiated - neighbor added - neighbor moved - neighbor stale - join indication - child moved - network frame control failure - aps frame control failure - aps unauthorized key - network decryption failure - aps decryption failure - packet buffer allocation failures - relayed unicasts - phy to mac queue limit reached - packet validate drop count - average mac retry per aps message sent - last message lqi - last message rssi - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ha.xml b/src/app/zap-templates/zcl/data-model/silabs/ha.xml index 86318891075ad1..da53897b15a54d 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/ha.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/ha.xml @@ -1048,7 +1048,7 @@ limitations under the License. zone state zone type zone status - IAS CIE address + IAS CIE address Zone ID Number of Zone Sensitivity Levels Supported Current Zone Sensitivity Level @@ -1200,7 +1200,7 @@ limitations under the License. - + @@ -2404,46 +2404,4 @@ limitations under the License. - - Diagnostics - Home Automation - Attributes related to the gathering of diagnostic information from a stack. - 0x0B05 - DIAGNOSTICS_CLUSTER - true - true - - number of resets - persistent memory writes - mac rx broadcast - mac tx broadcast - mac rx unicast - mac tx unicast - mac tx unicast retry - mac tx unicast fail - aps rx broadcast - aps tx broadcast - aps rx unicast - aps unicast success - aps tx unicast retries - aps tx unicast failures - route discovery initiated - neighbor added - neighbor moved - neighbor stale - join indication - child moved - network frame control failure - aps frame control failure - aps unauthorized key - network decryption failure - aps decryption failure - packet buffer allocation failures - relayed unicasts - phy to mac queue limit reached - packet validate drop count - average mac retry per aps message sent - last message lqi - last message rssi - diff --git a/src/app/zap-templates/zcl/data-model/silabs/hc-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/hc-devices.xml deleted file mode 100644 index 68239a981d71ac..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/hc-devices.xml +++ /dev/null @@ -1,545 +0,0 @@ - - - - - HC-datacollectionunit - HC - HC Data Collection Unit - Coordinator - 0x0108 - 0x0000 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-genericmultifunctiondevice - HC - HC Generic Multifunction Healthcare Device - Coordinator - 0x0108 - 0x0f00 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-pulseoximeter - HC - HC Pulse Oximeter - Coordinator - 0x0108 - 0x1004 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-ecg - HC - HC ECG - Coordinator - 0x0108 - 0x1006 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-bloodpressuremeter - HC - HC Blood Pressure Meter - Coordinator - 0x0108 - 0x1007 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-thermometer - HC - HC Thermometer - Coordinator - 0x0108 - 0x1008 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-weightscale - HC - HC Weight Scale - Coordinator - 0x0108 - 0x100f - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-glucosemeter - HC - HC Glucose Meter - Coordinator - 0x0108 - 0x1011 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-inr - HC - HC INR - Coordinator - 0x0108 - 0x1012 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-insulinpump - HC - HC Insulin Pump - Coordinator - 0x0108 - 0x1013 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-peakflowmeter - HC - HC Peak Flow Meter - Coordinator - 0x0108 - 0x1015 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-cardiovascularfitnessandactivitymonitor - HC - HC Cardiovascular Fitness and Activity Monitor - Coordinator - 0x0108 - 0x1029 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-strengthfitnessequipment - HC - HC Strength and Fitness Equipment - Coordinator - 0x0108 - 0x102a - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-physicalactivitymonitor - HC - HC Physical Activity Monitor - Coordinator - 0x0108 - 0x102b - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-stepcounter - HC - HC Step Counter - Coordinator - 0x0108 - 0x1068 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-ilah - HC - HC ILAH - Coordinator - 0x0108 - 0x1047 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-adherencemonitor - HC - HC Adherence Monitor - Coordinator - 0x0108 - 0x1048 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-fallsensor - HC - HC Fall Sensor - Coordinator - 0x0108 - 0x1075 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-perssensor - HC - HC PERS Sensor - Coordinator - 0x0108 - 0x1076 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-smokesensor - HC - HC Smoke Sensor - Coordinator - 0x0108 - 0x1077 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-cosensor - HC - HC CO Sensor - Coordinator - 0x0108 - 0x1078 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-watersensor - HC - HC Water Sensor - Coordinator - 0x0108 - 0x1079 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-gassensor - HC - HC Gas Sensor - Coordinator - 0x0108 - 0x107a - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-motionsensor - HC - HC Motion Sensor - Coordinator - 0x0108 - 0x107b - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-propertyexitsensor - HC - HC Property Exit Sensor - Coordinator - 0x0108 - 0x107c - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-enuresissensor - HC - HC Enuresis Sensor - Coordinator - 0x0108 - 0x107d - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-contactclosuresensor - HC - HC Contact Closure Sensor - Coordinator - 0x0108 - 0x107e - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-usagesensor - HC - HC Usage Sensor - Coordinator - 0x0108 - 0x107f - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-switchusesensor - HC - HC Switch Use Sensor - Coordinator - 0x0108 - 0x1080 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-dosagesensor - HC - HC Dosage Sensor - Coordinator - 0x0108 - 0x1081 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - - HC-temperaturesensor - HC - HC Temperature Sensor - Coordinator - 0x0108 - 0x1082 - - Basic - Identify - Generic Tunnel - 11073 Protocol Tunnel - Power Configuration - Alarms - Time - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/hc.xml b/src/app/zap-templates/zcl/data-model/silabs/hc.xml deleted file mode 100644 index e265b3292796e6..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/hc.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - 11073 Protocol Tunnel - HC - Attributes and commands for the 11073 protocol tunnel used for ZigBee Health Care. - 0x0614 - 11073_PROTOCOL_TUNNEL_CLUSTER - true - true - device id list - manager target - manager endpoint - connected - preemptible - idle timeout - - - This command is generated when an 11073 network layer wishes to transfer an 11073 APDU across a ZigBee tunnel to another 11073 network layer. - - - - - - This command is generated when an Health Care client wishes to connect to a Health Care server for the purposes of transmitting 11073 APDUs across the 11073 tunnel. - - - - - - - - - This command is generated when an Health Care client wishes to disconnect from a Health Care server. - - - - - - Generated in response to requests related to connection or any event that causes the tunnel to become disconnected. - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/lo-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/lo-devices.xml index 5587246803a1df..5a7b8a775a273f 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/lo-devices.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/lo-devices.xml @@ -84,26 +84,6 @@ limitations under the License. OnWithTimedOff - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -190,26 +170,6 @@ limitations under the License. StepWithOnOff StopWithOnOff - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -348,26 +308,6 @@ limitations under the License. ColorLoopSet StopMoveStep - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -672,26 +612,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -792,26 +712,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1124,26 +1024,6 @@ limitations under the License. MoveColorTemperature StepColorTemperature - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1289,26 +1169,6 @@ limitations under the License. MoveColorTemperature StepColorTemperature - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1388,26 +1248,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1450,26 +1290,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1508,26 +1328,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1568,26 +1368,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1630,26 +1410,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - @@ -1700,26 +1460,6 @@ limitations under the License. - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ota-dotdot.xml b/src/app/zap-templates/zcl/data-model/silabs/ota-dotdot.xml deleted file mode 100644 index 20f71af461a59b..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/ota-dotdot.xml +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - Over the Air Bootloading - General - This cluster contains commands and attributes that act as an interface for Thread Over-the-air bootloading. - 0x2000 - OTA_BOOTLOAD_CLUSTER - true - true - false - OTA Upgrade Server ID - - Offset (address) into the file - OTA Current File Version - OTA Current ZigBee Stack Version - OTA Downloaded File Version - OTA Downloaded ZigBee Stack Version - OTA Upgrade Status - Manufacturer ID - Image Type ID - Minimum Block Request Period - Image Stamp - Upgrade Activation Policy - Upgrade Timeout Policy - - - This command is generated when the upgrade server wishes to notify the clients of the available OTA upgrade image. The command can be sent as unicast which provides a way for the server to force the upgrade on the client. The command can also be sent as broadcast or multicast to certain class of clients (for example, the ones that have matching manufacturing and device ids). - - - - - - - - - - This command is generated upon receipt of an Image Notify command to indicate that the client is looking for the next firmware image to upgrade to. The client may also choose to send the command periodically to the server. - - - - - - - - - - This command is generated upon receipt of an QueryNextImageRequest command to response whether the server has a valid OTA upgrade image for the client or not. If the server has the file, information regarding the file and OTA upgrade process will be included in the command. - - - - - - - - - This command is generated by the client to request blocks of OTA upgrade file data. - - - - - - - - - - - - This command is generated by the client to request pages of OTA upgrade file data. A page would contain multiple blocks of data. - - - - - - - - - - - - - - This command is generated by the server in response to the block or page request command. If the server has the data available, it will reply back with a SUCCESS status. For other error cases, it may reply with status WAIT_FOR_DATA (server does not have the data available yet) or ABORT (invalid requested parameters or other failure cases). - - - - - - - - - - - - This command is generated by the client to notify the server of the end of the upgrade process. The process may end with success or error status. - - - - - - - - - This command is generated by the server in response to the upgrade request in order to let the client know when to upgrade to running new firmware image. - - - - - - - - - - This command is generated by the client to request a file that is specific to itself. The intention is to provide a way for the client to request non-OTA upgrade file. - - - - - - - - - - This command is generated upon receipt of an QuerySpecificFileRequest command to response whether the server has a valid file for the client or not. If the server has the file, information regarding the file and OTA process will be included in the command. - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ota.xml b/src/app/zap-templates/zcl/data-model/silabs/ota.xml deleted file mode 100644 index 479f16b4b41a0c..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/ota.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - Over the Air Bootloading - General - This cluster contains commands and attributes that act as an interface for ZigBee Over-the-air bootloading. - 0x0019 - OTA_BOOTLOAD_CLUSTER - true - true - false - - OTA Upgrade Server ID - - Offset (address) into the file - OTA Current File Version - OTA Current ZigBee Stack Version - OTA Downloaded File Version - OTA Downloaded ZigBee Stack Version - OTA Upgrade Status - Manufacturer ID - Image Type ID - Minimum Block Request Period - Image Stamp - Upgrade Activation Policy - Upgrade Timeout Policy - - - This command is generated when the upgrade server wishes to notify the clients of the available OTA upgrade image. The command can be sent as unicast which provides a way for the server to force the upgrade on the client. The command can also be sent as broadcast or multicast to certain class of clients (for example, the ones that have matching manufacturing and device ids). - - - - - - - - - - This command is generated upon receipt of an Image Notify command to indicate that the client is looking for the next firmware image to upgrade to. The client may also choose to send the command periodically to the server. - - - - - - - - - - This command is generated upon receipt of an QueryNextImageRequest command to response whether the server has a valid OTA upgrade image for the client or not. If the server has the file, information regarding the file and OTA upgrade process will be included in the command. - - - - - - - - - - This command is generated by the client to request blocks of OTA upgrade file data. - - - - - - - - - - - - This command is generated by the client to request pages of OTA upgrade file data. A page would contain multiple blocks of data. - - - - - - - - - - - - - - This command is generated by the server in response to the block or page request command. If the server has the data available, it will reply back with a SUCCESS status. For other error cases, it may reply with status WAIT_FOR_DATA (server does not have the data available yet) or ABORT (invalid requested parameters or other failure cases). - - - - - - - - - - - - This command is generated by the client to notify the server of the end of the upgrade process. The process may end with success or error status. - - - - - - - - - This command is generated by the server in response to the upgrade request in order to let the client know when to upgrade to running new firmware image. - - - - - - - - - - This command is generated by the client to request a file that is specific to itself. The intention is to provide a way for the client to request non-OTA upgrade file. - - - - - - - - - - This command is generated upon receipt of an QuerySpecificFileRequest command to response whether the server has a valid file for the client or not. If the server has the file, information regarding the file and OTA process will be included in the command. - - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/profiles.xml b/src/app/zap-templates/zcl/data-model/silabs/profiles.xml deleted file mode 100644 index d2111c29a7f22c..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/profiles.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/relay-control.xml b/src/app/zap-templates/zcl/data-model/silabs/relay-control.xml deleted file mode 100644 index 4528a03b8f4d2a..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/relay-control.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Relay Control - Ember - Commands to turn on and off the stack's relay capabilities, and to determine whether or not relay is enabled. - 0xC00D - RELAY_CONTROL_CLUSTER - true - true - - - Sets the on-off state of stack relay. - - - - - - - Client-to-server query that provides the on-off state of stack relay. - - - - - Response to GetRelayState query. - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/silabs.xml b/src/app/zap-templates/zcl/data-model/silabs/silabs.xml deleted file mode 100644 index 2be61c7d4781dd..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/silabs.xml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - Configuration Cluster - Ember - This cluster allows for the OTA configuration of firmware - parameters. - - 0xFC01 - OTA_CONFIGURATION_CLUSTER - true - true - Prevents OTA writing of tokens. - - - Command to write a token value over the air. - - - - - - - Command to lock the token values. - - - - - Command to read a token value. - - - - - - Command to unlock tokens with a device-specific password (if allowed). - - - - - - Response to a token value read. - - - - - - - MFGLIB Cluster - Ember - This cluster provides commands to kick off MFGLIB actions - over the air. - - 0xFC02 - MFGLIB_CLUSTER - true - true - Number of packets received while in MFGLIB mode. - RSSI of the first received packet. - LQI of the first received packet. - - - Command to put the device into streaming mode. - - - - - - - - Command to put the device into tone mode. - - - - - - - - Command to put the device into RX mode. - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/sleeping-mesh.xml b/src/app/zap-templates/zcl/data-model/silabs/sleeping-mesh.xml deleted file mode 100644 index 79f9fe524c9618..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/sleeping-mesh.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sleeping Mesh Configuration - SM - This cluster provides an interface for configuring and managing a sleeping mesh. The sleeping mesh is defined as a ZigBee Network where a number of devices supporting router features are able to sleep using an application layer mechanism to synchronize the wakeup and sleep. - 0xXXXX - SM_SLEEPING_MESH_CONFIGURATION_CLUSTER - true - true - status - awake duration - wake up period - next wake up utc time - tx jitter - wake up hour work day - wake up hour holy day - scheduling type - sleeping configuration id - - - The Sleeping Mesh Configuration command is used to configure the device to operate in a sleeping mesh. The configuration parameters allow the devices in the network to understand how to share a wakeup window and to operate in that period of time like an always-on ZigBee network. - - - - - - - - - - - - - - - This command initiates a Sleeping Mesh Configuration command for the current sleeping configuration available for this device. - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ta-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/ta-devices.xml deleted file mode 100644 index 69fcb0d22975d4..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/ta-devices.xml +++ /dev/null @@ -1,414 +0,0 @@ - - - - - TA-zigbeesimcard - Telecom Applications - ZigBee SIM Card (ZSIM) - Coordinator - 0x0107 - 0x0000 - - Basic - Groups - Commissioning - Identify - ISO 7816 Protocol Tunnel - Information - Payment - Billing - - - Data Sharing - Voice over ZigBee - Data Rate Control - Chatting - RSSI Location - - - - TA-zigbeemobileterminal - Telecom Applications - ZigBee Mobile Terminal (ZMT) - Coordinator - 0x0107 - 0x0001 - - Basic - Groups - Commissioning - Identify - Information - Payment - Billing - - - Data Sharing - Data Rate Control - Voice over ZigBee - Gaming - Chatting - ISO 7816 Protocol Tunnel - Partition - RSSI Location - - - - TA-configurationtool - Telecom Applications - Configuration Tool - Coordinator - 0x0107 - 0x0005 - - Basic - Groups - Commissioning - Identify - Information - Data Rate Control - Data Sharing - Payment - Billing - Voice over ZigBee - - - RSSI Location - Partition - - - - TA-rangeextender - Telecom Applications - Range Extender - Coordinator - 0x0107 - 0x0008 - - Basic - Groups - Commissioning - Identify - - - - TA-zigbeeaccesspoint - Telecom Applications - ZigBee Access Point (ZAP) - Coordinator - 0x0107 - 0x0100 - - Basic - Groups - Commissioning - Identify - Information - Payment - - - Billing - - - - TA-zigbeeinformationnode - Telecom Applications - ZigBee Information Node (ZIN) - Coordinator - 0x0107 - 0x0101 - - Basic - Groups - Commissioning - Identify - Information - Billing - - - - - - TA-zigbeeinformationterminal - Telecom Applications - ZigBee Information Terminal (ZIT) - Coordinator - 0x0107 - 0x0102 - - Basic - Groups - Commissioning - Identify - Information - - - - TA-pointofsale - Telecom Applications - Point of Sale - Coordinator - 0x0107 - 0x0200 - - Basic - Groups - Commissioning - Identify - Information - Payment - - - - - - TA-ticketingmachine - Telecom Applications - Ticketing Machine - Coordinator - 0x0107 - 0x0201 - - Basic - Groups - Commissioning - Identify - Information - Payment - - - - - - TA-paycontroller - Telecom Applications - Pay Controller - Coordinator - 0x0107 - 0x0202 - - Basic - Groups - Commissioning - Identify - Information - - - Payment - - - - TA-billingunit - Telecom Applications - Billing Unit - Coordinator - 0x0107 - 0x0203 - - Basic - Groups - Commissioning - Identify - Information - - - Billing - - - - TA-chargingunit - Telecom Applications - Charging Unit - Coordinator - 0x0107 - 0x0204 - - Basic - Groups - Commissioning - Identify - Information - - - Billing - - - - TA-zigbeeflashcard - Telecom Applications - ZigBee Flash Card - Coordinator - 0x0107 - 0x0300 - - Basic - Groups - Commissioning - Identify - On/Off - - - Data Sharing - Data Rate Control - Information - Partition - - - - TA-zigbeepcsmartcardreader - Telecom Applications - ZigBee PC Smart Card Reader - Coordinator - 0x0107 - 0x0301 - - Basic - Groups - Commissioning - Identify - ISO 7816 Protocol Tunnel - - - - - - TA-zigbeeheadset - Telecom Applications - ZigBee Headset - Coordinator - 0x0107 - 0x0400 - - Basic - Groups - Commissioning - Identify - Voice over ZigBee - - - - - - TA-zigbeemicrophone - Telecom Applications - ZigBee Microphone - Coordinator - 0x0107 - 0x0401 - - Basic - Groups - Commissioning - Identify - Voice over ZigBee - - - - - - TA-zigbeespeaker - Telecom Applications - ZigBee Speaker - Coordinator - 0x0107 - 0x0402 - - Basic - Groups - Commissioning - Identify - Voice over ZigBee - - - - - - TA-rssianchornode - Telecom Applications - RSSI Anchor Node (RAN) - Coordinator - 0x0107 - 0x0500 - - Basic - Groups - Commissioning - Identify - RSSI Location - - - - TA-rssilocationnode - Telecom Applications - RSSI Location Node (RLN) - Coordinator - 0x0107 - 0x0501 - - Basic - Groups - Commissioning - Identify - RSSI Location - - - - TA-rssilocationgateway - Telecom Applications - RSSI Location Gateway (RLG) - Coordinator - 0x0107 - 0x0502 - - Basic - Groups - Commissioning - Identify - RSSI Location - - - - TA-chattingunit - Telecom Applications - Chatting Unit - Coordinator - 0x0107 - 0x0600 - - Basic - Groups - Commissioning - Identify - Chatting - - - - TA-chattingstation - Telecom Applications - Chatting Station - Coordinator - 0x0107 - 0x0601 - - Basic - Groups - Commissioning - Identify - Chatting - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/ta.xml b/src/app/zap-templates/zcl/data-model/silabs/ta.xml deleted file mode 100644 index 3bf68176499edf..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/ta.xml +++ /dev/null @@ -1,886 +0,0 @@ - - - - - - - - - Partition - General - Commands and attributes for enabling partitioning of large frame to be carried from other clusters of ZigBee devices. - 0x0016 - PARTITION_CLUSTER - true - true - maximum incoming transfer size - maximum outgoing transfer size - partioned frame size - large frame size - number of ack frame - nack timeout - interframe delay - number of send retries - sender timeout - receiver timeout - - The TransferPartitionedFrame command is used to send a partitioned frame to another Partition cluster. - - - - - - - - The ReadHandshakeParam command is used in order to read the appropriate set of parameters for each transaction to be performed by the Partition Cluster. - - - - - The WriteHandshakeParam command is used during the handshake phase in order to write the appropriate parameters for each transaction to be performed by the Partition Cluster. - - - - - MultipleACK command. - - - - - - - - The ReadHandshakeParamResponse command is used in order to response to the corresponding ReadHandshakeParam command in order to communicate the appropriate set of parameters configured for each transaction to be performed by the Partition Cluster. - - - - - - ISO 7816 Protocol Tunnel - Protocol Interfaces - Commands and attributes for mobile office solutions including ZigBee devices. - 0x0615 - ISO7816_PROTOCOL_TUNNEL_CLUSTER - true - true - status - - - Command description for TransferApdu - - - - - - Command description for InsertSmartCard - - - - - Command description for ExtractSmartCard - - - - - Information - Telecommunication - Provides commands and attributes for information delivery service on ZigBee networks. - 0x0900 - INFORMATION_CLUSTER - true - true - node description - delivery enable - push information timer - enable secure configuration - number of contents - content root id - - - Command description for RequestInformation - - - - - - - - - Command description for PushInformationResponse - - - - - - Command description for SendPreference - - - - - - - - Command description for RequestPreferenceResponse - - - - - - - - - Command description for Update - - - - - - - - Command description for Delete - - - - - - - Command description for ConfigureNodeDescription - - - - - - Command description for ConfigureDeliveryEnable - - - - - - Command description for ConfigurePushInformationTimer - - - - - - Command description for ConfigureSetRootId - - - - - - Command description for RequestInformationResponse - - - - - - - - Command description for PushInformation - - - - - - Command description for SendPreferenceResponse - - - - - - Command description for ServerRequestPreference - - - - - Command description for RequestPreferenceConfirmation - - - - - - Command description for UpdateResponse - - - - - - Command description for DeleteResponse - - - - - - Data Sharing - Telecommunication - Commands and attributes for small data sharing among ZigBee devices. - 0x0901 - DATA_SHARING_CLUSTER - true - true - device name - device description - - - Command description for ReadFileRequest - - - - - - - - - - Command description for ReadRecordRequest - - - - - - - - - - Command description for WriteFileResponse - - - - - - - - - Command description for WriteFileRequest - - - - - - - - - Command description for ModifyFileRequest - - - - - - - - Command description for ModifyRecordRequest - - - - - - - - Command description for FileTransmission - - - - - - - - - - - - Command description for RecordTransmission - - - - - - - - - - - - Gaming - Telecommunication - Attributes and commands to support gaming functions of ZigBee-enabled mobile terminals. - 0x0902 - GAMING_CLUSTER - true - true - player name - nb of games - list of games - announcement interval - game id - name of game - game master - status - current nb of players - list of current players - max nb of players - min nb of players - current game level - score of this player - timer1 - timer2 - timer3 - counter1 - counter2 - downloadable - - - Command description for SearchGame - - - - - - - Command description for JoinGame - - - - - - - - Command description for StartGame - - - - - Command description for PauseGame - - - - - Command description for ResumeGame - - - - - Command description for QuitGame - - - - - Command description for EndGame - - - - - Command description for StartOver - - - - - Command description for ActionControl - - - - - - Command description for DownloadGame - - - - - Command description for GameAnnouncement - - - - - - - - Command description for GeneralResponse - - - - - - - - Data Rate Control - Telecommunication - This cluster seeks to give applications a means to managing data rate. It provides commands and attributes which form this interface. - 0x0903 - DATA_RATE_CONTROL_CLUSTER - true - true - average latency requirement - max latency requirement - bandwidth requirement - - - Command description for PathCreation - - - - - - - - Command description for DataRateNotification - - - - - - - - Command description for PathDeletion - - - - - - - Command description for DataRateControl - - - - - - - - Voice over ZigBee - Telecommunication - This cluster seeks to provide an interface to a voice over ZigBee protocol. - 0x0904 - VOICE_OVER_ZIGBEE_CLUSTER - true - true - codec type - sampling frequency - codec rate - establishment timeout - codec type sub 1 - codec type sub 2 - codec type sub 3 - compression type - compression rate - option flags - threshold - - - Command description for EstablishmentRequest - - - - - - - - - - - - - - - - - Command description for VoiceTransmission - - - - - - Command description for VoiceTransmissionCompletion - - - - - Command description for ControlResponse - - - - - - Command description for EstablishmentResponse - - - - - - - Command description for VoiceTransmissionResponse - - - - - - - Command description for Control - - - - - - Chatting - Telecommunication - Commands and attributes for sending chat messages among ZigBee devices. - 0x0905 - CHATTING_CLUSTER - true - true - u id - nickname - c iD - name - enable add chat - - - Command description for JoinChatRequest - - - - - - - - Command description for LeaveChatRequest - - - - - - - Command description for SearchChatRequest - - - - - Command description for SwitchChairmanResponse - - - - - - - Command description for StartChatRequest - - - - - - - - Command description for ChatMessage - - - - - - - - - - Command description for GetNodeInformationRequest - - - - - - - Command description for StartChatResponse - - - - - - - Command description for JoinChatResponse - - - - - - - - Command description for UserLeft - - - - - - - - Command description for UserJoined - - - - - - - - Command description for SearchChatResponse - - - - - - - Command description for SwitchChairmanRequest - - - - - - Command description for SwitchChairmanConfirm - - - - - - - Command description for SwitchChairmanNotification - - - - - - - - - Command description for GetNodeInformationResponse - - - - - - - - - - - - - Payment - Financial - Commands and attributes for payment scenarios including ZigBee devices. - 0x0A01 - PAYMENT_CLUSTER - true - true - user id - user type - service id - service provider id - totem id - currency - price trailing digit - price - good id - serial number - timestamp - trans id - trans status - status - - - Command description for BuyRequest - - - - - - - - - Command description for AcceptPayment - - - - - - - - - Command description for PaymentConfirm - - - - - - - - Command description for BuyConfirm - - - - - - - - - - - - Command description for ReceiptDelivery - - - - - - - - - - Command description for TransactionEnd - - - - - - - Billing - Financial - Attributes and commands to enable billing of users for provided services through the use of a billing platform. - 0x0A02 - BILLING_CLUSTER - true - true - user id - service id - service provider id - session interval - timestamp - duration - - - Command description for Subscribe - - - - - - - - Command description for Unsubscribe - - - - - - - - Command description for StartBillingSession - - - - - - - - Command description for StopBillingSession - - - - - - - - Command description for BillStatusNotification - - - - - - - Command description for SessionKeepAlive - - - - - - - - Command description for CheckBillStatus - - - - - - - - Command description for SendBillRecord - - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/types.xml b/src/app/zap-templates/zcl/data-model/silabs/types.xml index 29fc25ecdd701f..62c1411526702e 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/types.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/types.xml @@ -15,64 +15,6 @@ See the License for the specific language governing permissions and limitations under the License. --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -83,27 +25,6 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - @@ -122,18 +43,6 @@ limitations under the License. - - - - - - - - - - - - @@ -277,12 +186,6 @@ limitations under the License. - - - - - - @@ -620,40 +523,10 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/wwah-silabs-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/wwah-silabs-devices.xml deleted file mode 100644 index a651435e3ed28a..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/wwah-silabs-devices.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - SL-WWAH-door-lock - WWAH - SL WWAH Door Lock - Coordinator - 0x0104 - 0x0000 - - Basic - Power Configuration - Identify - Over the Air Bootloading - Alarms - Poll Control - Door Lock - Diagnostics - Time - SL Works With All Hubs - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/wwah-silabs.xml b/src/app/zap-templates/zcl/data-model/silabs/wwah-silabs.xml deleted file mode 100644 index 6a04b4e326511d..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/wwah-silabs.xml +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SL Works With All Hubs - - Works With All Hubs - Silicon Labs proprietary attributes and commands for Works With All Hubs functional extensions. - 0xFC57 - - SL_WWAH_CLUSTER - true - true - - - - - disable ota downgrades - mgmt leave without rejoin enabled - network retry count - mac retry count - router checkin enabled - touchlink interpan enabled - wwah parent classification enabled - wwah app event retry enabled - wwah app event retry queue size - wwah rejoin enabled - mac poll failure wait time - configuration mode enabled - current debug report id - tc security on ntwk key rotation enabled - wwah bad parent recovery enabled - pending network update channel - pending network update pan id - ota max offline duration - - - Enable enforcement of APS-level security for all cluster commands. - - - - - - - Disable enforcement of APS-level security for all cluster commands. - - - - - - - Query status of APS-level security enforcement for a specified cluster. - - - - - - Trigger device to request a new APS link key from the Trust Center. - - - - - Enable WWAH App Event retry algorithm. - - - - - - - - - Disable WWAH App Event retry algorithm. - - - - - Trigger device to request current attribute values from Time Cluster server. - - - - - Enable WWAH rejoin algorithm. - - - - - - - - - - Disable WWAH rejoin algorithm. - - - - - Set the enrollment method of an IAS Zone server. - - - - - - Clear the binding table. - - - - - Enable device to periodically check connectivity with Zigbee Coordinator. - - - - - - Disable device from periodically checking connectivity with Zigbee Coordinator. - - - - - Set MAC poll failure wait time. - - - - - - Set pending network update parameters. - - - - - - - Require all unicast commands to have APS ACKs enabled. - - - - - - - Roll back changes made by Require APS ACK on Unicasts. - - - - - Query whether unicast commands are required to have APS ACKs enabled. - - - - - Query for specified debug report. - - - - - - Causes device to perform a scan for beacons advertising the device's network. - - - - - - Disallow OTA downgrade of all device firmware components. - - - - - Causes device to ignore MGMT Leave Without Rejoin commands. - - - - - Causes device to ignore Touchlink Interpan messages. - - - - - Enable WWAH Parent Classification advertisements. - - - - - Disable WWAH Parent Classification advertisements. - - - - - Process only network key rotation commands sent via unicast and encrypted by Trust Center Link Key. - - - - - Enable WWAH Bad Parent Recovery feature. - - - - - Disable WWAH Bad Parent Recovery feature. - - - - - Enable Configuration Mode. - - - - - Disable Configuration Mode. - - - - - Use only the Trust Center as cluster server for the set of clusters specified. - - - - - - - Causes device to send an appropriate Trust Center for Cluster Server Query Response command. - - - - - Command description for SlAPSLinkKeyAuthorizationQueryResponse - - - - - - - Command description for SlPoweringOffNotification - - - - - - - - - Command description for SlPoweringOnNotification - - - - - - - - - Command description for SlShortAddressChange - - - - - - - Command description for SlAPSAckEnablementQueryResponse - - - - - - - Command description for SlPowerDescriptorChange - - - - - - - - - Command description for SlNewDebugReportNotification - - - - - - - Command description for SlDebugReportQueryResponse - - - - - - - - Command description for SlTrustCenterForClusterServerQueryResponse - - - - - - - Command description for SlSurveyBeaconsResponse - - - - - - - - Command description for SlUseTrustCenterForClusterServerResponse - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/z3-nfr.xml b/src/app/zap-templates/zcl/data-model/silabs/z3-nfr.xml deleted file mode 100644 index d746b489378051..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/z3-nfr.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - occupied setback - occupied setback min - occupied setback max - unoccupied setback - unoccupied setback min - unoccupied setback max - emergency heat delta - - - fan delay - - - backlight timeout - setpoint source indication - - - - current locale - - This command gets locales supported. - - - - - The locales supported response command is sent in response to a get locales supported command, and is used to discover which locales the device supports. - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/zll-devices.xml b/src/app/zap-templates/zcl/data-model/silabs/zll-devices.xml index ece6d49662e20f..9a947ce9393c84 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/zll-devices.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/zll-devices.xml @@ -34,26 +34,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -132,26 +112,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -230,26 +190,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -328,26 +268,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -426,26 +346,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -581,26 +481,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -736,26 +616,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IDENTIFY_TIME Identify @@ -891,26 +751,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IdentifyQueryResponse @@ -945,26 +785,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IdentifyQueryResponse @@ -1010,26 +830,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IdentifyQueryResponse @@ -1063,26 +863,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IdentifyQueryResponse @@ -1127,26 +907,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IdentifyQueryResponse @@ -1192,26 +952,6 @@ limitations under the License. POWER_SOURCE SW_BUILD_ID - - ScanRequest - DeviceInformationRequest - IdentifyRequest - ResetToFactoryNewRequest - NetworkStartRequest - NetworkJoinRouterRequest - NetworkJoinEndDeviceRequest - NetworkUpdateRequest - GetGroupIdentifiersRequest - GetEndpointListRequest - ScanResponse - DeviceInformationResponse - NetworkStartResponse - NetworkJoinRouterResponse - NetworkJoinEndDeviceResponse - EndpointInformation - GetGroupIdentifiersResponse - GetEndpointListResponse - IdentifyQueryResponse diff --git a/src/app/zap-templates/zcl/data-model/silabs/zll-thread.xml b/src/app/zap-templates/zcl/data-model/silabs/zll-thread.xml deleted file mode 100644 index d1933309d04e27..00000000000000 --- a/src/app/zap-templates/zcl/data-model/silabs/zll-thread.xml +++ /dev/null @@ -1,511 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sw build id - - - - - Command description for TriggerEffect - - - - - - - - - Command description for EnhancedAddScene - - - - - - - - - - Command description for EnhancedViewScene - - - - - - - Command description for CopyScene - - - - - - - - - - Command description for EnhancedAddSceneResponse - - - - - - - - Command description for EnhancedViewSceneResponse - - - - - - - - - - - Command description for CopySceneResponse - - - - - - - - global scene control - on time - off wait time - - - Command description for OffWithEffect - - - - - - - Command description for OnWithRecallGlobalScene - - - - - Command description for OnWithTimedOff - - - - - - - - enhanced current hue - enhanced color mode - color loop active - color loop direction - color loop time - color loop start enhanced hue - color loop stored enhanced hue - color capabilities - color temp physical min - color temp physical max - - - Command description for EnhancedMoveToHue - - - - - - - - Command description for EnhancedMoveHue - - - - - - - Command description for EnhancedStepHue - - - - - - - - Command description for EnhancedMoveToHueAndSaturation - - - - - - - - Command description for ColorLoopSet - - - - - - - - - - Command description for StopMoveStep - - - - - Command description for MoveColorTemperature - - - - - - - - - Command description for StepColorTemperature - - - - - - - - - - ZLL Commissioning - ZLL - The ZLL commissioning cluster provides commands to support touch link commissioning. - 0x1000 - ZLL_COMMISSIONING_CLUSTER - true - true - - - Command description for ScanRequest - - - - - - - - Command description for DeviceInformationRequest - - - - - - - Command description for IdentifyRequest - - - - - - - Command description for ResetToFactoryNewRequest - - - - - - Command description for NetworkStartRequest - - - - - - - - - - - - - - - - - - - - Command description for NetworkJoinRouterRequest - - - - - - - - - - - - - - - - - - - Command description for NetworkJoinEndDeviceRequest - - - - - - - - - - - - - - - - - - - Command description for NetworkUpdateRequest - - - - - - - - - - - Command description for GetGroupIdentifiersRequest - - - - - - Command description for GetEndpointListRequest - - - - - - Command description for ScanResponse - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command description for DeviceInformationResponse - - - - - - - - - - Command description for NetworkStartResponse - - - - - - - - - - - Command description for NetworkJoinRouterResponse - - - - - - - Command description for NetworkJoinEndDeviceResponse - - - - - - - Command description for EndpointInformation - - - - - - - - - - - Command description for GetGroupIdentifiersResponse - - - - - - - - - Command description for GetEndpointListResponse - - - - - - - - diff --git a/src/app/zap-templates/zcl/data-model/silabs/zll.xml b/src/app/zap-templates/zcl/data-model/silabs/zll.xml index 1268b4c09fb60e..879cf9a23054a1 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/zll.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/zll.xml @@ -74,60 +74,6 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sw build id @@ -304,214 +250,4 @@ limitations under the License. - - ZLL Commissioning - ZLL - The ZLL commissioning cluster provides commands to support touch link commissioning. - 0x1000 - ZLL_COMMISSIONING_CLUSTER - true - true - - - Command description for ScanRequest - - - - - - - - Command description for DeviceInformationRequest - - - - - - - Command description for IdentifyRequest - - - - - - - Command description for ResetToFactoryNewRequest - - - - - - Command description for NetworkStartRequest - - - - - - - - - - - - - - - - - - - - Command description for NetworkJoinRouterRequest - - - - - - - - - - - - - - - - - - - Command description for NetworkJoinEndDeviceRequest - - - - - - - - - - - - - - - - - - - Command description for NetworkUpdateRequest - - - - - - - - - - - Command description for GetGroupIdentifiersRequest - - - - - - Command description for GetEndpointListRequest - - - - - - Command description for ScanResponse - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command description for DeviceInformationResponse - - - - - - - - - - Command description for NetworkStartResponse - - - - - - - - - - - Command description for NetworkJoinRouterResponse - - - - - - - Command description for NetworkJoinEndDeviceResponse - - - - - - - Command description for EndpointInformation - - - - - - - - - - - Command description for GetGroupIdentifiersResponse - - - - - - - - - Command description for GetEndpointListResponse - - - - - - - diff --git a/src/app/zap-templates/zcl/manufacturers.xml b/src/app/zap-templates/zcl/manufacturers.xml deleted file mode 100644 index d4cef8f4a6427b..00000000000000 --- a/src/app/zap-templates/zcl/manufacturers.xml +++ /dev/null @@ -1,588 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/app/zap-templates/zcl/zcl.json b/src/app/zap-templates/zcl/zcl.json index 46e7509a450958..ebb1953d510296 100644 --- a/src/app/zap-templates/zcl/zcl.json +++ b/src/app/zap-templates/zcl/zcl.json @@ -1,68 +1,56 @@ { "version": "ZCL Test Data", - "xmlRoot": [".", "./data-model/silabs/"], + "xmlRoot": [".", "./data-model/chip/", "./data-model/silabs/"], "xmlFile": [ - "basic-information-cluster.xml", - "test-cluster.xml", "account-login-cluster.xml", + "application-basic-cluster.xml", "application-launcher-cluster.xml", "audio-output-cluster.xml", - "application-basic-cluster.xml", + "basic-information-cluster.xml", "binding-cluster.xml", - "switch-cluster.xml", + "bridged-device-basic.xml", + "chip-devices.xml", + "chip-ota.xml", + "chip-types.xml", "clusters-extensions.xml", + "commissioning.xml", "content-launch-cluster.xml", - "ethernet-network-diagnostics-cluster.xml", - "media-playback-cluster.xml", - "low-power-cluster.xml", - "keypad-input-cluster.xml", - "wake-on-lan-cluster.xml", - "wifi-network-diagnostics-cluster.xml", - "media-input-cluster.xml", - "tv-channel-cluster.xml", - "target-navigator-cluster.xml", - "custom-types.xml", - "chip-devices.xml", "descriptor-cluster.xml", + "ethernet-network-diagnostics-cluster.xml", + "fixed-label-cluster.xml", "flow-measurement-cluster.xml", - "types.xml", - "general.xml", - "operational-credentials-cluster.xml", "general-commissioning-cluster.xml", "general-diagnostics-cluster.xml", "group-key-mgmt-cluster.xml", - "ha.xml", - "ha-devices.xml", + "keypad-input-cluster.xml", + "low-power-cluster.xml", + "media-input-cluster.xml", + "media-playback-cluster.xml", + "operational-credentials-cluster.xml", "pump-configuration-and-control-cluster.xml", - "pump-device.xml", "pump-controller-device.xml", - "cba.xml", - "cba-devices.xml", - "ota.xml", - "ami.xml", - "ami-devices.xml", - "zll.xml", - "zll-devices.xml", - "temperature-measurement-cluster.xml", + "pump-device.xml", "relative-humidity-measurement-cluster.xml", - "ta.xml", - "ta-devices.xml", + "software-diagnostics-cluster.xml", + "switch-cluster.xml", + "target-navigator-cluster.xml", + "temperature-measurement-cluster.xml", + "test-cluster.xml", "thread-network-diagnostics-cluster.xml", + "tv-channel-cluster.xml", "tv-device-types.xml", - "hc.xml", - "hc-devices.xml", - "green-power.xml", - "green-power-devices.xml", - "silabs.xml", - "software-diagnostics-cluster.xml", + "wake-on-lan-cluster.xml", + "wifi-network-diagnostics-cluster.xml", + + "ami.xml", + "general.xml", + "ha-devices.xml", + "ha.xml", "lo-devices.xml", - "wwah-silabs.xml", - "wwah-silabs-devices.xml", "sample-extensions.xml", - "commissioning.xml", - "bridged-device-basic.xml", - "fixed-label-cluster.xml", - "chip-ota.xml" + "types.xml", + "zll-devices.xml", + "zll.xml" ], "manufacturersXml": "../../../../third_party/zap/repo/zcl-builtin/shared/manufacturers.xml", "options": { diff --git a/src/darwin/Framework/CHIP/templates/CHIPClustersObjc.zapt b/src/darwin/Framework/CHIP/templates/CHIPClustersObjc.zapt index f79816bc8afbbf..f1e5f2e73650cd 100644 --- a/src/darwin/Framework/CHIP/templates/CHIPClustersObjc.zapt +++ b/src/darwin/Framework/CHIP/templates/CHIPClustersObjc.zapt @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN */ @interface CHIPCluster : NSObject -- (nullable instancetype)initWithDevice:(CHIPDevice *)device endpoint:(uint8_t)endpoint queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithDevice:(CHIPDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; diff --git a/src/lib/core/CHIPCallback.h b/src/lib/core/CHIPCallback.h index 391fafdd43f56f..69d26481ca2f55 100644 --- a/src/lib/core/CHIPCallback.h +++ b/src/lib/core/CHIPCallback.h @@ -49,7 +49,7 @@ class Cancelable */ Cancelable * mNext; Cancelable * mPrev; - alignas(uint64_t) char mInfo[16]; + alignas(uint64_t) char mInfo[24]; /** * @brief when non-null, indicates the Callback is registered with From 944e0f59aee2ac689e12f07fcce1f41a624c232d Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 23 Jun 2021 18:19:08 +0200 Subject: [PATCH 2/3] Update gen/ folders --- .../gen/IMClusterCommandHandler.cpp | 40 +- .../gen/attribute-size.cpp | 20 +- .../all-clusters-common/gen/endpoint_config.h | 13 +- .../gen/IMClusterCommandHandler.cpp | 16 +- .../bridge-common/gen/attribute-size.cpp | 20 +- .../chip-tool/commands/clusters/Commands.h | 16 +- .../gen/IMClusterCommandHandler.cpp | 16 +- .../lighting-common/gen/attribute-size.cpp | 4 +- .../gen/IMClusterCommandHandler.cpp | 14 +- .../lock-common/gen/attribute-size.cpp | 4 +- .../gen/IMClusterCommandHandler.cpp | 18 +- .../pump-common/gen/attribute-size.cpp | 4 +- .../gen/IMClusterCommandHandler.cpp | 14 +- .../gen/attribute-size.cpp | 4 +- .../main/gen/IMClusterCommandHandler.cpp | 12 +- .../esp32/main/gen/attribute-size.cpp | 4 +- .../tv-common/gen/IMClusterCommandHandler.cpp | 30 +- .../tv-app/tv-common/gen/attribute-size.cpp | 20 +- .../common/gen/IMClusterCommandHandler.cpp | 14 +- .../window-app/common/gen/attribute-size.cpp | 4 +- src/app/common/gen/af-structs.h | 247 +- src/app/common/gen/attribute-id.h | 2943 ---- src/app/common/gen/attribute-size.h | 20 +- src/app/common/gen/attribute-type.h | 68 +- src/app/common/gen/client-command-macro.h | 12987 +++------------- src/app/common/gen/cluster-id.h | 105 - src/app/common/gen/command-id.h | 419 - src/app/common/gen/enums.h | 2751 ---- src/app/common/gen/print-cluster.h | 249 +- .../data_model/gen/CHIPClientCallbacks.cpp | 20 +- .../data_model/gen/CHIPClusters.cpp | 4 +- .../gen/IMClusterCommandHandler.cpp | 38 +- .../data_model/gen/attribute-size.cpp | 2 +- src/controller/java/gen/CHIPClusters-JNI.cpp | 6 +- src/controller/java/gen/ChipClusters.java | 12 +- .../python/chip/clusters/CHIPClusters.py | 6 +- .../Framework/CHIP/gen/CHIPClustersObjc.h | 12 +- .../Framework/CHIP/gen/CHIPClustersObjc.mm | 16 +- 38 files changed, 2642 insertions(+), 17550 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/gen/IMClusterCommandHandler.cpp b/examples/all-clusters-app/all-clusters-common/gen/IMClusterCommandHandler.cpp index 0cede38a176352..c71db8c9bc397f 100644 --- a/examples/all-clusters-app/all-clusters-common/gen/IMClusterCommandHandler.cpp +++ b/examples/all-clusters-app/all-clusters-common/gen/IMClusterCommandHandler.cpp @@ -129,7 +129,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BARRIER_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BARRIER_CONTROL_CLUSTER_ID); return; } } @@ -178,7 +178,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BASIC_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BASIC_CLUSTER_ID); return; } } @@ -369,7 +369,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BINDING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BINDING_CLUSTER_ID); return; } } @@ -1460,7 +1460,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_COLOR_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_COLOR_CONTROL_CLUSTER_ID); return; } } @@ -2867,7 +2867,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_DOOR_LOCK_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_DOOR_LOCK_CLUSTER_ID); return; } } @@ -3063,7 +3063,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -3429,7 +3429,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GROUPS_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GROUPS_CLUSTER_ID); return; } } @@ -3541,7 +3541,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_IAS_ZONE_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_IAS_ZONE_CLUSTER_ID); return; } } @@ -3655,7 +3655,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_IDENTIFY_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_IDENTIFY_CLUSTER_ID); return; } } @@ -4185,7 +4185,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); return; } } @@ -4240,7 +4240,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_LOW_POWER_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_LOW_POWER_CLUSTER_ID); return; } } @@ -4929,7 +4929,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -5209,7 +5209,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID); return; } } @@ -5276,7 +5276,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ON_OFF_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ON_OFF_CLUSTER_ID); return; } } @@ -5783,7 +5783,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -6285,7 +6285,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_SCENES_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_SCENES_CLUSTER_ID); return; } } @@ -6352,7 +6352,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_TEST_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_TEST_CLUSTER_ID); return; } } @@ -6380,8 +6380,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -6446,7 +6446,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/all-clusters-app/all-clusters-common/gen/attribute-size.cpp b/examples/all-clusters-app/all-clusters-common/gen/attribute-size.cpp index cff2cebbffe20e..7a8c82de68b280 100644 --- a/examples/all-clusters-app/all-clusters-common/gen/attribute-size.cpp +++ b/examples/all-clusters-app/all-clusters-common/gen/attribute-size.cpp @@ -190,14 +190,14 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo // Struct _DeviceType _DeviceType * entry = reinterpret_cast<_DeviceType *>(write ? src : dest); copyListMember(write ? dest : (uint8_t *) &entry->type, write ? (uint8_t *) &entry->type : src, write, &entryOffset, - sizeof(entry->type)); // DEVICE_TYPE_ID + sizeof(entry->type)); // DEVTYPE_ID copyListMember(write ? dest : (uint8_t *) &entry->revision, write ? (uint8_t *) &entry->revision : src, write, &entryOffset, sizeof(entry->revision)); // INT16U break; } case 0x0001: // server list { - entryLength = 2; + entryLength = 4; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); @@ -209,7 +209,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } case 0x0002: // client list { - entryLength = 2; + entryLength = 4; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); @@ -221,14 +221,14 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } case 0x0003: // parts list { - entryLength = 1; + entryLength = 2; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); return 0; } entryOffset = static_cast(entryOffset + ((index - 1) * entryLength)); - copyListMember(dest, src, write, &entryOffset, entryLength); // ENDPOINT_ID + copyListMember(dest, src, write, &entryOffset, entryLength); // ENDPOINT_NO break; } } @@ -304,7 +304,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -809,15 +809,15 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut break; case 0x0001: // server list // chip::ClusterId - entryLength = 2; + entryLength = 4; break; case 0x0002: // client list // chip::ClusterId - entryLength = 2; + entryLength = 4; break; case 0x0003: // parts list // chip::EndpointId - entryLength = 1; + entryLength = 2; break; } break; @@ -935,7 +935,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/all-clusters-app/all-clusters-common/gen/endpoint_config.h b/examples/all-clusters-app/all-clusters-common/gen/endpoint_config.h index 3d2cfe3feb60fa..cbbf7feeabf65c 100644 --- a/examples/all-clusters-app/all-clusters-common/gen/endpoint_config.h +++ b/examples/all-clusters-app/all-clusters-common/gen/endpoint_config.h @@ -2107,13 +2107,12 @@ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* cluster revision */ \ \ /* Endpoint: 1, Cluster: IAS Zone (server) */ \ - { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* zone state */ \ - { 0x0001, ZAP_TYPE(ENUM16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* zone type */ \ - { 0x0002, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* zone status */ \ - { 0x0010, ZAP_TYPE(IEEE_ADDRESS), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), \ - ZAP_LONG_DEFAULTS_INDEX(5826) }, /* IAS CIE address */ \ - { 0x0011, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xff) }, /* Zone ID */ \ - { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* cluster revision */ \ + { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* zone state */ \ + { 0x0001, ZAP_TYPE(ENUM16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* zone type */ \ + { 0x0002, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* zone status */ \ + { 0x0010, ZAP_TYPE(NODE_ID), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(5826) }, /* IAS CIE address */ \ + { 0x0011, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xff) }, /* Zone ID */ \ + { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* cluster revision */ \ \ /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ { 0x0000, ZAP_TYPE(CHAR_STRING), 32, 0, ZAP_LONG_DEFAULTS_INDEX(5834) }, /* wake on lan mac address */ \ diff --git a/examples/bridge-app/bridge-common/gen/IMClusterCommandHandler.cpp b/examples/bridge-app/bridge-common/gen/IMClusterCommandHandler.cpp index 0c5e190e2e9f4b..3529a6d42f7f76 100644 --- a/examples/bridge-app/bridge-common/gen/IMClusterCommandHandler.cpp +++ b/examples/bridge-app/bridge-common/gen/IMClusterCommandHandler.cpp @@ -211,7 +211,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -741,7 +741,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); return; } } @@ -1430,7 +1430,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -1497,7 +1497,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ON_OFF_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ON_OFF_CLUSTER_ID); return; } } @@ -2004,7 +2004,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -2033,8 +2033,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -2063,7 +2063,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/bridge-app/bridge-common/gen/attribute-size.cpp b/examples/bridge-app/bridge-common/gen/attribute-size.cpp index 4409126373c1f0..b3b2fce459d0e6 100644 --- a/examples/bridge-app/bridge-common/gen/attribute-size.cpp +++ b/examples/bridge-app/bridge-common/gen/attribute-size.cpp @@ -95,14 +95,14 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo // Struct _DeviceType _DeviceType * entry = reinterpret_cast<_DeviceType *>(write ? src : dest); copyListMember(write ? dest : (uint8_t *) &entry->type, write ? (uint8_t *) &entry->type : src, write, &entryOffset, - sizeof(entry->type)); // DEVICE_TYPE_ID + sizeof(entry->type)); // DEVTYPE_ID copyListMember(write ? dest : (uint8_t *) &entry->revision, write ? (uint8_t *) &entry->revision : src, write, &entryOffset, sizeof(entry->revision)); // INT16U break; } case 0x0001: // server list { - entryLength = 2; + entryLength = 4; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); @@ -114,7 +114,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } case 0x0002: // client list { - entryLength = 2; + entryLength = 4; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); @@ -126,14 +126,14 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } case 0x0003: // parts list { - entryLength = 1; + entryLength = 2; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); return 0; } entryOffset = static_cast(entryOffset + ((index - 1) * entryLength)); - copyListMember(dest, src, write, &entryOffset, entryLength); // ENDPOINT_ID + copyListMember(dest, src, write, &entryOffset, entryLength); // ENDPOINT_NO break; } } @@ -209,7 +209,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -435,15 +435,15 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut break; case 0x0001: // server list // chip::ClusterId - entryLength = 2; + entryLength = 4; break; case 0x0002: // client list // chip::ClusterId - entryLength = 2; + entryLength = 4; break; case 0x0003: // parts list // chip::EndpointId - entryLength = 1; + entryLength = 2; break; } break; @@ -504,7 +504,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/chip-tool/commands/clusters/Commands.h b/examples/chip-tool/commands/clusters/Commands.h index 9bc35b81a48d1b..5dda84cb7a4208 100644 --- a/examples/chip-tool/commands/clusters/Commands.h +++ b/examples/chip-tool/commands/clusters/Commands.h @@ -768,7 +768,7 @@ static void OnDescriptorServerListListAttributeResponse(void * context, uint16_t for (uint16_t i = 0; i < count; i++) { - ChipLogProgress(chipTool, "CLUSTER_ID[%" PRIu16 "]: %" PRIu16 "", i, entries[i]); + ChipLogProgress(chipTool, "CLUSTER_ID[%" PRIu16 "]: %" PRIu32 "", i, entries[i]); } ModelCommand * command = reinterpret_cast(context); @@ -781,7 +781,7 @@ static void OnDescriptorClientListListAttributeResponse(void * context, uint16_t for (uint16_t i = 0; i < count; i++) { - ChipLogProgress(chipTool, "CLUSTER_ID[%" PRIu16 "]: %" PRIu16 "", i, entries[i]); + ChipLogProgress(chipTool, "CLUSTER_ID[%" PRIu16 "]: %" PRIu32 "", i, entries[i]); } ModelCommand * command = reinterpret_cast(context); @@ -794,7 +794,7 @@ static void OnDescriptorPartsListListAttributeResponse(void * context, uint16_t for (uint16_t i = 0; i < count; i++) { - ChipLogProgress(chipTool, "ENDPOINT_ID[%" PRIu16 "]: %" PRIu8 "", i, entries[i]); + ChipLogProgress(chipTool, "ENDPOINT_NO[%" PRIu16 "]: %" PRIu16 "", i, entries[i]); } ModelCommand * command = reinterpret_cast(context); @@ -3482,8 +3482,8 @@ class BindingBind : public ModelCommand { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("groupId", 0, UINT16_MAX, &mGroupId); - AddArgument("endpointId", 0, UINT8_MAX, &mEndpointId); - AddArgument("clusterId", 0, UINT16_MAX, &mClusterId); + AddArgument("endpointId", 0, UINT16_MAX, &mEndpointId); + AddArgument("clusterId", 0, UINT32_MAX, &mClusterId); ModelCommand::AddArguments(); } ~BindingBind() @@ -3522,8 +3522,8 @@ class BindingUnbind : public ModelCommand { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("groupId", 0, UINT16_MAX, &mGroupId); - AddArgument("endpointId", 0, UINT8_MAX, &mEndpointId); - AddArgument("clusterId", 0, UINT16_MAX, &mClusterId); + AddArgument("endpointId", 0, UINT16_MAX, &mEndpointId); + AddArgument("clusterId", 0, UINT32_MAX, &mClusterId); ModelCommand::AddArguments(); } ~BindingUnbind() @@ -14117,7 +14117,7 @@ class ScenesAddScene : public ModelCommand AddArgument("sceneId", 0, UINT8_MAX, &mSceneId); AddArgument("transitionTime", 0, UINT16_MAX, &mTransitionTime); AddArgument("sceneName", &mSceneName); - AddArgument("clusterId", 0, UINT16_MAX, &mClusterId); + AddArgument("clusterId", 0, UINT32_MAX, &mClusterId); AddArgument("length", 0, UINT8_MAX, &mLength); AddArgument("value", 0, UINT8_MAX, &mValue); ModelCommand::AddArguments(); diff --git a/examples/lighting-app/lighting-common/gen/IMClusterCommandHandler.cpp b/examples/lighting-app/lighting-common/gen/IMClusterCommandHandler.cpp index 0c5e190e2e9f4b..3529a6d42f7f76 100644 --- a/examples/lighting-app/lighting-common/gen/IMClusterCommandHandler.cpp +++ b/examples/lighting-app/lighting-common/gen/IMClusterCommandHandler.cpp @@ -211,7 +211,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -741,7 +741,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); return; } } @@ -1430,7 +1430,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -1497,7 +1497,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ON_OFF_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ON_OFF_CLUSTER_ID); return; } } @@ -2004,7 +2004,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -2033,8 +2033,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -2063,7 +2063,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/lighting-app/lighting-common/gen/attribute-size.cpp b/examples/lighting-app/lighting-common/gen/attribute-size.cpp index 9c124382ab6dc8..f6d282835fcca8 100644 --- a/examples/lighting-app/lighting-common/gen/attribute-size.cpp +++ b/examples/lighting-app/lighting-common/gen/attribute-size.cpp @@ -111,7 +111,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -376,7 +376,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/lock-app/lock-common/gen/IMClusterCommandHandler.cpp b/examples/lock-app/lock-common/gen/IMClusterCommandHandler.cpp index c093d071db2483..e825aeabc289ed 100644 --- a/examples/lock-app/lock-common/gen/IMClusterCommandHandler.cpp +++ b/examples/lock-app/lock-common/gen/IMClusterCommandHandler.cpp @@ -211,7 +211,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -900,7 +900,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -967,7 +967,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ON_OFF_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ON_OFF_CLUSTER_ID); return; } } @@ -1474,7 +1474,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -1503,8 +1503,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -1530,7 +1530,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/lock-app/lock-common/gen/attribute-size.cpp b/examples/lock-app/lock-common/gen/attribute-size.cpp index 9c124382ab6dc8..f6d282835fcca8 100644 --- a/examples/lock-app/lock-common/gen/attribute-size.cpp +++ b/examples/lock-app/lock-common/gen/attribute-size.cpp @@ -111,7 +111,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -376,7 +376,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/pump-app/pump-common/gen/IMClusterCommandHandler.cpp b/examples/pump-app/pump-common/gen/IMClusterCommandHandler.cpp index 56046cd6f53e26..e7c0caf666403d 100644 --- a/examples/pump-app/pump-common/gen/IMClusterCommandHandler.cpp +++ b/examples/pump-app/pump-common/gen/IMClusterCommandHandler.cpp @@ -64,7 +64,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BASIC_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BASIC_CLUSTER_ID); return; } } @@ -260,7 +260,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -790,7 +790,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); return; } } @@ -1420,7 +1420,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -1487,7 +1487,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ON_OFF_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ON_OFF_CLUSTER_ID); return; } } @@ -1994,7 +1994,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -2023,8 +2023,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -2056,7 +2056,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/pump-app/pump-common/gen/attribute-size.cpp b/examples/pump-app/pump-common/gen/attribute-size.cpp index 9c124382ab6dc8..f6d282835fcca8 100644 --- a/examples/pump-app/pump-common/gen/attribute-size.cpp +++ b/examples/pump-app/pump-common/gen/attribute-size.cpp @@ -111,7 +111,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -376,7 +376,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/pump-controller-app/pump-controller-common/gen/IMClusterCommandHandler.cpp b/examples/pump-controller-app/pump-controller-common/gen/IMClusterCommandHandler.cpp index 435332a3da6ea5..022f032e332023 100644 --- a/examples/pump-controller-app/pump-controller-common/gen/IMClusterCommandHandler.cpp +++ b/examples/pump-controller-app/pump-controller-common/gen/IMClusterCommandHandler.cpp @@ -64,7 +64,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BASIC_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BASIC_CLUSTER_ID); return; } } @@ -260,7 +260,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -949,7 +949,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -1456,7 +1456,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -1485,8 +1485,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -1512,7 +1512,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/pump-controller-app/pump-controller-common/gen/attribute-size.cpp b/examples/pump-controller-app/pump-controller-common/gen/attribute-size.cpp index 9c124382ab6dc8..f6d282835fcca8 100644 --- a/examples/pump-controller-app/pump-controller-common/gen/attribute-size.cpp +++ b/examples/pump-controller-app/pump-controller-common/gen/attribute-size.cpp @@ -111,7 +111,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -376,7 +376,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/temperature-measurement-app/esp32/main/gen/IMClusterCommandHandler.cpp b/examples/temperature-measurement-app/esp32/main/gen/IMClusterCommandHandler.cpp index 61170b2aefec7b..3c4d2c039d3908 100644 --- a/examples/temperature-measurement-app/esp32/main/gen/IMClusterCommandHandler.cpp +++ b/examples/temperature-measurement-app/esp32/main/gen/IMClusterCommandHandler.cpp @@ -211,7 +211,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -758,7 +758,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -1265,7 +1265,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -1294,8 +1294,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -1318,7 +1318,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/temperature-measurement-app/esp32/main/gen/attribute-size.cpp b/examples/temperature-measurement-app/esp32/main/gen/attribute-size.cpp index f3b3d73bec29d6..ddccae3e9328b5 100644 --- a/examples/temperature-measurement-app/esp32/main/gen/attribute-size.cpp +++ b/examples/temperature-measurement-app/esp32/main/gen/attribute-size.cpp @@ -111,7 +111,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -196,7 +196,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/tv-app/tv-common/gen/IMClusterCommandHandler.cpp b/examples/tv-app/tv-common/gen/IMClusterCommandHandler.cpp index 770e5a79967adb..3c57ef9a26d6ee 100644 --- a/examples/tv-app/tv-common/gen/IMClusterCommandHandler.cpp +++ b/examples/tv-app/tv-common/gen/IMClusterCommandHandler.cpp @@ -123,7 +123,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_APPLICATION_BASIC_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_APPLICATION_BASIC_CLUSTER_ID); return; } } @@ -295,7 +295,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_AUDIO_OUTPUT_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_AUDIO_OUTPUT_CLUSTER_ID); return; } } @@ -344,7 +344,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BASIC_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BASIC_CLUSTER_ID); return; } } @@ -535,7 +535,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_BINDING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_BINDING_CLUSTER_ID); return; } } @@ -715,7 +715,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_CONTENT_LAUNCH_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_CONTENT_LAUNCH_CLUSTER_ID); return; } } @@ -911,7 +911,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -1441,7 +1441,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID); return; } } @@ -1715,7 +1715,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_MEDIA_PLAYBACK_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_MEDIA_PLAYBACK_CLUSTER_ID); return; } } @@ -2404,7 +2404,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -2684,7 +2684,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID); return; } } @@ -2751,7 +2751,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ON_OFF_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ON_OFF_CLUSTER_ID); return; } } @@ -3258,7 +3258,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -3287,8 +3287,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -3338,7 +3338,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/tv-app/tv-common/gen/attribute-size.cpp b/examples/tv-app/tv-common/gen/attribute-size.cpp index 1a8c6cc4d78fd3..573b48d0a05813 100644 --- a/examples/tv-app/tv-common/gen/attribute-size.cpp +++ b/examples/tv-app/tv-common/gen/attribute-size.cpp @@ -190,14 +190,14 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo // Struct _DeviceType _DeviceType * entry = reinterpret_cast<_DeviceType *>(write ? src : dest); copyListMember(write ? dest : (uint8_t *) &entry->type, write ? (uint8_t *) &entry->type : src, write, &entryOffset, - sizeof(entry->type)); // DEVICE_TYPE_ID + sizeof(entry->type)); // DEVTYPE_ID copyListMember(write ? dest : (uint8_t *) &entry->revision, write ? (uint8_t *) &entry->revision : src, write, &entryOffset, sizeof(entry->revision)); // INT16U break; } case 0x0001: // server list { - entryLength = 2; + entryLength = 4; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); @@ -209,7 +209,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } case 0x0002: // client list { - entryLength = 2; + entryLength = 4; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); @@ -221,14 +221,14 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } case 0x0003: // parts list { - entryLength = 1; + entryLength = 2; if (((index - 1) * entryLength) > (am->size - entryLength)) { ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); return 0; } entryOffset = static_cast(entryOffset + ((index - 1) * entryLength)); - copyListMember(dest, src, write, &entryOffset, entryLength); // ENDPOINT_ID + copyListMember(dest, src, write, &entryOffset, entryLength); // ENDPOINT_NO break; } } @@ -267,7 +267,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -706,15 +706,15 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut break; case 0x0001: // server list // chip::ClusterId - entryLength = 2; + entryLength = 4; break; case 0x0002: // client list // chip::ClusterId - entryLength = 2; + entryLength = 4; break; case 0x0003: // parts list // chip::EndpointId - entryLength = 1; + entryLength = 2; break; } break; @@ -806,7 +806,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/examples/window-app/common/gen/IMClusterCommandHandler.cpp b/examples/window-app/common/gen/IMClusterCommandHandler.cpp index 6888f0fb2c7d7f..78fe31e7bfbda0 100644 --- a/examples/window-app/common/gen/IMClusterCommandHandler.cpp +++ b/examples/window-app/common/gen/IMClusterCommandHandler.cpp @@ -211,7 +211,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -900,7 +900,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -1407,7 +1407,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -1713,7 +1713,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_WINDOW_COVERING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_WINDOW_COVERING_CLUSTER_ID); return; } } @@ -1741,8 +1741,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -1768,7 +1768,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/examples/window-app/common/gen/attribute-size.cpp b/examples/window-app/common/gen/attribute-size.cpp index 9c124382ab6dc8..f6d282835fcca8 100644 --- a/examples/window-app/common/gen/attribute-size.cpp +++ b/examples/window-app/common/gen/attribute-size.cpp @@ -111,7 +111,7 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo write ? (uint8_t *) &entry->OffPremiseServicesReachableIPv6 : src, write, &entryOffset, sizeof(entry->OffPremiseServicesReachableIPv6)); // BOOLEAN copyListMember(write ? dest : (uint8_t *) &entry->HardwareAddress, write ? (uint8_t *) &entry->HardwareAddress : src, - write, &entryOffset, sizeof(entry->HardwareAddress)); // IEEE_ADDRESS + write, &entryOffset, sizeof(entry->HardwareAddress)); // node_id copyListMember(write ? dest : (uint8_t *) &entry->Type, write ? (uint8_t *) &entry->Type : src, write, &entryOffset, sizeof(entry->Type)); // ENUM8 break; @@ -376,7 +376,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/src/app/common/gen/af-structs.h b/src/app/common/gen/af-structs.h index 720e48666cdfbc..7cc5918e1b2814 100644 --- a/src/app/common/gen/af-structs.h +++ b/src/app/common/gen/af-structs.h @@ -46,38 +46,6 @@ typedef struct _BasicCommissioningInfoType uint32_t FailSafeExpiryLengthMs; } EmberAfBasicCommissioningInfoType; -// Struct for BlockThreshold -typedef struct _BlockThreshold -{ - uint8_t blockThreshold; - uint8_t priceControl; - uint32_t blockPeriodStartTime; - uint32_t blockPeriodDurationMinutes; - uint8_t fuelType; - uint32_t standingCharge; -} EmberAfBlockThreshold; - -// Struct for BlockThresholdSubPayload -typedef struct _BlockThresholdSubPayload -{ - uint8_t tierNumberOfBlockThresholds; - uint8_t * blockThreshold; -} EmberAfBlockThresholdSubPayload; - -// Struct for ChatParticipant -typedef struct _ChatParticipant -{ - uint16_t uid; - uint8_t * nickname; -} EmberAfChatParticipant; - -// Struct for ChatRoom -typedef struct _ChatRoom -{ - uint16_t cid; - uint8_t * name; -} EmberAfChatRoom; - // Struct for ConfigureReportingRecord typedef struct _ConfigureReportingRecord { @@ -140,27 +108,6 @@ typedef struct _ContentLaunchStyleInformation uint8_t size; } EmberAfContentLaunchStyleInformation; -// Struct for DebtPayload -typedef struct _DebtPayload -{ - uint32_t collectionTime; - uint32_t amountCollected; - uint8_t debtType; - uint32_t outstandingDebt; -} EmberAfDebtPayload; - -// Struct for DeviceInformationRecord -typedef struct _DeviceInformationRecord -{ - uint64_t ieeeAddress; - chip::EndpointId endpointId; - uint16_t profileId; - uint16_t deviceId; - uint8_t version; - uint8_t groupIdCount; - uint8_t sort; -} EmberAfDeviceInformationRecord; - // Struct for DeviceType typedef struct _DeviceType { @@ -175,36 +122,6 @@ typedef struct _DiscoverAttributesInfoRecord uint8_t attributeType; } EmberAfDiscoverAttributesInfoRecord; -// Struct for EndpointInformationRecord -typedef struct _EndpointInformationRecord -{ - uint16_t networkAddress; - chip::EndpointId endpointId; - uint16_t profileId; - uint16_t deviceId; - uint8_t version; -} EmberAfEndpointInformationRecord; - -// Void typedef for EmberAfEphemeralData which is empty. -// this will result in all the references to the data being as uint8_t* -typedef uint8_t EmberAfEphemeralData; - -// Struct for EventConfigurationPayload -typedef struct _EventConfigurationPayload -{ - uint16_t eventId; - uint8_t eventConfiguration; -} EmberAfEventConfigurationPayload; - -// Struct for EventLogPayload -typedef struct _EventLogPayload -{ - uint8_t logId; - uint16_t eventId; - uint32_t eventTime; - chip::ByteSpan eventData; -} EmberAfEventLogPayload; - // Struct for ExtendedDiscoverAttributesInfoRecord typedef struct _ExtendedDiscoverAttributesInfoRecord { @@ -222,33 +139,6 @@ typedef struct _FabricDescriptor chip::ByteSpan Label; } EmberAfFabricDescriptor; -// Struct for GpPairingConfigurationGroupList -typedef struct _GpPairingConfigurationGroupList -{ - uint16_t SinkGroup; - uint16_t Alias; -} EmberAfGpPairingConfigurationGroupList; - -// Struct for GpTranslationTableUpdateTranslation -typedef struct _GpTranslationTableUpdateTranslation -{ - uint8_t index; - uint8_t gpdCommandId; - chip::EndpointId endpoint; - uint16_t profile; - uint16_t cluster; - uint8_t zigbeeCommandId; - chip::ByteSpan zigbeeCommandPayload; - chip::ByteSpan additionalInfoBlock; -} EmberAfGpTranslationTableUpdateTranslation; - -// Struct for GroupInformationRecord -typedef struct _GroupInformationRecord -{ - chip::GroupId groupId; - uint8_t groupType; -} EmberAfGroupInformationRecord; - // Struct for GroupKey typedef struct _GroupKey { @@ -274,10 +164,6 @@ typedef struct _IasAceZoneStatusResult uint16_t zoneStatus; } EmberAfIasAceZoneStatusResult; -// Void typedef for EmberAfIdentity which is empty. -// this will result in all the references to the data being as uint8_t* -typedef uint8_t EmberAfIdentity; - // Struct for LabelStruct typedef struct _LabelStruct { @@ -308,17 +194,6 @@ typedef struct _NavigateTargetTargetInfo chip::ByteSpan name; } EmberAfNavigateTargetTargetInfo; -// Struct for NeighborInfo -typedef struct _NeighborInfo -{ - uint64_t neighbor; - int16_t x; - int16_t y; - int16_t z; - int8_t rssi; - uint8_t numberRssiMeasurements; -} EmberAfNeighborInfo; - // Struct for NeighborTable typedef struct _NeighborTable { @@ -345,19 +220,10 @@ typedef struct _NetworkInterfaceType uint8_t FabricConnected; uint8_t OffPremiseServicesReachableIPv4; uint8_t OffPremiseServicesReachableIPv6; - uint64_t HardwareAddress; + chip::NodeId HardwareAddress; uint8_t Type; } EmberAfNetworkInterfaceType; -// Struct for NodeInformation -typedef struct _NodeInformation -{ - uint16_t uid; - uint16_t address; - chip::EndpointId endpoint; - uint8_t * nickname; -} EmberAfNodeInformation; - // Struct for Notification typedef struct _Notification { @@ -391,20 +257,6 @@ typedef struct _PowerProfileRecord uint8_t powerProfileState; } EmberAfPowerProfileRecord; -// Struct for PriceMatrixSubPayload -typedef struct _PriceMatrixSubPayload -{ - uint8_t tierBlockId; - uint32_t price; -} EmberAfPriceMatrixSubPayload; - -// Struct for Protocol -typedef struct _Protocol -{ - uint16_t manufacturerCode; - uint8_t protocolId; -} EmberAfProtocol; - // Struct for ReadAttributeStatusRecord typedef struct _ReadAttributeStatusRecord { @@ -480,34 +332,6 @@ typedef struct _SceneExtensionFieldSet uint8_t value; } EmberAfSceneExtensionFieldSet; -// Struct for ScheduleEntry -typedef struct _ScheduleEntry -{ - uint16_t startTime; - uint8_t activePriceTierOrFriendlyCreditEnable; -} EmberAfScheduleEntry; - -// Struct for ScheduleEntryAuxilliaryLoadSwitchTimes -typedef struct _ScheduleEntryAuxilliaryLoadSwitchTimes -{ - uint16_t startTime; - uint8_t auxiliaryLoadSwitchState; -} EmberAfScheduleEntryAuxilliaryLoadSwitchTimes; - -// Struct for ScheduleEntryFriendlyCreditSwitchTimes -typedef struct _ScheduleEntryFriendlyCreditSwitchTimes -{ - uint16_t startTime; - uint8_t friendlyCreditEnable; -} EmberAfScheduleEntryFriendlyCreditSwitchTimes; - -// Struct for ScheduleEntryRateSwitchTimes -typedef struct _ScheduleEntryRateSwitchTimes -{ - uint16_t startTime; - uint8_t priceTier; -} EmberAfScheduleEntryRateSwitchTimes; - // Struct for ScheduledPhase typedef struct _ScheduledPhase { @@ -515,13 +339,6 @@ typedef struct _ScheduledPhase uint16_t scheduledTime; } EmberAfScheduledPhase; -// Struct for SeasonEntry -typedef struct _SeasonEntry -{ - uint32_t seasonStartDate; - uint8_t weekIdRef; -} EmberAfSeasonEntry; - // Struct for SecurityPolicy typedef struct _SecurityPolicy { @@ -529,38 +346,6 @@ typedef struct _SecurityPolicy uint8_t Flags; } EmberAfSecurityPolicy; -// Void typedef for EmberAfSignature which is empty. -// this will result in all the references to the data being as uint8_t* -typedef uint8_t EmberAfSignature; - -// Void typedef for EmberAfSmac which is empty. -// this will result in all the references to the data being as uint8_t* -typedef uint8_t EmberAfSmac; - -// Struct for SnapshotResponsePayload -typedef struct _SnapshotResponsePayload -{ - uint8_t snapshotScheduleId; - uint8_t snapshotScheduleConfirmation; -} EmberAfSnapshotResponsePayload; - -// Struct for SnapshotSchedulePayload -typedef struct _SnapshotSchedulePayload -{ - uint8_t snapshotScheduleId; - uint32_t snapshotStartTime; - uint32_t snapshotSchedule; - uint8_t snapshotPayloadType; - uint32_t snapshotCause; -} EmberAfSnapshotSchedulePayload; - -// Struct for SpecialDay -typedef struct _SpecialDay -{ - uint32_t specialDayDate; - uint8_t dayIdRef; -} EmberAfSpecialDay; - // Struct for TestListStructOctet typedef struct _TestListStructOctet { @@ -584,21 +369,6 @@ typedef struct _ThreadMetrics uint32_t StackSize; } EmberAfThreadMetrics; -// Struct for TierLabelsPayload -typedef struct _TierLabelsPayload -{ - uint8_t tierId; - chip::ByteSpan tierLabel; -} EmberAfTierLabelsPayload; - -// Struct for TopUpPayload -typedef struct _TopUpPayload -{ - chip::ByteSpan topUpCode; - int32_t topUpAmount; - uint32_t topUpTime; -} EmberAfTopUpPayload; - // Struct for TransferredPhase typedef struct _TransferredPhase { @@ -672,18 +442,3 @@ typedef struct _WriteStructuredAttributeStatusRecord uint8_t indicator; uint16_t indicies; } EmberAfWriteStructuredAttributeStatusRecord; - -// Struct for WwahBeaconSurvey -typedef struct _WwahBeaconSurvey -{ - uint16_t deviceShort; - uint8_t rssi; - uint8_t classificationMask; -} EmberAfWwahBeaconSurvey; - -// Struct for WwahClusterStatusToUseTC -typedef struct _WwahClusterStatusToUseTC -{ - chip::ClusterId clusterId; - uint8_t status; -} EmberAfWwahClusterStatusToUseTC; diff --git a/src/app/common/gen/attribute-id.h b/src/app/common/gen/attribute-id.h index c16f0051241cb4..9fe8ce18d092d7 100644 --- a/src/app/common/gen/attribute-id.h +++ b/src/app/common/gen/attribute-id.h @@ -192,25 +192,6 @@ #define ZCL_LAST_SET_TIME_ATTRIBUTE_ID (0x0008) #define ZCL_VALID_UNTIL_TIME_ATTRIBUTE_ID (0x0009) -// Attribute ids for cluster: RSSI Location - -// Client attributes - -// Server attributes -#define ZCL_LOCATION_TYPE_ATTRIBUTE_ID (0x0000) -#define ZCL_LOCATION_METHOD_ATTRIBUTE_ID (0x0001) -#define ZCL_LOCATION_AGE_ATTRIBUTE_ID (0x0002) -#define ZCL_QUALITY_MEASURE_ATTRIBUTE_ID (0x0003) -#define ZCL_NUMBER_OF_DEVICES_ATTRIBUTE_ID (0x0004) -#define ZCL_COORDINATE1_ATTRIBUTE_ID (0x0010) -#define ZCL_COORDINATE2_ATTRIBUTE_ID (0x0011) -#define ZCL_COORDINATE3_ATTRIBUTE_ID (0x0012) -#define ZCL_POWER_ATTRIBUTE_ID (0x0013) -#define ZCL_PATH_LOSS_EXPONENT_ATTRIBUTE_ID (0x0014) -#define ZCL_REPORTING_PERIOD_ATTRIBUTE_ID (0x0015) -#define ZCL_CALCULATION_PERIOD_ATTRIBUTE_ID (0x0016) -#define ZCL_NUMBER_RSSI_MEASUREMENTS_ATTRIBUTE_ID (0x0017) - // Attribute ids for cluster: Binary Input (Basic) // Client attributes @@ -226,71 +207,6 @@ #define ZCL_STATUS_FLAGS_ATTRIBUTE_ID (0x006F) #define ZCL_APPLICATION_TYPE_ATTRIBUTE_ID (0x0100) -// Attribute ids for cluster: Commissioning - -// Client attributes - -// Server attributes -#define ZCL_SHORT_ADDRESS_ATTRIBUTE_ID (0x0000) -#define ZCL_EXTENDED_PAN_ID_ATTRIBUTE_ID (0x0001) -#define ZCL_PAN_ID_ATTRIBUTE_ID (0x0002) -#define ZCL_CHANNEL_MASK_ATTRIBUTE_ID (0x0003) -#define ZCL_PROTOCOL_VERSION_ATTRIBUTE_ID (0x0004) -#define ZCL_STACK_PROFILE_ATTRIBUTE_ID (0x0005) -#define ZCL_STARTUP_CONTROL_ATTRIBUTE_ID (0x0006) -#define ZCL_TRUST_CENTER_ADDRESS_ATTRIBUTE_ID (0x0010) -#define ZCL_TRUST_CENTER_MASTER_KEY_ATTRIBUTE_ID (0x0011) -#define ZCL_NETWORK_KEY_ATTRIBUTE_ID (0x0012) -#define ZCL_USE_INSECURE_JOIN_ATTRIBUTE_ID (0x0013) -#define ZCL_PRECONFIGURED_LINK_KEY_ATTRIBUTE_ID (0x0014) -#define ZCL_NETWORK_KEY_SEQUENCE_NUMBER_ATTRIBUTE_ID (0x0015) -#define ZCL_NETWORK_KEY_TYPE_ATTRIBUTE_ID (0x0016) -#define ZCL_NETWORK_MANAGER_ADDRESS_ATTRIBUTE_ID (0x0017) -#define ZCL_SCAN_ATTEMPTS_ATTRIBUTE_ID (0x0020) -#define ZCL_TIME_BETWEEN_SCANS_ATTRIBUTE_ID (0x0021) -#define ZCL_REJOIN_INTERVAL_ATTRIBUTE_ID (0x0022) -#define ZCL_MAX_REJOIN_INTERVAL_ATTRIBUTE_ID (0x0023) -#define ZCL_INDIRECT_POLL_RATE_ATTRIBUTE_ID (0x0030) -#define ZCL_PARENT_RETRY_THRESHOLD_ATTRIBUTE_ID (0x0031) -#define ZCL_CONCENTRATOR_FLAG_ATTRIBUTE_ID (0x0040) -#define ZCL_CONCENTRATOR_RADIUS_ATTRIBUTE_ID (0x0041) -#define ZCL_CONCENTRATOR_DISCOVERY_TIME_ATTRIBUTE_ID (0x0042) - -// Attribute ids for cluster: Partition - -// Client attributes - -// Server attributes -#define ZCL_PARTITION_MAXIMUM_INCOMING_TRANSFER_SIZE_ATTRIBUTE_ID (0x0000) -#define ZCL_PARTITION_MAXIMUM_OUTGOING_TRANSFER_SIZE_ATTRIBUTE_ID (0x0001) -#define ZCL_PARTIONED_FRAME_SIZE_ATTRIBUTE_ID (0x0002) -#define ZCL_LARGE_FRAME_SIZE_ATTRIBUTE_ID (0x0003) -#define ZCL_NUMBER_OF_ACK_FRAME_ATTRIBUTE_ID (0x0004) -#define ZCL_NACK_TIMEOUT_ATTRIBUTE_ID (0x0005) -#define ZCL_INTERFRAME_DELAY_ATTRIBUTE_ID (0x0006) -#define ZCL_NUMBER_OF_SEND_RETRIES_ATTRIBUTE_ID (0x0007) -#define ZCL_SENDER_TIMEOUT_ATTRIBUTE_ID (0x0008) -#define ZCL_RECEIVER_TIMEOUT_ATTRIBUTE_ID (0x0009) - -// Attribute ids for cluster: Over the Air Bootloading - -// Client attributes -#define ZCL_UPGRADE_SERVER_ID_ATTRIBUTE_ID (0x0000) -#define ZCL_FILE_OFFSET_ATTRIBUTE_ID (0x0001) -#define ZCL_CURRENT_FILE_VERSION_ATTRIBUTE_ID (0x0002) -#define ZCL_CURRENT_ZIGBEE_STACK_VERSION_ATTRIBUTE_ID (0x0003) -#define ZCL_DOWNLOADED_FILE_VERSION_ATTRIBUTE_ID (0x0004) -#define ZCL_DOWNLOADED_ZIGBEE_STACK_VERSION_ATTRIBUTE_ID (0x0005) -#define ZCL_IMAGE_UPGRADE_STATUS_ATTRIBUTE_ID (0x0006) -#define ZCL_MANUFACTURER_ID_ATTRIBUTE_ID (0x0007) -#define ZCL_IMAGE_TYPE_ID_ATTRIBUTE_ID (0x0008) -#define ZCL_MINIMUM_BLOCK_REQUEST_PERIOD_ATTRIBUTE_ID (0x0009) -#define ZCL_IMAGE_STAMP_ATTRIBUTE_ID (0x000A) -#define ZCL_UPGRADE_ACTIVATION_POLICY_ATTRIBUTE_ID (0x000B) -#define ZCL_UPGRADE_TIMEOUT_POLICY_ATTRIBUTE_ID (0x000C) - -// Server attributes - // Attribute ids for cluster: Power Profile // Client attributes @@ -334,42 +250,6 @@ #define ZCL_LONG_POLL_INTERVAL_MIN_ATTRIBUTE_ID (0x0005) #define ZCL_FAST_POLL_TIMEOUT_MAX_ATTRIBUTE_ID (0x0006) -// Attribute ids for cluster: Green Power - -// Client attributes -#define ZCL_GP_CLIENT_GPP_MAX_PROXY_TABLE_ENTRIES_ATTRIBUTE_ID (0x0010) -#define ZCL_GP_CLIENT_PROXY_TABLE_ATTRIBUTE_ID (0x0011) -#define ZCL_GP_CLIENT_GPP_NOTIFICATION_RETRY_NUMBER_ATTRIBUTE_ID (0x0012) -#define ZCL_GP_CLIENT_GPP_NOTIFICATION_RETRY_TIMER_ATTRIBUTE_ID (0x0013) -#define ZCL_GP_CLIENT_GPP_MAX_SEARCH_COUNTER_ATTRIBUTE_ID (0x0014) -#define ZCL_GP_CLIENT_GPP_BLOCKED_GPD_ID_ATTRIBUTE_ID (0x0015) -#define ZCL_GP_CLIENT_GPP_FUNCTIONALITY_ATTRIBUTE_ID (0x0016) -#define ZCL_GP_CLIENT_GPP_ACTIVE_FUNCTIONALITY_ATTRIBUTE_ID (0x0017) -#define ZCL_GP_CLIENT_GP_SHARED_SECURITY_KEY_TYPE_ATTRIBUTE_ID (0x0020) -#define ZCL_GP_CLIENT_GP_SHARED_SECURITY_KEY_ATTRIBUTE_ID (0x0021) -#define ZCL_GP_CLIENT_GP_LINK_KEY_ATTRIBUTE_ID (0x0022) - -// Server attributes -#define ZCL_GP_SERVER_GPS_MAX_SINK_TABLE_ENTRIES_ATTRIBUTE_ID (0x0000) -#define ZCL_GP_SERVER_SINK_TABLE_ATTRIBUTE_ID (0x0001) -#define ZCL_GP_SERVER_GPS_COMMUNICATION_MODE_ATTRIBUTE_ID (0x0002) -#define ZCL_GP_SERVER_GPS_COMMISSIONING_EXIT_MODE_ATTRIBUTE_ID (0x0003) -#define ZCL_GP_SERVER_GPS_COMMISSIONING_WINDOW_ATTRIBUTE_ID (0x0004) -#define ZCL_GP_SERVER_GPS_SECURITY_LEVEL_ATTRIBUTE_ID (0x0005) -#define ZCL_GP_SERVER_GPS_FUNCTIONALITY_ATTRIBUTE_ID (0x0006) -#define ZCL_GP_SERVER_GPS_ACTIVE_FUNCTIONALITY_ATTRIBUTE_ID (0x0007) -#define ZCL_GP_SERVER_GP_SHARED_SECURITY_KEY_TYPE_ATTRIBUTE_ID (0x0020) -#define ZCL_GP_SERVER_GP_SHARED_SECURITY_KEY_ATTRIBUTE_ID (0x0021) -#define ZCL_GP_SERVER_GP_LINK_KEY_ATTRIBUTE_ID (0x0022) - -// Attribute ids for cluster: Keep-Alive - -// Client attributes - -// Server attributes -#define ZCL_KEEPALIVE_BASE_ATTRIBUTE_ID (0x0000) -#define ZCL_KEEPALIVE_JITTER_ATTRIBUTE_ID (0x0001) - // Attribute ids for cluster: Basic // Client attributes @@ -1422,2751 +1302,12 @@ #define ZCL_LONG_OCTET_STRING_ATTRIBUTE_ID (0x001D) #define ZCL_UNSUPPORTED_ATTRIBUTE_ID (0x00FF) -// Attribute ids for cluster: Generic Tunnel - -// Client attributes - -// Server attributes -#define ZCL_MAXIMUM_INCOMING_TRANSFER_SIZE_ATTRIBUTE_ID (0x0001) -#define ZCL_MAXIMUM_OUTGOING_TRANSFER_SIZE_ATTRIBUTE_ID (0x0002) -#define ZCL_PROTOCOL_ADDRESS_ATTRIBUTE_ID (0x0003) - -// Attribute ids for cluster: BACnet Protocol Tunnel - -// Client attributes - -// Server attributes - -// Attribute ids for cluster: 11073 Protocol Tunnel - -// Client attributes - -// Server attributes -#define ZCL_DEVICE_ID_LIST_ATTRIBUTE_ID (0x0000) -#define ZCL_MANAGER_TARGET_ATTRIBUTE_ID (0x0001) -#define ZCL_MANAGER_ENDPOINT_ATTRIBUTE_ID (0x0002) -#define ZCL_CONNECTED_ATTRIBUTE_ID (0x0003) -#define ZCL_PREEMPTIBLE_ATTRIBUTE_ID (0x0004) -#define ZCL_IDLE_TIMEOUT_ATTRIBUTE_ID (0x0005) - -// Attribute ids for cluster: ISO 7816 Protocol Tunnel - -// Client attributes - -// Server attributes -#define ZCL_ISO7816_PROTOCOL_TUNNEL_STATUS_ATTRIBUTE_ID (0x0000) - -// Attribute ids for cluster: Price - -// Client attributes -#define ZCL_PRICE_INCREASE_RANDOMIZE_MINUTES_ATTRIBUTE_ID (0x0000) -#define ZCL_PRICE_DECREASE_RANDOMIZE_MINUTES_ATTRIBUTE_ID (0x0001) -#define ZCL_COMMODITY_TYPE_CLIENT_ATTRIBUTE_ID (0x0002) - -// Server attributes -#define ZCL_TIER1_PRICE_LABEL_ATTRIBUTE_ID (0x0000) -#define ZCL_TIER2_PRICE_LABEL_ATTRIBUTE_ID (0x0001) -#define ZCL_TIER3_PRICE_LABEL_ATTRIBUTE_ID (0x0002) -#define ZCL_TIER4_PRICE_LABEL_ATTRIBUTE_ID (0x0003) -#define ZCL_TIER5_PRICE_LABEL_ATTRIBUTE_ID (0x0004) -#define ZCL_TIER6_PRICE_LABEL_ATTRIBUTE_ID (0x0005) -#define ZCL_TIER7_PRICE_LABEL_ATTRIBUTE_ID (0x0006) -#define ZCL_TIER8_PRICE_LABEL_ATTRIBUTE_ID (0x0007) -#define ZCL_TIER9_PRICE_LABEL_ATTRIBUTE_ID (0x0008) -#define ZCL_TIER10_PRICE_LABEL_ATTRIBUTE_ID (0x0009) -#define ZCL_TIER11_PRICE_LABEL_ATTRIBUTE_ID (0x000A) -#define ZCL_TIER12_PRICE_LABEL_ATTRIBUTE_ID (0x000B) -#define ZCL_TIER13_PRICE_LABEL_ATTRIBUTE_ID (0x000C) -#define ZCL_TIER14_PRICE_LABEL_ATTRIBUTE_ID (0x000D) -#define ZCL_TIER15_PRICE_LABEL_ATTRIBUTE_ID (0x000E) -#define ZCL_TIER16_PRICE_LABEL_ATTRIBUTE_ID (0x000F) -#define ZCL_TIER17_PRICE_LABEL_ATTRIBUTE_ID (0x0010) -#define ZCL_TIER18_PRICE_LABEL_ATTRIBUTE_ID (0x0011) -#define ZCL_TIER19_PRICE_LABEL_ATTRIBUTE_ID (0x0012) -#define ZCL_TIER20_PRICE_LABEL_ATTRIBUTE_ID (0x0013) -#define ZCL_TIER21_PRICE_LABEL_ATTRIBUTE_ID (0x0014) -#define ZCL_TIER22_PRICE_LABEL_ATTRIBUTE_ID (0x0015) -#define ZCL_TIER23_PRICE_LABEL_ATTRIBUTE_ID (0x0016) -#define ZCL_TIER24_PRICE_LABEL_ATTRIBUTE_ID (0x0017) -#define ZCL_TIER25_PRICE_LABEL_ATTRIBUTE_ID (0x0018) -#define ZCL_TIER26_PRICE_LABEL_ATTRIBUTE_ID (0x0019) -#define ZCL_TIER27_PRICE_LABEL_ATTRIBUTE_ID (0x001A) -#define ZCL_TIER28_PRICE_LABEL_ATTRIBUTE_ID (0x001B) -#define ZCL_TIER29_PRICE_LABEL_ATTRIBUTE_ID (0x001C) -#define ZCL_TIER30_PRICE_LABEL_ATTRIBUTE_ID (0x001D) -#define ZCL_TIER31_PRICE_LABEL_ATTRIBUTE_ID (0x001E) -#define ZCL_TIER32_PRICE_LABEL_ATTRIBUTE_ID (0x001F) -#define ZCL_TIER33_PRICE_LABEL_ATTRIBUTE_ID (0x0020) -#define ZCL_TIER34_PRICE_LABEL_ATTRIBUTE_ID (0x0021) -#define ZCL_TIER35_PRICE_LABEL_ATTRIBUTE_ID (0x0022) -#define ZCL_TIER36_PRICE_LABEL_ATTRIBUTE_ID (0x0023) -#define ZCL_TIER37_PRICE_LABEL_ATTRIBUTE_ID (0x0024) -#define ZCL_TIER38_PRICE_LABEL_ATTRIBUTE_ID (0x0025) -#define ZCL_TIER39_PRICE_LABEL_ATTRIBUTE_ID (0x0026) -#define ZCL_TIER40_PRICE_LABEL_ATTRIBUTE_ID (0x0027) -#define ZCL_TIER41_PRICE_LABEL_ATTRIBUTE_ID (0x0028) -#define ZCL_TIER42_PRICE_LABEL_ATTRIBUTE_ID (0x0029) -#define ZCL_TIER43_PRICE_LABEL_ATTRIBUTE_ID (0x002A) -#define ZCL_TIER44_PRICE_LABEL_ATTRIBUTE_ID (0x002B) -#define ZCL_TIER45_PRICE_LABEL_ATTRIBUTE_ID (0x002C) -#define ZCL_TIER46_PRICE_LABEL_ATTRIBUTE_ID (0x002D) -#define ZCL_TIER47_PRICE_LABEL_ATTRIBUTE_ID (0x002E) -#define ZCL_TIER48_PRICE_LABEL_ATTRIBUTE_ID (0x002F) -#define ZCL_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0100) -#define ZCL_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0101) -#define ZCL_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0102) -#define ZCL_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0103) -#define ZCL_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0104) -#define ZCL_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0105) -#define ZCL_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0106) -#define ZCL_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0107) -#define ZCL_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0108) -#define ZCL_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0109) -#define ZCL_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x010A) -#define ZCL_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x010B) -#define ZCL_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x010C) -#define ZCL_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x010D) -#define ZCL_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x010E) -#define ZCL_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x010F) -#define ZCL_TIER1_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0110) -#define ZCL_TIER1_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0111) -#define ZCL_TIER1_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0112) -#define ZCL_TIER1_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0113) -#define ZCL_TIER1_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0114) -#define ZCL_TIER1_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0115) -#define ZCL_TIER1_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0116) -#define ZCL_TIER1_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0117) -#define ZCL_TIER1_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0118) -#define ZCL_TIER1_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0119) -#define ZCL_TIER1_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x011A) -#define ZCL_TIER1_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x011B) -#define ZCL_TIER1_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x011C) -#define ZCL_TIER1_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x011D) -#define ZCL_TIER1_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x011E) -#define ZCL_TIER1_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x011F) -#define ZCL_TIER2_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0120) -#define ZCL_TIER2_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0121) -#define ZCL_TIER2_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0122) -#define ZCL_TIER2_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0123) -#define ZCL_TIER2_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0124) -#define ZCL_TIER2_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0125) -#define ZCL_TIER2_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0126) -#define ZCL_TIER2_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0127) -#define ZCL_TIER2_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0128) -#define ZCL_TIER2_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0129) -#define ZCL_TIER2_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x012A) -#define ZCL_TIER2_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x012B) -#define ZCL_TIER2_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x012C) -#define ZCL_TIER2_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x012D) -#define ZCL_TIER2_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x012E) -#define ZCL_TIER2_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x012F) -#define ZCL_TIER3_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0130) -#define ZCL_TIER3_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0131) -#define ZCL_TIER3_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0132) -#define ZCL_TIER3_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0133) -#define ZCL_TIER3_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0134) -#define ZCL_TIER3_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0135) -#define ZCL_TIER3_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0136) -#define ZCL_TIER3_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0137) -#define ZCL_TIER3_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0138) -#define ZCL_TIER3_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0139) -#define ZCL_TIER3_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x013A) -#define ZCL_TIER3_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x013B) -#define ZCL_TIER3_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x013C) -#define ZCL_TIER3_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x013D) -#define ZCL_TIER3_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x013E) -#define ZCL_TIER3_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x013F) -#define ZCL_TIER4_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0140) -#define ZCL_TIER4_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0141) -#define ZCL_TIER4_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0142) -#define ZCL_TIER4_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0143) -#define ZCL_TIER4_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0144) -#define ZCL_TIER4_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0145) -#define ZCL_TIER4_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0146) -#define ZCL_TIER4_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0147) -#define ZCL_TIER4_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0148) -#define ZCL_TIER4_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0149) -#define ZCL_TIER4_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x014A) -#define ZCL_TIER4_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x014B) -#define ZCL_TIER4_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x014C) -#define ZCL_TIER4_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x014D) -#define ZCL_TIER4_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x014E) -#define ZCL_TIER4_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x014F) -#define ZCL_TIER5_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0150) -#define ZCL_TIER5_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0151) -#define ZCL_TIER5_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0152) -#define ZCL_TIER5_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0153) -#define ZCL_TIER5_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0154) -#define ZCL_TIER5_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0155) -#define ZCL_TIER5_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0156) -#define ZCL_TIER5_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0157) -#define ZCL_TIER5_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0158) -#define ZCL_TIER5_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0159) -#define ZCL_TIER5_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x015A) -#define ZCL_TIER5_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x015B) -#define ZCL_TIER5_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x015C) -#define ZCL_TIER5_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x015D) -#define ZCL_TIER5_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x015E) -#define ZCL_TIER5_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x015F) -#define ZCL_TIER6_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0160) -#define ZCL_TIER6_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0161) -#define ZCL_TIER6_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0162) -#define ZCL_TIER6_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0163) -#define ZCL_TIER6_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0164) -#define ZCL_TIER6_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0165) -#define ZCL_TIER6_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0166) -#define ZCL_TIER6_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0167) -#define ZCL_TIER6_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0168) -#define ZCL_TIER6_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0169) -#define ZCL_TIER6_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x016A) -#define ZCL_TIER6_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x016B) -#define ZCL_TIER6_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x016C) -#define ZCL_TIER6_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x016D) -#define ZCL_TIER6_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x016E) -#define ZCL_TIER6_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x016F) -#define ZCL_TIER7_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0170) -#define ZCL_TIER7_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0171) -#define ZCL_TIER7_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0172) -#define ZCL_TIER7_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0173) -#define ZCL_TIER7_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0174) -#define ZCL_TIER7_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0175) -#define ZCL_TIER7_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0176) -#define ZCL_TIER7_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0177) -#define ZCL_TIER7_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0178) -#define ZCL_TIER7_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0179) -#define ZCL_TIER7_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x017A) -#define ZCL_TIER7_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x017B) -#define ZCL_TIER7_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x017C) -#define ZCL_TIER7_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x017D) -#define ZCL_TIER7_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x017E) -#define ZCL_TIER7_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x017F) -#define ZCL_TIER8_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0180) -#define ZCL_TIER8_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0181) -#define ZCL_TIER8_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0182) -#define ZCL_TIER8_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0183) -#define ZCL_TIER8_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0184) -#define ZCL_TIER8_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0185) -#define ZCL_TIER8_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0186) -#define ZCL_TIER8_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0187) -#define ZCL_TIER8_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0188) -#define ZCL_TIER8_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0189) -#define ZCL_TIER8_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x018A) -#define ZCL_TIER8_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x018B) -#define ZCL_TIER8_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x018C) -#define ZCL_TIER8_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x018D) -#define ZCL_TIER8_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x018E) -#define ZCL_TIER8_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x018F) -#define ZCL_TIER9_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x0190) -#define ZCL_TIER9_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x0191) -#define ZCL_TIER9_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x0192) -#define ZCL_TIER9_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x0193) -#define ZCL_TIER9_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x0194) -#define ZCL_TIER9_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x0195) -#define ZCL_TIER9_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x0196) -#define ZCL_TIER9_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x0197) -#define ZCL_TIER9_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x0198) -#define ZCL_TIER9_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x0199) -#define ZCL_TIER9_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x019A) -#define ZCL_TIER9_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x019B) -#define ZCL_TIER9_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x019C) -#define ZCL_TIER9_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x019D) -#define ZCL_TIER9_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x019E) -#define ZCL_TIER9_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x019F) -#define ZCL_TIER10_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x01A0) -#define ZCL_TIER10_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x01A1) -#define ZCL_TIER10_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x01A2) -#define ZCL_TIER10_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x01A3) -#define ZCL_TIER10_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x01A4) -#define ZCL_TIER10_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x01A5) -#define ZCL_TIER10_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x01A6) -#define ZCL_TIER10_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x01A7) -#define ZCL_TIER10_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x01A8) -#define ZCL_TIER10_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x01A9) -#define ZCL_TIER10_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x01AA) -#define ZCL_TIER10_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x01AB) -#define ZCL_TIER10_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x01AC) -#define ZCL_TIER10_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x01AD) -#define ZCL_TIER10_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x01AE) -#define ZCL_TIER10_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x01AF) -#define ZCL_TIER11_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x01B0) -#define ZCL_TIER11_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x01B1) -#define ZCL_TIER11_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x01B2) -#define ZCL_TIER11_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x01B3) -#define ZCL_TIER11_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x01B4) -#define ZCL_TIER11_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x01B5) -#define ZCL_TIER11_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x01B6) -#define ZCL_TIER11_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x01B7) -#define ZCL_TIER11_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x01B8) -#define ZCL_TIER11_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x01B9) -#define ZCL_TIER11_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x01BA) -#define ZCL_TIER11_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x01BB) -#define ZCL_TIER11_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x01BC) -#define ZCL_TIER11_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x01BD) -#define ZCL_TIER11_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x01BE) -#define ZCL_TIER11_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x01BF) -#define ZCL_TIER12_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x01C0) -#define ZCL_TIER12_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x01C1) -#define ZCL_TIER12_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x01C2) -#define ZCL_TIER12_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x01C3) -#define ZCL_TIER12_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x01C4) -#define ZCL_TIER12_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x01C5) -#define ZCL_TIER12_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x01C6) -#define ZCL_TIER12_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x01C7) -#define ZCL_TIER12_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x01C8) -#define ZCL_TIER12_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x01C9) -#define ZCL_TIER12_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x01CA) -#define ZCL_TIER12_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x01CB) -#define ZCL_TIER12_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x01CC) -#define ZCL_TIER12_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x01CD) -#define ZCL_TIER12_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x01CE) -#define ZCL_TIER12_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x01CF) -#define ZCL_TIER13_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x01D0) -#define ZCL_TIER13_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x01D1) -#define ZCL_TIER13_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x01D2) -#define ZCL_TIER13_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x01D3) -#define ZCL_TIER13_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x01D4) -#define ZCL_TIER13_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x01D5) -#define ZCL_TIER13_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x01D6) -#define ZCL_TIER13_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x01D7) -#define ZCL_TIER13_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x01D8) -#define ZCL_TIER13_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x01D9) -#define ZCL_TIER13_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x01DA) -#define ZCL_TIER13_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x01DB) -#define ZCL_TIER13_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x01DC) -#define ZCL_TIER13_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x01DD) -#define ZCL_TIER13_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x01DE) -#define ZCL_TIER13_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x01DF) -#define ZCL_TIER14_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x01E0) -#define ZCL_TIER14_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x01E1) -#define ZCL_TIER14_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x01E2) -#define ZCL_TIER14_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x01E3) -#define ZCL_TIER14_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x01E4) -#define ZCL_TIER14_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x01E5) -#define ZCL_TIER14_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x01E6) -#define ZCL_TIER14_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x01E7) -#define ZCL_TIER14_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x01E8) -#define ZCL_TIER14_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x01E9) -#define ZCL_TIER14_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x01EA) -#define ZCL_TIER14_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x01EB) -#define ZCL_TIER14_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x01EC) -#define ZCL_TIER14_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x01ED) -#define ZCL_TIER14_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x01EE) -#define ZCL_TIER14_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x01EF) -#define ZCL_TIER15_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x01F0) -#define ZCL_TIER15_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x01F1) -#define ZCL_TIER15_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x01F2) -#define ZCL_TIER15_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x01F3) -#define ZCL_TIER15_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x01F4) -#define ZCL_TIER15_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x01F5) -#define ZCL_TIER15_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x01F6) -#define ZCL_TIER15_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x01F7) -#define ZCL_TIER15_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x01F8) -#define ZCL_TIER15_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x01F9) -#define ZCL_TIER15_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x01FA) -#define ZCL_TIER15_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x01FB) -#define ZCL_TIER15_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x01FC) -#define ZCL_TIER15_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x01FD) -#define ZCL_TIER15_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x01FE) -#define ZCL_TIER15_BLOCK_THRESHOLD_COUNT_ATTRIBUTE_ID (0x01FF) -#define ZCL_START_OF_BLOCK_PERIOD_ATTRIBUTE_ID (0x0200) -#define ZCL_BLOCK_PERIOD_DURATION_MINUTES_ATTRIBUTE_ID (0x0201) -#define ZCL_THRESHOLD_MULTIPLIER_ATTRIBUTE_ID (0x0202) -#define ZCL_THRESHOLD_DIVISOR_ATTRIBUTE_ID (0x0203) -#define ZCL_BLOCK_PERIOD_DURATION_TYPE_ATTRIBUTE_ID (0x0204) -#define ZCL_COMMODITY_TYPE_SERVER_ATTRIBUTE_ID (0x0300) -#define ZCL_STANDING_CHARGE_ATTRIBUTE_ID (0x0301) -#define ZCL_CONVERSION_FACTOR_ATTRIBUTE_ID (0x0302) -#define ZCL_CONVERSION_FACTOR_TRAILING_DIGIT_ATTRIBUTE_ID (0x0303) -#define ZCL_CALORIFIC_VALUE_ATTRIBUTE_ID (0x0304) -#define ZCL_CALORIFIC_VALUE_UNIT_ATTRIBUTE_ID (0x0305) -#define ZCL_CALORIFIC_VALUE_TRAILING_DIGIT_ATTRIBUTE_ID (0x0306) -#define ZCL_NO_TIER_BLOCK1_PRICE_ATTRIBUTE_ID (0x0400) -#define ZCL_NO_TIER_BLOCK2_PRICE_ATTRIBUTE_ID (0x0401) -#define ZCL_NO_TIER_BLOCK3_PRICE_ATTRIBUTE_ID (0x0402) -#define ZCL_NO_TIER_BLOCK4_PRICE_ATTRIBUTE_ID (0x0403) -#define ZCL_NO_TIER_BLOCK5_PRICE_ATTRIBUTE_ID (0x0404) -#define ZCL_NO_TIER_BLOCK6_PRICE_ATTRIBUTE_ID (0x0405) -#define ZCL_NO_TIER_BLOCK7_PRICE_ATTRIBUTE_ID (0x0406) -#define ZCL_NO_TIER_BLOCK8_PRICE_ATTRIBUTE_ID (0x0407) -#define ZCL_NO_TIER_BLOCK9_PRICE_ATTRIBUTE_ID (0x0408) -#define ZCL_NO_TIER_BLOCK10_PRICE_ATTRIBUTE_ID (0x0409) -#define ZCL_NO_TIER_BLOCK11_PRICE_ATTRIBUTE_ID (0x040A) -#define ZCL_NO_TIER_BLOCK12_PRICE_ATTRIBUTE_ID (0x040B) -#define ZCL_NO_TIER_BLOCK13_PRICE_ATTRIBUTE_ID (0x040C) -#define ZCL_NO_TIER_BLOCK14_PRICE_ATTRIBUTE_ID (0x040D) -#define ZCL_NO_TIER_BLOCK15_PRICE_ATTRIBUTE_ID (0x040E) -#define ZCL_NO_TIER_BLOCK16_PRICE_ATTRIBUTE_ID (0x040F) -#define ZCL_TIER1_BLOCK1_PRICE_ATTRIBUTE_ID (0x0410) -#define ZCL_TIER1_BLOCK2_PRICE_ATTRIBUTE_ID (0x0411) -#define ZCL_TIER1_BLOCK3_PRICE_ATTRIBUTE_ID (0x0412) -#define ZCL_TIER1_BLOCK4_PRICE_ATTRIBUTE_ID (0x0413) -#define ZCL_TIER1_BLOCK5_PRICE_ATTRIBUTE_ID (0x0414) -#define ZCL_TIER1_BLOCK6_PRICE_ATTRIBUTE_ID (0x0415) -#define ZCL_TIER1_BLOCK7_PRICE_ATTRIBUTE_ID (0x0416) -#define ZCL_TIER1_BLOCK8_PRICE_ATTRIBUTE_ID (0x0417) -#define ZCL_TIER1_BLOCK9_PRICE_ATTRIBUTE_ID (0x0418) -#define ZCL_TIER1_BLOCK10_PRICE_ATTRIBUTE_ID (0x0419) -#define ZCL_TIER1_BLOCK11_PRICE_ATTRIBUTE_ID (0x041A) -#define ZCL_TIER1_BLOCK12_PRICE_ATTRIBUTE_ID (0x041B) -#define ZCL_TIER1_BLOCK13_PRICE_ATTRIBUTE_ID (0x041C) -#define ZCL_TIER1_BLOCK14_PRICE_ATTRIBUTE_ID (0x041D) -#define ZCL_TIER1_BLOCK15_PRICE_ATTRIBUTE_ID (0x041E) -#define ZCL_TIER1_BLOCK16_PRICE_ATTRIBUTE_ID (0x041F) -#define ZCL_TIER2_BLOCK1_PRICE_ATTRIBUTE_ID (0x0420) -#define ZCL_TIER2_BLOCK2_PRICE_ATTRIBUTE_ID (0x0421) -#define ZCL_TIER2_BLOCK3_PRICE_ATTRIBUTE_ID (0x0422) -#define ZCL_TIER2_BLOCK4_PRICE_ATTRIBUTE_ID (0x0423) -#define ZCL_TIER2_BLOCK5_PRICE_ATTRIBUTE_ID (0x0424) -#define ZCL_TIER2_BLOCK6_PRICE_ATTRIBUTE_ID (0x0425) -#define ZCL_TIER2_BLOCK7_PRICE_ATTRIBUTE_ID (0x0426) -#define ZCL_TIER2_BLOCK8_PRICE_ATTRIBUTE_ID (0x0427) -#define ZCL_TIER2_BLOCK9_PRICE_ATTRIBUTE_ID (0x0428) -#define ZCL_TIER2_BLOCK10_PRICE_ATTRIBUTE_ID (0x0429) -#define ZCL_TIER2_BLOCK11_PRICE_ATTRIBUTE_ID (0x042A) -#define ZCL_TIER2_BLOCK12_PRICE_ATTRIBUTE_ID (0x042B) -#define ZCL_TIER2_BLOCK13_PRICE_ATTRIBUTE_ID (0x042C) -#define ZCL_TIER2_BLOCK14_PRICE_ATTRIBUTE_ID (0x042D) -#define ZCL_TIER2_BLOCK15_PRICE_ATTRIBUTE_ID (0x042E) -#define ZCL_TIER2_BLOCK16_PRICE_ATTRIBUTE_ID (0x042F) -#define ZCL_TIER3_BLOCK1_PRICE_ATTRIBUTE_ID (0x0430) -#define ZCL_TIER3_BLOCK2_PRICE_ATTRIBUTE_ID (0x0431) -#define ZCL_TIER3_BLOCK3_PRICE_ATTRIBUTE_ID (0x0432) -#define ZCL_TIER3_BLOCK4_PRICE_ATTRIBUTE_ID (0x0433) -#define ZCL_TIER3_BLOCK5_PRICE_ATTRIBUTE_ID (0x0434) -#define ZCL_TIER3_BLOCK6_PRICE_ATTRIBUTE_ID (0x0435) -#define ZCL_TIER3_BLOCK7_PRICE_ATTRIBUTE_ID (0x0436) -#define ZCL_TIER3_BLOCK8_PRICE_ATTRIBUTE_ID (0x0437) -#define ZCL_TIER3_BLOCK9_PRICE_ATTRIBUTE_ID (0x0438) -#define ZCL_TIER3_BLOCK10_PRICE_ATTRIBUTE_ID (0x0439) -#define ZCL_TIER3_BLOCK11_PRICE_ATTRIBUTE_ID (0x043A) -#define ZCL_TIER3_BLOCK12_PRICE_ATTRIBUTE_ID (0x043B) -#define ZCL_TIER3_BLOCK13_PRICE_ATTRIBUTE_ID (0x043C) -#define ZCL_TIER3_BLOCK14_PRICE_ATTRIBUTE_ID (0x043D) -#define ZCL_TIER3_BLOCK15_PRICE_ATTRIBUTE_ID (0x043E) -#define ZCL_TIER3_BLOCK16_PRICE_ATTRIBUTE_ID (0x043F) -#define ZCL_TIER4_BLOCK1_PRICE_ATTRIBUTE_ID (0x0440) -#define ZCL_TIER4_BLOCK2_PRICE_ATTRIBUTE_ID (0x0441) -#define ZCL_TIER4_BLOCK3_PRICE_ATTRIBUTE_ID (0x0442) -#define ZCL_TIER4_BLOCK4_PRICE_ATTRIBUTE_ID (0x0443) -#define ZCL_TIER4_BLOCK5_PRICE_ATTRIBUTE_ID (0x0444) -#define ZCL_TIER4_BLOCK6_PRICE_ATTRIBUTE_ID (0x0445) -#define ZCL_TIER4_BLOCK7_PRICE_ATTRIBUTE_ID (0x0446) -#define ZCL_TIER4_BLOCK8_PRICE_ATTRIBUTE_ID (0x0447) -#define ZCL_TIER4_BLOCK9_PRICE_ATTRIBUTE_ID (0x0448) -#define ZCL_TIER4_BLOCK10_PRICE_ATTRIBUTE_ID (0x0449) -#define ZCL_TIER4_BLOCK11_PRICE_ATTRIBUTE_ID (0x044A) -#define ZCL_TIER4_BLOCK12_PRICE_ATTRIBUTE_ID (0x044B) -#define ZCL_TIER4_BLOCK13_PRICE_ATTRIBUTE_ID (0x044C) -#define ZCL_TIER4_BLOCK14_PRICE_ATTRIBUTE_ID (0x044D) -#define ZCL_TIER4_BLOCK15_PRICE_ATTRIBUTE_ID (0x044E) -#define ZCL_TIER4_BLOCK16_PRICE_ATTRIBUTE_ID (0x044F) -#define ZCL_TIER5_BLOCK1_PRICE_ATTRIBUTE_ID (0x0450) -#define ZCL_TIER5_BLOCK2_PRICE_ATTRIBUTE_ID (0x0451) -#define ZCL_TIER5_BLOCK3_PRICE_ATTRIBUTE_ID (0x0452) -#define ZCL_TIER5_BLOCK4_PRICE_ATTRIBUTE_ID (0x0453) -#define ZCL_TIER5_BLOCK5_PRICE_ATTRIBUTE_ID (0x0454) -#define ZCL_TIER5_BLOCK6_PRICE_ATTRIBUTE_ID (0x0455) -#define ZCL_TIER5_BLOCK7_PRICE_ATTRIBUTE_ID (0x0456) -#define ZCL_TIER5_BLOCK8_PRICE_ATTRIBUTE_ID (0x0457) -#define ZCL_TIER5_BLOCK9_PRICE_ATTRIBUTE_ID (0x0458) -#define ZCL_TIER5_BLOCK10_PRICE_ATTRIBUTE_ID (0x0459) -#define ZCL_TIER5_BLOCK11_PRICE_ATTRIBUTE_ID (0x045A) -#define ZCL_TIER5_BLOCK12_PRICE_ATTRIBUTE_ID (0x045B) -#define ZCL_TIER5_BLOCK13_PRICE_ATTRIBUTE_ID (0x045C) -#define ZCL_TIER5_BLOCK14_PRICE_ATTRIBUTE_ID (0x045D) -#define ZCL_TIER5_BLOCK15_PRICE_ATTRIBUTE_ID (0x045E) -#define ZCL_TIER5_BLOCK16_PRICE_ATTRIBUTE_ID (0x045F) -#define ZCL_TIER6_BLOCK1_PRICE_ATTRIBUTE_ID (0x0460) -#define ZCL_TIER6_BLOCK2_PRICE_ATTRIBUTE_ID (0x0461) -#define ZCL_TIER6_BLOCK3_PRICE_ATTRIBUTE_ID (0x0462) -#define ZCL_TIER6_BLOCK4_PRICE_ATTRIBUTE_ID (0x0463) -#define ZCL_TIER6_BLOCK5_PRICE_ATTRIBUTE_ID (0x0464) -#define ZCL_TIER6_BLOCK6_PRICE_ATTRIBUTE_ID (0x0465) -#define ZCL_TIER6_BLOCK7_PRICE_ATTRIBUTE_ID (0x0466) -#define ZCL_TIER6_BLOCK8_PRICE_ATTRIBUTE_ID (0x0467) -#define ZCL_TIER6_BLOCK9_PRICE_ATTRIBUTE_ID (0x0468) -#define ZCL_TIER6_BLOCK10_PRICE_ATTRIBUTE_ID (0x0469) -#define ZCL_TIER6_BLOCK11_PRICE_ATTRIBUTE_ID (0x046A) -#define ZCL_TIER6_BLOCK12_PRICE_ATTRIBUTE_ID (0x046B) -#define ZCL_TIER6_BLOCK13_PRICE_ATTRIBUTE_ID (0x046C) -#define ZCL_TIER6_BLOCK14_PRICE_ATTRIBUTE_ID (0x046D) -#define ZCL_TIER6_BLOCK15_PRICE_ATTRIBUTE_ID (0x046E) -#define ZCL_TIER6_BLOCK16_PRICE_ATTRIBUTE_ID (0x046F) -#define ZCL_TIER7_BLOCK1_PRICE_ATTRIBUTE_ID (0x0470) -#define ZCL_TIER7_BLOCK2_PRICE_ATTRIBUTE_ID (0x0471) -#define ZCL_TIER7_BLOCK3_PRICE_ATTRIBUTE_ID (0x0472) -#define ZCL_TIER7_BLOCK4_PRICE_ATTRIBUTE_ID (0x0473) -#define ZCL_TIER7_BLOCK5_PRICE_ATTRIBUTE_ID (0x0474) -#define ZCL_TIER7_BLOCK6_PRICE_ATTRIBUTE_ID (0x0475) -#define ZCL_TIER7_BLOCK7_PRICE_ATTRIBUTE_ID (0x0476) -#define ZCL_TIER7_BLOCK8_PRICE_ATTRIBUTE_ID (0x0477) -#define ZCL_TIER7_BLOCK9_PRICE_ATTRIBUTE_ID (0x0478) -#define ZCL_TIER7_BLOCK10_PRICE_ATTRIBUTE_ID (0x0479) -#define ZCL_TIER7_BLOCK11_PRICE_ATTRIBUTE_ID (0x047A) -#define ZCL_TIER7_BLOCK12_PRICE_ATTRIBUTE_ID (0x047B) -#define ZCL_TIER7_BLOCK13_PRICE_ATTRIBUTE_ID (0x047C) -#define ZCL_TIER7_BLOCK14_PRICE_ATTRIBUTE_ID (0x047D) -#define ZCL_TIER7_BLOCK15_PRICE_ATTRIBUTE_ID (0x047E) -#define ZCL_TIER7_BLOCK16_PRICE_ATTRIBUTE_ID (0x047F) -#define ZCL_TIER8_BLOCK1_PRICE_ATTRIBUTE_ID (0x0480) -#define ZCL_TIER8_BLOCK2_PRICE_ATTRIBUTE_ID (0x0481) -#define ZCL_TIER8_BLOCK3_PRICE_ATTRIBUTE_ID (0x0482) -#define ZCL_TIER8_BLOCK4_PRICE_ATTRIBUTE_ID (0x0483) -#define ZCL_TIER8_BLOCK5_PRICE_ATTRIBUTE_ID (0x0484) -#define ZCL_TIER8_BLOCK6_PRICE_ATTRIBUTE_ID (0x0485) -#define ZCL_TIER8_BLOCK7_PRICE_ATTRIBUTE_ID (0x0486) -#define ZCL_TIER8_BLOCK8_PRICE_ATTRIBUTE_ID (0x0487) -#define ZCL_TIER8_BLOCK9_PRICE_ATTRIBUTE_ID (0x0488) -#define ZCL_TIER8_BLOCK10_PRICE_ATTRIBUTE_ID (0x0489) -#define ZCL_TIER8_BLOCK11_PRICE_ATTRIBUTE_ID (0x048A) -#define ZCL_TIER8_BLOCK12_PRICE_ATTRIBUTE_ID (0x048B) -#define ZCL_TIER8_BLOCK13_PRICE_ATTRIBUTE_ID (0x048C) -#define ZCL_TIER8_BLOCK14_PRICE_ATTRIBUTE_ID (0x048D) -#define ZCL_TIER8_BLOCK15_PRICE_ATTRIBUTE_ID (0x048E) -#define ZCL_TIER8_BLOCK16_PRICE_ATTRIBUTE_ID (0x048F) -#define ZCL_TIER9_BLOCK1_PRICE_ATTRIBUTE_ID (0x0490) -#define ZCL_TIER9_BLOCK2_PRICE_ATTRIBUTE_ID (0x0491) -#define ZCL_TIER9_BLOCK3_PRICE_ATTRIBUTE_ID (0x0492) -#define ZCL_TIER9_BLOCK4_PRICE_ATTRIBUTE_ID (0x0493) -#define ZCL_TIER9_BLOCK5_PRICE_ATTRIBUTE_ID (0x0494) -#define ZCL_TIER9_BLOCK6_PRICE_ATTRIBUTE_ID (0x0495) -#define ZCL_TIER9_BLOCK7_PRICE_ATTRIBUTE_ID (0x0496) -#define ZCL_TIER9_BLOCK8_PRICE_ATTRIBUTE_ID (0x0497) -#define ZCL_TIER9_BLOCK9_PRICE_ATTRIBUTE_ID (0x0498) -#define ZCL_TIER9_BLOCK10_PRICE_ATTRIBUTE_ID (0x0499) -#define ZCL_TIER9_BLOCK11_PRICE_ATTRIBUTE_ID (0x049A) -#define ZCL_TIER9_BLOCK12_PRICE_ATTRIBUTE_ID (0x049B) -#define ZCL_TIER9_BLOCK13_PRICE_ATTRIBUTE_ID (0x049C) -#define ZCL_TIER9_BLOCK14_PRICE_ATTRIBUTE_ID (0x049D) -#define ZCL_TIER9_BLOCK15_PRICE_ATTRIBUTE_ID (0x049E) -#define ZCL_TIER9_BLOCK16_PRICE_ATTRIBUTE_ID (0x049F) -#define ZCL_TIER10_BLOCK1_PRICE_ATTRIBUTE_ID (0x04A0) -#define ZCL_TIER10_BLOCK2_PRICE_ATTRIBUTE_ID (0x04A1) -#define ZCL_TIER10_BLOCK3_PRICE_ATTRIBUTE_ID (0x04A2) -#define ZCL_TIER10_BLOCK4_PRICE_ATTRIBUTE_ID (0x04A3) -#define ZCL_TIER10_BLOCK5_PRICE_ATTRIBUTE_ID (0x04A4) -#define ZCL_TIER10_BLOCK6_PRICE_ATTRIBUTE_ID (0x04A5) -#define ZCL_TIER10_BLOCK7_PRICE_ATTRIBUTE_ID (0x04A6) -#define ZCL_TIER10_BLOCK8_PRICE_ATTRIBUTE_ID (0x04A7) -#define ZCL_TIER10_BLOCK9_PRICE_ATTRIBUTE_ID (0x04A8) -#define ZCL_TIER10_BLOCK10_PRICE_ATTRIBUTE_ID (0x04A9) -#define ZCL_TIER10_BLOCK11_PRICE_ATTRIBUTE_ID (0x04AA) -#define ZCL_TIER10_BLOCK12_PRICE_ATTRIBUTE_ID (0x04AB) -#define ZCL_TIER10_BLOCK13_PRICE_ATTRIBUTE_ID (0x04AC) -#define ZCL_TIER10_BLOCK14_PRICE_ATTRIBUTE_ID (0x04AD) -#define ZCL_TIER10_BLOCK15_PRICE_ATTRIBUTE_ID (0x04AE) -#define ZCL_TIER10_BLOCK16_PRICE_ATTRIBUTE_ID (0x04AF) -#define ZCL_TIER11_BLOCK1_PRICE_ATTRIBUTE_ID (0x04B0) -#define ZCL_TIER11_BLOCK2_PRICE_ATTRIBUTE_ID (0x04B1) -#define ZCL_TIER11_BLOCK3_PRICE_ATTRIBUTE_ID (0x04B2) -#define ZCL_TIER11_BLOCK4_PRICE_ATTRIBUTE_ID (0x04B3) -#define ZCL_TIER11_BLOCK5_PRICE_ATTRIBUTE_ID (0x04B4) -#define ZCL_TIER11_BLOCK6_PRICE_ATTRIBUTE_ID (0x04B5) -#define ZCL_TIER11_BLOCK7_PRICE_ATTRIBUTE_ID (0x04B6) -#define ZCL_TIER11_BLOCK8_PRICE_ATTRIBUTE_ID (0x04B7) -#define ZCL_TIER11_BLOCK9_PRICE_ATTRIBUTE_ID (0x04B8) -#define ZCL_TIER11_BLOCK10_PRICE_ATTRIBUTE_ID (0x04B9) -#define ZCL_TIER11_BLOCK11_PRICE_ATTRIBUTE_ID (0x04BA) -#define ZCL_TIER11_BLOCK12_PRICE_ATTRIBUTE_ID (0x04BB) -#define ZCL_TIER11_BLOCK13_PRICE_ATTRIBUTE_ID (0x04BC) -#define ZCL_TIER11_BLOCK14_PRICE_ATTRIBUTE_ID (0x04BD) -#define ZCL_TIER11_BLOCK15_PRICE_ATTRIBUTE_ID (0x04BE) -#define ZCL_TIER11_BLOCK16_PRICE_ATTRIBUTE_ID (0x04BF) -#define ZCL_TIER12_BLOCK1_PRICE_ATTRIBUTE_ID (0x04C0) -#define ZCL_TIER12_BLOCK2_PRICE_ATTRIBUTE_ID (0x04C1) -#define ZCL_TIER12_BLOCK3_PRICE_ATTRIBUTE_ID (0x04C2) -#define ZCL_TIER12_BLOCK4_PRICE_ATTRIBUTE_ID (0x04C3) -#define ZCL_TIER12_BLOCK5_PRICE_ATTRIBUTE_ID (0x04C4) -#define ZCL_TIER12_BLOCK6_PRICE_ATTRIBUTE_ID (0x04C5) -#define ZCL_TIER12_BLOCK7_PRICE_ATTRIBUTE_ID (0x04C6) -#define ZCL_TIER12_BLOCK8_PRICE_ATTRIBUTE_ID (0x04C7) -#define ZCL_TIER12_BLOCK9_PRICE_ATTRIBUTE_ID (0x04C8) -#define ZCL_TIER12_BLOCK10_PRICE_ATTRIBUTE_ID (0x04C9) -#define ZCL_TIER12_BLOCK11_PRICE_ATTRIBUTE_ID (0x04CA) -#define ZCL_TIER12_BLOCK12_PRICE_ATTRIBUTE_ID (0x04CB) -#define ZCL_TIER12_BLOCK13_PRICE_ATTRIBUTE_ID (0x04CC) -#define ZCL_TIER12_BLOCK14_PRICE_ATTRIBUTE_ID (0x04CD) -#define ZCL_TIER12_BLOCK15_PRICE_ATTRIBUTE_ID (0x04CE) -#define ZCL_TIER12_BLOCK16_PRICE_ATTRIBUTE_ID (0x04CF) -#define ZCL_TIER13_BLOCK1_PRICE_ATTRIBUTE_ID (0x04D0) -#define ZCL_TIER13_BLOCK2_PRICE_ATTRIBUTE_ID (0x04D1) -#define ZCL_TIER13_BLOCK3_PRICE_ATTRIBUTE_ID (0x04D2) -#define ZCL_TIER13_BLOCK4_PRICE_ATTRIBUTE_ID (0x04D3) -#define ZCL_TIER13_BLOCK5_PRICE_ATTRIBUTE_ID (0x04D4) -#define ZCL_TIER13_BLOCK6_PRICE_ATTRIBUTE_ID (0x04D5) -#define ZCL_TIER13_BLOCK7_PRICE_ATTRIBUTE_ID (0x04D6) -#define ZCL_TIER13_BLOCK8_PRICE_ATTRIBUTE_ID (0x04D7) -#define ZCL_TIER13_BLOCK9_PRICE_ATTRIBUTE_ID (0x04D8) -#define ZCL_TIER13_BLOCK10_PRICE_ATTRIBUTE_ID (0x04D9) -#define ZCL_TIER13_BLOCK11_PRICE_ATTRIBUTE_ID (0x04DA) -#define ZCL_TIER13_BLOCK12_PRICE_ATTRIBUTE_ID (0x04DB) -#define ZCL_TIER13_BLOCK13_PRICE_ATTRIBUTE_ID (0x04DC) -#define ZCL_TIER13_BLOCK14_PRICE_ATTRIBUTE_ID (0x04DD) -#define ZCL_TIER13_BLOCK15_PRICE_ATTRIBUTE_ID (0x04DE) -#define ZCL_TIER13_BLOCK16_PRICE_ATTRIBUTE_ID (0x04DF) -#define ZCL_TIER14_BLOCK1_PRICE_ATTRIBUTE_ID (0x04E0) -#define ZCL_TIER14_BLOCK2_PRICE_ATTRIBUTE_ID (0x04E1) -#define ZCL_TIER14_BLOCK3_PRICE_ATTRIBUTE_ID (0x04E2) -#define ZCL_TIER14_BLOCK4_PRICE_ATTRIBUTE_ID (0x04E3) -#define ZCL_TIER14_BLOCK5_PRICE_ATTRIBUTE_ID (0x04E4) -#define ZCL_TIER14_BLOCK6_PRICE_ATTRIBUTE_ID (0x04E5) -#define ZCL_TIER14_BLOCK7_PRICE_ATTRIBUTE_ID (0x04E6) -#define ZCL_TIER14_BLOCK8_PRICE_ATTRIBUTE_ID (0x04E7) -#define ZCL_TIER14_BLOCK9_PRICE_ATTRIBUTE_ID (0x04E8) -#define ZCL_TIER14_BLOCK10_PRICE_ATTRIBUTE_ID (0x04E9) -#define ZCL_TIER14_BLOCK11_PRICE_ATTRIBUTE_ID (0x04EA) -#define ZCL_TIER14_BLOCK12_PRICE_ATTRIBUTE_ID (0x04EB) -#define ZCL_TIER14_BLOCK13_PRICE_ATTRIBUTE_ID (0x04EC) -#define ZCL_TIER14_BLOCK14_PRICE_ATTRIBUTE_ID (0x04ED) -#define ZCL_TIER14_BLOCK15_PRICE_ATTRIBUTE_ID (0x04EE) -#define ZCL_TIER14_BLOCK16_PRICE_ATTRIBUTE_ID (0x04EF) -#define ZCL_TIER15_BLOCK1_PRICE_ATTRIBUTE_ID (0x04F0) -#define ZCL_TIER15_BLOCK2_PRICE_ATTRIBUTE_ID (0x04F1) -#define ZCL_TIER15_BLOCK3_PRICE_ATTRIBUTE_ID (0x04F2) -#define ZCL_TIER15_BLOCK4_PRICE_ATTRIBUTE_ID (0x04F3) -#define ZCL_TIER15_BLOCK5_PRICE_ATTRIBUTE_ID (0x04F4) -#define ZCL_TIER15_BLOCK6_PRICE_ATTRIBUTE_ID (0x04F5) -#define ZCL_TIER15_BLOCK7_PRICE_ATTRIBUTE_ID (0x04F6) -#define ZCL_TIER15_BLOCK8_PRICE_ATTRIBUTE_ID (0x04F7) -#define ZCL_TIER15_BLOCK9_PRICE_ATTRIBUTE_ID (0x04F8) -#define ZCL_TIER15_BLOCK10_PRICE_ATTRIBUTE_ID (0x04F9) -#define ZCL_TIER15_BLOCK11_PRICE_ATTRIBUTE_ID (0x04FA) -#define ZCL_TIER15_BLOCK12_PRICE_ATTRIBUTE_ID (0x04FB) -#define ZCL_TIER15_BLOCK13_PRICE_ATTRIBUTE_ID (0x04FC) -#define ZCL_TIER15_BLOCK14_PRICE_ATTRIBUTE_ID (0x04FD) -#define ZCL_TIER15_BLOCK15_PRICE_ATTRIBUTE_ID (0x04FE) -#define ZCL_TIER15_BLOCK16_PRICE_ATTRIBUTE_ID (0x04FF) -#define ZCL_PRICE_TIER16_ATTRIBUTE_ID (0x050F) -#define ZCL_PRICE_TIER17_ATTRIBUTE_ID (0x0510) -#define ZCL_PRICE_TIER18_ATTRIBUTE_ID (0x0511) -#define ZCL_PRICE_TIER19_ATTRIBUTE_ID (0x0512) -#define ZCL_PRICE_TIER20_ATTRIBUTE_ID (0x0513) -#define ZCL_PRICE_TIER21_ATTRIBUTE_ID (0x0514) -#define ZCL_PRICE_TIER22_ATTRIBUTE_ID (0x0515) -#define ZCL_PRICE_TIER23_ATTRIBUTE_ID (0x0516) -#define ZCL_PRICE_TIER24_ATTRIBUTE_ID (0x0517) -#define ZCL_PRICE_TIER25_ATTRIBUTE_ID (0x0518) -#define ZCL_PRICE_TIER26_ATTRIBUTE_ID (0x0519) -#define ZCL_PRICE_TIER27_ATTRIBUTE_ID (0x051A) -#define ZCL_PRICE_TIER28_ATTRIBUTE_ID (0x051B) -#define ZCL_PRICE_TIER29_ATTRIBUTE_ID (0x051C) -#define ZCL_PRICE_TIER30_ATTRIBUTE_ID (0x051D) -#define ZCL_PRICE_TIER31_ATTRIBUTE_ID (0x051E) -#define ZCL_PRICE_TIER32_ATTRIBUTE_ID (0x051F) -#define ZCL_PRICE_TIER33_ATTRIBUTE_ID (0x0520) -#define ZCL_PRICE_TIER34_ATTRIBUTE_ID (0x0521) -#define ZCL_PRICE_TIER35_ATTRIBUTE_ID (0x0522) -#define ZCL_PRICE_TIER36_ATTRIBUTE_ID (0x0523) -#define ZCL_PRICE_TIER37_ATTRIBUTE_ID (0x0524) -#define ZCL_PRICE_TIER38_ATTRIBUTE_ID (0x0525) -#define ZCL_PRICE_TIER39_ATTRIBUTE_ID (0x0526) -#define ZCL_PRICE_TIER40_ATTRIBUTE_ID (0x0527) -#define ZCL_PRICE_TIER41_ATTRIBUTE_ID (0x0528) -#define ZCL_PRICE_TIER42_ATTRIBUTE_ID (0x0529) -#define ZCL_PRICE_TIER43_ATTRIBUTE_ID (0x052A) -#define ZCL_PRICE_TIER44_ATTRIBUTE_ID (0x052B) -#define ZCL_PRICE_TIER45_ATTRIBUTE_ID (0x052C) -#define ZCL_PRICE_TIER46_ATTRIBUTE_ID (0x052D) -#define ZCL_PRICE_TIER47_ATTRIBUTE_ID (0x052E) -#define ZCL_PRICE_TIER48_ATTRIBUTE_ID (0x052F) -#define ZCL_CPP1_PRICE_ATTRIBUTE_ID (0x05FE) -#define ZCL_CPP2_PRICE_ATTRIBUTE_ID (0x05FF) -#define ZCL_TARIFF_LABEL_ATTRIBUTE_ID (0x0610) -#define ZCL_NUMBER_OF_PRICE_TIERS_IN_USE_ATTRIBUTE_ID (0x0611) -#define ZCL_NUMBER_OF_BLOCK_THRESHOLDS_IN_USE_ATTRIBUTE_ID (0x0612) -#define ZCL_TIER_BLOCK_MODE_ATTRIBUTE_ID (0x0613) -#define ZCL_TARIFF_UNIT_OF_MEASURE_ATTRIBUTE_ID (0x0615) -#define ZCL_TARIFF_CURRENCY_ATTRIBUTE_ID (0x0616) -#define ZCL_TARIFF_PRICE_TRAILING_DIGIT_ATTRIBUTE_ID (0x0617) -#define ZCL_TARIFF_RESOLUTION_PERIOD_ATTRIBUTE_ID (0x0619) -#define ZCL_TARIFF_CO2_ATTRIBUTE_ID (0x0620) -#define ZCL_TARIFF_CO2_UNIT_ATTRIBUTE_ID (0x0621) -#define ZCL_TARIFF_CO2_TRAILING_DIGIT_ATTRIBUTE_ID (0x0622) -#define ZCL_CURRENT_BILLING_PERIOD_START_ATTRIBUTE_ID (0x0700) -#define ZCL_CURRENT_BILLING_PERIOD_DURATION_ATTRIBUTE_ID (0x0701) -#define ZCL_LAST_BILLING_PERIOD_START_ATTRIBUTE_ID (0x0702) -#define ZCL_LAST_BILLING_PERIOD_DURATION_ATTRIBUTE_ID (0x0703) -#define ZCL_LAST_BILLING_PERIOD_CONSOLIDATED_BILL_ATTRIBUTE_ID (0x0704) -#define ZCL_CREDIT_PAYMENT_DUE_DATE_ATTRIBUTE_ID (0x0800) -#define ZCL_CREDIT_PAYMENT_STATUS_ATTRIBUTE_ID (0x0801) -#define ZCL_CREDIT_PAYMENT_OVER_DUE_AMOUNT_ATTRIBUTE_ID (0x0802) -#define ZCL_PAYMENT_DISCOUNT_ATTRIBUTE_ID (0x080A) -#define ZCL_PAYMENT_DISCOUNT_PERIOD_ATTRIBUTE_ID (0x080B) -#define ZCL_CREDIT_PAYMENT_1_ATTRIBUTE_ID (0x0810) -#define ZCL_CREDIT_PAYMENT_DATE_1_ATTRIBUTE_ID (0x0811) -#define ZCL_CREDIT_PAYMENT_REF_1_ATTRIBUTE_ID (0x0812) -#define ZCL_CREDIT_PAYMENT_2_ATTRIBUTE_ID (0x0820) -#define ZCL_CREDIT_PAYMENT_DATE_2_ATTRIBUTE_ID (0x0821) -#define ZCL_CREDIT_PAYMENT_REF_2_ATTRIBUTE_ID (0x0822) -#define ZCL_CREDIT_PAYMENT_3_ATTRIBUTE_ID (0x0830) -#define ZCL_CREDIT_PAYMENT_DATE_3_ATTRIBUTE_ID (0x0831) -#define ZCL_CREDIT_PAYMENT_REF_3_ATTRIBUTE_ID (0x0832) -#define ZCL_CREDIT_PAYMENT_4_ATTRIBUTE_ID (0x0840) -#define ZCL_CREDIT_PAYMENT_DATE_4_ATTRIBUTE_ID (0x0841) -#define ZCL_CREDIT_PAYMENT_REF_4_ATTRIBUTE_ID (0x0842) -#define ZCL_CREDIT_PAYMENT_5_ATTRIBUTE_ID (0x0850) -#define ZCL_CREDIT_PAYMENT_DATE_5_ATTRIBUTE_ID (0x0851) -#define ZCL_CREDIT_PAYMENT_REF_5_ATTRIBUTE_ID (0x0852) -#define ZCL_RX_TIER1_PRICE_LABEL_ATTRIBUTE_ID (0x8000) -#define ZCL_RX_TIER2_PRICE_LABEL_ATTRIBUTE_ID (0x8001) -#define ZCL_RX_TIER3_PRICE_LABEL_ATTRIBUTE_ID (0x8002) -#define ZCL_RX_TIER4_PRICE_LABEL_ATTRIBUTE_ID (0x8003) -#define ZCL_RX_TIER5_PRICE_LABEL_ATTRIBUTE_ID (0x8004) -#define ZCL_RX_TIER6_PRICE_LABEL_ATTRIBUTE_ID (0x8005) -#define ZCL_RX_TIER7_PRICE_LABEL_ATTRIBUTE_ID (0x8006) -#define ZCL_RX_TIER8_PRICE_LABEL_ATTRIBUTE_ID (0x8007) -#define ZCL_RX_TIER9_PRICE_LABEL_ATTRIBUTE_ID (0x8008) -#define ZCL_RX_TIER10_PRICE_LABEL_ATTRIBUTE_ID (0x8009) -#define ZCL_RX_TIER11_PRICE_LABEL_ATTRIBUTE_ID (0x800A) -#define ZCL_RX_TIER12_PRICE_LABEL_ATTRIBUTE_ID (0x800B) -#define ZCL_RX_TIER13_PRICE_LABEL_ATTRIBUTE_ID (0x800C) -#define ZCL_RX_TIER14_PRICE_LABEL_ATTRIBUTE_ID (0x800D) -#define ZCL_RX_TIER15_PRICE_LABEL_ATTRIBUTE_ID (0x800E) -#define ZCL_RX_TIER16_PRICE_LABEL_ATTRIBUTE_ID (0x800F) -#define ZCL_RX_TIER17_PRICE_LABEL_ATTRIBUTE_ID (0x8010) -#define ZCL_RX_TIER18_PRICE_LABEL_ATTRIBUTE_ID (0x8011) -#define ZCL_RX_TIER19_PRICE_LABEL_ATTRIBUTE_ID (0x8012) -#define ZCL_RX_TIER20_PRICE_LABEL_ATTRIBUTE_ID (0x8013) -#define ZCL_RX_TIER21_PRICE_LABEL_ATTRIBUTE_ID (0x8014) -#define ZCL_RX_TIER22_PRICE_LABEL_ATTRIBUTE_ID (0x8015) -#define ZCL_RX_TIER23_PRICE_LABEL_ATTRIBUTE_ID (0x8016) -#define ZCL_RX_TIER24_PRICE_LABEL_ATTRIBUTE_ID (0x8017) -#define ZCL_RX_TIER25_PRICE_LABEL_ATTRIBUTE_ID (0x8018) -#define ZCL_RX_TIER26_PRICE_LABEL_ATTRIBUTE_ID (0x8019) -#define ZCL_RX_TIER27_PRICE_LABEL_ATTRIBUTE_ID (0x801A) -#define ZCL_RX_TIER28_PRICE_LABEL_ATTRIBUTE_ID (0x801B) -#define ZCL_RX_TIER29_PRICE_LABEL_ATTRIBUTE_ID (0x801C) -#define ZCL_RX_TIER30_PRICE_LABEL_ATTRIBUTE_ID (0x801D) -#define ZCL_RX_TIER31_PRICE_LABEL_ATTRIBUTE_ID (0x801E) -#define ZCL_RX_TIER32_PRICE_LABEL_ATTRIBUTE_ID (0x801F) -#define ZCL_RX_TIER33_PRICE_LABEL_ATTRIBUTE_ID (0x8020) -#define ZCL_RX_TIER34_PRICE_LABEL_ATTRIBUTE_ID (0x8021) -#define ZCL_RX_TIER35_PRICE_LABEL_ATTRIBUTE_ID (0x8022) -#define ZCL_RX_TIER36_PRICE_LABEL_ATTRIBUTE_ID (0x8023) -#define ZCL_RX_TIER37_PRICE_LABEL_ATTRIBUTE_ID (0x8024) -#define ZCL_RX_TIER38_PRICE_LABEL_ATTRIBUTE_ID (0x8025) -#define ZCL_RX_TIER39_PRICE_LABEL_ATTRIBUTE_ID (0x8026) -#define ZCL_RX_TIER40_PRICE_LABEL_ATTRIBUTE_ID (0x8027) -#define ZCL_RX_TIER41_PRICE_LABEL_ATTRIBUTE_ID (0x8028) -#define ZCL_RX_TIER42_PRICE_LABEL_ATTRIBUTE_ID (0x8029) -#define ZCL_RX_TIER43_PRICE_LABEL_ATTRIBUTE_ID (0x802A) -#define ZCL_RX_TIER44_PRICE_LABEL_ATTRIBUTE_ID (0x802B) -#define ZCL_RX_TIER45_PRICE_LABEL_ATTRIBUTE_ID (0x802C) -#define ZCL_RX_TIER46_PRICE_LABEL_ATTRIBUTE_ID (0x802D) -#define ZCL_RX_TIER47_PRICE_LABEL_ATTRIBUTE_ID (0x802E) -#define ZCL_RX_TIER48_PRICE_LABEL_ATTRIBUTE_ID (0x802F) -#define ZCL_RX_BLOCK1_THRESHOLD_ATTRIBUTE_ID (0x8100) -#define ZCL_RX_BLOCK2_THRESHOLD_ATTRIBUTE_ID (0x8101) -#define ZCL_RX_BLOCK3_THRESHOLD_ATTRIBUTE_ID (0x8102) -#define ZCL_RX_BLOCK4_THRESHOLD_ATTRIBUTE_ID (0x8103) -#define ZCL_RX_BLOCK5_THRESHOLD_ATTRIBUTE_ID (0x8104) -#define ZCL_RX_BLOCK6_THRESHOLD_ATTRIBUTE_ID (0x8105) -#define ZCL_RX_BLOCK7_THRESHOLD_ATTRIBUTE_ID (0x8106) -#define ZCL_RX_BLOCK8_THRESHOLD_ATTRIBUTE_ID (0x8107) -#define ZCL_RX_BLOCK9_THRESHOLD_ATTRIBUTE_ID (0x8108) -#define ZCL_RX_BLOCK10_THRESHOLD_ATTRIBUTE_ID (0x8109) -#define ZCL_RX_BLOCK11_THRESHOLD_ATTRIBUTE_ID (0x810A) -#define ZCL_RX_BLOCK12_THRESHOLD_ATTRIBUTE_ID (0x810B) -#define ZCL_RX_BLOCK13_THRESHOLD_ATTRIBUTE_ID (0x810C) -#define ZCL_RX_BLOCK14_THRESHOLD_ATTRIBUTE_ID (0x810D) -#define ZCL_RX_BLOCK15_THRESHOLD_ATTRIBUTE_ID (0x810E) -#define ZCL_RX_START_OF_BLOCK_PERIOD_ATTRIBUTE_ID (0x8200) -#define ZCL_RX_BLOCK_PERIOD_DURATION_ATTRIBUTE_ID (0x8201) -#define ZCL_RX_THRESHOLD_MULTIPLIER_ATTRIBUTE_ID (0x8202) -#define ZCL_RX_THRESHOLD_DIVISOR_ATTRIBUTE_ID (0x8203) -#define ZCL_RX_NO_TIER_BLOCK1_PRICE_ATTRIBUTE_ID (0x8400) -#define ZCL_RX_NO_TIER_BLOCK2_PRICE_ATTRIBUTE_ID (0x8401) -#define ZCL_RX_NO_TIER_BLOCK3_PRICE_ATTRIBUTE_ID (0x8402) -#define ZCL_RX_NO_TIER_BLOCK4_PRICE_ATTRIBUTE_ID (0x8403) -#define ZCL_RX_NO_TIER_BLOCK5_PRICE_ATTRIBUTE_ID (0x8404) -#define ZCL_RX_NO_TIER_BLOCK6_PRICE_ATTRIBUTE_ID (0x8405) -#define ZCL_RX_NO_TIER_BLOCK7_PRICE_ATTRIBUTE_ID (0x8406) -#define ZCL_RX_NO_TIER_BLOCK8_PRICE_ATTRIBUTE_ID (0x8407) -#define ZCL_RX_NO_TIER_BLOCK9_PRICE_ATTRIBUTE_ID (0x8408) -#define ZCL_RX_NO_TIER_BLOCK10_PRICE_ATTRIBUTE_ID (0x8409) -#define ZCL_RX_NO_TIER_BLOCK11_PRICE_ATTRIBUTE_ID (0x840A) -#define ZCL_RX_NO_TIER_BLOCK12_PRICE_ATTRIBUTE_ID (0x840B) -#define ZCL_RX_NO_TIER_BLOCK13_PRICE_ATTRIBUTE_ID (0x840C) -#define ZCL_RX_NO_TIER_BLOCK14_PRICE_ATTRIBUTE_ID (0x840D) -#define ZCL_RX_NO_TIER_BLOCK15_PRICE_ATTRIBUTE_ID (0x840E) -#define ZCL_RX_NO_TIER_BLOCK16_PRICE_ATTRIBUTE_ID (0x840F) -#define ZCL_RX_TIER1_BLOCK1_PRICE_ATTRIBUTE_ID (0x8410) -#define ZCL_RX_TIER1_BLOCK2_PRICE_ATTRIBUTE_ID (0x8411) -#define ZCL_RX_TIER1_BLOCK3_PRICE_ATTRIBUTE_ID (0x8412) -#define ZCL_RX_TIER1_BLOCK4_PRICE_ATTRIBUTE_ID (0x8413) -#define ZCL_RX_TIER1_BLOCK5_PRICE_ATTRIBUTE_ID (0x8414) -#define ZCL_RX_TIER1_BLOCK6_PRICE_ATTRIBUTE_ID (0x8415) -#define ZCL_RX_TIER1_BLOCK7_PRICE_ATTRIBUTE_ID (0x8416) -#define ZCL_RX_TIER1_BLOCK8_PRICE_ATTRIBUTE_ID (0x8417) -#define ZCL_RX_TIER1_BLOCK9_PRICE_ATTRIBUTE_ID (0x8418) -#define ZCL_RX_TIER1_BLOCK10_PRICE_ATTRIBUTE_ID (0x8419) -#define ZCL_RX_TIER1_BLOCK11_PRICE_ATTRIBUTE_ID (0x841A) -#define ZCL_RX_TIER1_BLOCK12_PRICE_ATTRIBUTE_ID (0x841B) -#define ZCL_RX_TIER1_BLOCK13_PRICE_ATTRIBUTE_ID (0x841C) -#define ZCL_RX_TIER1_BLOCK14_PRICE_ATTRIBUTE_ID (0x841D) -#define ZCL_RX_TIER1_BLOCK15_PRICE_ATTRIBUTE_ID (0x841E) -#define ZCL_RX_TIER1_BLOCK16_PRICE_ATTRIBUTE_ID (0x841F) -#define ZCL_RX_TIER2_BLOCK1_PRICE_ATTRIBUTE_ID (0x8420) -#define ZCL_RX_TIER2_BLOCK2_PRICE_ATTRIBUTE_ID (0x8421) -#define ZCL_RX_TIER2_BLOCK3_PRICE_ATTRIBUTE_ID (0x8422) -#define ZCL_RX_TIER2_BLOCK4_PRICE_ATTRIBUTE_ID (0x8423) -#define ZCL_RX_TIER2_BLOCK5_PRICE_ATTRIBUTE_ID (0x8424) -#define ZCL_RX_TIER2_BLOCK6_PRICE_ATTRIBUTE_ID (0x8425) -#define ZCL_RX_TIER2_BLOCK7_PRICE_ATTRIBUTE_ID (0x8426) -#define ZCL_RX_TIER2_BLOCK8_PRICE_ATTRIBUTE_ID (0x8427) -#define ZCL_RX_TIER2_BLOCK9_PRICE_ATTRIBUTE_ID (0x8428) -#define ZCL_RX_TIER2_BLOCK10_PRICE_ATTRIBUTE_ID (0x8429) -#define ZCL_RX_TIER2_BLOCK11_PRICE_ATTRIBUTE_ID (0x842A) -#define ZCL_RX_TIER2_BLOCK12_PRICE_ATTRIBUTE_ID (0x842B) -#define ZCL_RX_TIER2_BLOCK13_PRICE_ATTRIBUTE_ID (0x842C) -#define ZCL_RX_TIER2_BLOCK14_PRICE_ATTRIBUTE_ID (0x842D) -#define ZCL_RX_TIER2_BLOCK15_PRICE_ATTRIBUTE_ID (0x842E) -#define ZCL_RX_TIER2_BLOCK16_PRICE_ATTRIBUTE_ID (0x842F) -#define ZCL_RX_TIER3_BLOCK1_PRICE_ATTRIBUTE_ID (0x8430) -#define ZCL_RX_TIER3_BLOCK2_PRICE_ATTRIBUTE_ID (0x8431) -#define ZCL_RX_TIER3_BLOCK3_PRICE_ATTRIBUTE_ID (0x8432) -#define ZCL_RX_TIER3_BLOCK4_PRICE_ATTRIBUTE_ID (0x8433) -#define ZCL_RX_TIER3_BLOCK5_PRICE_ATTRIBUTE_ID (0x8434) -#define ZCL_RX_TIER3_BLOCK6_PRICE_ATTRIBUTE_ID (0x8435) -#define ZCL_RX_TIER3_BLOCK7_PRICE_ATTRIBUTE_ID (0x8436) -#define ZCL_RX_TIER3_BLOCK8_PRICE_ATTRIBUTE_ID (0x8437) -#define ZCL_RX_TIER3_BLOCK9_PRICE_ATTRIBUTE_ID (0x8438) -#define ZCL_RX_TIER3_BLOCK10_PRICE_ATTRIBUTE_ID (0x8439) -#define ZCL_RX_TIER3_BLOCK11_PRICE_ATTRIBUTE_ID (0x843A) -#define ZCL_RX_TIER3_BLOCK12_PRICE_ATTRIBUTE_ID (0x843B) -#define ZCL_RX_TIER3_BLOCK13_PRICE_ATTRIBUTE_ID (0x843C) -#define ZCL_RX_TIER3_BLOCK14_PRICE_ATTRIBUTE_ID (0x843D) -#define ZCL_RX_TIER3_BLOCK15_PRICE_ATTRIBUTE_ID (0x843E) -#define ZCL_RX_TIER3_BLOCK16_PRICE_ATTRIBUTE_ID (0x843F) -#define ZCL_RX_TIER4_BLOCK1_PRICE_ATTRIBUTE_ID (0x8440) -#define ZCL_RX_TIER4_BLOCK2_PRICE_ATTRIBUTE_ID (0x8441) -#define ZCL_RX_TIER4_BLOCK3_PRICE_ATTRIBUTE_ID (0x8442) -#define ZCL_RX_TIER4_BLOCK4_PRICE_ATTRIBUTE_ID (0x8443) -#define ZCL_RX_TIER4_BLOCK5_PRICE_ATTRIBUTE_ID (0x8444) -#define ZCL_RX_TIER4_BLOCK6_PRICE_ATTRIBUTE_ID (0x8445) -#define ZCL_RX_TIER4_BLOCK7_PRICE_ATTRIBUTE_ID (0x8446) -#define ZCL_RX_TIER4_BLOCK8_PRICE_ATTRIBUTE_ID (0x8447) -#define ZCL_RX_TIER4_BLOCK9_PRICE_ATTRIBUTE_ID (0x8448) -#define ZCL_RX_TIER4_BLOCK10_PRICE_ATTRIBUTE_ID (0x8449) -#define ZCL_RX_TIER4_BLOCK11_PRICE_ATTRIBUTE_ID (0x844A) -#define ZCL_RX_TIER4_BLOCK12_PRICE_ATTRIBUTE_ID (0x844B) -#define ZCL_RX_TIER4_BLOCK13_PRICE_ATTRIBUTE_ID (0x844C) -#define ZCL_RX_TIER4_BLOCK14_PRICE_ATTRIBUTE_ID (0x844D) -#define ZCL_RX_TIER4_BLOCK15_PRICE_ATTRIBUTE_ID (0x844E) -#define ZCL_RX_TIER4_BLOCK16_PRICE_ATTRIBUTE_ID (0x844F) -#define ZCL_RX_TIER5_BLOCK1_PRICE_ATTRIBUTE_ID (0x8450) -#define ZCL_RX_TIER5_BLOCK2_PRICE_ATTRIBUTE_ID (0x8451) -#define ZCL_RX_TIER5_BLOCK3_PRICE_ATTRIBUTE_ID (0x8452) -#define ZCL_RX_TIER5_BLOCK4_PRICE_ATTRIBUTE_ID (0x8453) -#define ZCL_RX_TIER5_BLOCK5_PRICE_ATTRIBUTE_ID (0x8454) -#define ZCL_RX_TIER5_BLOCK6_PRICE_ATTRIBUTE_ID (0x8455) -#define ZCL_RX_TIER5_BLOCK7_PRICE_ATTRIBUTE_ID (0x8456) -#define ZCL_RX_TIER5_BLOCK8_PRICE_ATTRIBUTE_ID (0x8457) -#define ZCL_RX_TIER5_BLOCK9_PRICE_ATTRIBUTE_ID (0x8458) -#define ZCL_RX_TIER5_BLOCK10_PRICE_ATTRIBUTE_ID (0x8459) -#define ZCL_RX_TIER5_BLOCK11_PRICE_ATTRIBUTE_ID (0x845A) -#define ZCL_RX_TIER5_BLOCK12_PRICE_ATTRIBUTE_ID (0x845B) -#define ZCL_RX_TIER5_BLOCK13_PRICE_ATTRIBUTE_ID (0x845C) -#define ZCL_RX_TIER5_BLOCK14_PRICE_ATTRIBUTE_ID (0x845D) -#define ZCL_RX_TIER5_BLOCK15_PRICE_ATTRIBUTE_ID (0x845E) -#define ZCL_RX_TIER5_BLOCK16_PRICE_ATTRIBUTE_ID (0x845F) -#define ZCL_RX_TIER6_BLOCK1_PRICE_ATTRIBUTE_ID (0x8460) -#define ZCL_RX_TIER6_BLOCK2_PRICE_ATTRIBUTE_ID (0x8461) -#define ZCL_RX_TIER6_BLOCK3_PRICE_ATTRIBUTE_ID (0x8462) -#define ZCL_RX_TIER6_BLOCK4_PRICE_ATTRIBUTE_ID (0x8463) -#define ZCL_RX_TIER6_BLOCK5_PRICE_ATTRIBUTE_ID (0x8464) -#define ZCL_RX_TIER6_BLOCK6_PRICE_ATTRIBUTE_ID (0x8465) -#define ZCL_RX_TIER6_BLOCK7_PRICE_ATTRIBUTE_ID (0x8466) -#define ZCL_RX_TIER6_BLOCK8_PRICE_ATTRIBUTE_ID (0x8467) -#define ZCL_RX_TIER6_BLOCK9_PRICE_ATTRIBUTE_ID (0x8468) -#define ZCL_RX_TIER6_BLOCK10_PRICE_ATTRIBUTE_ID (0x8469) -#define ZCL_RX_TIER6_BLOCK11_PRICE_ATTRIBUTE_ID (0x846A) -#define ZCL_RX_TIER6_BLOCK12_PRICE_ATTRIBUTE_ID (0x846B) -#define ZCL_RX_TIER6_BLOCK13_PRICE_ATTRIBUTE_ID (0x846C) -#define ZCL_RX_TIER6_BLOCK14_PRICE_ATTRIBUTE_ID (0x846D) -#define ZCL_RX_TIER6_BLOCK15_PRICE_ATTRIBUTE_ID (0x846E) -#define ZCL_RX_TIER6_BLOCK16_PRICE_ATTRIBUTE_ID (0x846F) -#define ZCL_RX_TIER7_BLOCK1_PRICE_ATTRIBUTE_ID (0x8470) -#define ZCL_RX_TIER7_BLOCK2_PRICE_ATTRIBUTE_ID (0x8471) -#define ZCL_RX_TIER7_BLOCK3_PRICE_ATTRIBUTE_ID (0x8472) -#define ZCL_RX_TIER7_BLOCK4_PRICE_ATTRIBUTE_ID (0x8473) -#define ZCL_RX_TIER7_BLOCK5_PRICE_ATTRIBUTE_ID (0x8474) -#define ZCL_RX_TIER7_BLOCK6_PRICE_ATTRIBUTE_ID (0x8475) -#define ZCL_RX_TIER7_BLOCK7_PRICE_ATTRIBUTE_ID (0x8476) -#define ZCL_RX_TIER7_BLOCK8_PRICE_ATTRIBUTE_ID (0x8477) -#define ZCL_RX_TIER7_BLOCK9_PRICE_ATTRIBUTE_ID (0x8478) -#define ZCL_RX_TIER7_BLOCK10_PRICE_ATTRIBUTE_ID (0x8479) -#define ZCL_RX_TIER7_BLOCK11_PRICE_ATTRIBUTE_ID (0x847A) -#define ZCL_RX_TIER7_BLOCK12_PRICE_ATTRIBUTE_ID (0x847B) -#define ZCL_RX_TIER7_BLOCK13_PRICE_ATTRIBUTE_ID (0x847C) -#define ZCL_RX_TIER7_BLOCK14_PRICE_ATTRIBUTE_ID (0x847D) -#define ZCL_RX_TIER7_BLOCK15_PRICE_ATTRIBUTE_ID (0x847E) -#define ZCL_RX_TIER7_BLOCK16_PRICE_ATTRIBUTE_ID (0x847F) -#define ZCL_RX_TIER8_BLOCK1_PRICE_ATTRIBUTE_ID (0x8480) -#define ZCL_RX_TIER8_BLOCK2_PRICE_ATTRIBUTE_ID (0x8481) -#define ZCL_RX_TIER8_BLOCK3_PRICE_ATTRIBUTE_ID (0x8482) -#define ZCL_RX_TIER8_BLOCK4_PRICE_ATTRIBUTE_ID (0x8483) -#define ZCL_RX_TIER8_BLOCK5_PRICE_ATTRIBUTE_ID (0x8484) -#define ZCL_RX_TIER8_BLOCK6_PRICE_ATTRIBUTE_ID (0x8485) -#define ZCL_RX_TIER8_BLOCK7_PRICE_ATTRIBUTE_ID (0x8486) -#define ZCL_RX_TIER8_BLOCK8_PRICE_ATTRIBUTE_ID (0x8487) -#define ZCL_RX_TIER8_BLOCK9_PRICE_ATTRIBUTE_ID (0x8488) -#define ZCL_RX_TIER8_BLOCK10_PRICE_ATTRIBUTE_ID (0x8489) -#define ZCL_RX_TIER8_BLOCK11_PRICE_ATTRIBUTE_ID (0x848A) -#define ZCL_RX_TIER8_BLOCK12_PRICE_ATTRIBUTE_ID (0x848B) -#define ZCL_RX_TIER8_BLOCK13_PRICE_ATTRIBUTE_ID (0x848C) -#define ZCL_RX_TIER8_BLOCK14_PRICE_ATTRIBUTE_ID (0x848D) -#define ZCL_RX_TIER8_BLOCK15_PRICE_ATTRIBUTE_ID (0x848E) -#define ZCL_RX_TIER8_BLOCK16_PRICE_ATTRIBUTE_ID (0x848F) -#define ZCL_RX_TIER9_BLOCK1_PRICE_ATTRIBUTE_ID (0x8490) -#define ZCL_RX_TIER9_BLOCK2_PRICE_ATTRIBUTE_ID (0x8491) -#define ZCL_RX_TIER9_BLOCK3_PRICE_ATTRIBUTE_ID (0x8492) -#define ZCL_RX_TIER9_BLOCK4_PRICE_ATTRIBUTE_ID (0x8493) -#define ZCL_RX_TIER9_BLOCK5_PRICE_ATTRIBUTE_ID (0x8494) -#define ZCL_RX_TIER9_BLOCK6_PRICE_ATTRIBUTE_ID (0x8495) -#define ZCL_RX_TIER9_BLOCK7_PRICE_ATTRIBUTE_ID (0x8496) -#define ZCL_RX_TIER9_BLOCK8_PRICE_ATTRIBUTE_ID (0x8497) -#define ZCL_RX_TIER9_BLOCK9_PRICE_ATTRIBUTE_ID (0x8498) -#define ZCL_RX_TIER9_BLOCK10_PRICE_ATTRIBUTE_ID (0x8499) -#define ZCL_RX_TIER9_BLOCK11_PRICE_ATTRIBUTE_ID (0x849A) -#define ZCL_RX_TIER9_BLOCK12_PRICE_ATTRIBUTE_ID (0x849B) -#define ZCL_RX_TIER9_BLOCK13_PRICE_ATTRIBUTE_ID (0x849C) -#define ZCL_RX_TIER9_BLOCK14_PRICE_ATTRIBUTE_ID (0x849D) -#define ZCL_RX_TIER9_BLOCK15_PRICE_ATTRIBUTE_ID (0x849E) -#define ZCL_RX_TIER9_BLOCK16_PRICE_ATTRIBUTE_ID (0x849F) -#define ZCL_RX_TIER10_BLOCK1_PRICE_ATTRIBUTE_ID (0x84A0) -#define ZCL_RX_TIER10_BLOCK2_PRICE_ATTRIBUTE_ID (0x84A1) -#define ZCL_RX_TIER10_BLOCK3_PRICE_ATTRIBUTE_ID (0x84A2) -#define ZCL_RX_TIER10_BLOCK4_PRICE_ATTRIBUTE_ID (0x84A3) -#define ZCL_RX_TIER10_BLOCK5_PRICE_ATTRIBUTE_ID (0x84A4) -#define ZCL_RX_TIER10_BLOCK6_PRICE_ATTRIBUTE_ID (0x84A5) -#define ZCL_RX_TIER10_BLOCK7_PRICE_ATTRIBUTE_ID (0x84A6) -#define ZCL_RX_TIER10_BLOCK8_PRICE_ATTRIBUTE_ID (0x84A7) -#define ZCL_RX_TIER10_BLOCK9_PRICE_ATTRIBUTE_ID (0x84A8) -#define ZCL_RX_TIER10_BLOCK10_PRICE_ATTRIBUTE_ID (0x84A9) -#define ZCL_RX_TIER10_BLOCK11_PRICE_ATTRIBUTE_ID (0x84AA) -#define ZCL_RX_TIER10_BLOCK12_PRICE_ATTRIBUTE_ID (0x84AB) -#define ZCL_RX_TIER10_BLOCK13_PRICE_ATTRIBUTE_ID (0x84AC) -#define ZCL_RX_TIER10_BLOCK14_PRICE_ATTRIBUTE_ID (0x84AD) -#define ZCL_RX_TIER10_BLOCK15_PRICE_ATTRIBUTE_ID (0x84AE) -#define ZCL_RX_TIER10_BLOCK16_PRICE_ATTRIBUTE_ID (0x84AF) -#define ZCL_RX_TIER11_BLOCK1_PRICE_ATTRIBUTE_ID (0x84B0) -#define ZCL_RX_TIER11_BLOCK2_PRICE_ATTRIBUTE_ID (0x84B1) -#define ZCL_RX_TIER11_BLOCK3_PRICE_ATTRIBUTE_ID (0x84B2) -#define ZCL_RX_TIER11_BLOCK4_PRICE_ATTRIBUTE_ID (0x84B3) -#define ZCL_RX_TIER11_BLOCK5_PRICE_ATTRIBUTE_ID (0x84B4) -#define ZCL_RX_TIER11_BLOCK6_PRICE_ATTRIBUTE_ID (0x84B5) -#define ZCL_RX_TIER11_BLOCK7_PRICE_ATTRIBUTE_ID (0x84B6) -#define ZCL_RX_TIER11_BLOCK8_PRICE_ATTRIBUTE_ID (0x84B7) -#define ZCL_RX_TIER11_BLOCK9_PRICE_ATTRIBUTE_ID (0x84B8) -#define ZCL_RX_TIER11_BLOCK10_PRICE_ATTRIBUTE_ID (0x84B9) -#define ZCL_RX_TIER11_BLOCK11_PRICE_ATTRIBUTE_ID (0x84BA) -#define ZCL_RX_TIER11_BLOCK12_PRICE_ATTRIBUTE_ID (0x84BB) -#define ZCL_RX_TIER11_BLOCK13_PRICE_ATTRIBUTE_ID (0x84BC) -#define ZCL_RX_TIER11_BLOCK14_PRICE_ATTRIBUTE_ID (0x84BD) -#define ZCL_RX_TIER11_BLOCK15_PRICE_ATTRIBUTE_ID (0x84BE) -#define ZCL_RX_TIER11_BLOCK16_PRICE_ATTRIBUTE_ID (0x84BF) -#define ZCL_RX_TIER12_BLOCK1_PRICE_ATTRIBUTE_ID (0x84C0) -#define ZCL_RX_TIER12_BLOCK2_PRICE_ATTRIBUTE_ID (0x84C1) -#define ZCL_RX_TIER12_BLOCK3_PRICE_ATTRIBUTE_ID (0x84C2) -#define ZCL_RX_TIER12_BLOCK4_PRICE_ATTRIBUTE_ID (0x84C3) -#define ZCL_RX_TIER12_BLOCK5_PRICE_ATTRIBUTE_ID (0x84C4) -#define ZCL_RX_TIER12_BLOCK6_PRICE_ATTRIBUTE_ID (0x84C5) -#define ZCL_RX_TIER12_BLOCK7_PRICE_ATTRIBUTE_ID (0x84C6) -#define ZCL_RX_TIER12_BLOCK8_PRICE_ATTRIBUTE_ID (0x84C7) -#define ZCL_RX_TIER12_BLOCK9_PRICE_ATTRIBUTE_ID (0x84C8) -#define ZCL_RX_TIER12_BLOCK10_PRICE_ATTRIBUTE_ID (0x84C9) -#define ZCL_RX_TIER12_BLOCK11_PRICE_ATTRIBUTE_ID (0x84CA) -#define ZCL_RX_TIER12_BLOCK12_PRICE_ATTRIBUTE_ID (0x84CB) -#define ZCL_RX_TIER12_BLOCK13_PRICE_ATTRIBUTE_ID (0x84CC) -#define ZCL_RX_TIER12_BLOCK14_PRICE_ATTRIBUTE_ID (0x84CD) -#define ZCL_RX_TIER12_BLOCK15_PRICE_ATTRIBUTE_ID (0x84CE) -#define ZCL_RX_TIER12_BLOCK16_PRICE_ATTRIBUTE_ID (0x84CF) -#define ZCL_RX_TIER13_BLOCK1_PRICE_ATTRIBUTE_ID (0x84D0) -#define ZCL_RX_TIER13_BLOCK2_PRICE_ATTRIBUTE_ID (0x84D1) -#define ZCL_RX_TIER13_BLOCK3_PRICE_ATTRIBUTE_ID (0x84D2) -#define ZCL_RX_TIER13_BLOCK4_PRICE_ATTRIBUTE_ID (0x84D3) -#define ZCL_RX_TIER13_BLOCK5_PRICE_ATTRIBUTE_ID (0x84D4) -#define ZCL_RX_TIER13_BLOCK6_PRICE_ATTRIBUTE_ID (0x84D5) -#define ZCL_RX_TIER13_BLOCK7_PRICE_ATTRIBUTE_ID (0x84D6) -#define ZCL_RX_TIER13_BLOCK8_PRICE_ATTRIBUTE_ID (0x84D7) -#define ZCL_RX_TIER13_BLOCK9_PRICE_ATTRIBUTE_ID (0x84D8) -#define ZCL_RX_TIER13_BLOCK10_PRICE_ATTRIBUTE_ID (0x84D9) -#define ZCL_RX_TIER13_BLOCK11_PRICE_ATTRIBUTE_ID (0x84DA) -#define ZCL_RX_TIER13_BLOCK12_PRICE_ATTRIBUTE_ID (0x84DB) -#define ZCL_RX_TIER13_BLOCK13_PRICE_ATTRIBUTE_ID (0x84DC) -#define ZCL_RX_TIER13_BLOCK14_PRICE_ATTRIBUTE_ID (0x84DD) -#define ZCL_RX_TIER13_BLOCK15_PRICE_ATTRIBUTE_ID (0x84DE) -#define ZCL_RX_TIER13_BLOCK16_PRICE_ATTRIBUTE_ID (0x84DF) -#define ZCL_RX_TIER14_BLOCK1_PRICE_ATTRIBUTE_ID (0x84E0) -#define ZCL_RX_TIER14_BLOCK2_PRICE_ATTRIBUTE_ID (0x84E1) -#define ZCL_RX_TIER14_BLOCK3_PRICE_ATTRIBUTE_ID (0x84E2) -#define ZCL_RX_TIER14_BLOCK4_PRICE_ATTRIBUTE_ID (0x84E3) -#define ZCL_RX_TIER14_BLOCK5_PRICE_ATTRIBUTE_ID (0x84E4) -#define ZCL_RX_TIER14_BLOCK6_PRICE_ATTRIBUTE_ID (0x84E5) -#define ZCL_RX_TIER14_BLOCK7_PRICE_ATTRIBUTE_ID (0x84E6) -#define ZCL_RX_TIER14_BLOCK8_PRICE_ATTRIBUTE_ID (0x84E7) -#define ZCL_RX_TIER14_BLOCK9_PRICE_ATTRIBUTE_ID (0x84E8) -#define ZCL_RX_TIER14_BLOCK10_PRICE_ATTRIBUTE_ID (0x84E9) -#define ZCL_RX_TIER14_BLOCK11_PRICE_ATTRIBUTE_ID (0x84EA) -#define ZCL_RX_TIER14_BLOCK12_PRICE_ATTRIBUTE_ID (0x84EB) -#define ZCL_RX_TIER14_BLOCK13_PRICE_ATTRIBUTE_ID (0x84EC) -#define ZCL_RX_TIER14_BLOCK14_PRICE_ATTRIBUTE_ID (0x84ED) -#define ZCL_RX_TIER14_BLOCK15_PRICE_ATTRIBUTE_ID (0x84EE) -#define ZCL_RX_TIER14_BLOCK16_PRICE_ATTRIBUTE_ID (0x84EF) -#define ZCL_RX_TIER15_BLOCK1_PRICE_ATTRIBUTE_ID (0x84F0) -#define ZCL_RX_TIER15_BLOCK2_PRICE_ATTRIBUTE_ID (0x84F1) -#define ZCL_RX_TIER15_BLOCK3_PRICE_ATTRIBUTE_ID (0x84F2) -#define ZCL_RX_TIER15_BLOCK4_PRICE_ATTRIBUTE_ID (0x84F3) -#define ZCL_RX_TIER15_BLOCK5_PRICE_ATTRIBUTE_ID (0x84F4) -#define ZCL_RX_TIER15_BLOCK6_PRICE_ATTRIBUTE_ID (0x84F5) -#define ZCL_RX_TIER15_BLOCK7_PRICE_ATTRIBUTE_ID (0x84F6) -#define ZCL_RX_TIER15_BLOCK8_PRICE_ATTRIBUTE_ID (0x84F7) -#define ZCL_RX_TIER15_BLOCK9_PRICE_ATTRIBUTE_ID (0x84F8) -#define ZCL_RX_TIER15_BLOCK10_PRICE_ATTRIBUTE_ID (0x84F9) -#define ZCL_RX_TIER15_BLOCK11_PRICE_ATTRIBUTE_ID (0x84FA) -#define ZCL_RX_TIER15_BLOCK12_PRICE_ATTRIBUTE_ID (0x84FB) -#define ZCL_RX_TIER15_BLOCK13_PRICE_ATTRIBUTE_ID (0x84FC) -#define ZCL_RX_TIER15_BLOCK14_PRICE_ATTRIBUTE_ID (0x84FD) -#define ZCL_RX_TIER15_BLOCK15_PRICE_ATTRIBUTE_ID (0x84FE) -#define ZCL_RX_TIER15_BLOCK16_PRICE_ATTRIBUTE_ID (0x84FF) -#define ZCL_RX_PRICE_TIER16_ATTRIBUTE_ID (0x850F) -#define ZCL_RX_PRICE_TIER17_ATTRIBUTE_ID (0x8510) -#define ZCL_RX_PRICE_TIER18_ATTRIBUTE_ID (0x8511) -#define ZCL_RX_PRICE_TIER19_ATTRIBUTE_ID (0x8512) -#define ZCL_RX_PRICE_TIER20_ATTRIBUTE_ID (0x8513) -#define ZCL_RX_PRICE_TIER21_ATTRIBUTE_ID (0x8514) -#define ZCL_RX_PRICE_TIER22_ATTRIBUTE_ID (0x8515) -#define ZCL_RX_PRICE_TIER23_ATTRIBUTE_ID (0x8516) -#define ZCL_RX_PRICE_TIER24_ATTRIBUTE_ID (0x8517) -#define ZCL_RX_PRICE_TIER25_ATTRIBUTE_ID (0x8518) -#define ZCL_RX_PRICE_TIER26_ATTRIBUTE_ID (0x8519) -#define ZCL_RX_PRICE_TIER27_ATTRIBUTE_ID (0x851A) -#define ZCL_RX_PRICE_TIER28_ATTRIBUTE_ID (0x851B) -#define ZCL_RX_PRICE_TIER29_ATTRIBUTE_ID (0x851C) -#define ZCL_RX_PRICE_TIER30_ATTRIBUTE_ID (0x851D) -#define ZCL_RX_PRICE_TIER31_ATTRIBUTE_ID (0x851E) -#define ZCL_RX_PRICE_TIER32_ATTRIBUTE_ID (0x851F) -#define ZCL_RX_PRICE_TIER33_ATTRIBUTE_ID (0x8520) -#define ZCL_RX_PRICE_TIER34_ATTRIBUTE_ID (0x8521) -#define ZCL_RX_PRICE_TIER35_ATTRIBUTE_ID (0x8522) -#define ZCL_RX_PRICE_TIER36_ATTRIBUTE_ID (0x8523) -#define ZCL_RX_PRICE_TIER37_ATTRIBUTE_ID (0x8524) -#define ZCL_RX_PRICE_TIER38_ATTRIBUTE_ID (0x8525) -#define ZCL_RX_PRICE_TIER39_ATTRIBUTE_ID (0x8526) -#define ZCL_RX_PRICE_TIER40_ATTRIBUTE_ID (0x8527) -#define ZCL_RX_PRICE_TIER41_ATTRIBUTE_ID (0x8528) -#define ZCL_RX_PRICE_TIER42_ATTRIBUTE_ID (0x8529) -#define ZCL_RX_PRICE_TIER43_ATTRIBUTE_ID (0x852A) -#define ZCL_RX_PRICE_TIER44_ATTRIBUTE_ID (0x852B) -#define ZCL_RX_PRICE_TIER45_ATTRIBUTE_ID (0x852C) -#define ZCL_RX_PRICE_TIER46_ATTRIBUTE_ID (0x852D) -#define ZCL_RX_PRICE_TIER47_ATTRIBUTE_ID (0x852E) -#define ZCL_RX_PRICE_TIER48_ATTRIBUTE_ID (0x852F) -#define ZCL_RX_TARIFF_LABEL_ATTRIBUTE_ID (0x8610) -#define ZCL_RX_NUMBER_OF_PRICE_TIERS_IN_USE_ATTRIBUTE_ID (0x8611) -#define ZCL_RX_NUMBER_OF_BLOCK_THRESHOLDS_IN_USE_ATTRIBUTE_ID (0x8612) -#define ZCL_RX_TIER_BLOCK_MODE_ATTRIBUTE_ID (0x8613) -#define ZCL_RX_TARIFF_RESOLUTION_PERIOD_ATTRIBUTE_ID (0x8615) -#define ZCL_RX_CO2_ATTRIBUTE_ID (0x8625) -#define ZCL_RX_CO2_UNIT_ATTRIBUTE_ID (0x8626) -#define ZCL_RX_CO2_TRAILING_DIGIT_ATTRIBUTE_ID (0x8627) -#define ZCL_RX_CURRENT_BILLING_PERIOD_START_ATTRIBUTE_ID (0x8700) -#define ZCL_RX_CURRENT_BILLING_PERIOD_DURATION_ATTRIBUTE_ID (0x8701) -#define ZCL_RX_LAST_BILLING_PERIOD_START_ATTRIBUTE_ID (0x8702) -#define ZCL_RX_LAST_BILLING_PERIOD_DURATION_ATTRIBUTE_ID (0x8703) -#define ZCL_RX_LAST_BILLING_PERIOD_CONSOLIDATED_BILL_ATTRIBUTE_ID (0x8704) - -// Attribute ids for cluster: Demand Response and Load Control - -// Client attributes -#define ZCL_UTILITY_ENROLLMENT_GROUP_ATTRIBUTE_ID (0x0000) -#define ZCL_START_RANDOMIZATION_MINUTES_ATTRIBUTE_ID (0x0001) -#define ZCL_DURATION_RANDOMIZATION_MINUTES_ATTRIBUTE_ID (0x0002) -#define ZCL_DEVICE_CLASS_VALUE_ATTRIBUTE_ID (0x0003) - -// Server attributes - -// Attribute ids for cluster: Simple Metering - -// Client attributes -#define ZCL_FUNCTIONAL_NOTIFICATION_FLAGS_ATTRIBUTE_ID (0x0000) -#define ZCL_NOTIFICATION_FLAGS_2_ATTRIBUTE_ID (0x0001) -#define ZCL_NOTIFICATION_FLAGS_3_ATTRIBUTE_ID (0x0002) -#define ZCL_NOTIFICATION_FLAGS_4_ATTRIBUTE_ID (0x0003) -#define ZCL_NOTIFICATION_FLAGS_5_ATTRIBUTE_ID (0x0004) -#define ZCL_NOTIFICATION_FLAGS_6_ATTRIBUTE_ID (0x0005) -#define ZCL_NOTIFICATION_FLAGS_7_ATTRIBUTE_ID (0x0006) -#define ZCL_NOTIFICATION_FLAGS_8_ATTRIBUTE_ID (0x0007) - -// Server attributes -#define ZCL_CURRENT_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0000) -#define ZCL_CURRENT_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0001) -#define ZCL_CURRENT_MAX_DEMAND_DELIVERED_ATTRIBUTE_ID (0x0002) -#define ZCL_CURRENT_MAX_DEMAND_RECEIVED_ATTRIBUTE_ID (0x0003) -#define ZCL_DFT_SUMMATION_ATTRIBUTE_ID (0x0004) -#define ZCL_DAILY_FREEZE_TIME_ATTRIBUTE_ID (0x0005) -#define ZCL_POWER_FACTOR_ATTRIBUTE_ID (0x0006) -#define ZCL_READING_SNAP_SHOT_TIME_ATTRIBUTE_ID (0x0007) -#define ZCL_CURRENT_MAX_DEMAND_DELIVERED_TIME_ATTRIBUTE_ID (0x0008) -#define ZCL_CURRENT_MAX_DEMAND_RECEIVED_TIME_ATTRIBUTE_ID (0x0009) -#define ZCL_DEFAULT_UPDATE_PERIOD_ATTRIBUTE_ID (0x000A) -#define ZCL_FAST_POLL_UPDATE_PERIOD_ATTRIBUTE_ID (0x000B) -#define ZCL_CURRENT_BLOCK_PERIOD_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x000C) -#define ZCL_DAILY_CONSUMPTION_TARGET_ATTRIBUTE_ID (0x000D) -#define ZCL_CURRENT_BLOCK_ATTRIBUTE_ID (0x000E) -#define ZCL_PROFILE_INTERVAL_PERIOD_ATTRIBUTE_ID (0x000F) -#define ZCL_INTERVAL_READ_REPORTING_PERIOD_ATTRIBUTE_ID (0x0010) -#define ZCL_PRESET_READING_TIME_ATTRIBUTE_ID (0x0011) -#define ZCL_VOLUME_PER_REPORT_ATTRIBUTE_ID (0x0012) -#define ZCL_FLOW_RESTRICTION_ATTRIBUTE_ID (0x0013) -#define ZCL_SUPPLY_STATUS_ATTRIBUTE_ID (0x0014) -#define ZCL_CURRENT_INLET_ENERGY_CARRIER_SUMMATION_ATTRIBUTE_ID (0x0015) -#define ZCL_CURRENT_OUTLET_ENERGY_CARRIER_SUMMATION_ATTRIBUTE_ID (0x0016) -#define ZCL_INLET_TEMPERATURE_ATTRIBUTE_ID (0x0017) -#define ZCL_OUTLET_TEMPERATURE_ATTRIBUTE_ID (0x0018) -#define ZCL_CONTROL_TEMPERATURE_ATTRIBUTE_ID (0x0019) -#define ZCL_CURRENT_INLET_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x001A) -#define ZCL_CURRENT_OUTLET_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x001B) -#define ZCL_PREVIOUS_BLOCK_PERIOD_CONSUMIPTION_DELIVERED_ATTRIBUTE_ID (0x001C) -#define ZCL_CURRENT_BLOCK_PERIOD_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x001D) -#define ZCL_CURRENT_BLOCK_RECEIVED_ATTRIBUTE_ID (0x001E) -#define ZCL_DFT_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x001F) -#define ZCL_ACTIVE_REGISTER_TIER_DELIVERED_ATTRIBUTE_ID (0x0020) -#define ZCL_ACTIVE_REGISTER_TIER_RECEIVED_ATTRIBUTE_ID (0x0021) -#define ZCL_LAST_BLOCK_SWITCH_TIME_ATTRIBUTE_ID (0x0022) -#define ZCL_CURRENT_TIER1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0100) -#define ZCL_CURRENT_TIER1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0101) -#define ZCL_CURRENT_TIER2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0102) -#define ZCL_CURRENT_TIER2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0103) -#define ZCL_CURRENT_TIER3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0104) -#define ZCL_CURRENT_TIER3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0105) -#define ZCL_CURRENT_TIER4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0106) -#define ZCL_CURRENT_TIER4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0107) -#define ZCL_CURRENT_TIER5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0108) -#define ZCL_CURRENT_TIER5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0109) -#define ZCL_CURRENT_TIER6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x010A) -#define ZCL_CURRENT_TIER6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x010B) -#define ZCL_CURRENT_TIER7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x010C) -#define ZCL_CURRENT_TIER7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x010D) -#define ZCL_CURRENT_TIER8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x010E) -#define ZCL_CURRENT_TIER8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x010F) -#define ZCL_CURRENT_TIER9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0110) -#define ZCL_CURRENT_TIER9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0111) -#define ZCL_CURRENT_TIER10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0112) -#define ZCL_CURRENT_TIER10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0113) -#define ZCL_CURRENT_TIER11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0114) -#define ZCL_CURRENT_TIER11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0115) -#define ZCL_CURRENT_TIER12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0116) -#define ZCL_CURRENT_TIER12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0117) -#define ZCL_CURRENT_TIER13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0118) -#define ZCL_CURRENT_TIER13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0119) -#define ZCL_CURRENT_TIER14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x011A) -#define ZCL_CURRENT_TIER14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x011B) -#define ZCL_CURRENT_TIER15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x011C) -#define ZCL_CURRENT_TIER15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x011D) -#define ZCL_CURRENT_TIER16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x011E) -#define ZCL_CURRENT_TIER16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x011F) -#define ZCL_CURRENT_TIER17_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0120) -#define ZCL_CURRENT_TIER17_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0121) -#define ZCL_CURRENT_TIER18_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0122) -#define ZCL_CURRENT_TIER18_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0123) -#define ZCL_CURRENT_TIER19_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0124) -#define ZCL_CURRENT_TIER19_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0125) -#define ZCL_CURRENT_TIER20_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0126) -#define ZCL_CURRENT_TIER20_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0127) -#define ZCL_CURRENT_TIER21_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0128) -#define ZCL_CURRENT_TIER21_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0129) -#define ZCL_CURRENT_TIER22_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x012A) -#define ZCL_CURRENT_TIER22_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x012B) -#define ZCL_CURRENT_TIER23_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x012C) -#define ZCL_CURRENT_TIER23_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x012D) -#define ZCL_CURRENT_TIER24_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x012E) -#define ZCL_CURRENT_TIER24_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x012F) -#define ZCL_CURRENT_TIER25_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0130) -#define ZCL_CURRENT_TIER25_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0131) -#define ZCL_CURRENT_TIER26_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0132) -#define ZCL_CURRENT_TIER26_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0133) -#define ZCL_CURRENT_TIER27_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0134) -#define ZCL_CURRENT_TIER27_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0135) -#define ZCL_CURRENT_TIER28_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0136) -#define ZCL_CURRENT_TIER28_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0137) -#define ZCL_CURRENT_TIER29_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0138) -#define ZCL_CURRENT_TIER29_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0139) -#define ZCL_CURRENT_TIER30_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x013A) -#define ZCL_CURRENT_TIER30_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x013B) -#define ZCL_CURRENT_TIER31_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x013C) -#define ZCL_CURRENT_TIER31_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x013D) -#define ZCL_CURRENT_TIER32_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x013E) -#define ZCL_CURRENT_TIER32_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x013F) -#define ZCL_CURRENT_TIER33_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0140) -#define ZCL_CURRENT_TIER33_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0141) -#define ZCL_CURRENT_TIER34_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0142) -#define ZCL_CURRENT_TIER34_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0143) -#define ZCL_CURRENT_TIER35_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0144) -#define ZCL_CURRENT_TIER35_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0145) -#define ZCL_CURRENT_TIER36_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0146) -#define ZCL_CURRENT_TIER36_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0147) -#define ZCL_CURRENT_TIER37_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0148) -#define ZCL_CURRENT_TIER37_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0149) -#define ZCL_CURRENT_TIER38_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x014A) -#define ZCL_CURRENT_TIER38_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x014B) -#define ZCL_CURRENT_TIER39_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x014C) -#define ZCL_CURRENT_TIER39_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x014D) -#define ZCL_CURRENT_TIER40_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x014E) -#define ZCL_CURRENT_TIER40_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x014F) -#define ZCL_CURRENT_TIER41_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0150) -#define ZCL_CURRENT_TIER41_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0151) -#define ZCL_CURRENT_TIER42_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0152) -#define ZCL_CURRENT_TIER42_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0153) -#define ZCL_CURRENT_TIER43_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0154) -#define ZCL_CURRENT_TIER43_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0155) -#define ZCL_CURRENT_TIER44_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0156) -#define ZCL_CURRENT_TIER44_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0157) -#define ZCL_CURRENT_TIER45_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0158) -#define ZCL_CURRENT_TIER45_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0159) -#define ZCL_CURRENT_TIER46_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x015A) -#define ZCL_CURRENT_TIER46_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x015B) -#define ZCL_CURRENT_TIER47_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x015C) -#define ZCL_CURRENT_TIER47_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x015D) -#define ZCL_CURRENT_TIER48_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x015E) -#define ZCL_CURRENT_TIER48_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x015F) -#define ZCL_CPP1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x01FC) -#define ZCL_CPP2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x01FE) -#define ZCL_STATUS_ATTRIBUTE_ID (0x0200) -#define ZCL_REMAINING_BATTERY_LIFE_ATTRIBUTE_ID (0x0201) -#define ZCL_HOURS_IN_OPERATION_ATTRIBUTE_ID (0x0202) -#define ZCL_HOURS_IN_FAULT_ATTRIBUTE_ID (0x0203) -#define ZCL_EXTENDED_STATUS_ATTRIBUTE_ID (0x0204) -#define ZCL_REMAINING_BATTERY_LIFE_IN_DAYS_ATTRIBUTE_ID (0x0205) -#define ZCL_CURRENT_METER_ID_ATTRIBUTE_ID (0x0206) -#define ZCL_AMBIENT_CONSUMPTION_INDICATOR_ATTRIBUTE_ID (0x0207) -#define ZCL_UNIT_OF_MEASURE_ATTRIBUTE_ID (0x0300) -#define ZCL_MULTIPLIER_ATTRIBUTE_ID (0x0301) -#define ZCL_DIVISOR_ATTRIBUTE_ID (0x0302) -#define ZCL_SUMMATION_FORMATTING_ATTRIBUTE_ID (0x0303) -#define ZCL_DEMAND_FORMATTING_ATTRIBUTE_ID (0x0304) -#define ZCL_HISTORICAL_CONSUMPTION_FORMATTING_ATTRIBUTE_ID (0x0305) -#define ZCL_METERING_DEVICE_TYPE_ATTRIBUTE_ID (0x0306) -#define ZCL_SITE_ID_ATTRIBUTE_ID (0x0307) -#define ZCL_METER_SERIAL_NUMBER_ATTRIBUTE_ID (0x0308) -#define ZCL_ENERGY_CARRIER_UNIT_OF_MEASURE_ATTRIBUTE_ID (0x0309) -#define ZCL_ENERGY_CARRIER_SUMMATION_FORMATTING_ATTRIBUTE_ID (0x030A) -#define ZCL_ENERGY_CARRIER_DEMAND_FORMATTING_ATTRIBUTE_ID (0x030B) -#define ZCL_TEMPERATURE_UNIT_OF_MEASURE_ATTRIBUTE_ID (0x030C) -#define ZCL_TEMPERATURE_FORMATTING_ATTRIBUTE_ID (0x030D) -#define ZCL_MODULE_SERIAL_NUMBER_ATTRIBUTE_ID (0x030E) -#define ZCL_OPERATING_TARIFF_LABEL_DELIVERED_ATTRIBUTE_ID (0x030F) -#define ZCL_OPERATING_TARIFF_LABEL_RECEIVED_ATTRIBUTE_ID (0x0310) -#define ZCL_CUSTOMER_ID_NUMBER_ATTRIBUTE_ID (0x0311) -#define ZCL_ALTERNATIVE_UNIT_OF_MEASURE_ATTRIBUTE_ID (0x0312) -#define ZCL_ALTERNATIVE_DEMAND_FORMATTING_ATTRIBUTE_ID (0x0313) -#define ZCL_ALTERNATIVE_CONSUMPTION_FORMATTING_ATTRIBUTE_ID (0x0314) -#define ZCL_INSTANTANEOUS_DEMAND_ATTRIBUTE_ID (0x0400) -#define ZCL_CURRENT_DAY_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0401) -#define ZCL_CURRENT_DAY_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0402) -#define ZCL_PREVIOUS_DAY_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0403) -#define ZCL_PREVIOUS_DAY_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0404) -#define ZCL_CURRENT_PARTIAL_PROFILE_INTERVAL_START_TIME_DELIVERED_ATTRIBUTE_ID (0x0405) -#define ZCL_CURRENT_PARTIAL_PROFILE_INTERVAL_START_TIME_RECEIVED_ATTRIBUTE_ID (0x0406) -#define ZCL_CURRENT_PARTIAL_PROFILE_INTERVAL_VALUE_DELIVERED_ATTRIBUTE_ID (0x0407) -#define ZCL_CURRENT_PARTIAL_PROFILE_INTERVAL_VALUE_RECEIVED_ATTRIBUTE_ID (0x0408) -#define ZCL_CURRENT_DAY_MAX_PRESSURE_ATTRIBUTE_ID (0x0409) -#define ZCL_CURRENT_DAY_MIN_PRESSURE_ATTRIBUTE_ID (0x040A) -#define ZCL_PREVIOUS_DAY_MAX_PRESSURE_ATTRIBUTE_ID (0x040B) -#define ZCL_PREVIOUS_DAY_MIN_PRESSURE_ATTRIBUTE_ID (0x040C) -#define ZCL_CURRENT_DAY_MAX_DEMAND_ATTRIBUTE_ID (0x040D) -#define ZCL_PREVIOUS_DAY_MAX_DEMAND_ATTRIBUTE_ID (0x040E) -#define ZCL_CURRENT_MONTH_MAX_DEMAND_ATTRIBUTE_ID (0x040F) -#define ZCL_CURRENT_YEAR_MAX_DEMAND_ATTRIBUTE_ID (0x0410) -#define ZCL_CURRENT_DAY_MAX_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x0411) -#define ZCL_PREVIOUS_DAY_MAX_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x0412) -#define ZCL_CURRENT_MONTH_MAX_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x0413) -#define ZCL_CURRENT_MONTH_MIN_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x0414) -#define ZCL_CURRENT_YEAR_MAX_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x0415) -#define ZCL_CURRENT_YEAR_MIN_ENERGY_CARRIER_DEMAND_ATTRIBUTE_ID (0x0416) -#define ZCL_PREVIOUS_DAY2_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0420) -#define ZCL_PREVIOUS_DAY2_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0421) -#define ZCL_PREVIOUS_DAY3_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0422) -#define ZCL_PREVIOUS_DAY3_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0423) -#define ZCL_PREVIOUS_DAY4_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0424) -#define ZCL_PREVIOUS_DAY4_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0425) -#define ZCL_PREVIOUS_DAY5_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0426) -#define ZCL_PREVIOUS_DAY5_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0427) -#define ZCL_PREVIOUS_DAY6_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0428) -#define ZCL_PREVIOUS_DAY6_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0429) -#define ZCL_PREVIOUS_DAY7_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x042A) -#define ZCL_PREVIOUS_DAY7_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x042B) -#define ZCL_PREVIOUS_DAY8_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x042C) -#define ZCL_PREVIOUS_DAY8_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x042D) -#define ZCL_CURRENT_WEEK_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0430) -#define ZCL_CURRENT_WEEK_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0431) -#define ZCL_PREVIOUS_WEEK_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0432) -#define ZCL_PREVIOUS_WEEK_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0433) -#define ZCL_PREVIOUS_WEEK2_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0434) -#define ZCL_PREVIOUS_WEEK2_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0435) -#define ZCL_PREVIOUS_WEEK3_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0436) -#define ZCL_PREVIOUS_WEEK3_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0437) -#define ZCL_PREVIOUS_WEEK4_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0438) -#define ZCL_PREVIOUS_WEEK4_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0439) -#define ZCL_PREVIOUS_WEEK5_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x043A) -#define ZCL_PREVIOUS_WEEK5_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x043B) -#define ZCL_CURRENT_MONTH_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0440) -#define ZCL_CURRENT_MONTH_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0441) -#define ZCL_PREVIOUS_MONTH_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0442) -#define ZCL_PREVIOUS_MONTH_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0443) -#define ZCL_PREVIOUS_MONTH2_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0444) -#define ZCL_PREVIOUS_MONTH2_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0445) -#define ZCL_PREVIOUS_MONTH3_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0446) -#define ZCL_PREVIOUS_MONTH3_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0447) -#define ZCL_PREVIOUS_MONTH4_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0448) -#define ZCL_PREVIOUS_MONTH4_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0449) -#define ZCL_PREVIOUS_MONTH5_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x044A) -#define ZCL_PREVIOUS_MONTH5_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x044B) -#define ZCL_PREVIOUS_MONTH6_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x044C) -#define ZCL_PREVIOUS_MONTH6_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x044D) -#define ZCL_PREVIOUS_MONTH7_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x044E) -#define ZCL_PREVIOUS_MONTH7_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x044F) -#define ZCL_PREVIOUS_MONTH8_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0450) -#define ZCL_PREVIOUS_MONTH8_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0451) -#define ZCL_PREVIOUS_MONTH9_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0452) -#define ZCL_PREVIOUS_MONTH9_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0453) -#define ZCL_PREVIOUS_MONTH10_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0454) -#define ZCL_PREVIOUS_MONTH10_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0455) -#define ZCL_PREVIOUS_MONTH11_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0456) -#define ZCL_PREVIOUS_MONTH11_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0457) -#define ZCL_PREVIOUS_MONTH12_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0458) -#define ZCL_PREVIOUS_MONTH12_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0459) -#define ZCL_PREVIOUS_MONTH13_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x045A) -#define ZCL_PREVIOUS_MONTH13_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x045B) -#define ZCL_METERING_HISTORICAL_FREEZE_TIME_ATTRIBUTE_ID (0x045C) -#define ZCL_CURRENT_DAY_MAX_DEMAND_DELIVERED_ATTRIBUTE_ID (0x045D) -#define ZCL_CURRENT_DAY_MAX_DEMAND_DELIVERED_TIME_ATTRIBUTE_ID (0x045E) -#define ZCL_CURRENT_DAY_MAX_DEMAND_RECEIVED_ATTRIBUTE_ID (0x045F) -#define ZCL_CURRENT_DAY_MAX_DEMAND_RECEIVED_TIME_ATTRIBUTE_ID (0x0460) -#define ZCL_PREVIOUS_DAY_MAX_DEMAND_DELIVERED_ATTRIBUTE_ID (0x0461) -#define ZCL_PREVIOUS_DAY_MAX_DEMAND_DELIVERED_TIME_ATTRIBUTE_ID (0x0462) -#define ZCL_PREVIOUS_DAY_MAX_DEMAND_RECEIVED_ATTRIBUTE_ID (0x0463) -#define ZCL_PREVIOUS_DAY_MAX_DEMAND_RECEIVED_TIME_ATTRIBUTE_ID (0x0464) -#define ZCL_MAX_NUMBER_OF_PERIODS_DELIVERED_ATTRIBUTE_ID (0x0500) -#define ZCL_CURRENT_DEMAND_DELIVERED_ATTRIBUTE_ID (0x0600) -#define ZCL_DEMAND_LIMIT_ATTRIBUTE_ID (0x0601) -#define ZCL_DEMAND_INTEGRATION_PERIOD_ATTRIBUTE_ID (0x0602) -#define ZCL_NUMBER_OF_DEMAND_SUBINTERVALS_ATTRIBUTE_ID (0x0603) -#define ZCL_DEMAND_LIMIT_ARM_DURATION_IN_MINUTES_ATTRIBUTE_ID (0x0604) -#define ZCL_LOAD_LIMIT_SUPPLY_STATE_ATTRIBUTE_ID (0x0605) -#define ZCL_LOAD_LIMIT_COUNTER_ATTRIBUTE_ID (0x0606) -#define ZCL_SUPPLY_TAMPER_STATE_ATTRIBUTE_ID (0x0607) -#define ZCL_SUPPLY_DEPLETION_STATE_ATTRIBUTE_ID (0x0608) -#define ZCL_SUPPLY_UNCONTROLLED_FLOW_STATE_ATTRIBUTE_ID (0x0609) -#define ZCL_CURRENT_NO_TIER_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0700) -#define ZCL_CURRENT_NO_TIER_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0701) -#define ZCL_CURRENT_NO_TIER_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0702) -#define ZCL_CURRENT_NO_TIER_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0703) -#define ZCL_CURRENT_NO_TIER_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0704) -#define ZCL_CURRENT_NO_TIER_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0705) -#define ZCL_CURRENT_NO_TIER_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0706) -#define ZCL_CURRENT_NO_TIER_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0707) -#define ZCL_CURRENT_NO_TIER_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0708) -#define ZCL_CURRENT_NO_TIER_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0709) -#define ZCL_CURRENT_NO_TIER_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x070A) -#define ZCL_CURRENT_NO_TIER_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x070B) -#define ZCL_CURRENT_NO_TIER_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x070C) -#define ZCL_CURRENT_NO_TIER_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x070D) -#define ZCL_CURRENT_NO_TIER_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x070E) -#define ZCL_CURRENT_NO_TIER_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x070F) -#define ZCL_CURRENT_TIER1_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0710) -#define ZCL_CURRENT_TIER1_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0711) -#define ZCL_CURRENT_TIER1_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0712) -#define ZCL_CURRENT_TIER1_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0713) -#define ZCL_CURRENT_TIER1_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0714) -#define ZCL_CURRENT_TIER1_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0715) -#define ZCL_CURRENT_TIER1_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0716) -#define ZCL_CURRENT_TIER1_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0717) -#define ZCL_CURRENT_TIER1_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0718) -#define ZCL_CURRENT_TIER1_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0719) -#define ZCL_CURRENT_TIER1_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x071A) -#define ZCL_CURRENT_TIER1_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x071B) -#define ZCL_CURRENT_TIER1_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x071C) -#define ZCL_CURRENT_TIER1_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x071D) -#define ZCL_CURRENT_TIER1_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x071E) -#define ZCL_CURRENT_TIER1_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x071F) -#define ZCL_CURRENT_TIER2_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0720) -#define ZCL_CURRENT_TIER2_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0721) -#define ZCL_CURRENT_TIER2_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0722) -#define ZCL_CURRENT_TIER2_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0723) -#define ZCL_CURRENT_TIER2_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0724) -#define ZCL_CURRENT_TIER2_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0725) -#define ZCL_CURRENT_TIER2_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0726) -#define ZCL_CURRENT_TIER2_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0727) -#define ZCL_CURRENT_TIER2_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0728) -#define ZCL_CURRENT_TIER2_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0729) -#define ZCL_CURRENT_TIER2_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x072A) -#define ZCL_CURRENT_TIER2_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x072B) -#define ZCL_CURRENT_TIER2_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x072C) -#define ZCL_CURRENT_TIER2_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x072D) -#define ZCL_CURRENT_TIER2_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x072E) -#define ZCL_CURRENT_TIER2_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x072F) -#define ZCL_CURRENT_TIER3_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0730) -#define ZCL_CURRENT_TIER3_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0731) -#define ZCL_CURRENT_TIER3_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0732) -#define ZCL_CURRENT_TIER3_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0733) -#define ZCL_CURRENT_TIER3_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0734) -#define ZCL_CURRENT_TIER3_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0735) -#define ZCL_CURRENT_TIER3_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0736) -#define ZCL_CURRENT_TIER3_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0737) -#define ZCL_CURRENT_TIER3_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0738) -#define ZCL_CURRENT_TIER3_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0739) -#define ZCL_CURRENT_TIER3_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x073A) -#define ZCL_CURRENT_TIER3_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x073B) -#define ZCL_CURRENT_TIER3_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x073C) -#define ZCL_CURRENT_TIER3_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x073D) -#define ZCL_CURRENT_TIER3_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x073E) -#define ZCL_CURRENT_TIER3_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x073F) -#define ZCL_CURRENT_TIER4_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0740) -#define ZCL_CURRENT_TIER4_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0741) -#define ZCL_CURRENT_TIER4_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0742) -#define ZCL_CURRENT_TIER4_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0743) -#define ZCL_CURRENT_TIER4_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0744) -#define ZCL_CURRENT_TIER4_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0745) -#define ZCL_CURRENT_TIER4_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0746) -#define ZCL_CURRENT_TIER4_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0747) -#define ZCL_CURRENT_TIER4_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0748) -#define ZCL_CURRENT_TIER4_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0749) -#define ZCL_CURRENT_TIER4_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x074A) -#define ZCL_CURRENT_TIER4_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x074B) -#define ZCL_CURRENT_TIER4_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x074C) -#define ZCL_CURRENT_TIER4_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x074D) -#define ZCL_CURRENT_TIER4_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x074E) -#define ZCL_CURRENT_TIER4_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x074F) -#define ZCL_CURRENT_TIER5_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0750) -#define ZCL_CURRENT_TIER5_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0751) -#define ZCL_CURRENT_TIER5_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0752) -#define ZCL_CURRENT_TIER5_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0753) -#define ZCL_CURRENT_TIER5_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0754) -#define ZCL_CURRENT_TIER5_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0755) -#define ZCL_CURRENT_TIER5_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0756) -#define ZCL_CURRENT_TIER5_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0757) -#define ZCL_CURRENT_TIER5_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0758) -#define ZCL_CURRENT_TIER5_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0759) -#define ZCL_CURRENT_TIER5_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x075A) -#define ZCL_CURRENT_TIER5_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x075B) -#define ZCL_CURRENT_TIER5_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x075C) -#define ZCL_CURRENT_TIER5_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x075D) -#define ZCL_CURRENT_TIER5_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x075E) -#define ZCL_CURRENT_TIER5_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x075F) -#define ZCL_CURRENT_TIER6_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0760) -#define ZCL_CURRENT_TIER6_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0761) -#define ZCL_CURRENT_TIER6_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0762) -#define ZCL_CURRENT_TIER6_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0763) -#define ZCL_CURRENT_TIER6_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0764) -#define ZCL_CURRENT_TIER6_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0765) -#define ZCL_CURRENT_TIER6_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0766) -#define ZCL_CURRENT_TIER6_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0767) -#define ZCL_CURRENT_TIER6_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0768) -#define ZCL_CURRENT_TIER6_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0769) -#define ZCL_CURRENT_TIER6_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x076A) -#define ZCL_CURRENT_TIER6_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x076B) -#define ZCL_CURRENT_TIER6_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x076C) -#define ZCL_CURRENT_TIER6_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x076D) -#define ZCL_CURRENT_TIER6_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x076E) -#define ZCL_CURRENT_TIER6_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x076F) -#define ZCL_CURRENT_TIER7_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0770) -#define ZCL_CURRENT_TIER7_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0771) -#define ZCL_CURRENT_TIER7_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0772) -#define ZCL_CURRENT_TIER7_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0773) -#define ZCL_CURRENT_TIER7_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0774) -#define ZCL_CURRENT_TIER7_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0775) -#define ZCL_CURRENT_TIER7_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0776) -#define ZCL_CURRENT_TIER7_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0777) -#define ZCL_CURRENT_TIER7_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0778) -#define ZCL_CURRENT_TIER7_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0779) -#define ZCL_CURRENT_TIER7_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x077A) -#define ZCL_CURRENT_TIER7_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x077B) -#define ZCL_CURRENT_TIER7_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x077C) -#define ZCL_CURRENT_TIER7_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x077D) -#define ZCL_CURRENT_TIER7_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x077E) -#define ZCL_CURRENT_TIER7_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x077F) -#define ZCL_CURRENT_TIER8_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0780) -#define ZCL_CURRENT_TIER8_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0781) -#define ZCL_CURRENT_TIER8_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0782) -#define ZCL_CURRENT_TIER8_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0783) -#define ZCL_CURRENT_TIER8_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0784) -#define ZCL_CURRENT_TIER8_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0785) -#define ZCL_CURRENT_TIER8_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0786) -#define ZCL_CURRENT_TIER8_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0787) -#define ZCL_CURRENT_TIER8_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0788) -#define ZCL_CURRENT_TIER8_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0789) -#define ZCL_CURRENT_TIER8_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x078A) -#define ZCL_CURRENT_TIER8_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x078B) -#define ZCL_CURRENT_TIER8_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x078C) -#define ZCL_CURRENT_TIER8_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x078D) -#define ZCL_CURRENT_TIER8_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x078E) -#define ZCL_CURRENT_TIER8_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x078F) -#define ZCL_CURRENT_TIER9_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0790) -#define ZCL_CURRENT_TIER9_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0791) -#define ZCL_CURRENT_TIER9_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0792) -#define ZCL_CURRENT_TIER9_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0793) -#define ZCL_CURRENT_TIER9_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0794) -#define ZCL_CURRENT_TIER9_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0795) -#define ZCL_CURRENT_TIER9_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0796) -#define ZCL_CURRENT_TIER9_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0797) -#define ZCL_CURRENT_TIER9_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0798) -#define ZCL_CURRENT_TIER9_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x0799) -#define ZCL_CURRENT_TIER9_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x079A) -#define ZCL_CURRENT_TIER9_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x079B) -#define ZCL_CURRENT_TIER9_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x079C) -#define ZCL_CURRENT_TIER9_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x079D) -#define ZCL_CURRENT_TIER9_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x079E) -#define ZCL_CURRENT_TIER9_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x079F) -#define ZCL_CURRENT_TIER10_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A0) -#define ZCL_CURRENT_TIER10_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A1) -#define ZCL_CURRENT_TIER10_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A2) -#define ZCL_CURRENT_TIER10_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A3) -#define ZCL_CURRENT_TIER10_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A4) -#define ZCL_CURRENT_TIER10_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A5) -#define ZCL_CURRENT_TIER10_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A6) -#define ZCL_CURRENT_TIER10_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A7) -#define ZCL_CURRENT_TIER10_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A8) -#define ZCL_CURRENT_TIER10_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07A9) -#define ZCL_CURRENT_TIER10_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07AA) -#define ZCL_CURRENT_TIER10_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07AB) -#define ZCL_CURRENT_TIER10_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07AC) -#define ZCL_CURRENT_TIER10_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07AD) -#define ZCL_CURRENT_TIER10_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07AE) -#define ZCL_CURRENT_TIER10_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07AF) -#define ZCL_CURRENT_TIER11_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B0) -#define ZCL_CURRENT_TIER11_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B1) -#define ZCL_CURRENT_TIER11_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B2) -#define ZCL_CURRENT_TIER11_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B3) -#define ZCL_CURRENT_TIER11_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B4) -#define ZCL_CURRENT_TIER11_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B5) -#define ZCL_CURRENT_TIER11_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B6) -#define ZCL_CURRENT_TIER11_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B7) -#define ZCL_CURRENT_TIER11_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B8) -#define ZCL_CURRENT_TIER11_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07B9) -#define ZCL_CURRENT_TIER11_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07BA) -#define ZCL_CURRENT_TIER11_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07BB) -#define ZCL_CURRENT_TIER11_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07BC) -#define ZCL_CURRENT_TIER11_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07BD) -#define ZCL_CURRENT_TIER11_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07BE) -#define ZCL_CURRENT_TIER11_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07BF) -#define ZCL_CURRENT_TIER12_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C0) -#define ZCL_CURRENT_TIER12_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C1) -#define ZCL_CURRENT_TIER12_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C2) -#define ZCL_CURRENT_TIER12_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C3) -#define ZCL_CURRENT_TIER12_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C4) -#define ZCL_CURRENT_TIER12_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C5) -#define ZCL_CURRENT_TIER12_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C6) -#define ZCL_CURRENT_TIER12_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C7) -#define ZCL_CURRENT_TIER12_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C8) -#define ZCL_CURRENT_TIER12_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07C9) -#define ZCL_CURRENT_TIER12_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07CA) -#define ZCL_CURRENT_TIER12_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07CB) -#define ZCL_CURRENT_TIER12_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07CC) -#define ZCL_CURRENT_TIER12_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07CD) -#define ZCL_CURRENT_TIER12_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07CE) -#define ZCL_CURRENT_TIER12_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07CF) -#define ZCL_CURRENT_TIER13_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D0) -#define ZCL_CURRENT_TIER13_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D1) -#define ZCL_CURRENT_TIER13_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D2) -#define ZCL_CURRENT_TIER13_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D3) -#define ZCL_CURRENT_TIER13_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D4) -#define ZCL_CURRENT_TIER13_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D5) -#define ZCL_CURRENT_TIER13_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D6) -#define ZCL_CURRENT_TIER13_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D7) -#define ZCL_CURRENT_TIER13_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D8) -#define ZCL_CURRENT_TIER13_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07D9) -#define ZCL_CURRENT_TIER13_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07DA) -#define ZCL_CURRENT_TIER13_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07DB) -#define ZCL_CURRENT_TIER13_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07DC) -#define ZCL_CURRENT_TIER13_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07DD) -#define ZCL_CURRENT_TIER13_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07DE) -#define ZCL_CURRENT_TIER13_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07DF) -#define ZCL_CURRENT_TIER14_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E0) -#define ZCL_CURRENT_TIER14_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E1) -#define ZCL_CURRENT_TIER14_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E2) -#define ZCL_CURRENT_TIER14_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E3) -#define ZCL_CURRENT_TIER14_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E4) -#define ZCL_CURRENT_TIER14_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E5) -#define ZCL_CURRENT_TIER14_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E6) -#define ZCL_CURRENT_TIER14_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E7) -#define ZCL_CURRENT_TIER14_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E8) -#define ZCL_CURRENT_TIER14_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07E9) -#define ZCL_CURRENT_TIER14_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07EA) -#define ZCL_CURRENT_TIER14_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07EB) -#define ZCL_CURRENT_TIER14_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07EC) -#define ZCL_CURRENT_TIER14_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07ED) -#define ZCL_CURRENT_TIER14_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07EE) -#define ZCL_CURRENT_TIER14_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07EF) -#define ZCL_CURRENT_TIER15_BLOCK1_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F0) -#define ZCL_CURRENT_TIER15_BLOCK2_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F1) -#define ZCL_CURRENT_TIER15_BLOCK3_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F2) -#define ZCL_CURRENT_TIER15_BLOCK4_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F3) -#define ZCL_CURRENT_TIER15_BLOCK5_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F4) -#define ZCL_CURRENT_TIER15_BLOCK6_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F5) -#define ZCL_CURRENT_TIER15_BLOCK7_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F6) -#define ZCL_CURRENT_TIER15_BLOCK8_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F7) -#define ZCL_CURRENT_TIER15_BLOCK9_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F8) -#define ZCL_CURRENT_TIER15_BLOCK10_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07F9) -#define ZCL_CURRENT_TIER15_BLOCK11_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07FA) -#define ZCL_CURRENT_TIER15_BLOCK12_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07FB) -#define ZCL_CURRENT_TIER15_BLOCK13_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07FC) -#define ZCL_CURRENT_TIER15_BLOCK14_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07FD) -#define ZCL_CURRENT_TIER15_BLOCK15_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07FE) -#define ZCL_CURRENT_TIER15_BLOCK16_SUMMATION_DELIVERED_ATTRIBUTE_ID (0x07FF) -#define ZCL_GENERIC_ALARM_MASK_ATTRIBUTE_ID (0x0800) -#define ZCL_ELECTRICITY_ALARM_MASK_ATTRIBUTE_ID (0x0801) -#define ZCL_GENERIC_FLOW_PRESSURE_ALARM_MASK_ATTRIBUTE_ID (0x0802) -#define ZCL_WATER_SPECIFIC_ALARM_MASK_ATTRIBUTE_ID (0x0803) -#define ZCL_HEAT_AND_COOLING_SPECIFIC_ALARM_MASK_ATTRIBUTE_ID (0x0804) -#define ZCL_GAS_SPECIFIC_ALARM_MASK_ATTRIBUTE_ID (0x0805) -#define ZCL_METERING_EXTENDED_GENERIC_ALARM_MASK_ATTRIBUTE_ID (0x0806) -#define ZCL_METERING_MANUFACTURE_ALARM_MASK_ATTRIBUTE_ID (0x0807) -#define ZCL_CURRENT_NO_TIER_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0900) -#define ZCL_CURRENT_NO_TIER_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0901) -#define ZCL_CURRENT_NO_TIER_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0902) -#define ZCL_CURRENT_NO_TIER_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0903) -#define ZCL_CURRENT_NO_TIER_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0904) -#define ZCL_CURRENT_NO_TIER_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0905) -#define ZCL_CURRENT_NO_TIER_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0906) -#define ZCL_CURRENT_NO_TIER_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0907) -#define ZCL_CURRENT_NO_TIER_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0908) -#define ZCL_CURRENT_NO_TIER_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0909) -#define ZCL_CURRENT_NO_TIER_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x090A) -#define ZCL_CURRENT_NO_TIER_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x090B) -#define ZCL_CURRENT_NO_TIER_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x090C) -#define ZCL_CURRENT_NO_TIER_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x090D) -#define ZCL_CURRENT_NO_TIER_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x090E) -#define ZCL_CURRENT_NO_TIER_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x090F) -#define ZCL_CURRENT_TIER1_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0910) -#define ZCL_CURRENT_TIER1_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0911) -#define ZCL_CURRENT_TIER1_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0912) -#define ZCL_CURRENT_TIER1_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0913) -#define ZCL_CURRENT_TIER1_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0914) -#define ZCL_CURRENT_TIER1_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0915) -#define ZCL_CURRENT_TIER1_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0916) -#define ZCL_CURRENT_TIER1_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0917) -#define ZCL_CURRENT_TIER1_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0918) -#define ZCL_CURRENT_TIER1_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0919) -#define ZCL_CURRENT_TIER1_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x091A) -#define ZCL_CURRENT_TIER1_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x091B) -#define ZCL_CURRENT_TIER1_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x091C) -#define ZCL_CURRENT_TIER1_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x091D) -#define ZCL_CURRENT_TIER1_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x091E) -#define ZCL_CURRENT_TIER1_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x091F) -#define ZCL_CURRENT_TIER2_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0920) -#define ZCL_CURRENT_TIER2_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0921) -#define ZCL_CURRENT_TIER2_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0922) -#define ZCL_CURRENT_TIER2_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0923) -#define ZCL_CURRENT_TIER2_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0924) -#define ZCL_CURRENT_TIER2_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0925) -#define ZCL_CURRENT_TIER2_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0926) -#define ZCL_CURRENT_TIER2_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0927) -#define ZCL_CURRENT_TIER2_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0928) -#define ZCL_CURRENT_TIER2_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0929) -#define ZCL_CURRENT_TIER2_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x092A) -#define ZCL_CURRENT_TIER2_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x092B) -#define ZCL_CURRENT_TIER2_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x092C) -#define ZCL_CURRENT_TIER2_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x092D) -#define ZCL_CURRENT_TIER2_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x092E) -#define ZCL_CURRENT_TIER2_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x092F) -#define ZCL_CURRENT_TIER3_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0930) -#define ZCL_CURRENT_TIER3_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0931) -#define ZCL_CURRENT_TIER3_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0932) -#define ZCL_CURRENT_TIER3_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0933) -#define ZCL_CURRENT_TIER3_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0934) -#define ZCL_CURRENT_TIER3_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0935) -#define ZCL_CURRENT_TIER3_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0936) -#define ZCL_CURRENT_TIER3_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0937) -#define ZCL_CURRENT_TIER3_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0938) -#define ZCL_CURRENT_TIER3_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0939) -#define ZCL_CURRENT_TIER3_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x093A) -#define ZCL_CURRENT_TIER3_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x093B) -#define ZCL_CURRENT_TIER3_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x093C) -#define ZCL_CURRENT_TIER3_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x093D) -#define ZCL_CURRENT_TIER3_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x093E) -#define ZCL_CURRENT_TIER3_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x093F) -#define ZCL_CURRENT_TIER4_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0940) -#define ZCL_CURRENT_TIER4_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0941) -#define ZCL_CURRENT_TIER4_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0942) -#define ZCL_CURRENT_TIER4_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0943) -#define ZCL_CURRENT_TIER4_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0944) -#define ZCL_CURRENT_TIER4_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0945) -#define ZCL_CURRENT_TIER4_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0946) -#define ZCL_CURRENT_TIER4_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0947) -#define ZCL_CURRENT_TIER4_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0948) -#define ZCL_CURRENT_TIER4_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0949) -#define ZCL_CURRENT_TIER4_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x094A) -#define ZCL_CURRENT_TIER4_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x094B) -#define ZCL_CURRENT_TIER4_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x094C) -#define ZCL_CURRENT_TIER4_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x094D) -#define ZCL_CURRENT_TIER4_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x094E) -#define ZCL_CURRENT_TIER4_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x094F) -#define ZCL_CURRENT_TIER5_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0950) -#define ZCL_CURRENT_TIER5_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0951) -#define ZCL_CURRENT_TIER5_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0952) -#define ZCL_CURRENT_TIER5_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0953) -#define ZCL_CURRENT_TIER5_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0954) -#define ZCL_CURRENT_TIER5_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0955) -#define ZCL_CURRENT_TIER5_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0956) -#define ZCL_CURRENT_TIER5_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0957) -#define ZCL_CURRENT_TIER5_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0958) -#define ZCL_CURRENT_TIER5_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0959) -#define ZCL_CURRENT_TIER5_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x095A) -#define ZCL_CURRENT_TIER5_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x095B) -#define ZCL_CURRENT_TIER5_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x095C) -#define ZCL_CURRENT_TIER5_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x095D) -#define ZCL_CURRENT_TIER5_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x095E) -#define ZCL_CURRENT_TIER5_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x095F) -#define ZCL_CURRENT_TIER6_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0960) -#define ZCL_CURRENT_TIER6_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0961) -#define ZCL_CURRENT_TIER6_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0962) -#define ZCL_CURRENT_TIER6_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0963) -#define ZCL_CURRENT_TIER6_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0964) -#define ZCL_CURRENT_TIER6_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0965) -#define ZCL_CURRENT_TIER6_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0966) -#define ZCL_CURRENT_TIER6_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0967) -#define ZCL_CURRENT_TIER6_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0968) -#define ZCL_CURRENT_TIER6_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0969) -#define ZCL_CURRENT_TIER6_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x096A) -#define ZCL_CURRENT_TIER6_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x096B) -#define ZCL_CURRENT_TIER6_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x096C) -#define ZCL_CURRENT_TIER6_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x096D) -#define ZCL_CURRENT_TIER6_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x096E) -#define ZCL_CURRENT_TIER6_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x096F) -#define ZCL_CURRENT_TIER7_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0970) -#define ZCL_CURRENT_TIER7_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0971) -#define ZCL_CURRENT_TIER7_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0972) -#define ZCL_CURRENT_TIER7_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0973) -#define ZCL_CURRENT_TIER7_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0974) -#define ZCL_CURRENT_TIER7_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0975) -#define ZCL_CURRENT_TIER7_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0976) -#define ZCL_CURRENT_TIER7_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0977) -#define ZCL_CURRENT_TIER7_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0978) -#define ZCL_CURRENT_TIER7_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0979) -#define ZCL_CURRENT_TIER7_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x097A) -#define ZCL_CURRENT_TIER7_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x097B) -#define ZCL_CURRENT_TIER7_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x097C) -#define ZCL_CURRENT_TIER7_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x097D) -#define ZCL_CURRENT_TIER7_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x097E) -#define ZCL_CURRENT_TIER7_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x097F) -#define ZCL_CURRENT_TIER8_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0980) -#define ZCL_CURRENT_TIER8_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0981) -#define ZCL_CURRENT_TIER8_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0982) -#define ZCL_CURRENT_TIER8_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0983) -#define ZCL_CURRENT_TIER8_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0984) -#define ZCL_CURRENT_TIER8_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0985) -#define ZCL_CURRENT_TIER8_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0986) -#define ZCL_CURRENT_TIER8_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0987) -#define ZCL_CURRENT_TIER8_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0988) -#define ZCL_CURRENT_TIER8_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0989) -#define ZCL_CURRENT_TIER8_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x098A) -#define ZCL_CURRENT_TIER8_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x098B) -#define ZCL_CURRENT_TIER8_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x098C) -#define ZCL_CURRENT_TIER8_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x098D) -#define ZCL_CURRENT_TIER8_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x098E) -#define ZCL_CURRENT_TIER8_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x098F) -#define ZCL_CURRENT_TIER9_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0990) -#define ZCL_CURRENT_TIER9_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0991) -#define ZCL_CURRENT_TIER9_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0992) -#define ZCL_CURRENT_TIER9_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0993) -#define ZCL_CURRENT_TIER9_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0994) -#define ZCL_CURRENT_TIER9_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0995) -#define ZCL_CURRENT_TIER9_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0996) -#define ZCL_CURRENT_TIER9_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0997) -#define ZCL_CURRENT_TIER9_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0998) -#define ZCL_CURRENT_TIER9_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x0999) -#define ZCL_CURRENT_TIER9_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x099A) -#define ZCL_CURRENT_TIER9_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x099B) -#define ZCL_CURRENT_TIER9_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x099C) -#define ZCL_CURRENT_TIER9_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x099D) -#define ZCL_CURRENT_TIER9_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x099E) -#define ZCL_CURRENT_TIER9_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x099F) -#define ZCL_CURRENT_TIER10_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A0) -#define ZCL_CURRENT_TIER10_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A1) -#define ZCL_CURRENT_TIER10_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A2) -#define ZCL_CURRENT_TIER10_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A3) -#define ZCL_CURRENT_TIER10_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A4) -#define ZCL_CURRENT_TIER10_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A5) -#define ZCL_CURRENT_TIER10_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A6) -#define ZCL_CURRENT_TIER10_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A7) -#define ZCL_CURRENT_TIER10_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A8) -#define ZCL_CURRENT_TIER10_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09A9) -#define ZCL_CURRENT_TIER10_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09AA) -#define ZCL_CURRENT_TIER10_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09AB) -#define ZCL_CURRENT_TIER10_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09AC) -#define ZCL_CURRENT_TIER10_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09AD) -#define ZCL_CURRENT_TIER10_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09AE) -#define ZCL_CURRENT_TIER10_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09AF) -#define ZCL_CURRENT_TIER11_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B0) -#define ZCL_CURRENT_TIER11_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B1) -#define ZCL_CURRENT_TIER11_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B2) -#define ZCL_CURRENT_TIER11_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B3) -#define ZCL_CURRENT_TIER11_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B4) -#define ZCL_CURRENT_TIER11_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B5) -#define ZCL_CURRENT_TIER11_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B6) -#define ZCL_CURRENT_TIER11_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B7) -#define ZCL_CURRENT_TIER11_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B8) -#define ZCL_CURRENT_TIER11_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09B9) -#define ZCL_CURRENT_TIER11_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09BA) -#define ZCL_CURRENT_TIER11_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09BB) -#define ZCL_CURRENT_TIER11_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09BC) -#define ZCL_CURRENT_TIER11_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09BD) -#define ZCL_CURRENT_TIER11_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09BE) -#define ZCL_CURRENT_TIER11_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09BF) -#define ZCL_CURRENT_TIER12_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C0) -#define ZCL_CURRENT_TIER12_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C1) -#define ZCL_CURRENT_TIER12_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C2) -#define ZCL_CURRENT_TIER12_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C3) -#define ZCL_CURRENT_TIER12_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C4) -#define ZCL_CURRENT_TIER12_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C5) -#define ZCL_CURRENT_TIER12_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C6) -#define ZCL_CURRENT_TIER12_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C7) -#define ZCL_CURRENT_TIER12_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C8) -#define ZCL_CURRENT_TIER12_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09C9) -#define ZCL_CURRENT_TIER12_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09CA) -#define ZCL_CURRENT_TIER12_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09CB) -#define ZCL_CURRENT_TIER12_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09CC) -#define ZCL_CURRENT_TIER12_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09CD) -#define ZCL_CURRENT_TIER12_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09CE) -#define ZCL_CURRENT_TIER12_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09CF) -#define ZCL_CURRENT_TIER13_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D0) -#define ZCL_CURRENT_TIER13_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D1) -#define ZCL_CURRENT_TIER13_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D2) -#define ZCL_CURRENT_TIER13_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D3) -#define ZCL_CURRENT_TIER13_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D4) -#define ZCL_CURRENT_TIER13_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D5) -#define ZCL_CURRENT_TIER13_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D6) -#define ZCL_CURRENT_TIER13_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D7) -#define ZCL_CURRENT_TIER13_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D8) -#define ZCL_CURRENT_TIER13_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09D9) -#define ZCL_CURRENT_TIER13_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09DA) -#define ZCL_CURRENT_TIER13_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09DB) -#define ZCL_CURRENT_TIER13_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09DC) -#define ZCL_CURRENT_TIER13_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09DD) -#define ZCL_CURRENT_TIER13_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09DE) -#define ZCL_CURRENT_TIER13_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09DF) -#define ZCL_CURRENT_TIER14_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E0) -#define ZCL_CURRENT_TIER14_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E1) -#define ZCL_CURRENT_TIER14_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E2) -#define ZCL_CURRENT_TIER14_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E3) -#define ZCL_CURRENT_TIER14_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E4) -#define ZCL_CURRENT_TIER14_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E5) -#define ZCL_CURRENT_TIER14_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E6) -#define ZCL_CURRENT_TIER14_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E7) -#define ZCL_CURRENT_TIER14_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E8) -#define ZCL_CURRENT_TIER14_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09E9) -#define ZCL_CURRENT_TIER14_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09EA) -#define ZCL_CURRENT_TIER14_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09EB) -#define ZCL_CURRENT_TIER14_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09EC) -#define ZCL_CURRENT_TIER14_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09ED) -#define ZCL_CURRENT_TIER14_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09EE) -#define ZCL_CURRENT_TIER14_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09EF) -#define ZCL_CURRENT_TIER15_BLOCK1_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F0) -#define ZCL_CURRENT_TIER15_BLOCK2_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F1) -#define ZCL_CURRENT_TIER15_BLOCK3_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F2) -#define ZCL_CURRENT_TIER15_BLOCK4_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F3) -#define ZCL_CURRENT_TIER15_BLOCK5_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F4) -#define ZCL_CURRENT_TIER15_BLOCK6_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F5) -#define ZCL_CURRENT_TIER15_BLOCK7_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F6) -#define ZCL_CURRENT_TIER15_BLOCK8_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F7) -#define ZCL_CURRENT_TIER15_BLOCK9_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F8) -#define ZCL_CURRENT_TIER15_BLOCK10_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09F9) -#define ZCL_CURRENT_TIER15_BLOCK11_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09FA) -#define ZCL_CURRENT_TIER15_BLOCK12_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09FB) -#define ZCL_CURRENT_TIER15_BLOCK13_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09FC) -#define ZCL_CURRENT_TIER15_BLOCK14_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09FD) -#define ZCL_CURRENT_TIER15_BLOCK15_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09FE) -#define ZCL_CURRENT_TIER15_BLOCK16_SUMMATION_RECEIVED_ATTRIBUTE_ID (0x09FF) -#define ZCL_BILL_TO_DATE_DELIVERED_ATTRIBUTE_ID (0x0A00) -#define ZCL_BILL_TO_DATE_TIME_STAMP_DELIVERED_ATTRIBUTE_ID (0x0A01) -#define ZCL_PROJECTED_BILL_DELIVERED_ATTRIBUTE_ID (0x0A02) -#define ZCL_PROJECTED_BILL_TIME_STAMP_DELIVERED_ATTRIBUTE_ID (0x0A03) -#define ZCL_BILL_DELIVERED_TRAILING_DIGIT_ATTRIBUTE_ID (0x0A04) -#define ZCL_BILL_TO_DATE_RECEIVED_ATTRIBUTE_ID (0x0A10) -#define ZCL_BILL_TO_DATE_TIME_STAMP_RECEIVED_ATTRIBUTE_ID (0x0A11) -#define ZCL_PROJECTED_BILL_RECEIVED_ATTRIBUTE_ID (0x0A12) -#define ZCL_PROJECTED_BILL_TIME_STAMP_RECEIVED_ATTRIBUTE_ID (0x0A13) -#define ZCL_BILL_RECEIVED_TRAILING_DIGIT_ATTRIBUTE_ID (0x0A14) -#define ZCL_PROPOSED_CHANGE_SUPPLY_IMPLEMENTATION_TIME_ATTRIBUTE_ID (0x0B00) -#define ZCL_PROPOSED_CHANGE_SUPPLY_STATUS_ATTRIBUTE_ID (0x0B01) -#define ZCL_UNCONTROLLED_FLOW_THESHOLD_ATTRIBUTE_ID (0x0B10) -#define ZCL_UNCONTROLLED_FLOW_THESHOLD_UNIT_OF_MEASURE_ATTRIBUTE_ID (0x0B11) -#define ZCL_UNCONTROLLED_FLOW_MULTIPLIER_ATTRIBUTE_ID (0x0B12) -#define ZCL_UNCONTROLLED_FLOW_DIVISOR_ATTRIBUTE_ID (0x0B13) -#define ZCL_FLOW_STABILIZATION_PERIOD_ATTRIBUTE_ID (0x0B14) -#define ZCL_FLOW_MEASUREMENT_PERIOD_ATTRIBUTE_ID (0x0B15) -#define ZCL_ALTERNATIVE_INSTANTANEOUS_DEMAND_ATTRIBUTE_ID (0x0C00) -#define ZCL_CURRENT_ALTERNATIVE_DAY_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C01) -#define ZCL_CURRENT_ALTERNATIVE_DAY_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C02) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C03) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C04) -#define ZCL_CURRENT_ALTERNATIVE_PARTIAL_PROFILE_INTERVAL_START_TIME_DELIVERED_ATTRIBUTE_ID (0x0C05) -#define ZCL_CURRENT_ALTERNATIVE_PARTIAL_PROFILE_INTERVAL_START_TIME_RECEIVED_ATTRIBUTE_ID (0x0C06) -#define ZCL_CURRENT_ALTERNATIVE_PARTIAL_PROFILE_INTERVAL_VALUE_DELIVERED_ATTRIBUTE_ID (0x0C07) -#define ZCL_CURRENT_ALTERNATIVE_PARTIAL_PROFILE_INTERVAL_VALUE_RECEIVED_ATTRIBUTE_ID (0x0C08) -#define ZCL_CURRENT_ALTERNATIVE_DAY_MAX_PRESSURE_ATTRIBUTE_ID (0x0C09) -#define ZCL_CURRENT_ALTERNATIVE_DAY_MIN_PRESSURE_ATTRIBUTE_ID (0x0C0A) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MAX_PRESSURE_ATTRIBUTE_ID (0x0C0B) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MIN_PRESSURE_ATTRIBUTE_ID (0x0C0C) -#define ZCL_CURRENT_ALTERNATIVE_DAY_ALTERNATIVE_MAX_DEMAND_ATTRIBUTE_ID (0x0C0D) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MAX_DEMAND_ATTRIBUTE_ID (0x0C0E) -#define ZCL_CURRENT_ALTERNATIVE_MONTH_MAX_DEMAND_ATTRIBUTE_ID (0x0C0F) -#define ZCL_CURRENT_ALTERNATIVE_YEAR_MAX_DEMAND_ATTRIBUTE_ID (0x0C10) -#define ZCL_PREVIOUS_DAY2_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C20) -#define ZCL_PREVIOUS_DAY2_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C21) -#define ZCL_PREVIOUS_DAY3_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C22) -#define ZCL_PREVIOUS_DAY3_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C23) -#define ZCL_PREVIOUS_DAY4_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C24) -#define ZCL_PREVIOUS_DAY4_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C25) -#define ZCL_PREVIOUS_DAY5_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C26) -#define ZCL_PREVIOUS_DAY5_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C27) -#define ZCL_PREVIOUS_DAY6_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C28) -#define ZCL_PREVIOUS_DAY6_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C29) -#define ZCL_PREVIOUS_DAY7_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C2A) -#define ZCL_PREVIOUS_DAY7_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C2B) -#define ZCL_PREVIOUS_DAY8_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C2C) -#define ZCL_PREVIOUS_DAY8_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C2D) -#define ZCL_CURRENT_WEEK_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C30) -#define ZCL_CURRENT_WEEK_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C31) -#define ZCL_PREVIOUS_WEEK_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C32) -#define ZCL_PREVIOUS_WEEK_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C33) -#define ZCL_PREVIOUS_WEEK2_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C34) -#define ZCL_PREVIOUS_WEEK2_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C35) -#define ZCL_PREVIOUS_WEEK3_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C36) -#define ZCL_PREVIOUS_WEEK3_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C37) -#define ZCL_PREVIOUS_WEEK4_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C38) -#define ZCL_PREVIOUS_WEEK4_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C39) -#define ZCL_PREVIOUS_WEEK5_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C3A) -#define ZCL_PREVIOUS_WEEK5_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C3B) -#define ZCL_CURRENT_MONTH_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C40) -#define ZCL_CURRENT_MONTH_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C41) -#define ZCL_PREVIOUS_MONTH_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C42) -#define ZCL_PREVIOUS_MONTH_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C43) -#define ZCL_PREVIOUS_MONTH2_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C44) -#define ZCL_PREVIOUS_MONTH2_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C45) -#define ZCL_PREVIOUS_MONTH3_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C46) -#define ZCL_PREVIOUS_MONTH3_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C47) -#define ZCL_PREVIOUS_MONTH4_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C48) -#define ZCL_PREVIOUS_MONTH4_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C49) -#define ZCL_PREVIOUS_MONTH5_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C4A) -#define ZCL_PREVIOUS_MONTH5_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C4B) -#define ZCL_PREVIOUS_MONTH6_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C4C) -#define ZCL_PREVIOUS_MONTH6_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C4D) -#define ZCL_PREVIOUS_MONTH7_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C4E) -#define ZCL_PREVIOUS_MONTH7_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C4F) -#define ZCL_PREVIOUS_MONTH8_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C50) -#define ZCL_PREVIOUS_MONTH8_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C51) -#define ZCL_PREVIOUS_MONTH9_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C52) -#define ZCL_PREVIOUS_MONTH9_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C53) -#define ZCL_PREVIOUS_MONTH10_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C54) -#define ZCL_PREVIOUS_MONTH10_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C55) -#define ZCL_PREVIOUS_MONTH11_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C56) -#define ZCL_PREVIOUS_MONTH11_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C57) -#define ZCL_PREVIOUS_MONTH12_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C58) -#define ZCL_PREVIOUS_MONTH12_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C59) -#define ZCL_PREVIOUS_MONTH13_ALTERNATIVE_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0C5A) -#define ZCL_PREVIOUS_MONTH13_ALTERNATIVE_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0C5B) -#define ZCL_CURRENT_DAY_ALTERNATIVE_MAX_DEMAND_DELIVERED_ATTRIBUTE_ID (0x0C5C) -#define ZCL_CURRENT_DAY_ALTERNATIVE_MAX_DEMAND_DELIVERED_TIME_ATTRIBUTE_ID (0x0C5D) -#define ZCL_CURRENT_DAY_ALTERNATIVE_MAX_DEMAND_RECEIVED_ATTRIBUTE_ID (0x0C5E) -#define ZCL_CURRENT_DAY_ALTERNATIVE_MAX_DEMAND_RECEIVED_TIME_ATTRIBUTE_ID (0x0C5F) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MAX_DEMAND_DELIVERED_ATTRIBUTE_ID (0x0C60) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MAX_DEMAND_DELIVERED_TIME_ATTRIBUTE_ID (0x0C61) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MAX_DEMAND_RECEIVED_ATTRIBUTE_ID (0x0C62) -#define ZCL_PREVIOUS_DAY_ALTERNATIVE_MAX_DEMAND_RECEIVED_TIME_ATTRIBUTE_ID (0x0C63) -#define ZCL_CURRENT_ACTIVE_SUMMATION_Q1_ATTRIBUTE_ID (0x0D01) -#define ZCL_CURRENT_ACTIVE_SUMMATION_Q2_ATTRIBUTE_ID (0x0D02) -#define ZCL_CURRENT_ACTIVE_SUMMATION_Q3_ATTRIBUTE_ID (0x0D03) -#define ZCL_CURRENT_ACTIVE_SUMMATION_Q4_ATTRIBUTE_ID (0x0D04) -#define ZCL_CURRENT_REACTIVE_SUMMATION_Q1_ATTRIBUTE_ID (0x0D05) -#define ZCL_CURRENT_REACTIVE_SUMMATION_Q2_ATTRIBUTE_ID (0x0D06) -#define ZCL_CURRENT_REACTIVE_SUMMATION_Q3_ATTRIBUTE_ID (0x0D07) -#define ZCL_CURRENT_REACTIVE_SUMMATION_Q4_ATTRIBUTE_ID (0x0D08) - // Attribute ids for cluster: Messaging // Client attributes // Server attributes -// Attribute ids for cluster: Tunneling - -// Client attributes - -// Server attributes -#define ZCL_CLOSE_TUNNEL_TIMEOUT_ATTRIBUTE_ID (0x0000) - -// Attribute ids for cluster: Prepayment - -// Client attributes - -// Server attributes -#define ZCL_PAYMENT_CONTROL_CONFIGURATION_ATTRIBUTE_ID (0x0000) -#define ZCL_CREDIT_REMAINING_ATTRIBUTE_ID (0x0001) -#define ZCL_EMERGENCY_CREDIT_REMAINING_ATTRIBUTE_ID (0x0002) -#define ZCL_CREDIT_STATUS_ATTRIBUTE_ID (0x0003) -#define ZCL_CREDIT_REMAINING_TIMESTAMP_ATTRIBUTE_ID (0x0004) -#define ZCL_ACCUMULATED_DEBT_ATTRIBUTE_ID (0x0005) -#define ZCL_OVERALL_DEBT_CAP_ATTRIBUTE_ID (0x0006) -#define ZCL_EMERGENCY_CREDIT_LIMIT_ALLOWANCE_ATTRIBUTE_ID (0x0010) -#define ZCL_EMERGENCY_CREDIT_THRESHOLD_ATTRIBUTE_ID (0x0011) -#define ZCL_TOTAL_CREDIT_ADDED_ATTRIBUTE_ID (0x0020) -#define ZCL_MAX_CREDIT_LIMIT_ATTRIBUTE_ID (0x0021) -#define ZCL_MAX_CREDIT_PER_TOP_UP_ATTRIBUTE_ID (0x0022) -#define ZCL_FRIENDLY_CREDIT_WARNING_ATTRIBUTE_ID (0x0030) -#define ZCL_LOW_CREDIT_WARNING_ATTRIBUTE_ID (0x0031) -#define ZCL_IHD_LOW_CREDIT_WARNING_ATTRIBUTE_ID (0x0032) -#define ZCL_INTERRUPT_SUSPEND_TIME_ATTRIBUTE_ID (0x0033) -#define ZCL_REMAINING_FRIENDLY_CREDIT_TIME_ATTRIBUTE_ID (0x0034) -#define ZCL_NEXT_FRIENDLY_CREDIT_PERIOD_ATTRIBUTE_ID (0x0035) -#define ZCL_CUT_OFF_VALUE_ATTRIBUTE_ID (0x0040) -#define ZCL_TOKEN_CARRIER_ID_ATTRIBUTE_ID (0x0080) -#define ZCL_TOP_UP_DATE_TIME_1_ATTRIBUTE_ID (0x0100) -#define ZCL_TOP_UP_AMOUNT_1_ATTRIBUTE_ID (0x0101) -#define ZCL_TOP_UP_ORIGINATING_DEVICE_1_ATTRIBUTE_ID (0x0102) -#define ZCL_TOP_UP_CODE_1_ATTRIBUTE_ID (0x0103) -#define ZCL_TOP_UP_DATE_TIME_2_ATTRIBUTE_ID (0x0110) -#define ZCL_TOP_UP_AMOUNT_2_ATTRIBUTE_ID (0x0111) -#define ZCL_TOP_UP_ORIGINATING_DEVICE_2_ATTRIBUTE_ID (0x0112) -#define ZCL_TOP_UP_CODE_2_ATTRIBUTE_ID (0x0113) -#define ZCL_TOP_UP_DATE_TIME_3_ATTRIBUTE_ID (0x0120) -#define ZCL_TOP_UP_AMOUNT_3_ATTRIBUTE_ID (0x0121) -#define ZCL_TOP_UP_ORIGINATING_DEVICE_3_ATTRIBUTE_ID (0x0122) -#define ZCL_TOP_UP_CODE_3_ATTRIBUTE_ID (0x0123) -#define ZCL_TOP_UP_DATE_TIME_4_ATTRIBUTE_ID (0x0130) -#define ZCL_TOP_UP_AMOUNT_4_ATTRIBUTE_ID (0x0131) -#define ZCL_TOP_UP_ORIGINATING_DEVICE_4_ATTRIBUTE_ID (0x0132) -#define ZCL_TOP_UP_CODE_4_ATTRIBUTE_ID (0x0133) -#define ZCL_TOP_UP_DATE_TIME_5_ATTRIBUTE_ID (0x0140) -#define ZCL_TOP_UP_AMOUNT_5_ATTRIBUTE_ID (0x0141) -#define ZCL_TOP_UP_ORIGINATING_DEVICE_5_ATTRIBUTE_ID (0x0142) -#define ZCL_TOP_UP_CODE_5_ATTRIBUTE_ID (0x0143) -#define ZCL_DEBT_LABEL_1_ATTRIBUTE_ID (0x0210) -#define ZCL_DEBT_AMOUNT_1_ATTRIBUTE_ID (0x0211) -#define ZCL_DEBT_RECOVERY_METHOD_1_ATTRIBUTE_ID (0x0212) -#define ZCL_DEBT_RECOVERY_START_TIME_1_ATTRIBUTE_ID (0x0213) -#define ZCL_DEBT_RECOVERY_COLLECTION_TIME_1_ATTRIBUTE_ID (0x0214) -#define ZCL_DEBT_RECOVERY_FREQUENCY_1_ATTRIBUTE_ID (0x0216) -#define ZCL_DEBT_RECOVERY_AMOUNT_1_ATTRIBUTE_ID (0x0217) -#define ZCL_DEBT_RECOVERY_TOP_UP_PERCENTAGE_1_ATTRIBUTE_ID (0x0219) -#define ZCL_DEBT_LABEL_2_ATTRIBUTE_ID (0x0220) -#define ZCL_DEBT_AMOUNT_2_ATTRIBUTE_ID (0x0221) -#define ZCL_DEBT_RECOVERY_METHOD_2_ATTRIBUTE_ID (0x0222) -#define ZCL_DEBT_RECOVERY_START_TIME_2_ATTRIBUTE_ID (0x0223) -#define ZCL_DEBT_RECOVERY_COLLECTION_TIME_2_ATTRIBUTE_ID (0x0224) -#define ZCL_DEBT_RECOVERY_FREQUENCY_2_ATTRIBUTE_ID (0x0226) -#define ZCL_DEBT_RECOVERY_AMOUNT_2_ATTRIBUTE_ID (0x0227) -#define ZCL_DEBT_RECOVERY_TOP_UP_PERCENTAGE_2_ATTRIBUTE_ID (0x0229) -#define ZCL_DEBT_LABEL_3_ATTRIBUTE_ID (0x0230) -#define ZCL_DEBT_AMOUNT_3_ATTRIBUTE_ID (0x0231) -#define ZCL_DEBT_RECOVERY_METHOD_3_ATTRIBUTE_ID (0x0232) -#define ZCL_DEBT_RECOVERY_START_TIME_3_ATTRIBUTE_ID (0x0233) -#define ZCL_DEBT_RECOVERY_COLLECTION_TIME_3_ATTRIBUTE_ID (0x0234) -#define ZCL_DEBT_RECOVERY_FREQUENCY_3_ATTRIBUTE_ID (0x0236) -#define ZCL_DEBT_RECOVERY_AMOUNT_3_ATTRIBUTE_ID (0x0237) -#define ZCL_DEBT_RECOVERY_TOP_UP_PERCENTAGE_3_ATTRIBUTE_ID (0x0239) -#define ZCL_PREPAYMENT_ALARM_STATUS_ATTRIBUTE_ID (0x0400) -#define ZCL_PREPAY_GENERIC_ALARM_MASK_ATTRIBUTE_ID (0x0401) -#define ZCL_PREPAY_SWITCH_ALARM_MASK_ATTRIBUTE_ID (0x0402) -#define ZCL_PREPAY_EVENT_ALARM_MASK_ATTRIBUTE_ID (0x0403) -#define ZCL_HISTORICAL_COST_CONSUMPTION_FORMATTING_ATTRIBUTE_ID (0x0500) -#define ZCL_CONSUMPTION_UNIT_OF_MEASUREMENT_ATTRIBUTE_ID (0x0501) -#define ZCL_CURRENCY_SCALING_FACTOR_ATTRIBUTE_ID (0x0502) -#define ZCL_PREPAYMANT_CURRENCY_ATTRIBUTE_ID (0x0503) -#define ZCL_CURRENT_DAY_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x051C) -#define ZCL_CURRENT_DAY_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x051D) -#define ZCL_PREVIOUS_DAY_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x051E) -#define ZCL_PREVIOUS_DAY_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x051F) -#define ZCL_PREVIOUS_DAY_2_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0520) -#define ZCL_PREVIOUS_DAY_2_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0521) -#define ZCL_PREVIOUS_DAY_3_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0522) -#define ZCL_PREVIOUS_DAY_3_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0523) -#define ZCL_PREVIOUS_DAY_4_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0524) -#define ZCL_PREVIOUS_DAY_4_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0525) -#define ZCL_PREVIOUS_DAY_5_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0526) -#define ZCL_PREVIOUS_DAY_5_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0527) -#define ZCL_PREVIOUS_DAY_6_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0528) -#define ZCL_PREVIOUS_DAY_6_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0529) -#define ZCL_PREVIOUS_DAY_7_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x052A) -#define ZCL_PREVIOUS_DAY_7_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x052B) -#define ZCL_PREVIOUS_DAY_8_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x052C) -#define ZCL_PREVIOUS_DAY_8_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x052D) -#define ZCL_CURRENT_WEEK_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0530) -#define ZCL_CURRENT_WEEK_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0531) -#define ZCL_PREVIOUS_WEEK_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0532) -#define ZCL_PREVIOUS_WEEK_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0533) -#define ZCL_PREVIOUS_WEEK_2_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0534) -#define ZCL_PREVIOUS_WEEK_2_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0535) -#define ZCL_PREVIOUS_WEEK_3_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0536) -#define ZCL_PREVIOUS_WEEK_3_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0537) -#define ZCL_PREVIOUS_WEEK_4_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0538) -#define ZCL_PREVIOUS_WEEK_4_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0539) -#define ZCL_PREVIOUS_WEEK_5_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x053A) -#define ZCL_PREVIOUS_WEEK_5_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x053B) -#define ZCL_CURRENT_MONTH_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0540) -#define ZCL_CURRENT_MONTH_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0541) -#define ZCL_PREVIOUS_MONTH_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0542) -#define ZCL_PREVIOUS_MONTH_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0543) -#define ZCL_PREVIOUS_MONTH_2_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0544) -#define ZCL_PREVIOUS_MONTH_2_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0545) -#define ZCL_PREVIOUS_MONTH_3_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0546) -#define ZCL_PREVIOUS_MONTH_3_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0547) -#define ZCL_PREVIOUS_MONTH_4_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0548) -#define ZCL_PREVIOUS_MONTH_4_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0549) -#define ZCL_PREVIOUS_MONTH_5_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x054A) -#define ZCL_PREVIOUS_MONTH_5_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x054B) -#define ZCL_PREVIOUS_MONTH_6_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x054C) -#define ZCL_PREVIOUS_MONTH_6_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x054D) -#define ZCL_PREVIOUS_MONTH_7_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x054E) -#define ZCL_PREVIOUS_MONTH_7_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x054F) -#define ZCL_PREVIOUS_MONTH_8_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0550) -#define ZCL_PREVIOUS_MONTH_8_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0551) -#define ZCL_PREVIOUS_MONTH_9_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0552) -#define ZCL_PREVIOUS_MONTH_9_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0553) -#define ZCL_PREVIOUS_MONTH_10_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0554) -#define ZCL_PREVIOUS_MONTH_10_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0555) -#define ZCL_PREVIOUS_MONTH_11_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0556) -#define ZCL_PREVIOUS_MONTH_11_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0557) -#define ZCL_PREVIOUS_MONTH_12_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x0558) -#define ZCL_PREVIOUS_MONTH_12_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x0559) -#define ZCL_PREVIOUS_MONTH_13_COST_CONSUMPTION_DELIVERED_ATTRIBUTE_ID (0x055A) -#define ZCL_PREVIOUS_MONTH_13_COST_CONSUMPTION_RECEIVED_ATTRIBUTE_ID (0x055B) -#define ZCL_PREPAYMENT_HISTORICAL_FREEZE_TIME_ATTRIBUTE_ID (0x055C) - -// Attribute ids for cluster: Energy Management - -// Client attributes - -// Server attributes -#define ZCL_LOAD_CONTROL_STATE_ATTRIBUTE_ID (0x0000) -#define ZCL_CURRENT_EVENT_ID_ATTRIBUTE_ID (0x0001) -#define ZCL_CURRENT_EVENT_STATUS_ATTRIBUTE_ID (0x0002) -#define ZCL_CONFORMANCE_LEVEL_ATTRIBUTE_ID (0x0003) -#define ZCL_MINIMUM_OFF_TIME_ATTRIBUTE_ID (0x0004) -#define ZCL_MINIMUM_ON_TIME_ATTRIBUTE_ID (0x0005) -#define ZCL_MINIMUM_CYCLE_PERIOD_ATTRIBUTE_ID (0x0006) - -// Attribute ids for cluster: Calendar - -// Client attributes - -// Server attributes -#define ZCL_AUXILIARY_SWITCH_1_LABEL_ATTRIBUTE_ID (0x0000) -#define ZCL_AUXILIARY_SWITCH_2_LABEL_ATTRIBUTE_ID (0x0001) -#define ZCL_AUXILIARY_SWITCH_3_LABEL_ATTRIBUTE_ID (0x0002) -#define ZCL_AUXILIARY_SWITCH_4_LABEL_ATTRIBUTE_ID (0x0003) -#define ZCL_AUXILIARY_SWITCH_5_LABEL_ATTRIBUTE_ID (0x0004) -#define ZCL_AUXILIARY_SWITCH_6_LABEL_ATTRIBUTE_ID (0x0005) -#define ZCL_AUXILIARY_SWITCH_7_LABEL_ATTRIBUTE_ID (0x0006) -#define ZCL_AUXILIARY_SWITCH_8_LABEL_ATTRIBUTE_ID (0x0007) - -// Attribute ids for cluster: Device Management - -// Client attributes -#define ZCL_PROVIDER_ID_CLIENT_ATTRIBUTE_ID (0x0000) -#define ZCL_RECEIVED_PROVIDER_ID_CLIENT_ATTRIBUTE_ID (0x0010) -#define ZCL_TOU_TARIFF_ACTIVATION_ATTRIBUTE_ID (0x0100) -#define ZCL_BLOCK_TARIFF_ACTIVATED_ATTRIBUTE_ID (0x0101) -#define ZCL_BLOCK_TOU_TARIFF_ACTIVATED_ATTRIBUTE_ID (0x0102) -#define ZCL_SINGLE_TARIFF_RATE_ACTIVATED_ATTRIBUTE_ID (0x0103) -#define ZCL_ASYNCHRONOUS_BILLING_OCCURRED_ATTRIBUTE_ID (0x0104) -#define ZCL_SYNCHRONOUS_BILLING_OCCURRED_ATTRIBUTE_ID (0x0105) -#define ZCL_TARIFF_NOT_SUPPORTED_ATTRIBUTE_ID (0x0106) -#define ZCL_PRICE_CLUSTER_NOT_FOUND_ATTRIBUTE_ID (0x0107) -#define ZCL_CURRENCY_CHANGE_PASSIVE_ACTIVATED_ATTRIBUTE_ID (0x0108) -#define ZCL_CURRENCY_CHANGE_PASSIVE_UPDATED_ATTRIBUTE_ID (0x0109) -#define ZCL_PRICE_MATRIX_PASSIVE_ACTIVATED_ATTRIBUTE_ID (0x010A) -#define ZCL_PRICE_MATRIX_PASSIVE_UPDATED_ATTRIBUTE_ID (0x010B) -#define ZCL_TARIFF_CHANGE_PASSIVE_ACTIVATED_ATTRIBUTE_ID (0x010C) -#define ZCL_TARIFF_CHANGE_PASSIVE_UPDATED_ATTRIBUTE_ID (0x010D) -#define ZCL_PUBLISH_PRICE_RECEIVED_ATTRIBUTE_ID (0x01B0) -#define ZCL_PUBLISH_PRICE_ACTIONED_ATTRIBUTE_ID (0x01B1) -#define ZCL_PUBLISH_PRICE_CANCELLED_ATTRIBUTE_ID (0x01B2) -#define ZCL_PUBLISH_PRICE_REJECTED_ATTRIBUTE_ID (0x01B3) -#define ZCL_PUBLISH_TARIFF_INFO_RECEIVED_ATTRIBUTE_ID (0x01B4) -#define ZCL_PUBLISH_TARIFF_INFO_ACTIONED_ATTRIBUTE_ID (0x01B5) -#define ZCL_PUBLISH_TARIFF_INFO_CANCELLED_ATTRIBUTE_ID (0x01B6) -#define ZCL_PUBLISH_TARIFF_INFO_REJECTED_ATTRIBUTE_ID (0x01B7) -#define ZCL_PUBLISH_PRICE_MATRIX_RECEIVED_ATTRIBUTE_ID (0x01B8) -#define ZCL_PUBLISH_PRICE_MATRIX_ACTIONED_ATTRIBUTE_ID (0x01B9) -#define ZCL_PUBLISH_PRICE_MATRIX_CANCELLED_ATTRIBUTE_ID (0x01BA) -#define ZCL_PUBLISH_PRICE_MATRIX_REJECTED_ATTRIBUTE_ID (0x01BB) -#define ZCL_PUBLISH_BLOCK_THRESHOLDS_RECEIVED_ATTRIBUTE_ID (0x01BC) -#define ZCL_PUBLISH_BLOCK_THRESHOLDS_ACTIONED_ATTRIBUTE_ID (0x01BD) -#define ZCL_PUBLISH_BLOCK_THRESHOLDS_CANCELLED_ATTRIBUTE_ID (0x01BE) -#define ZCL_PUBLISH_BLOCK_THRESHOLDS_REJECTED_ATTRIBUTE_ID (0x01BF) -#define ZCL_PUBLISH_CALORIFIC_VALUE_RECEIVED_ATTRIBUTE_ID (0x01C0) -#define ZCL_PUBLISH_CALORIFIC_VALUE_ACTIONED_ATTRIBUTE_ID (0x01C1) -#define ZCL_PUBLISH_CALORIFIC_VALUE_CANCELLED_ATTRIBUTE_ID (0x01C2) -#define ZCL_PUBLISH_CALORIFIC_VALUE_REJECTED_ATTRIBUTE_ID (0x01C3) -#define ZCL_PUBLISH_CONVERSION_FACTOR_RECEIVED_ATTRIBUTE_ID (0x01C4) -#define ZCL_PUBLISH_CONVERSION_FACTOR_ACTIONED_ATTRIBUTE_ID (0x01C5) -#define ZCL_PUBLISH_CONVERSION_FACTOR_CANCELLED_ATTRIBUTE_ID (0x01C6) -#define ZCL_PUBLISH_CONVERSION_FACTOR_REJECTED_ATTRIBUTE_ID (0x01C7) -#define ZCL_PUBLISH_CO2_VALUE_RECEIVED_ATTRIBUTE_ID (0x01C8) -#define ZCL_PUBLISH_CO2_VALUE_ACTIONED_ATTRIBUTE_ID (0x01C9) -#define ZCL_PUBLISH_CO2_VALUE_CANCELLED_ATTRIBUTE_ID (0x01CA) -#define ZCL_PUBLISH_CO2_VALUE_REJECTED_ATTRIBUTE_ID (0x01CB) -#define ZCL_PUBLISH_CPP_EVENT_RECEIVED_ATTRIBUTE_ID (0x01CC) -#define ZCL_PUBLISH_CPP_EVENT_ACTIONED_ATTRIBUTE_ID (0x01CD) -#define ZCL_PUBLISH_CPP_EVENT_CANCELLED_ATTRIBUTE_ID (0x01CE) -#define ZCL_PUBLISH_CPP_EVENT_REJECTED_ATTRIBUTE_ID (0x01CF) -#define ZCL_PUBLISH_TIER_LABELS_RECEIVED_ATTRIBUTE_ID (0x01D0) -#define ZCL_PUBLISH_TIER_LABELS_ACTIONED_ATTRIBUTE_ID (0x01D1) -#define ZCL_PUBLISH_TIER_LABELS_CANCELLED_ATTRIBUTE_ID (0x01D2) -#define ZCL_PUBLISH_TIER_LABELS_REJECTED_ATTRIBUTE_ID (0x01D3) -#define ZCL_PUBLISH_BILLING_PERIOD_RECEIVED_ATTRIBUTE_ID (0x01D4) -#define ZCL_PUBLISH_BILLING_PERIOD_ACTIONED_ATTRIBUTE_ID (0x01D5) -#define ZCL_PUBLISH_BILLING_PERIOD_CANCELLED_ATTRIBUTE_ID (0x01D6) -#define ZCL_PUBLISH_BILLING_PERIOD_REJECTED_ATTRIBUTE_ID (0x01D7) -#define ZCL_PUBLISH_CONSOLIDATED_BILL_RECEIVED_ATTRIBUTE_ID (0x01D8) -#define ZCL_PUBLISH_CONSOLIDATED_BILL_ACTIONED_ATTRIBUTE_ID (0x01D9) -#define ZCL_PUBLISH_CONSOLIDATED_BILL_CANCELLED_ATTRIBUTE_ID (0x01DA) -#define ZCL_PUBLISH_CONSOLIDATED_BILL_REJECTED_ATTRIBUTE_ID (0x01DB) -#define ZCL_PUBLISH_BLOCK_PERIOD_RECEIVED_ATTRIBUTE_ID (0x01DC) -#define ZCL_PUBLISH_BLOCK_PERIOD_ACTIONED_ATTRIBUTE_ID (0x01DD) -#define ZCL_PUBLISH_BLOCK_PERIOD_CANCELLED_ATTRIBUTE_ID (0x01DE) -#define ZCL_PUBLISH_BLOCK_PERIOD_REJECTED_ATTRIBUTE_ID (0x01DF) -#define ZCL_PUBLISH_CREDIT_PAYMENT_INFO_RECEIVED_ATTRIBUTE_ID (0x01E0) -#define ZCL_PUBLISH_CREDIT_PAYMENT_INFO_ACTIONED_ATTRIBUTE_ID (0x01E1) -#define ZCL_PUBLISH_CREDIT_PAYMENT_INFO_CANCELLED_ATTRIBUTE_ID (0x01E2) -#define ZCL_PUBLISH_CREDIT_PAYMENT_INFO_REJECTED_ATTRIBUTE_ID (0x01E3) -#define ZCL_PUBLISH_CURRENCY_CONVERSION_RECEIVED_ATTRIBUTE_ID (0x01E4) -#define ZCL_PUBLISH_CURRENCY_CONVERSION_ACTIONED_ATTRIBUTE_ID (0x01E5) -#define ZCL_PUBLISH_CURRENCY_CONVERSION_CANCELLED_ATTRIBUTE_ID (0x01E6) -#define ZCL_PUBLISH_CURRENCY_CONVERSION_REJECTED_ATTRIBUTE_ID (0x01E7) -#define ZCL_CHECK_METER_ATTRIBUTE_ID (0x0200) -#define ZCL_LOW_BATTERY_ATTRIBUTE_ID (0x0201) -#define ZCL_TAMPER_DETECT_ATTRIBUTE_ID (0x0202) -#define ZCL_DEVICE_MANAGEMENT_SUPPLY_STATUS_ATTRIBUTE_ID (0x0203) -#define ZCL_SUPPLY_QUALITY_ATTRIBUTE_ID (0x0204) -#define ZCL_LEAK_DETECT_ATTRIBUTE_ID (0x0205) -#define ZCL_SERVICE_DISCONNECT_ATTRIBUTE_ID (0x0206) -#define ZCL_REVERSE_FLOW_GENERAL_ATTRIBUTE_ID (0x0207) -#define ZCL_METER_COVER_REMOVED_ATTRIBUTE_ID (0x0208) -#define ZCL_METER_COVER_CLOSED_ATTRIBUTE_ID (0x0209) -#define ZCL_STRONG_MAGNETIC_FIELD_ATTRIBUTE_ID (0x020A) -#define ZCL_NO_STRONG_MAGNETIC_FIELD_ATTRIBUTE_ID (0x020B) -#define ZCL_BATTERY_FAILURE_ATTRIBUTE_ID (0x020C) -#define ZCL_PROGRAM_MEMORY_ERROR_ATTRIBUTE_ID (0x020D) -#define ZCL_RAM_ERROR_ATTRIBUTE_ID (0x020E) -#define ZCL_NV_MEMORY_ERROR_ATTRIBUTE_ID (0x020F) -#define ZCL_LOW_VOLTAGE_L1_ATTRIBUTE_ID (0x0210) -#define ZCL_HIGH_VOLTAGE_L1_ATTRIBUTE_ID (0x0211) -#define ZCL_LOW_VOLTAGE_L2_ATTRIBUTE_ID (0x0212) -#define ZCL_HIGH_VOLTAGE_L2_ATTRIBUTE_ID (0x0213) -#define ZCL_LOW_VOLTAGE_L3_ATTRIBUTE_ID (0x0214) -#define ZCL_HIGH_VOLTAGE_L3_ATTRIBUTE_ID (0x0215) -#define ZCL_OVER_CURRENT_L1_ATTRIBUTE_ID (0x0216) -#define ZCL_OVER_CURRENT_L2_ATTRIBUTE_ID (0x0217) -#define ZCL_OVER_CURRENT_L3_ATTRIBUTE_ID (0x0218) -#define ZCL_FREQUENCY_TOO_LOW_L1_ATTRIBUTE_ID (0x0219) -#define ZCL_FREQUENCY_TOO_HIGH_L1_ATTRIBUTE_ID (0x021A) -#define ZCL_FREQUENCY_TOO_LOW_L2_ATTRIBUTE_ID (0x021B) -#define ZCL_FREQUENCY_TOO_HIGH_L2_ATTRIBUTE_ID (0x021C) -#define ZCL_FREQUENCY_TOO_LOW_L3_ATTRIBUTE_ID (0x021D) -#define ZCL_FREQUENCY_TOO_HIGH_L3_ATTRIBUTE_ID (0x021E) -#define ZCL_GROUND_FAULT_ATTRIBUTE_ID (0x021F) -#define ZCL_ELECTRIC_TAMPER_DETECT_ATTRIBUTE_ID (0x0220) -#define ZCL_INCORRECT_POLARITY_ATTRIBUTE_ID (0x0221) -#define ZCL_CURRENT_NO_VOLTAGE_ATTRIBUTE_ID (0x0222) -#define ZCL_UNDER_VOLTAGE_ATTRIBUTE_ID (0x0223) -#define ZCL_OVER_VOLTAGE_ATTRIBUTE_ID (0x0224) -#define ZCL_NORMAL_VOLTAGE_ATTRIBUTE_ID (0x0225) -#define ZCL_PF_BELOW_THRESHOLD_ATTRIBUTE_ID (0x0226) -#define ZCL_PF_ABOVE_THRESHOLD_ATTRIBUTE_ID (0x0227) -#define ZCL_TERMINAL_COVER_REMOVED_ATTRIBUTE_ID (0x0228) -#define ZCL_TERMINAL_COVER_CLOSED_ATTRIBUTE_ID (0x0229) -#define ZCL_BURST_DETECT_ATTRIBUTE_ID (0x0230) -#define ZCL_PRESSURE_TOO_LOW_ATTRIBUTE_ID (0x0231) -#define ZCL_PRESSURE_TOO_HIGH_ATTRIBUTE_ID (0x0232) -#define ZCL_FLOW_SENSOR_COMMUNICATION_ERROR_ATTRIBUTE_ID (0x0233) -#define ZCL_FLOW_SENSOR_MEASUREMENT_FAULT_ATTRIBUTE_ID (0x0234) -#define ZCL_FLOW_SENSOR_REVERSE_FLOW_ATTRIBUTE_ID (0x0235) -#define ZCL_FLOW_SENSOR_AIR_DETECT_ATTRIBUTE_ID (0x0236) -#define ZCL_PIPE_EMPTY_ATTRIBUTE_ID (0x0237) -#define ZCL_INLET_TEMP_SENSOR_FAULT_ATTRIBUTE_ID (0x0250) -#define ZCL_OUTLET_TEMP_SENSOR_FAULT_ATTRIBUTE_ID (0x0251) -#define ZCL_REVERSE_FLOW_ATTRIBUTE_ID (0x0260) -#define ZCL_TILT_TAMPER_ATTRIBUTE_ID (0x0261) -#define ZCL_BATTERY_COVER_REMOVED_ATTRIBUTE_ID (0x0262) -#define ZCL_BATTERY_COVER_CLOSED_ATTRIBUTE_ID (0x0263) -#define ZCL_EXCESS_FLOW_ATTRIBUTE_ID (0x0264) -#define ZCL_TILT_TAMPER_ENABLED_ATTRIBUTE_ID (0x0265) -#define ZCL_MEASUREMENT_SYSTEM_ERROR_ATTRIBUTE_ID (0x0270) -#define ZCL_WATCHDOG_ERROR_ATTRIBUTE_ID (0x0271) -#define ZCL_SUPPLY_DISCONNECT_FAILURE_ATTRIBUTE_ID (0x0272) -#define ZCL_SUPPLY_CONNECT_FAILURE_ATTRIBUTE_ID (0x0273) -#define ZCL_MEASUREMENT_SOFTWARE_CHANGED_ATTRIBUTE_ID (0x0274) -#define ZCL_DST_ENABLED_ATTRIBUTE_ID (0x0275) -#define ZCL_DST_DISABLED_ATTRIBUTE_ID (0x0276) -#define ZCL_CLOCK_ADJ_BACKWARD_ATTRIBUTE_ID (0x0277) -#define ZCL_CLOCK_ADJ_FORWARD_ATTRIBUTE_ID (0x0278) -#define ZCL_CLOCK_INVALID_ATTRIBUTE_ID (0x0279) -#define ZCL_COMMUNICATION_ERROR_HAN_ATTRIBUTE_ID (0x027A) -#define ZCL_COMMUNICATION_OK_HAN_ATTRIBUTE_ID (0x027B) -#define ZCL_METER_FRAUD_ATTEMPT_ATTRIBUTE_ID (0x027C) -#define ZCL_POWER_LOSS_ATTRIBUTE_ID (0x027D) -#define ZCL_UNUSUAL_HAN_TRAFFIC_ATTRIBUTE_ID (0x027E) -#define ZCL_UNEXPECTED_CLOCK_CHANGE_ATTRIBUTE_ID (0x027F) -#define ZCL_COMMS_USING_UNAUTHENTICATED_COMPONENT_ATTRIBUTE_ID (0x0280) -#define ZCL_METERING_ERROR_REG_CLEAR_ATTRIBUTE_ID (0x0281) -#define ZCL_METERING_ALARM_REG_CLEAR_ATTRIBUTE_ID (0x0282) -#define ZCL_UNEXPECTED_HW_RESET_ATTRIBUTE_ID (0x0283) -#define ZCL_UNEXPECTED_PROGRAM_EXECUTION_ATTRIBUTE_ID (0x0284) -#define ZCL_LIMIT_THRESHOLD_EXCEEDED_ATTRIBUTE_ID (0x0285) -#define ZCL_LIMIT_THRESHOLD_OK_ATTRIBUTE_ID (0x0286) -#define ZCL_LIMIT_THRESHOLD_CHANGED_ATTRIBUTE_ID (0x0287) -#define ZCL_MAXIMUM_DEMAND_EXCEEDED_ATTRIBUTE_ID (0x0288) -#define ZCL_PROFILE_CLEARED_ATTRIBUTE_ID (0x0289) -#define ZCL_LOAD_PROFILE_CLEARED_ATTRIBUTE_ID (0x028A) -#define ZCL_BATTERY_WARN_ATTRIBUTE_ID (0x028B) -#define ZCL_WRONG_SIGNATURE_ATTRIBUTE_ID (0x028C) -#define ZCL_NO_SIGNATURE_ATTRIBUTE_ID (0x028D) -#define ZCL_SIGNATURE_NOT_VALID_ATTRIBUTE_ID (0x028E) -#define ZCL_UNAUTHORISE_ACTION_FROM_HAN_ATTRIBUTE_ID (0x028F) -#define ZCL_FAST_POLLING_START_ATTRIBUTE_ID (0x0290) -#define ZCL_FAST_POLLING_END_ATTRIBUTE_ID (0x0291) -#define ZCL_METER_REPORTING_INTERVAL_CHANGED_ATTRIBUTE_ID (0x0292) -#define ZCL_DISCONNECT_TO_LOAD_LIMIT_ATTRIBUTE_ID (0x0293) -#define ZCL_METER_SUPPLY_STATUS_REGISTER_CHANGED_ATTRIBUTE_ID (0x0294) -#define ZCL_METER_ALARM_STATUS_REGISTER_CHANGED_ATTRIBUTE_ID (0x0295) -#define ZCL_EXTENDED_METER_ALARM_STATUS_REGISTER_CHANGED_ATTRIBUTE_ID (0x0296) -#define ZCL_DATA_ACCESS_VIA_LOCAL_PORT_ATTRIBUTE_ID (0x0297) -#define ZCL_CONFIGURE_MIRROR_SUCCESS_ATTRIBUTE_ID (0x0298) -#define ZCL_CONFIGURE_MIRROR_FAILURE_ATTRIBUTE_ID (0x0299) -#define ZCL_CONFIGURE_NOTIFICATION_FLAG_SCHEME_SUCCESS_ATTRIBUTE_ID (0x029A) -#define ZCL_CONFIGURE_NOTIFICATION_FLAG_SCHEME_FAILURE_ATTRIBUTE_ID (0x029B) -#define ZCL_CONFIGURE_NOTIFICATION_FLAGS_SUCCESS_ATTRIBUTE_ID (0x029C) -#define ZCL_CONFIGURE_NOTIFICATION_FLAGS_FAILURE_ATTRIBUTE_ID (0x029D) -#define ZCL_STAY_AWAKE_REQUEST_HAN_ATTRIBUTE_ID (0x029E) -#define ZCL_STAY_AWAKE_REQUEST_WAN_ATTRIBUTE_ID (0x029F) -#define ZCL_MANUFACTURER_SPECIFIC_A_ATTRIBUTE_ID (0x02B0) -#define ZCL_MANUFACTURER_SPECIFIC_B_ATTRIBUTE_ID (0x02B1) -#define ZCL_MANUFACTURER_SPECIFIC_C_ATTRIBUTE_ID (0x02B2) -#define ZCL_MANUFACTURER_SPECIFIC_D_ATTRIBUTE_ID (0x02B3) -#define ZCL_MANUFACTURER_SPECIFIC_E_ATTRIBUTE_ID (0x02B4) -#define ZCL_MANUFACTURER_SPECIFIC_F_ATTRIBUTE_ID (0x02B5) -#define ZCL_MANUFACTURER_SPECIFIC_G_ATTRIBUTE_ID (0x02B6) -#define ZCL_MANUFACTURER_SPECIFIC_H_ATTRIBUTE_ID (0x02B7) -#define ZCL_MANUFACTURER_SPECIFIC_I_ATTRIBUTE_ID (0x02B8) -#define ZCL_GET_PROFILE_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02C0) -#define ZCL_GET_PROFILE_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02C1) -#define ZCL_GET_PROFILE_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02C2) -#define ZCL_GET_PROFILE_COMMAND_REJECTED_ATTRIBUTE_ID (0x02C3) -#define ZCL_REQUEST_MIRROR_RESPONSE_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02C4) -#define ZCL_REQUEST_MIRROR_RESPONSE_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02C5) -#define ZCL_REQUEST_MIRROR_RESPONSE_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02C6) -#define ZCL_REQUEST_MIRROR_RESPONSE_COMMAND_REJECTED_ATTRIBUTE_ID (0x02C7) -#define ZCL_MIRROR_REMOVED_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02C8) -#define ZCL_MIRROR_REMOVED_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02C9) -#define ZCL_MIRROR_REMOVED_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02CA) -#define ZCL_MIRROR_REMOVED_COMMAND_REJECTED_ATTRIBUTE_ID (0x02CB) -#define ZCL_GET_SNAPSHOT_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02CC) -#define ZCL_GET_SNAPSHOT_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02CD) -#define ZCL_GET_SNAPSHOT_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02CE) -#define ZCL_GET_SNAPSHOT_COMMAND_REJECTED_ATTRIBUTE_ID (0x02CF) -#define ZCL_TAKE_SNAPSHOT_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02D0) -#define ZCL_TAKE_SNAPSHOT_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02D1) -#define ZCL_TAKE_SNAPSHOT_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02D2) -#define ZCL_TAKE_SNAPSHOT_COMMAND_REJECTED_ATTRIBUTE_ID (0x02D3) -#define ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02D4) -#define ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02D5) -#define ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02D6) -#define ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_REJECTED_ATTRIBUTE_ID (0x02D7) -#define ZCL_SCHEDULE_SNAPSHOT_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02D8) -#define ZCL_SCHEDULE_SNAPSHOT_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02D9) -#define ZCL_SCHEDULE_SNAPSHOT_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02DA) -#define ZCL_SCHEDULE_SNAPSHOT_COMMAND_REJECTED_ATTRIBUTE_ID (0x02DB) -#define ZCL_START_SAMPLING_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02DC) -#define ZCL_START_SAMPLING_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02DD) -#define ZCL_START_SAMPLING_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02DE) -#define ZCL_START_SAMPLING_COMMAND_REJECTED_ATTRIBUTE_ID (0x02DF) -#define ZCL_GET_SAMPLED_DATA_COMMAND_RECEIVED_ATTRIBUTE_ID (0x02E0) -#define ZCL_GET_SAMPLED_DATA_COMMAND_ACTIONED_ATTRIBUTE_ID (0x02E1) -#define ZCL_GET_SAMPLED_DATA_COMMAND_CANCELLED_ATTRIBUTE_ID (0x02E2) -#define ZCL_GET_SAMPLED_DATA_COMMAND_REJECTED_ATTRIBUTE_ID (0x02E3) -#define ZCL_SUPPLY_ON_ATTRIBUTE_ID (0x02E4) -#define ZCL_SUPPLY_ARMED_ATTRIBUTE_ID (0x02E5) -#define ZCL_SUPPLY_OFF_ATTRIBUTE_ID (0x02E6) -#define ZCL_DISCONNECTED_DUE_TO_TAMPER_DETECTED_ATTRIBUTE_ID (0x02E7) -#define ZCL_MANUAL_DISCONNECT_ATTRIBUTE_ID (0x02E8) -#define ZCL_MANUAL_CONNECT_ATTRIBUTE_ID (0x02E9) -#define ZCL_REMOTE_DISCONNECTION_ATTRIBUTE_ID (0x02EA) -#define ZCL_REMOTE_CONNECT_ATTRIBUTE_ID (0x02EB) -#define ZCL_LOCAL_DISCONNECTION_ATTRIBUTE_ID (0x02EC) -#define ZCL_LOCAL_CONNECT_ATTRIBUTE_ID (0x02ED) -#define ZCL_CHANGE_SUPPLY_RECEIVED_ATTRIBUTE_ID (0x02EE) -#define ZCL_CHANGE_SUPPLY_ACTIONED_ATTRIBUTE_ID (0x02EF) -#define ZCL_CHANGE_SUPPLY_CANCELLED_ATTRIBUTE_ID (0x02F0) -#define ZCL_CHANGE_SUPPLY_REJECTED_ATTRIBUTE_ID (0x02F1) -#define ZCL_LOCAL_CHANGE_SUPPLY_RECEIVED_ATTRIBUTE_ID (0x02F2) -#define ZCL_LOCAL_CHANGE_SUPPLY_ACTIONED_ATTRIBUTE_ID (0x02F3) -#define ZCL_LOCAL_CHANGE_SUPPLY_CANCELLED_ATTRIBUTE_ID (0x02F4) -#define ZCL_LOCAL_CHANGE_SUPPLY_REJECTED_ATTRIBUTE_ID (0x02F5) -#define ZCL_PUBLISH_UNCONTROLLED_FLOW_THRESHOLD_RECEIVED_ATTRIBUTE_ID (0x02F6) -#define ZCL_PUBLISH_UNCONTROLLED_FLOW_THRESHOLD_ACTIONED_ATTRIBUTE_ID (0x02F7) -#define ZCL_PUBLISH_UNCONTROLLED_FLOW_THRESHOLD_CANCELLED_ATTRIBUTE_ID (0x02F8) -#define ZCL_PUBLISH_UNCONTROLLED_FLOW_THRESHOLD_REJECTED_ATTRIBUTE_ID (0x02F9) -#define ZCL_MESSAGE_CONFIRMATION_SENT_ATTRIBUTE_ID (0x0300) -#define ZCL_DISPLAY_MESSAGE_RECEIVED_ATTRIBUTE_ID (0x03C0) -#define ZCL_DISPLAY_MESSAGE_ACTIONED_ATTRIBUTE_ID (0x03C1) -#define ZCL_DISPLAY_MESSAGE_CANCELLED_ATTRIBUTE_ID (0x03C2) -#define ZCL_DISPLAY_MESSAGE_REJECTED_ATTRIBUTE_ID (0x03C3) -#define ZCL_CANCEL_MESSAGE_RECEIVED_ATTRIBUTE_ID (0x03C4) -#define ZCL_CANCEL_MESSAGE_ACTIONED_ATTRIBUTE_ID (0x03C5) -#define ZCL_CANCEL_MESSAGE_CANCELLED_ATTRIBUTE_ID (0x03C6) -#define ZCL_CANCEL_MESSAGE_REJECTED_ATTRIBUTE_ID (0x03C7) -#define ZCL_LOW_CREDIT_ATTRIBUTE_ID (0x0400) -#define ZCL_NO_CREDIT_ATTRIBUTE_ID (0x0401) -#define ZCL_CREDIT_EXHAUSTED_ATTRIBUTE_ID (0x0402) -#define ZCL_EMERGENCY_CREDIT_ENABLED_ATTRIBUTE_ID (0x0403) -#define ZCL_EMERGENCY_CREDIT_EXHAUSTED_ATTRIBUTE_ID (0x0404) -#define ZCL_PREPAY_IHD_LOW_CREDIT_WARNING_ATTRIBUTE_ID (0x0405) -#define ZCL_PHYSICAL_ATTACK_ON_THE_PREPAY_METER_ATTRIBUTE_ID (0x0420) -#define ZCL_ELECTRONIC_ATTACK_ON_THE_PREPAY_METER_ATTRIBUTE_ID (0x0421) -#define ZCL_DISCOUNT_APPLIED_ATTRIBUTE_ID (0x0422) -#define ZCL_CREDIT_ADJUSTMENT_ATTRIBUTE_ID (0x0423) -#define ZCL_CREDIT_ADJUST_FAIL_ATTRIBUTE_ID (0x0424) -#define ZCL_DEBT_ADJUSTMENT_ATTRIBUTE_ID (0x0425) -#define ZCL_DEBT_ADJUST_FAIL_ATTRIBUTE_ID (0x0426) -#define ZCL_MODE_CHANGE_ATTRIBUTE_ID (0x0427) -#define ZCL_TOPUP_CODE_ERROR_ATTRIBUTE_ID (0x0428) -#define ZCL_TOPUP_ALREADY_USED_ATTRIBUTE_ID (0x0429) -#define ZCL_TOPUP_CODE_INVALID_ATTRIBUTE_ID (0x042A) -#define ZCL_TOPUP_ACCEPTED_VIA_REMOTE_ATTRIBUTE_ID (0x042B) -#define ZCL_TOPUP_ACCEPTED_VIA_MANUAL_ENTRY_ATTRIBUTE_ID (0x042C) -#define ZCL_FRIENDLY_CREDIT_IN_USE_ATTRIBUTE_ID (0x042D) -#define ZCL_FRIENDLY_CREDIT_END_WARNING_ATTRIBUTE_ID (0x042E) -#define ZCL_FRIENDLY_CREDIT_PERIOD_END_ATTRIBUTE_ID (0x042F) -#define ZCL_PREPAY_ERROR_REG_CLEAR_ATTRIBUTE_ID (0x0430) -#define ZCL_PREPAY_ALARM_REG_CLEAR_ATTRIBUTE_ID (0x0431) -#define ZCL_PREPAY_CLUSTER_NOT_FOUND_ATTRIBUTE_ID (0x0432) -#define ZCL_TOPUP_VALUE_TOO_LARGE_ATTRIBUTE_ID (0x0433) -#define ZCL_MODE_CREDIT_2_PREPAY_ATTRIBUTE_ID (0x0441) -#define ZCL_MODE_PREPAY_2_CREDIT_ATTRIBUTE_ID (0x0442) -#define ZCL_MODE_DEFAULT_ATTRIBUTE_ID (0x0443) -#define ZCL_SELECT_AVAILABLE_EMERGENCY_CREDIT_RECEIVED_ATTRIBUTE_ID (0x04C0) -#define ZCL_SELECT_AVAILABLE_EMERGENCY_CREDIT_ACTIONED_ATTRIBUTE_ID (0x04C1) -#define ZCL_SELECT_AVAILABLE_EMERGENCY_CREDIT_CANCELLED_ATTRIBUTE_ID (0x04C2) -#define ZCL_SELECT_AVAILABLE_EMERGENCY_CREDIT_REJECTED_ATTRIBUTE_ID (0x04C3) -#define ZCL_CHANGE_DEBT_RECEIVED_ATTRIBUTE_ID (0x04C4) -#define ZCL_CHANGE_DEBT_ACTIONED_ATTRIBUTE_ID (0x04C5) -#define ZCL_CHANGE_DEBT_CANCELLED_ATTRIBUTE_ID (0x04C6) -#define ZCL_CHANGE_DEBT_REJECTED_ATTRIBUTE_ID (0x04C7) -#define ZCL_EMERGENCY_CREDIT_SETUP_RECEIVED_ATTRIBUTE_ID (0x04C8) -#define ZCL_EMERGENCY_CREDIT_SETUP_ACTIONED_ATTRIBUTE_ID (0x04C9) -#define ZCL_EMERGENCY_CREDIT_SETUP_CANCELLED_ATTRIBUTE_ID (0x04CA) -#define ZCL_EMERGENCY_CREDIT_SETUP_REJECTED_ATTRIBUTE_ID (0x04CB) -#define ZCL_CONSUMER_TOPUP_RECEIVED_ATTRIBUTE_ID (0x04CC) -#define ZCL_CONSUMER_TOPUP_ACTIONED_ATTRIBUTE_ID (0x04CD) -#define ZCL_CONSUMER_TOPUP_CANCELLED_ATTRIBUTE_ID (0x04CE) -#define ZCL_CONSUMER_TOPUP_REJECTED_ATTRIBUTE_ID (0x04CF) -#define ZCL_CREDIT_ADJUSTMENT_RECEIVED_ATTRIBUTE_ID (0x04D0) -#define ZCL_CREDIT_ADJUSTMENT_ACTIONED_ATTRIBUTE_ID (0x04D1) -#define ZCL_CREDIT_ADJUSTMENT_CANCELLED_ATTRIBUTE_ID (0x04D2) -#define ZCL_CREDIT_ADJUSTMENT_REJECTED_ATTRIBUTE_ID (0x04D3) -#define ZCL_CHANGE_PAYMENT_MODE_RECEIVED_ATTRIBUTE_ID (0x04D4) -#define ZCL_CHANGE_PAYMENT_MODE_ACTIONED_ATTRIBUTE_ID (0x04D5) -#define ZCL_CHANGE_PAYMENT_MODE_CANCELLED_ATTRIBUTE_ID (0x04D6) -#define ZCL_CHANGE_PAYMENT_MODE_REJECTED_ATTRIBUTE_ID (0x04D7) -#define ZCL_GET_PREPAY_SNAPSHOT_RECEIVED_ATTRIBUTE_ID (0x04D8) -#define ZCL_GET_PREPAY_SNAPSHOT_ACTIONED_ATTRIBUTE_ID (0x04D9) -#define ZCL_GET_PREPAY_SNAPSHOT_CANCELLED_ATTRIBUTE_ID (0x04DA) -#define ZCL_GET_PREPAY_SNAPSHOT_REJECTED_ATTRIBUTE_ID (0x04DB) -#define ZCL_GET_TOPUP_LOG_RECEIVED_ATTRIBUTE_ID (0x04DC) -#define ZCL_GET_TOPUP_LOG_ACTIONED_ATTRIBUTE_ID (0x04DD) -#define ZCL_GET_TOPUP_LOG_CANCELLED_ATTRIBUTE_ID (0x04DE) -#define ZCL_GET_TOPUP_LOG_REJECTED_ATTRIBUTE_ID (0x04DF) -#define ZCL_SET_LOW_CREDIT_WARNING_LEVEL_RECEIVED_ATTRIBUTE_ID (0x04E0) -#define ZCL_SET_LOW_CREDIT_WARNING_LEVEL_ACTIONED_ATTRIBUTE_ID (0x04E1) -#define ZCL_SET_LOW_CREDIT_WARNING_LEVEL_CANCELLED_ATTRIBUTE_ID (0x04E2) -#define ZCL_SET_LOW_CREDIT_WARNING_LEVEL_REJECTED_ATTRIBUTE_ID (0x04E3) -#define ZCL_GET_DEBT_REPAY_LOG_RECEIVED_ATTRIBUTE_ID (0x04E4) -#define ZCL_GET_DEBT_REPAY_LOG_ACTIONED_ATTRIBUTE_ID (0x04E5) -#define ZCL_GET_DEBT_REPAY_LOG_CANCELLED_ATTRIBUTE_ID (0x04E6) -#define ZCL_GET_DEBT_REPAY_LOG_REJECTED_ATTRIBUTE_ID (0x04E7) -#define ZCL_SET_MAXIMUM_CREDIT_LIMIT_RECEIVED_ATTRIBUTE_ID (0x04E8) -#define ZCL_SET_MAXIMUM_CREDIT_LIMIT_ACTIONED_ATTRIBUTE_ID (0x04E9) -#define ZCL_SET_MAXIMUM_CREDIT_LIMIT_CANCELLED_ATTRIBUTE_ID (0x04EA) -#define ZCL_SET_MAXIMUM_CREDIT_LIMIT_REJECTED_ATTRIBUTE_ID (0x04EB) -#define ZCL_SET_OVERALL_DEBT_CAP_RECEIVED_ATTRIBUTE_ID (0x04EC) -#define ZCL_SET_OVERALL_DEBT_CAP_ACTIONED_ATTRIBUTE_ID (0x04ED) -#define ZCL_SET_OVERALL_DEBT_CAP_CANCELLED_ATTRIBUTE_ID (0x04EE) -#define ZCL_SET_OVERALL_DEBT_CAP_REJECTED_ATTRIBUTE_ID (0x04EF) -#define ZCL_CALENDAR_CLUSTER_NOT_FOUND_ATTRIBUTE_ID (0x0500) -#define ZCL_CALENDAR_CHANGE_PASSIVE_ACTIVATED_ATTRIBUTE_ID (0x0501) -#define ZCL_CALENDAR_CHANGE_PASSIVE_UPDATED_ATTRIBUTE_ID (0x0502) -#define ZCL_PUBLISH_CALENDAR_RECEIVED_ATTRIBUTE_ID (0x05C0) -#define ZCL_PUBLISH_CALENDAR_ACTIONED_ATTRIBUTE_ID (0x05C1) -#define ZCL_PUBLISH_CALENDAR_CANCELLED_ATTRIBUTE_ID (0x05C2) -#define ZCL_PUBLISH_CALENDAR_REJECTED_ATTRIBUTE_ID (0x05C3) -#define ZCL_PUBLISH_DAY_PROFILE_RECEIVED_ATTRIBUTE_ID (0x05C4) -#define ZCL_PUBLISH_DAY_PROFILE_ACTIONED_ATTRIBUTE_ID (0x05C5) -#define ZCL_PUBLISH_DAY_PROFILE_CANCELLED_ATTRIBUTE_ID (0x05C6) -#define ZCL_PUBLISH_DAY_PROFILE_REJECTED_ATTRIBUTE_ID (0x05C7) -#define ZCL_PUBLISH_WEEK_PROFILE_RECEIVED_ATTRIBUTE_ID (0x05C8) -#define ZCL_PUBLISH_WEEK_PROFILE_ACTIONED_ATTRIBUTE_ID (0x05C9) -#define ZCL_PUBLISH_WEEK_PROFILE_CANCELLED_ATTRIBUTE_ID (0x05CA) -#define ZCL_PUBLISH_WEEK_PROFILE_REJECTED_ATTRIBUTE_ID (0x05CB) -#define ZCL_PUBLISH_SEASONS_RECEIVED_ATTRIBUTE_ID (0x05CC) -#define ZCL_PUBLISH_SEASONS_ACTIONED_ATTRIBUTE_ID (0x05CD) -#define ZCL_PUBLISH_SEASONS_CANCELLED_ATTRIBUTE_ID (0x05CE) -#define ZCL_PUBLISH_SEASONS_REJECTED_ATTRIBUTE_ID (0x05CF) -#define ZCL_PUBLISH_SPECIAL_DAYS_RECEIVED_ATTRIBUTE_ID (0x05D0) -#define ZCL_PUBLISH_SPECIAL_DAYS_ACTIONED_ATTRIBUTE_ID (0x05D1) -#define ZCL_PUBLISH_SPECIAL_DAYS_CANCELLED_ATTRIBUTE_ID (0x05D2) -#define ZCL_PUBLISH_SPECIAL_DAYS_REJECTED_ATTRIBUTE_ID (0x05D3) -#define ZCL_PASSWORD_1_CHANGE_ATTRIBUTE_ID (0x0600) -#define ZCL_PASSWORD_2_CHANGE_ATTRIBUTE_ID (0x0601) -#define ZCL_PASSWORD_3_CHANGE_ATTRIBUTE_ID (0x0602) -#define ZCL_PASSWORD_4_CHANGE_ATTRIBUTE_ID (0x0603) -#define ZCL_EVENT_LOG_CLEARED_ATTRIBUTE_ID (0x0604) -#define ZCL_ZIGBEE_APS_TIMEOUT_ATTRIBUTE_ID (0x0610) -#define ZCL_ZIGBEE_IEEE_TRANSMISSION_FAILURE_OVER_THRESHOLD_ATTRIBUTE_ID (0x0611) -#define ZCL_ZIGBEE_IEEE_FRAME_CHECK_SEQUENCE_THRESHOLD_ATTRIBUTE_ID (0x0612) -#define ZCL_ERROR_CERTIFICATE_ATTRIBUTE_ID (0x0613) -#define ZCL_ERROR_SIGNATURE_ATTRIBUTE_ID (0x0614) -#define ZCL_ERROR_PROGRAM_STORAGE_ATTRIBUTE_ID (0x0615) -#define ZCL_PUBLISH_COT_RECEIVED_ATTRIBUTE_ID (0x06C0) -#define ZCL_PUBLISH_COT_ACTIONED_ATTRIBUTE_ID (0x06C1) -#define ZCL_PUBLISH_COT_CANCELLED_ATTRIBUTE_ID (0x06C2) -#define ZCL_PUBLISH_COT_REJECTED_ATTRIBUTE_ID (0x06C3) -#define ZCL_PUBLISH_COS_RECEIVED_ATTRIBUTE_ID (0x06C4) -#define ZCL_PUBLISH_COS_ACTIONED_ATTRIBUTE_ID (0x06C5) -#define ZCL_PUBLISH_COS_CANCELLED_ATTRIBUTE_ID (0x06C6) -#define ZCL_PUBLISH_COS_REJECTED_ATTRIBUTE_ID (0x06C7) -#define ZCL_CHANGE_PASSWORD_RECEIVED_ATTRIBUTE_ID (0x06C8) -#define ZCL_CHANGE_PASSWORD_ACTIONED_ATTRIBUTE_ID (0x06C9) -#define ZCL_CHANGE_PASSWORD_CANCELLED_ATTRIBUTE_ID (0x06CA) -#define ZCL_CHANGE_PASSWORD_REJECTED_ATTRIBUTE_ID (0x06CB) -#define ZCL_SET_EVENT_CONFIGURATION_RECEIVED_ATTRIBUTE_ID (0x06CC) -#define ZCL_SET_EVENT_CONFIGURATION_ACTIONED_ATTRIBUTE_ID (0x06CD) -#define ZCL_SET_EVENT_CONFIGURATION_CANCELLED_ATTRIBUTE_ID (0x06CE) -#define ZCL_SET_EVENT_CONFIGURATION_REJECTED_ATTRIBUTE_ID (0x06CF) -#define ZCL_UPDATE_SITE_ID_RECEIVED_ATTRIBUTE_ID (0x06D0) -#define ZCL_UPDATE_SITE_ID_ACTIONED_ATTRIBUTE_ID (0x06D1) -#define ZCL_UPDATE_SITE_ID_CANCELLED_ATTRIBUTE_ID (0x06D2) -#define ZCL_UPDATE_SITE_ID_REJECTED_ATTRIBUTE_ID (0x06D3) -#define ZCL_UPDATE_CIN_RECEIVED_ATTRIBUTE_ID (0x06D4) -#define ZCL_UPDATE_CIN_ACTIONED_ATTRIBUTE_ID (0x06D5) -#define ZCL_UPDATE_CIN_CANCELLED_ATTRIBUTE_ID (0x06D6) -#define ZCL_UPDATE_CIN_REJECTED_ATTRIBUTE_ID (0x06D7) -#define ZCL_TUNNELING_CLUSTER_NOT_FOUND_ATTRIBUTE_ID (0x0700) -#define ZCL_UNSUPPORTED_PROTOCOL_ATTRIBUTE_ID (0x0701) -#define ZCL_INCORRECT_PROTOCOL_ATTRIBUTE_ID (0x0702) -#define ZCL_REQUEST_TUNNEL_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07C0) -#define ZCL_REQUEST_TUNNEL_COMMAND_REJECTED_ATTRIBUTE_ID (0x07C1) -#define ZCL_REQUEST_TUNNEL_COMMAND_GENERATED_ATTRIBUTE_ID (0x07C2) -#define ZCL_CLOSE_TUNNEL_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07C3) -#define ZCL_CLOSE_TUNNEL_COMMAND_REJECTED_ATTRIBUTE_ID (0x07C4) -#define ZCL_CLOSE_TUNNEL_COMMAND_GENERATED_ATTRIBUTE_ID (0x07C5) -#define ZCL_TRANSFER_DATA_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07C6) -#define ZCL_TRANSFER_DATA_COMMAND_REJECTED_ATTRIBUTE_ID (0x07C7) -#define ZCL_TRANSFER_DATA_COMMAND_GENERATED_ATTRIBUTE_ID (0x07C8) -#define ZCL_TRANSFER_DATA_ERROR_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07C9) -#define ZCL_TRANSFER_DATA_ERROR_COMMAND_REJECTED_ATTRIBUTE_ID (0x07CA) -#define ZCL_TRANSFER_DATA_ERROR_COMMAND_GENERATED_ATTRIBUTE_ID (0x07CB) -#define ZCL_ACK_TRANSFER_DATA_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07CC) -#define ZCL_ACK_TRANSFER_DATA_COMMAND_REJECTED_ATTRIBUTE_ID (0x07CD) -#define ZCL_ACK_TRANSFER_DATA_COMMAND_GENERATED_ATTRIBUTE_ID (0x07CE) -#define ZCL_READY_DATA_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07CF) -#define ZCL_READY_DATA_COMMAND_REJECTED_ATTRIBUTE_ID (0x07D0) -#define ZCL_READY_DATA_COMMAND_GENERATED_ATTRIBUTE_ID (0x07D1) -#define ZCL_GET_SUPPORTED_TUNNEL_PROTOCOLS_COMMAND_RECEIVED_ATTRIBUTE_ID (0x07D2) -#define ZCL_GET_SUPPORTED_TUNNEL_PROTOCOLS_COMMAND_REJECTED_ATTRIBUTE_ID (0x07D3) -#define ZCL_GET_SUPPORTED_TUNNEL_PROTOCOLS_COMMAND_GENERATED_ATTRIBUTE_ID (0x07D4) -#define ZCL_FIRMWARE_READY_FOR_ACTIVATION_ATTRIBUTE_ID (0x0800) -#define ZCL_FIRMWARE_ACTIVATED_ATTRIBUTE_ID (0x0801) -#define ZCL_FIRMWARE_ACTIVATION_FAILURE_ATTRIBUTE_ID (0x0802) -#define ZCL_PATCH_READY_FOR_ACTIVATION_ATTRIBUTE_ID (0x0803) -#define ZCL_PATCH_ACTIVATED_ATTRIBUTE_ID (0x0804) -#define ZCL_PATCH_FAILURE_ATTRIBUTE_ID (0x0805) -#define ZCL_IMAGE_NOTIFY_COMMAND_RECEIVED_ATTRIBUTE_ID (0x08C0) -#define ZCL_IMAGE_NOTIFY_COMMAND_REJECTED_ATTRIBUTE_ID (0x08C1) -#define ZCL_QUERY_NEXT_IMAGE_REQUEST_GENERATED_ATTRIBUTE_ID (0x08C2) -#define ZCL_QUERY_NEXT_IMAGE_RESPONSE_RECEIVED_ATTRIBUTE_ID (0x08C3) -#define ZCL_QUERY_NEXT_IMAGE_RESPONSE_REJECTED_ATTRIBUTE_ID (0x08C4) -#define ZCL_IMAGE_BLOCK_REQUEST_GENERATED_ATTRIBUTE_ID (0x08C5) -#define ZCL_IMAGE_PAGE_REQUEST_GENERATED_ATTRIBUTE_ID (0x08C6) -#define ZCL_IMAGE_BLOCK_RESPONSE_RECEIVED_ATTRIBUTE_ID (0x08C7) -#define ZCL_IMAGE_BLOCK_RESPONSE_REJECTED_ATTRIBUTE_ID (0x08C8) -#define ZCL_UPGRADE_END_REQUEST_GENERATED_ATTRIBUTE_ID (0x08C9) -#define ZCL_UPGRADE_END_RESPONSE_RECEIVED_ATTRIBUTE_ID (0x08CA) -#define ZCL_UPGRADE_END_RESPONSE_REJECTED_ATTRIBUTE_ID (0x08CB) -#define ZCL_QUERY_SPECIFIC_FILE_REQUEST_GENERATED_ATTRIBUTE_ID (0x08CC) -#define ZCL_QUERY_SPECIFIC_FILE_RESPONSE_RECEIVED_ATTRIBUTE_ID (0x08CD) -#define ZCL_QUERY_SPECIFIC_FILE_RESPONSE_REJECTED_ATTRIBUTE_ID (0x08CE) - -// Server attributes -#define ZCL_PROVIDER_ID_SERVER_ATTRIBUTE_ID (0x0100) -#define ZCL_PROVIDER_NAME_ATTRIBUTE_ID (0x0101) -#define ZCL_PROVIDER_CONTACT_DETAILS_ATTRIBUTE_ID (0x0102) -#define ZCL_PROPOSED_PROVIDER_ID_ATTRIBUTE_ID (0x0110) -#define ZCL_PROPOSED_PROVIDER_NAME_ATTRIBUTE_ID (0x0111) -#define ZCL_PROPOSED_PROVIDER_CHANGE_DATE_TIME_ATTRIBUTE_ID (0x0112) -#define ZCL_PROPOSED_PROVIDER_CHANGE_CONTROL_ATTRIBUTE_ID (0x0113) -#define ZCL_RECEIVED_PROVIDER_ID_SERVER_ATTRIBUTE_ID (0x0120) -#define ZCL_RECEIVED_PROVIDER_NAME_ATTRIBUTE_ID (0x0121) -#define ZCL_RECEIVED_PROVIDER_CONTACT_DETAILS_ATTRIBUTE_ID (0x0122) -#define ZCL_RECEIVED_PROPOSED_PROVIDER_ID_ATTRIBUTE_ID (0x0130) -#define ZCL_RECEIVED_PROPOSED_PROVIDER_NAME_ATTRIBUTE_ID (0x0131) -#define ZCL_RECEIVED_PROPOSED_PROVIDER_CHANGE_DATE_TIME_ATTRIBUTE_ID (0x0132) -#define ZCL_RECEIVED_PROPOSED_PROVIDER_CHANGE_CONTROL_ATTRIBUTE_ID (0x0133) -#define ZCL_CHANGE_OF_TENANCY_UPDATE_DATE_TIME_ATTRIBUTE_ID (0x0200) -#define ZCL_PROPOSED_TENANCY_CHANGE_CONTROL_ATTRIBUTE_ID (0x0201) -#define ZCL_WAN_STATUS_ATTRIBUTE_ID (0x0300) -#define ZCL_LOW_MEDIUM_THRESHOLD_ATTRIBUTE_ID (0x0400) -#define ZCL_MEDIUM_HIGH_THRESHOLD_ATTRIBUTE_ID (0x0401) - -// Attribute ids for cluster: Events - -// Client attributes - -// Server attributes - -// Attribute ids for cluster: MDU Pairing - -// Client attributes - -// Server attributes - -// Attribute ids for cluster: Sub-GHz - -// Client attributes - -// Server attributes -#define ZCL_SUB_GHZ_CLUSTER_CHANNEL_CHANGE_ATTRIBUTE_ID (0x0000) -#define ZCL_SUB_GHZ_CLUSTER_PAGE_28_CHANNEL_MASK_ATTRIBUTE_ID (0x0001) -#define ZCL_SUB_GHZ_CLUSTER_PAGE_29_CHANNEL_MASK_ATTRIBUTE_ID (0x0002) -#define ZCL_SUB_GHZ_CLUSTER_PAGE_30_CHANNEL_MASK_ATTRIBUTE_ID (0x0003) -#define ZCL_SUB_GHZ_CLUSTER_PAGE_31_CHANNEL_MASK_ATTRIBUTE_ID (0x0004) - -// Attribute ids for cluster: Key Establishment - -// Client attributes -#define ZCL_KEY_ESTABLISHMENT_SUITE_CLIENT_ATTRIBUTE_ID (0x0000) - -// Server attributes -#define ZCL_KEY_ESTABLISHMENT_SUITE_SERVER_ATTRIBUTE_ID (0x0000) - -// Attribute ids for cluster: Information - -// Client attributes - -// Server attributes -#define ZCL_NODE_DESCRIPTION_ATTRIBUTE_ID (0x0000) -#define ZCL_DELIVERY_ENABLE_ATTRIBUTE_ID (0x0001) -#define ZCL_PUSH_INFORMATION_TIMER_ATTRIBUTE_ID (0x0002) -#define ZCL_ENABLE_SECURE_CONFIGURATION_ATTRIBUTE_ID (0x0003) -#define ZCL_NUMBER_OF_CONTENTS_ATTRIBUTE_ID (0x0010) -#define ZCL_CONTENT_ROOT_ID_ATTRIBUTE_ID (0x0011) - -// Attribute ids for cluster: Data Sharing - -// Client attributes - -// Server attributes -#define ZCL_DEVICE_NAME_ATTRIBUTE_ID (0x0000) -#define ZCL_DEVICE_DESCRIPTION_ATTRIBUTE_ID (0x0001) - -// Attribute ids for cluster: Gaming - -// Client attributes - -// Server attributes -#define ZCL_PLAYER_NAME_ATTRIBUTE_ID (0x0000) -#define ZCL_NB_OF_GAMES_ATTRIBUTE_ID (0x0001) -#define ZCL_LIST_OF_GAMES_ATTRIBUTE_ID (0x0002) -#define ZCL_ANNOUNCEMENT_INTERVAL_ATTRIBUTE_ID (0x0003) -#define ZCL_GAME_ID_ATTRIBUTE_ID (0x0010) -#define ZCL_NAME_OF_GAME_ATTRIBUTE_ID (0x0011) -#define ZCL_GAME_MASTER_ATTRIBUTE_ID (0x0012) -#define ZCL_GAMING_STATUS_ATTRIBUTE_ID (0x0013) -#define ZCL_CURRENT_NB_OF_PLAYERS_ATTRIBUTE_ID (0x0014) -#define ZCL_LIST_OF_CURRENT_PLAYERS_ATTRIBUTE_ID (0x0015) -#define ZCL_MAX_NB_OF_PLAYERS_ATTRIBUTE_ID (0x0016) -#define ZCL_MIN_NB_OF_PLAYERS_ATTRIBUTE_ID (0x0017) -#define ZCL_CURRENT_GAME_LEVEL_ATTRIBUTE_ID (0x0018) -#define ZCL_SCORE_OF_THIS_PLAYER_ATTRIBUTE_ID (0x0019) -#define ZCL_TIMER1_ATTRIBUTE_ID (0x001A) -#define ZCL_TIMER2_ATTRIBUTE_ID (0x001B) -#define ZCL_TIMER3_ATTRIBUTE_ID (0x001C) -#define ZCL_COUNTER1_ATTRIBUTE_ID (0x001D) -#define ZCL_COUNTER2_ATTRIBUTE_ID (0x001E) -#define ZCL_DOWNLOADABLE_ATTRIBUTE_ID (0x001F) - -// Attribute ids for cluster: Data Rate Control - -// Client attributes - -// Server attributes -#define ZCL_AVERAGE_LATENCY_REQUIREMENT_ATTRIBUTE_ID (0x0000) -#define ZCL_MAX_LATENCY_REQUIREMENT_ATTRIBUTE_ID (0x0001) -#define ZCL_BANDWIDTH_REQUIREMENT_ATTRIBUTE_ID (0x0002) - -// Attribute ids for cluster: Voice over ZigBee - -// Client attributes - -// Server attributes -#define ZCL_CODEC_TYPE_ATTRIBUTE_ID (0x0000) -#define ZCL_SAMPLING_FREQUENCY_ATTRIBUTE_ID (0x0001) -#define ZCL_CODEC_RATE_ATTRIBUTE_ID (0x0002) -#define ZCL_ESTABLISHMENT_TIMEOUT_ATTRIBUTE_ID (0x0003) -#define ZCL_CODEC_TYPE_SUB1_ATTRIBUTE_ID (0x0004) -#define ZCL_CODEC_TYPE_SUB2_ATTRIBUTE_ID (0x0005) -#define ZCL_CODEC_TYPE_SUB3_ATTRIBUTE_ID (0x0006) -#define ZCL_COMPRESSION_TYPE_ATTRIBUTE_ID (0x0007) -#define ZCL_COMPRESSION_RATE_ATTRIBUTE_ID (0x0008) -#define ZCL_OPTION_FLAGS_ATTRIBUTE_ID (0x0009) -#define ZCL_THRESHOLD_ATTRIBUTE_ID (0x000A) - -// Attribute ids for cluster: Chatting - -// Client attributes - -// Server attributes -#define ZCL_U_ID_ATTRIBUTE_ID (0x0000) -#define ZCL_NICKNAME_ATTRIBUTE_ID (0x0001) -#define ZCL_C_ID_ATTRIBUTE_ID (0x0010) -#define ZCL_NAME_ATTRIBUTE_ID (0x0011) -#define ZCL_ENABLE_ADD_CHAT_ATTRIBUTE_ID (0x0020) - -// Attribute ids for cluster: Payment - -// Client attributes - -// Server attributes -#define ZCL_PAYMENT_USER_ID_ATTRIBUTE_ID (0x0000) -#define ZCL_USER_TYPE_ATTRIBUTE_ID (0x0001) -#define ZCL_PAYMENT_SERVICE_ID_ATTRIBUTE_ID (0x0010) -#define ZCL_PAYMENT_SERVICE_PROVIDER_ID_ATTRIBUTE_ID (0x0011) -#define ZCL_TOTEM_ID_ATTRIBUTE_ID (0x0012) -#define ZCL_CURRENCY_ATTRIBUTE_ID (0x0020) -#define ZCL_PRICE_TRAILING_DIGIT_ATTRIBUTE_ID (0x0021) -#define ZCL_PRICE_ATTRIBUTE_ID (0x0022) -#define ZCL_GOOD_ID_ATTRIBUTE_ID (0x0030) -#define ZCL_PAYMENT_SERIAL_NUMBER_ATTRIBUTE_ID (0x0031) -#define ZCL_PAYMENT_TIMESTAMP_ATTRIBUTE_ID (0x0032) -#define ZCL_TRANS_ID_ATTRIBUTE_ID (0x0033) -#define ZCL_TRANS_STATUS_ATTRIBUTE_ID (0x0034) -#define ZCL_PAYMENT_STATUS_ATTRIBUTE_ID (0x0035) - -// Attribute ids for cluster: Billing - -// Client attributes - -// Server attributes -#define ZCL_USER_ID_ATTRIBUTE_ID (0x0000) -#define ZCL_SERVICE_ID_ATTRIBUTE_ID (0x0010) -#define ZCL_SERVICE_PROVIDER_ID_ATTRIBUTE_ID (0x0011) -#define ZCL_SESSION_INTERVAL_ATTRIBUTE_ID (0x0012) -#define ZCL_TIMESTAMP_ATTRIBUTE_ID (0x0020) -#define ZCL_DURATION_ATTRIBUTE_ID (0x0021) - // Attribute ids for cluster: Appliance Identification // Client attributes @@ -4351,50 +1492,6 @@ #define ZCL_RMS_VOLTAGE_SAG_PERIOD_PHASE_C_ATTRIBUTE_ID (0x0A16) #define ZCL_RMS_VOLTAGE_SWELL_PERIOD_PHASE_C_ATTRIBUTE_ID (0x0A17) -// Attribute ids for cluster: Diagnostics - -// Client attributes - -// Server attributes -#define ZCL_NUMBER_OF_RESETS_ATTRIBUTE_ID (0x0000) -#define ZCL_PERSISTENT_MEMORY_WRITES_ATTRIBUTE_ID (0x0001) -#define ZCL_MAC_RX_BCAST_ATTRIBUTE_ID (0x0100) -#define ZCL_MAC_TX_BCAST_ATTRIBUTE_ID (0x0101) -#define ZCL_MAC_RX_UCAST_ATTRIBUTE_ID (0x0102) -#define ZCL_MAC_TX_UCAST_ATTRIBUTE_ID (0x0103) -#define ZCL_MAC_TX_UCAST_RETRY_ATTRIBUTE_ID (0x0104) -#define ZCL_MAC_TX_UCAST_FAIL_ATTRIBUTE_ID (0x0105) -#define ZCL_APS_RX_BCAST_ATTRIBUTE_ID (0x0106) -#define ZCL_APS_TX_BCAST_ATTRIBUTE_ID (0x0107) -#define ZCL_APS_RX_UCAST_ATTRIBUTE_ID (0x0108) -#define ZCL_APS_UCAST_SUCCESS_ATTRIBUTE_ID (0x0109) -#define ZCL_APS_TX_UCAST_RETRY_ATTRIBUTE_ID (0x010A) -#define ZCL_APS_TX_UCAST_FAIL_ATTRIBUTE_ID (0x010B) -#define ZCL_ROUTE_DISC_INITIATED_ATTRIBUTE_ID (0x010C) -#define ZCL_NEIGHBOR_ADDED_ATTRIBUTE_ID (0x010D) -#define ZCL_NEIGHBOR_REMOVED_ATTRIBUTE_ID (0x010E) -#define ZCL_NEIGHBOR_STALE_ATTRIBUTE_ID (0x010F) -#define ZCL_JOIN_INDICATION_ATTRIBUTE_ID (0x0110) -#define ZCL_CHILD_MOVED_ATTRIBUTE_ID (0x0111) -#define ZCL_NWK_FC_FAILURE_ATTRIBUTE_ID (0x0112) -#define ZCL_APS_FC_FAILURE_ATTRIBUTE_ID (0x0113) -#define ZCL_APS_UNAUTHORIZED_KEY_ATTRIBUTE_ID (0x0114) -#define ZCL_NWK_DECRYPT_FAILURE_ATTRIBUTE_ID (0x0115) -#define ZCL_APS_DECRYPT_FAILURE_ATTRIBUTE_ID (0x0116) -#define ZCL_PACKET_BUFFER_ALLOC_FAILURES_ATTRIBUTE_ID (0x0117) -#define ZCL_RELAYED_UNICAST_ATTRIBUTE_ID (0x0118) -#define ZCL_PHY_TO_MAC_QUEUE_LIMIT_REACHED_ATTRIBUTE_ID (0x0119) -#define ZCL_PACKET_VALIDATE_DROP_COUNT_ATTRIBUTE_ID (0x011A) -#define ZCL_AVERAGE_MAC_RETRY_PER_APS_MSG_SENT_ATTRIBUTE_ID (0x011B) -#define ZCL_LAST_MESSAGE_LQI_ATTRIBUTE_ID (0x011C) -#define ZCL_LAST_MESSAGE_RSSI_ATTRIBUTE_ID (0x011D) - -// Attribute ids for cluster: ZLL Commissioning - -// Client attributes - -// Server attributes - // Attribute ids for cluster: Binding // Client attributes @@ -4424,43 +1521,3 @@ // Server attributes #define ZCL_ATTRIBUTE_THREE_ATTRIBUTE_ID (0x0000) #define ZCL_ATTRIBUTE_FOUR_ATTRIBUTE_ID (0x0001) - -// Attribute ids for cluster: Configuration Cluster - -// Client attributes - -// Server attributes -#define ZCL_TOKENS_LOCKED_ATTRIBUTE_ID (0x0000) - -// Attribute ids for cluster: MFGLIB Cluster - -// Client attributes - -// Server attributes -#define ZCL_PACKETS_RECEIVED_ATTRIBUTE_ID (0x0000) -#define ZCL_SAVED_RSSI_ATTRIBUTE_ID (0x0001) -#define ZCL_SAVED_LQI_ATTRIBUTE_ID (0x0002) - -// Attribute ids for cluster: SL Works With All Hubs - -// Client attributes - -// Server attributes -#define ZCL_SL_DISABLE_OTA_DOWNGRADES_ATTRIBUTE_ID (0x0002) -#define ZCL_SL_MGMT_LEAVE_WITHOUT_REJOIN_ENABLED_ATTRIBUTE_ID (0x0003) -#define ZCL_SL_NWK_RETRY_COUNT_ATTRIBUTE_ID (0x0004) -#define ZCL_SL_MAC_RETRY_COUNT_ATTRIBUTE_ID (0x0005) -#define ZCL_SL_ROUTER_CHECKIN_ENABLED_ATTRIBUTE_ID (0x0006) -#define ZCL_SL_TOUCHLINK_INTERPAN_ENABLED_ATTRIBUTE_ID (0x0007) -#define ZCL_SL_WWAH_PARENT_CLASSIFICATION_ENABLED_ATTRIBUTE_ID (0x0008) -#define ZCL_SL_WWAH_APP_EVENT_RETRY_ENABLED_ATTRIBUTE_ID (0x0009) -#define ZCL_SL_WWAH_APP_EVENT_RETRY_QUEUE_SIZE_ATTRIBUTE_ID (0x000A) -#define ZCL_SL_WWAH_REJOIN_ENABLED_ATTRIBUTE_ID (0x000B) -#define ZCL_SL_MAC_POLL_FAILURE_WAIT_TIME_ATTRIBUTE_ID (0x000C) -#define ZCL_SL_CONFIGURATION_MODE_ENABLED_ATTRIBUTE_ID (0x000D) -#define ZCL_SL_CURRENT_DEBUG_REPORT_ID_ATTRIBUTE_ID (0x000E) -#define ZCL_SL_TC_SECURITY_ON_NTWK_KEY_ROTATION_ENABLED_ATTRIBUTE_ID (0x000F) -#define ZCL_SL_WWAH_BAD_PARENT_RECOVERY_ENABLED_ATTRIBUTE_ID (0x0010) -#define ZCL_SL_PENDING_NETWORK_UPDATE_CHANNEL_ATTRIBUTE_ID (0x0011) -#define ZCL_SL_PENDING_NETWORK_UPDATE_PANID_ATTRIBUTE_ID (0x0012) -#define ZCL_SL_OTA_MAX_OFFLINE_DURATION_ATTRIBUTE_ID (0x0013) diff --git a/src/app/common/gen/attribute-size.h b/src/app/common/gen/attribute-size.h index 1dea3de8c9df46..a38edaba8c8fd9 100644 --- a/src/app/common/gen/attribute-size.h +++ b/src/app/common/gen/attribute-size.h @@ -21,17 +21,17 @@ #pragma once // ZCL attribute sizes -ZCL_DATA8_ATTRIBUTE_TYPE, 1, ZCL_DATA16_ATTRIBUTE_TYPE, 2, ZCL_DATA24_ATTRIBUTE_TYPE, 3, ZCL_DATA32_ATTRIBUTE_TYPE, 4, - ZCL_DATA40_ATTRIBUTE_TYPE, 5, ZCL_DATA48_ATTRIBUTE_TYPE, 6, ZCL_DATA56_ATTRIBUTE_TYPE, 7, ZCL_DATA64_ATTRIBUTE_TYPE, 8, - ZCL_BOOLEAN_ATTRIBUTE_TYPE, 1, ZCL_BITMAP8_ATTRIBUTE_TYPE, 1, ZCL_BITMAP16_ATTRIBUTE_TYPE, 2, ZCL_BITMAP24_ATTRIBUTE_TYPE, 3, - ZCL_BITMAP32_ATTRIBUTE_TYPE, 4, ZCL_BITMAP40_ATTRIBUTE_TYPE, 5, ZCL_BITMAP48_ATTRIBUTE_TYPE, 6, ZCL_BITMAP56_ATTRIBUTE_TYPE, 7, +ZCL_BOOLEAN_ATTRIBUTE_TYPE, 1, ZCL_BITMAP8_ATTRIBUTE_TYPE, 1, ZCL_BITMAP16_ATTRIBUTE_TYPE, 2, ZCL_BITMAP32_ATTRIBUTE_TYPE, 4, ZCL_BITMAP64_ATTRIBUTE_TYPE, 8, ZCL_INT8U_ATTRIBUTE_TYPE, 1, ZCL_INT16U_ATTRIBUTE_TYPE, 2, ZCL_INT24U_ATTRIBUTE_TYPE, 3, ZCL_INT32U_ATTRIBUTE_TYPE, 4, ZCL_INT40U_ATTRIBUTE_TYPE, 5, ZCL_INT48U_ATTRIBUTE_TYPE, 6, ZCL_INT56U_ATTRIBUTE_TYPE, 7, ZCL_INT64U_ATTRIBUTE_TYPE, 8, ZCL_INT8S_ATTRIBUTE_TYPE, 1, ZCL_INT16S_ATTRIBUTE_TYPE, 2, ZCL_INT24S_ATTRIBUTE_TYPE, 3, ZCL_INT32S_ATTRIBUTE_TYPE, 4, ZCL_INT40S_ATTRIBUTE_TYPE, 5, ZCL_INT48S_ATTRIBUTE_TYPE, 6, ZCL_INT56S_ATTRIBUTE_TYPE, 7, - ZCL_INT64S_ATTRIBUTE_TYPE, 8, ZCL_ENUM8_ATTRIBUTE_TYPE, 1, ZCL_ENUM16_ATTRIBUTE_TYPE, 2, ZCL_FLOAT_SEMI_ATTRIBUTE_TYPE, 2, - ZCL_FLOAT_SINGLE_ATTRIBUTE_TYPE, 4, ZCL_FLOAT_DOUBLE_ATTRIBUTE_TYPE, 8, ZCL_TIME_OF_DAY_ATTRIBUTE_TYPE, 4, - ZCL_DATE_ATTRIBUTE_TYPE, 4, ZCL_UTC_TIME_ATTRIBUTE_TYPE, 4, ZCL_CLUSTER_ID_ATTRIBUTE_TYPE, 2, ZCL_ATTRIBUTE_ID_ATTRIBUTE_TYPE, - 2, ZCL_BACNET_OID_ATTRIBUTE_TYPE, 4, ZCL_IEEE_ADDRESS_ATTRIBUTE_TYPE, 8, ZCL_SECURITY_KEY_ATTRIBUTE_TYPE, 16, - ZCL_ENDPOINT_ID_ATTRIBUTE_TYPE, 1, ZCL_GROUP_ID_ATTRIBUTE_TYPE, 2, ZCL_COMMAND_ID_ATTRIBUTE_TYPE, 1, ZCL_NODE_ID_ATTRIBUTE_TYPE, - 8, ZCL_DEVICE_TYPE_ID_ATTRIBUTE_TYPE, 4, ZCL_FABRIC_ID_ATTRIBUTE_TYPE, 8, + ZCL_INT64S_ATTRIBUTE_TYPE, 8, ZCL_ENUM8_ATTRIBUTE_TYPE, 1, ZCL_ENUM16_ATTRIBUTE_TYPE, 2, ZCL_SINGLE_ATTRIBUTE_TYPE, 4, + ZCL_DOUBLE_ATTRIBUTE_TYPE, 8, ZCL_TOD_ATTRIBUTE_TYPE, 4, ZCL_DATE_ATTRIBUTE_TYPE, 4, ZCL_UTC_ATTRIBUTE_TYPE, 4, + ZCL_EPOCH_US_ATTRIBUTE_TYPE, 8, ZCL_EPOCH_S_ATTRIBUTE_TYPE, 4, ZCL_SYSTIME_US_ATTRIBUTE_TYPE, 8, ZCL_CLUSTER_ID_ATTRIBUTE_TYPE, + 4, ZCL_ATTRIB_ID_ATTRIBUTE_TYPE, 4, ZCL_FIELD_ID_ATTRIBUTE_TYPE, 4, ZCL_EVENT_ID_ATTRIBUTE_TYPE, 4, + ZCL_COMMAND_ID_ATTRIBUTE_TYPE, 4, ZCL_ACTION_ID_ATTRIBUTE_TYPE, 1, ZCL_TRANS_ID_ATTRIBUTE_TYPE, 4, ZCL_NODE_ID_ATTRIBUTE_TYPE, + 8, ZCL_VENDOR_ID_ATTRIBUTE_TYPE, 2, ZCL_DEVTYPE_ID_ATTRIBUTE_TYPE, 4, ZCL_FABRIC_ID_ATTRIBUTE_TYPE, 8, + ZCL_GROUP_ID_ATTRIBUTE_TYPE, 2, ZCL_STATUS_ATTRIBUTE_TYPE, 4, ZCL_DATA_VER_ATTRIBUTE_TYPE, 4, ZCL_EVENT_NO_ATTRIBUTE_TYPE, 8, + ZCL_ENDPOINT_NO_ATTRIBUTE_TYPE, 2, ZCL_FABRIC_IDX_ATTRIBUTE_TYPE, 1, ZCL_IPV4ADR_ATTRIBUTE_TYPE, 4, ZCL_IPV6ADR_ATTRIBUTE_TYPE, + 16, diff --git a/src/app/common/gen/attribute-type.h b/src/app/common/gen/attribute-type.h index bcf9ee32546af4..800535e3f1c2c8 100644 --- a/src/app/common/gen/attribute-type.h +++ b/src/app/common/gen/attribute-type.h @@ -24,22 +24,10 @@ enum { ZCL_NO_DATA_ATTRIBUTE_TYPE = 0x00, // No data - ZCL_DATA8_ATTRIBUTE_TYPE = 0x08, // 8-bit data - ZCL_DATA16_ATTRIBUTE_TYPE = 0x09, // 16-bit data - ZCL_DATA24_ATTRIBUTE_TYPE = 0x0A, // 24-bit data - ZCL_DATA32_ATTRIBUTE_TYPE = 0x0B, // 32-bit data - ZCL_DATA40_ATTRIBUTE_TYPE = 0x0C, // 40-bit data - ZCL_DATA48_ATTRIBUTE_TYPE = 0x0D, // 48-bit data - ZCL_DATA56_ATTRIBUTE_TYPE = 0x0E, // 56-bit data - ZCL_DATA64_ATTRIBUTE_TYPE = 0x0F, // 64-bit data ZCL_BOOLEAN_ATTRIBUTE_TYPE = 0x10, // Boolean ZCL_BITMAP8_ATTRIBUTE_TYPE = 0x18, // 8-bit bitmap ZCL_BITMAP16_ATTRIBUTE_TYPE = 0x19, // 16-bit bitmap - ZCL_BITMAP24_ATTRIBUTE_TYPE = 0x1A, // 24-bit bitmap ZCL_BITMAP32_ATTRIBUTE_TYPE = 0x1B, // 32-bit bitmap - ZCL_BITMAP40_ATTRIBUTE_TYPE = 0x1C, // 40-bit bitmap - ZCL_BITMAP48_ATTRIBUTE_TYPE = 0x1D, // 48-bit bitmap - ZCL_BITMAP56_ATTRIBUTE_TYPE = 0x1E, // 56-bit bitmap ZCL_BITMAP64_ATTRIBUTE_TYPE = 0x1F, // 64-bit bitmap ZCL_INT8U_ATTRIBUTE_TYPE = 0x20, // Unsigned 8-bit integer ZCL_INT16U_ATTRIBUTE_TYPE = 0x21, // Unsigned 16-bit integer @@ -59,30 +47,40 @@ enum ZCL_INT64S_ATTRIBUTE_TYPE = 0x2F, // Signed 64-bit integer ZCL_ENUM8_ATTRIBUTE_TYPE = 0x30, // 8-bit enumeration ZCL_ENUM16_ATTRIBUTE_TYPE = 0x31, // 16-bit enumeration - ZCL_FLOAT_SEMI_ATTRIBUTE_TYPE = 0x38, // Semi-precision - ZCL_FLOAT_SINGLE_ATTRIBUTE_TYPE = 0x39, // Single precision - ZCL_FLOAT_DOUBLE_ATTRIBUTE_TYPE = 0x3A, // Double precision - ZCL_OCTET_STRING_ATTRIBUTE_TYPE = 0x41, // Octet string - ZCL_CHAR_STRING_ATTRIBUTE_TYPE = 0x42, // Character string - ZCL_LONG_OCTET_STRING_ATTRIBUTE_TYPE = 0x43, // Long octet string - ZCL_LONG_CHAR_STRING_ATTRIBUTE_TYPE = 0x44, // Long character string - ZCL_ARRAY_ATTRIBUTE_TYPE = 0x48, // Array + ZCL_SINGLE_ATTRIBUTE_TYPE = 0x39, // Single precision + ZCL_DOUBLE_ATTRIBUTE_TYPE = 0x3A, // Double precision + ZCL_OCTET_STRING_ATTRIBUTE_TYPE = 0x41, // Octet String + ZCL_CHAR_STRING_ATTRIBUTE_TYPE = 0x42, // Character String + ZCL_LONG_OCTET_STRING_ATTRIBUTE_TYPE = 0x43, // Long Octet String + ZCL_LONG_CHAR_STRING_ATTRIBUTE_TYPE = 0x44, // Long Character String + ZCL_ARRAY_ATTRIBUTE_TYPE = 0x48, // List ZCL_STRUCT_ATTRIBUTE_TYPE = 0x4C, // Structure - ZCL_SET_ATTRIBUTE_TYPE = 0x50, // Set - ZCL_BAG_ATTRIBUTE_TYPE = 0x51, // Bag - ZCL_TIME_OF_DAY_ATTRIBUTE_TYPE = 0xE0, // Time of day + ZCL_TOD_ATTRIBUTE_TYPE = 0xE0, // Time of day ZCL_DATE_ATTRIBUTE_TYPE = 0xE1, // Date - ZCL_UTC_TIME_ATTRIBUTE_TYPE = 0xE2, // UTC Time + ZCL_UTC_ATTRIBUTE_TYPE = 0xE2, // UTC Time + ZCL_EPOCH_US_ATTRIBUTE_TYPE = 0xE3, // Epoch Microseconds + ZCL_EPOCH_S_ATTRIBUTE_TYPE = 0xE4, // Epoch Seconds + ZCL_SYSTIME_US_ATTRIBUTE_TYPE = 0xE5, // System Time Microseconds ZCL_CLUSTER_ID_ATTRIBUTE_TYPE = 0xE8, // Cluster ID - ZCL_ATTRIBUTE_ID_ATTRIBUTE_TYPE = 0xE9, // Attribute ID - ZCL_BACNET_OID_ATTRIBUTE_TYPE = 0xEA, // BACnet OID - ZCL_IEEE_ADDRESS_ATTRIBUTE_TYPE = 0xF0, // IEEE address - ZCL_SECURITY_KEY_ATTRIBUTE_TYPE = 0xF1, // 128-bit security key - ZCL_ENDPOINT_ID_ATTRIBUTE_TYPE = 0xF2, // Endpoint Id - ZCL_GROUP_ID_ATTRIBUTE_TYPE = 0xF3, // Group Id - ZCL_COMMAND_ID_ATTRIBUTE_TYPE = 0xF4, // Command Id - ZCL_NODE_ID_ATTRIBUTE_TYPE = 0xF5, // Node Id - ZCL_DEVICE_TYPE_ID_ATTRIBUTE_TYPE = 0xF6, // Device Type Id - ZCL_FABRIC_ID_ATTRIBUTE_TYPE = 0xF7, // Fabric Id - ZCL_UNKNOWN_ATTRIBUTE_TYPE = 0xFF, // Unknown + ZCL_ATTRIB_ID_ATTRIBUTE_TYPE = 0xE9, // Attribute ID + ZCL_FIELD_ID_ATTRIBUTE_TYPE = 0xEA, // Field ID + ZCL_EVENT_ID_ATTRIBUTE_TYPE = 0xEB, // Event ID + ZCL_COMMAND_ID_ATTRIBUTE_TYPE = 0xEC, // Command ID + ZCL_ACTION_ID_ATTRIBUTE_TYPE = 0xED, // Action ID + ZCL_TRANS_ID_ATTRIBUTE_TYPE = 0xEF, // Transaction ID + ZCL_NODE_ID_ATTRIBUTE_TYPE = 0xF0, // Node ID + ZCL_VENDOR_ID_ATTRIBUTE_TYPE = 0xF1, // Vendor ID + ZCL_DEVTYPE_ID_ATTRIBUTE_TYPE = 0xF2, // Device Type ID + ZCL_FABRIC_ID_ATTRIBUTE_TYPE = 0xF3, // Fabric ID + ZCL_GROUP_ID_ATTRIBUTE_TYPE = 0xF4, // Group ID + ZCL_STATUS_ATTRIBUTE_TYPE = 0xF5, // Status Code + ZCL_DATA_VER_ATTRIBUTE_TYPE = 0xF6, // Data Version + ZCL_EVENT_NO_ATTRIBUTE_TYPE = 0xF7, // Event Number + ZCL_ENDPOINT_NO_ATTRIBUTE_TYPE = 0xF8, // Endpoint Number + ZCL_FABRIC_IDX_ATTRIBUTE_TYPE = 0xF9, // Fabric Index + ZCL_IPADR_ATTRIBUTE_TYPE = 0xFA, // IP Address + ZCL_IPV4ADR_ATTRIBUTE_TYPE = 0xFB, // IPv4 Address + ZCL_IPV6ADR_ATTRIBUTE_TYPE = 0xFC, // IPv6 Address + ZCL_IPV6PRE_ATTRIBUTE_TYPE = 0xFD, // IPv6 Prefix + ZCL_HWADR_ATTRIBUTE_TYPE = 0xFE, // Hardware Address }; diff --git a/src/app/common/gen/client-command-macro.h b/src/app/common/gen/client-command-macro.h index 14082a486dbea1..3e42419f71ea52 100644 --- a/src/app/common/gen/client-command-macro.h +++ b/src/app/common/gen/client-command-macro.h @@ -1160,12041 +1160,3846 @@ \ ZCL_RESET_ALARM_LOG_COMMAND_ID, "", ); -/** @brief Command description for SetAbsoluteLocation +/** @brief Command description for PowerProfileRequest * - * Command: SetAbsoluteLocation - * @param coordinate1 INT16S + * Command: PowerProfileRequest + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetAbsoluteLocation(coordinate1) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileRequest(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_ABSOLUTE_LOCATION_COMMAND_ID, "u", coordinate1); + ZCL_POWER_PROFILE_REQUEST_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for DeviceConfigurationResponse +/** @brief Command description for PowerProfileNotification * - * Command: DeviceConfigurationResponse - * @param status Status + * Command: PowerProfileNotification + * @param totalProfileNum INT8U + * @param powerProfileId INT8U + * @param numOfTransferredPhases INT8U + * @param transferredPhases TransferredPhase [] + * @param transferredPhasesLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterDeviceConfigurationResponse(status) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileNotification(totalProfileNum, powerProfileId, numOfTransferredPhases, transferredPhases, \ + transferredPhasesLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_CONFIGURATION_RESPONSE_COMMAND_ID, "u", status); + ZCL_POWER_PROFILE_NOTIFICATION_COMMAND_ID, "uuub", totalProfileNum, powerProfileId, \ + numOfTransferredPhases, transferredPhases, transferredPhasesLen); -/** @brief Command description for SetAbsoluteLocation +/** @brief Command description for PowerProfileStateRequest * - * Command: SetAbsoluteLocation - * @param coordinate2 INT16S + * Command: PowerProfileStateRequest */ -#define emberAfFillCommandRSSI \ - LocationClusterSetAbsoluteLocation(coordinate2) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileStateRequest() emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_ABSOLUTE_LOCATION_COMMAND_ID, "u", coordinate2); + ZCL_POWER_PROFILE_STATE_REQUEST_COMMAND_ID, "", ); -/** @brief Command description for DeviceConfigurationResponse +/** @brief Command description for PowerProfileResponse * - * Command: DeviceConfigurationResponse - * @param power INT16S + * Command: PowerProfileResponse + * @param totalProfileNum INT8U + * @param powerProfileId INT8U + * @param numOfTransferredPhases INT8U + * @param transferredPhases TransferredPhase [] + * @param transferredPhasesLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterDeviceConfigurationResponse(power) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileResponse(totalProfileNum, powerProfileId, numOfTransferredPhases, transferredPhases, \ + transferredPhasesLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_CONFIGURATION_RESPONSE_COMMAND_ID, "u", power); + ZCL_POWER_PROFILE_RESPONSE_COMMAND_ID, "uuub", totalProfileNum, powerProfileId, \ + numOfTransferredPhases, transferredPhases, transferredPhasesLen); -/** @brief Command description for SetAbsoluteLocation +/** @brief Command description for GetPowerProfilePriceResponse * - * Command: SetAbsoluteLocation - * @param coordinate3 INT16S + * Command: GetPowerProfilePriceResponse + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetAbsoluteLocation(coordinate3) \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceResponse(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_ABSOLUTE_LOCATION_COMMAND_ID, "u", coordinate3); + ZCL_GET_POWER_PROFILE_PRICE_RESPONSE_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for DeviceConfigurationResponse +/** @brief Command description for PowerProfileStateResponse * - * Command: DeviceConfigurationResponse - * @param pathLossExponent INT16U + * Command: PowerProfileStateResponse + * @param powerProfileCount INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterDeviceConfigurationResponse(pathLossExponent) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileStateResponse(powerProfileCount) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_CONFIGURATION_RESPONSE_COMMAND_ID, "u", pathLossExponent); + ZCL_POWER_PROFILE_STATE_RESPONSE_COMMAND_ID, "u", powerProfileCount); -/** @brief Command description for SetAbsoluteLocation +/** @brief Command description for GetPowerProfilePriceResponse * - * Command: SetAbsoluteLocation - * @param power INT16S + * Command: GetPowerProfilePriceResponse + * @param currency INT16U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetAbsoluteLocation(power) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceResponse(currency) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_ABSOLUTE_LOCATION_COMMAND_ID, "u", power); + ZCL_GET_POWER_PROFILE_PRICE_RESPONSE_COMMAND_ID, "u", currency); -/** @brief Command description for DeviceConfigurationResponse +/** @brief Command description for PowerProfileStateResponse * - * Command: DeviceConfigurationResponse - * @param calculationPeriod INT16U + * Command: PowerProfileStateResponse + * @param powerProfileRecords PowerProfileRecord [] + * @param powerProfileRecordsLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterDeviceConfigurationResponse(calculationPeriod) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileStateResponse(powerProfileRecords, powerProfileRecordsLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_CONFIGURATION_RESPONSE_COMMAND_ID, "u", calculationPeriod); + ZCL_POWER_PROFILE_STATE_RESPONSE_COMMAND_ID, "b", powerProfileRecords, powerProfileRecordsLen); -/** @brief Command description for SetAbsoluteLocation +/** @brief Command description for GetPowerProfilePriceResponse * - * Command: SetAbsoluteLocation - * @param pathLossExponent INT16U + * Command: GetPowerProfilePriceResponse + * @param price INT32U + * @param priceTrailingDigit INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetAbsoluteLocation(pathLossExponent) \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceResponse(price, priceTrailingDigit) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_ABSOLUTE_LOCATION_COMMAND_ID, "u", pathLossExponent); + ZCL_GET_POWER_PROFILE_PRICE_RESPONSE_COMMAND_ID, "uu", price, priceTrailingDigit); -/** @brief Command description for DeviceConfigurationResponse +/** @brief Command description for GetOverallSchedulePriceResponse * - * Command: DeviceConfigurationResponse - * @param numberRssiMeasurements INT8U - * @param reportingPeriod INT16U + * Command: GetOverallSchedulePriceResponse + * @param currency INT16U */ -#define emberAfFillCommandRSSI \ - LocationClusterDeviceConfigurationResponse(numberRssiMeasurements, reportingPeriod) \ +#define emberAfFillCommandPower \ + ProfileClusterGetOverallSchedulePriceResponse(currency) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_CONFIGURATION_RESPONSE_COMMAND_ID, "uu", numberRssiMeasurements, reportingPeriod); + ZCL_GET_OVERALL_SCHEDULE_PRICE_RESPONSE_COMMAND_ID, "u", currency); -/** @brief Command description for SetDeviceConfiguration +/** @brief Command description for GetPowerProfilePrice * - * Command: SetDeviceConfiguration - * @param power INT16S + * Command: GetPowerProfilePrice + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetDeviceConfiguration(power) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePrice(powerProfileId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_DEVICE_CONFIGURATION_COMMAND_ID, "u", power); + ZCL_GET_POWER_PROFILE_PRICE_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for LocationDataResponse +/** @brief Command description for GetOverallSchedulePriceResponse * - * Command: LocationDataResponse - * @param status Status + * Command: GetOverallSchedulePriceResponse + * @param price INT32U + * @param priceTrailingDigit INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterLocationDataResponse(status) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterGetOverallSchedulePriceResponse(price, priceTrailingDigit) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_LOCATION_DATA_RESPONSE_COMMAND_ID, "u", status); + ZCL_GET_OVERALL_SCHEDULE_PRICE_RESPONSE_COMMAND_ID, "uu", price, priceTrailingDigit); -/** @brief Command description for SetDeviceConfiguration +/** @brief Command description for EnergyPhasesScheduleNotification * - * Command: SetDeviceConfiguration - * @param pathLossExponent INT16U + * Command: EnergyPhasesScheduleNotification + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetDeviceConfiguration(pathLossExponent) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleNotification(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_DEVICE_CONFIGURATION_COMMAND_ID, "u", pathLossExponent); + ZCL_ENERGY_PHASES_SCHEDULE_NOTIFICATION_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for LocationDataResponse +/** @brief Command description for PowerProfilesStateNotification * - * Command: LocationDataResponse - * @param locationType LocationType + * Command: PowerProfilesStateNotification + * @param powerProfileCount INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterLocationDataResponse(locationType) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfilesStateNotification(powerProfileCount) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_LOCATION_DATA_RESPONSE_COMMAND_ID, "u", locationType); + ZCL_POWER_PROFILES_STATE_NOTIFICATION_COMMAND_ID, "u", powerProfileCount); -/** @brief Command description for SetDeviceConfiguration +/** @brief Command description for EnergyPhasesScheduleNotification * - * Command: SetDeviceConfiguration - * @param calculationPeriod INT16U + * Command: EnergyPhasesScheduleNotification + * @param numOfScheduledPhases INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterSetDeviceConfiguration(calculationPeriod) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleNotification(numOfScheduledPhases) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_DEVICE_CONFIGURATION_COMMAND_ID, "u", calculationPeriod); + ZCL_ENERGY_PHASES_SCHEDULE_NOTIFICATION_COMMAND_ID, "u", numOfScheduledPhases); -/** @brief Command description for LocationDataResponse +/** @brief Command description for PowerProfilesStateNotification * - * Command: LocationDataResponse - * @param coordinate1 INT16S + * Command: PowerProfilesStateNotification + * @param powerProfileRecords PowerProfileRecord [] + * @param powerProfileRecordsLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterLocationDataResponse(coordinate1) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfilesStateNotification(powerProfileRecords, powerProfileRecordsLen) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_LOCATION_DATA_RESPONSE_COMMAND_ID, "u", coordinate1); + ZCL_POWER_PROFILES_STATE_NOTIFICATION_COMMAND_ID, "b", powerProfileRecords, powerProfileRecordsLen); -/** @brief Command description for SetDeviceConfiguration +/** @brief Command description for EnergyPhasesScheduleNotification * - * Command: SetDeviceConfiguration - * @param numberRssiMeasurements INT8U + * Command: EnergyPhasesScheduleNotification + * @param scheduledPhases ScheduledPhase [] + * @param scheduledPhasesLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterSetDeviceConfiguration(numberRssiMeasurements) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleNotification(scheduledPhases, scheduledPhasesLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_DEVICE_CONFIGURATION_COMMAND_ID, "u", numberRssiMeasurements); + ZCL_ENERGY_PHASES_SCHEDULE_NOTIFICATION_COMMAND_ID, "b", scheduledPhases, scheduledPhasesLen); -/** @brief Command description for LocationDataResponse +/** @brief Command description for GetOverallSchedulePrice * - * Command: LocationDataResponse - * @param coordinate2 INT16S + * Command: GetOverallSchedulePrice */ -#define emberAfFillCommandRSSI \ - LocationClusterLocationDataResponse(coordinate2) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterGetOverallSchedulePrice() emberAfFillExternalBuffer(mask, \ \ - ZCL_LOCATION_DATA_RESPONSE_COMMAND_ID, "u", coordinate2); + ZCL_GET_OVERALL_SCHEDULE_PRICE_COMMAND_ID, "", ); -/** @brief Command description for SetDeviceConfiguration +/** @brief Command description for EnergyPhasesScheduleResponse * - * Command: SetDeviceConfiguration - * @param reportingPeriod INT16U + * Command: EnergyPhasesScheduleResponse + * @param powerProfileId INT8U + * @param numOfScheduledPhases INT8U + * @param scheduledPhases ScheduledPhase [] + * @param scheduledPhasesLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterSetDeviceConfiguration(reportingPeriod) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleResponse(powerProfileId, numOfScheduledPhases, scheduledPhases, scheduledPhasesLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_DEVICE_CONFIGURATION_COMMAND_ID, "u", reportingPeriod); + ZCL_ENERGY_PHASES_SCHEDULE_RESPONSE_COMMAND_ID, "uub", powerProfileId, numOfScheduledPhases, \ + scheduledPhases, scheduledPhasesLen); -/** @brief Command description for LocationDataResponse +/** @brief Command description for PowerProfileScheduleConstraintsRequest * - * Command: LocationDataResponse - * @param coordinate3 INT16S - * @param power INT16S - * @param pathLossExponent INT16U - * @param locationMethod LocationMethod - * @param qualityMeasure INT8U - * @param locationAge INT16U + * Command: PowerProfileScheduleConstraintsRequest + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterLocationDataResponse(coordinate3, power, pathLossExponent, locationMethod, qualityMeasure, locationAge) \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileScheduleConstraintsRequest(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_LOCATION_DATA_RESPONSE_COMMAND_ID, "uuuuuu", coordinate3, power, pathLossExponent, \ - locationMethod, qualityMeasure, locationAge); + ZCL_POWER_PROFILE_SCHEDULE_CONSTRAINTS_REQUEST_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for GetDeviceConfiguration +/** @brief Command description for EnergyPhasesScheduleRequest * - * Command: GetDeviceConfiguration - * @param targetAddress IEEE_ADDRESS + * Command: EnergyPhasesScheduleRequest + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterGetDeviceConfiguration(targetAddress) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleRequest(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_DEVICE_CONFIGURATION_COMMAND_ID, "u", targetAddress); + ZCL_ENERGY_PHASES_SCHEDULE_REQUEST_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for LocationDataNotification +/** @brief Command description for EnergyPhasesScheduleStateRequest * - * Command: LocationDataNotification - * @param locationType LocationType - * @param coordinate1 INT16S - * @param coordinate2 INT16S - * @param coordinate3 INT16S - * @param power INT16S - * @param pathLossExponent INT16U - * @param locationMethod LocationMethod - * @param qualityMeasure INT8U - * @param locationAge INT16U + * Command: EnergyPhasesScheduleStateRequest + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterLocationDataNotification(locationType, coordinate1, coordinate2, coordinate3, power, pathLossExponent, \ - locationMethod, qualityMeasure, locationAge) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleStateRequest(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_LOCATION_DATA_NOTIFICATION_COMMAND_ID, "uuuuuuuuu", locationType, coordinate1, coordinate2, \ - coordinate3, power, pathLossExponent, locationMethod, qualityMeasure, locationAge); + ZCL_ENERGY_PHASES_SCHEDULE_STATE_REQUEST_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for GetLocationData +/** @brief Command description for EnergyPhasesScheduleStateResponse * - * Command: GetLocationData - * @param flags GetLocationDataFlags + * Command: EnergyPhasesScheduleStateResponse + * @param powerProfileId INT8U + * @param numOfScheduledPhases INT8U + * @param scheduledPhases ScheduledPhase [] + * @param scheduledPhasesLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterGetLocationData(flags) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleStateResponse(powerProfileId, numOfScheduledPhases, scheduledPhases, scheduledPhasesLen) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_LOCATION_DATA_COMMAND_ID, "u", flags); + ZCL_ENERGY_PHASES_SCHEDULE_STATE_RESPONSE_COMMAND_ID, "uub", powerProfileId, \ + numOfScheduledPhases, scheduledPhases, scheduledPhasesLen); -/** @brief Command description for CompactLocationDataNotification +/** @brief Command description for GetPowerProfilePriceExtendedResponse * - * Command: CompactLocationDataNotification - * @param locationType LocationType + * Command: GetPowerProfilePriceExtendedResponse + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterCompactLocationDataNotification(locationType) \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceExtendedResponse(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_COMPACT_LOCATION_DATA_NOTIFICATION_COMMAND_ID, "u", locationType); + ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for GetLocationData +/** @brief Command description for EnergyPhasesScheduleStateNotification * - * Command: GetLocationData - * @param numberResponses INT8U + * Command: EnergyPhasesScheduleStateNotification + * @param powerProfileId INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterGetLocationData(numberResponses) \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleStateNotification(powerProfileId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_LOCATION_DATA_COMMAND_ID, "u", numberResponses); + ZCL_ENERGY_PHASES_SCHEDULE_STATE_NOTIFICATION_COMMAND_ID, "u", powerProfileId); -/** @brief Command description for CompactLocationDataNotification +/** @brief Command description for GetPowerProfilePriceExtendedResponse * - * Command: CompactLocationDataNotification - * @param coordinate1 INT16S + * Command: GetPowerProfilePriceExtendedResponse + * @param currency INT16U */ -#define emberAfFillCommandRSSI \ - LocationClusterCompactLocationDataNotification(coordinate1) \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceExtendedResponse(currency) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_COMPACT_LOCATION_DATA_NOTIFICATION_COMMAND_ID, "u", coordinate1); + ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", currency); -/** @brief Command description for GetLocationData +/** @brief Command description for EnergyPhasesScheduleStateNotification * - * Command: GetLocationData - * @param targetAddress IEEE_ADDRESS + * Command: EnergyPhasesScheduleStateNotification + * @param numOfScheduledPhases INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterGetLocationData(targetAddress) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleStateNotification(numOfScheduledPhases) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_LOCATION_DATA_COMMAND_ID, "u", targetAddress); + ZCL_ENERGY_PHASES_SCHEDULE_STATE_NOTIFICATION_COMMAND_ID, "u", numOfScheduledPhases); -/** @brief Command description for CompactLocationDataNotification +/** @brief Command description for GetPowerProfilePriceExtendedResponse * - * Command: CompactLocationDataNotification - * @param coordinate2 INT16S - * @param coordinate3 INT16S - * @param qualityMeasure INT8U - * @param locationAge INT16U + * Command: GetPowerProfilePriceExtendedResponse + * @param price INT32U */ -#define emberAfFillCommandRSSI \ - LocationClusterCompactLocationDataNotification(coordinate2, coordinate3, qualityMeasure, locationAge) \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceExtendedResponse(price) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_COMPACT_LOCATION_DATA_NOTIFICATION_COMMAND_ID, "uuuu", coordinate2, coordinate3, \ - qualityMeasure, locationAge); + ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", price); -/** @brief Command description for RssiResponse +/** @brief Command description for EnergyPhasesScheduleStateNotification * - * Command: RssiResponse - * @param replyingDevice IEEE_ADDRESS + * Command: EnergyPhasesScheduleStateNotification + * @param scheduledPhases ScheduledPhase [] + * @param scheduledPhasesLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterRssiResponse(replyingDevice) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterEnergyPhasesScheduleStateNotification(scheduledPhases, scheduledPhasesLen) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_RSSI_RESPONSE_COMMAND_ID, "u", replyingDevice); + ZCL_ENERGY_PHASES_SCHEDULE_STATE_NOTIFICATION_COMMAND_ID, "b", scheduledPhases, scheduledPhasesLen); -/** @brief Command description for RssiPing +/** @brief Command description for GetPowerProfilePriceExtendedResponse * - * Command: RssiPing - * @param locationType LocationType + * Command: GetPowerProfilePriceExtendedResponse + * @param priceTrailingDigit INT8U */ -#define emberAfFillCommandRSSI \ - LocationClusterRssiPing(locationType) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceExtendedResponse(priceTrailingDigit) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RSSI_PING_COMMAND_ID, "u", locationType); + ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", priceTrailingDigit); -/** @brief Command description for RssiResponse +/** @brief Command description for PowerProfileScheduleConstraintsNotification * - * Command: RssiResponse - * @param coordinate1 INT16S - * @param coordinate2 INT16S - * @param coordinate3 INT16S - * @param rssi INT8S - * @param numberRssiMeasurements INT8U + * Command: PowerProfileScheduleConstraintsNotification + * @param powerProfileId INT8U + * @param startAfter INT16U + * @param stopBefore INT16U */ -#define emberAfFillCommandRSSI \ - LocationClusterRssiResponse(coordinate1, coordinate2, coordinate3, rssi, numberRssiMeasurements) emberAfFillExternalBuffer( \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileScheduleConstraintsNotification(powerProfileId, startAfter, stopBefore) emberAfFillExternalBuffer( \ mask, \ \ - ZCL_RSSI_RESPONSE_COMMAND_ID, "uuuuu", coordinate1, coordinate2, coordinate3, rssi, numberRssiMeasurements); + ZCL_POWER_PROFILE_SCHEDULE_CONSTRAINTS_NOTIFICATION_COMMAND_ID, "uuu", powerProfileId, startAfter, stopBefore); -/** @brief Command description for RssiRequest +/** @brief Command description for PowerProfileScheduleConstraintsResponse * - * Command: RssiRequest + * Command: PowerProfileScheduleConstraintsResponse + * @param powerProfileId INT8U + * @param startAfter INT16U + * @param stopBefore INT16U */ -#define emberAfFillCommandRSSI \ - LocationClusterRssiRequest() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterPowerProfileScheduleConstraintsResponse(powerProfileId, startAfter, stopBefore) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_RSSI_REQUEST_COMMAND_ID, "", ); + ZCL_POWER_PROFILE_SCHEDULE_CONSTRAINTS_RESPONSE_COMMAND_ID, "uuu", powerProfileId, startAfter, stopBefore); -/** @brief Command description for SendPings +/** @brief Command description for GetPowerProfilePriceExtended * - * Command: SendPings - * @param targetAddress IEEE_ADDRESS - * @param numberRssiMeasurements INT8U - * @param calculationPeriod INT16U + * Command: GetPowerProfilePriceExtended + * @param options BITMAP8 + * @param powerProfileId INT8U + * @param powerProfileStartTime INT16U */ -#define emberAfFillCommandRSSI \ - LocationClusterSendPings(targetAddress, numberRssiMeasurements, calculationPeriod) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPower \ + ProfileClusterGetPowerProfilePriceExtended(options, powerProfileId, powerProfileStartTime) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_SEND_PINGS_COMMAND_ID, "uuu", targetAddress, numberRssiMeasurements, calculationPeriod); + ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_COMMAND_ID, "uuu", options, powerProfileId, powerProfileStartTime); -/** @brief Command description for AnchorNodeAnnounce +/** @brief Command description for ExecutionOfACommand * - * Command: AnchorNodeAnnounce - * @param anchorNodeIeeeAddress IEEE_ADDRESS + * Command: ExecutionOfACommand + * @param commandId CommandIdentification */ -#define emberAfFillCommandRSSI \ - LocationClusterAnchorNodeAnnounce(anchorNodeIeeeAddress) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + ControlClusterExecutionOfACommand(commandId) emberAfFillExternalBuffer(mask, \ \ - ZCL_ANCHOR_NODE_ANNOUNCE_COMMAND_ID, "u", anchorNodeIeeeAddress); + ZCL_EXECUTION_OF_A_COMMAND_COMMAND_ID, "u", commandId); -/** @brief Command description for ReportRssiMeasurements +/** @brief Command description for SignalStateResponse * - * Command: ReportRssiMeasurements - * @param measuringDevice IEEE_ADDRESS + * Command: SignalStateResponse + * @param applianceStatus ApplianceStatus + * @param remoteEnableFlagsAndDeviceStatus2 RemoteEnableFlagsAndDeviceStatus2 + * @param applianceStatus2 INT24U */ -#define emberAfFillCommandRSSI \ - LocationClusterReportRssiMeasurements(measuringDevice) \ +#define emberAfFillCommandAppliance \ + ControlClusterSignalStateResponse(applianceStatus, remoteEnableFlagsAndDeviceStatus2, applianceStatus2) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_REPORT_RSSI_MEASUREMENTS_COMMAND_ID, "u", measuringDevice); + ZCL_SIGNAL_STATE_RESPONSE_COMMAND_ID, "uuu", applianceStatus, remoteEnableFlagsAndDeviceStatus2, \ + applianceStatus2); -/** @brief Command description for AnchorNodeAnnounce +/** @brief Command description for SignalState * - * Command: AnchorNodeAnnounce - * @param coordinate1 INT16S + * Command: SignalState */ -#define emberAfFillCommandRSSI \ - LocationClusterAnchorNodeAnnounce(coordinate1) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + ControlClusterSignalState() emberAfFillExternalBuffer(mask, \ \ - ZCL_ANCHOR_NODE_ANNOUNCE_COMMAND_ID, "u", coordinate1); + ZCL_SIGNAL_STATE_COMMAND_ID, "", ); -/** @brief Command description for ReportRssiMeasurements +/** @brief Command description for SignalStateNotification * - * Command: ReportRssiMeasurements - * @param neighbors INT8U + * Command: SignalStateNotification + * @param applianceStatus ApplianceStatus + * @param remoteEnableFlagsAndDeviceStatus2 RemoteEnableFlagsAndDeviceStatus2 + * @param applianceStatus2 INT24U */ -#define emberAfFillCommandRSSI \ - LocationClusterReportRssiMeasurements(neighbors) \ +#define emberAfFillCommandAppliance \ + ControlClusterSignalStateNotification(applianceStatus, remoteEnableFlagsAndDeviceStatus2, applianceStatus2) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_REPORT_RSSI_MEASUREMENTS_COMMAND_ID, "u", neighbors); + ZCL_SIGNAL_STATE_NOTIFICATION_COMMAND_ID, "uuu", applianceStatus, \ + remoteEnableFlagsAndDeviceStatus2, applianceStatus2); -/** @brief Command description for AnchorNodeAnnounce +/** @brief Command description for WriteFunctions * - * Command: AnchorNodeAnnounce - * @param coordinate2 INT16S + * Command: WriteFunctions + * @param functionId INT16U + * @param functionDataType ENUM8 + * @param functionData INT8U [] + * @param functionDataLen int */ -#define emberAfFillCommandRSSI \ - LocationClusterAnchorNodeAnnounce(coordinate2) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + ControlClusterWriteFunctions(functionId, functionDataType, functionData, functionDataLen) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_ANCHOR_NODE_ANNOUNCE_COMMAND_ID, "u", coordinate2); + ZCL_WRITE_FUNCTIONS_COMMAND_ID, "uub", functionId, functionDataType, functionData, functionDataLen); -/** @brief Command description for ReportRssiMeasurements +/** @brief Command description for OverloadPauseResume * - * Command: ReportRssiMeasurements - * @param neighborsInfo NeighborInfo [] - * @param neighborsInfoLen int + * Command: OverloadPauseResume */ -#define emberAfFillCommandRSSI \ - LocationClusterReportRssiMeasurements(neighborsInfo, neighborsInfoLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + ControlClusterOverloadPauseResume() emberAfFillExternalBuffer(mask, \ \ - ZCL_REPORT_RSSI_MEASUREMENTS_COMMAND_ID, "b", neighborsInfo, neighborsInfoLen); + ZCL_OVERLOAD_PAUSE_RESUME_COMMAND_ID, "", ); -/** @brief Command description for AnchorNodeAnnounce +/** @brief Command description for OverloadPause * - * Command: AnchorNodeAnnounce - * @param coordinate3 INT16S + * Command: OverloadPause */ -#define emberAfFillCommandRSSI \ - LocationClusterAnchorNodeAnnounce(coordinate3) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + ControlClusterOverloadPause() emberAfFillExternalBuffer(mask, \ \ - ZCL_ANCHOR_NODE_ANNOUNCE_COMMAND_ID, "u", coordinate3); + ZCL_OVERLOAD_PAUSE_COMMAND_ID, "", ); -/** @brief Command description for RequestOwnLocation +/** @brief Command description for OverloadWarning * - * Command: RequestOwnLocation - * @param blindNode IEEE_ADDRESS + * Command: OverloadWarning + * @param warningEvent WarningEvent */ -#define emberAfFillCommandRSSI \ - LocationClusterRequestOwnLocation(blindNode) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + ControlClusterOverloadWarning(warningEvent) emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_OWN_LOCATION_COMMAND_ID, "u", blindNode); + ZCL_OVERLOAD_WARNING_COMMAND_ID, "u", warningEvent); -/** @brief Command description for RestartDevice +/** @brief Command description for CheckIn * - * Command: RestartDevice - * @param options RestartOptions + * Command: CheckIn */ -#define emberAfFillCommandCommissioningClusterRestartDevice(options) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPoll \ + ControlClusterCheckIn() emberAfFillExternalBuffer(mask, \ \ - ZCL_RESTART_DEVICE_COMMAND_ID, "u", options); + ZCL_CHECK_IN_COMMAND_ID, "", ); -/** @brief Command description for RestartDeviceResponse +/** @brief Command description for CheckInResponse * - * Command: RestartDeviceResponse - * @param status ENUM8 + * Command: CheckInResponse + * @param startFastPolling BOOLEAN + * @param fastPollTimeout INT16U */ -#define emberAfFillCommandCommissioningClusterRestartDeviceResponse(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPoll \ + ControlClusterCheckInResponse(startFastPolling, fastPollTimeout) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RESTART_DEVICE_RESPONSE_COMMAND_ID, "u", status); + ZCL_CHECK_IN_RESPONSE_COMMAND_ID, "uu", startFastPolling, fastPollTimeout); -/** @brief Command description for RestartDevice +/** @brief Command description for FastPollStop * - * Command: RestartDevice - * @param delay INT8U - * @param jitter INT8U + * Command: FastPollStop */ -#define emberAfFillCommandCommissioningClusterRestartDevice(delay, jitter) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPoll \ + ControlClusterFastPollStop() emberAfFillExternalBuffer(mask, \ \ - ZCL_RESTART_DEVICE_COMMAND_ID, "uu", delay, jitter); + ZCL_FAST_POLL_STOP_COMMAND_ID, "", ); -/** @brief Command description for SaveStartupParameters +/** @brief Command description for SetLongPollInterval * - * Command: SaveStartupParameters - * @param options BITMAP8 + * Command: SetLongPollInterval + * @param newLongPollInterval INT32U */ -#define emberAfFillCommandCommissioningClusterSaveStartupParameters(options) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPoll \ + ControlClusterSetLongPollInterval(newLongPollInterval) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SAVE_STARTUP_PARAMETERS_COMMAND_ID, "u", options); + ZCL_SET_LONG_POLL_INTERVAL_COMMAND_ID, "u", newLongPollInterval); -/** @brief Command description for SaveStartupParametersResponse +/** @brief Command description for SetShortPollInterval * - * Command: SaveStartupParametersResponse - * @param status ENUM8 + * Command: SetShortPollInterval + * @param newShortPollInterval INT16U */ -#define emberAfFillCommandCommissioningClusterSaveStartupParametersResponse(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandPoll \ + ControlClusterSetShortPollInterval(newShortPollInterval) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SAVE_STARTUP_PARAMETERS_RESPONSE_COMMAND_ID, "u", status); + ZCL_SET_SHORT_POLL_INTERVAL_COMMAND_ID, "u", newShortPollInterval); -/** @brief Command description for SaveStartupParameters +/** @brief Command description for StartUp * - * Command: SaveStartupParameters - * @param index INT8U + * Command: StartUp */ -#define emberAfFillCommandCommissioningClusterSaveStartupParameters(index) \ +#define emberAfFillCommandBasicClusterStartUp() \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SAVE_STARTUP_PARAMETERS_COMMAND_ID, "u", index); + ZCL_START_UP_COMMAND_ID, "", ); -/** @brief Command description for RestoreStartupParameters +/** @brief Command description for MfgSpecificPing * - * Command: RestoreStartupParameters - * @param options BITMAP8 + * Command: MfgSpecificPing */ -#define emberAfFillCommandCommissioningClusterRestoreStartupParameters(options) \ +#define emberAfFillCommandBasicClusterMfgSpecificPing() \ emberAfFillExternalBuffer(mask, \ \ - ZCL_RESTORE_STARTUP_PARAMETERS_COMMAND_ID, "u", options); + ZCL_MFG_SPECIFIC_PING_COMMAND_ID, "", ); -/** @brief Command description for RestoreStartupParametersResponse +/** @brief Command description for ShutDown * - * Command: RestoreStartupParametersResponse - * @param status ENUM8 + * Command: ShutDown */ -#define emberAfFillCommandCommissioningClusterRestoreStartupParametersResponse(status) \ +#define emberAfFillCommandBasicClusterShutDown() \ emberAfFillExternalBuffer(mask, \ \ - ZCL_RESTORE_STARTUP_PARAMETERS_RESPONSE_COMMAND_ID, "u", status); + ZCL_SHUT_DOWN_COMMAND_ID, "", ); -/** @brief Command description for RestoreStartupParameters +/** @brief Command description for Leave * - * Command: RestoreStartupParameters - * @param index INT8U + * Command: Leave */ -#define emberAfFillCommandCommissioningClusterRestoreStartupParameters(index) \ +#define emberAfFillCommandBasicClusterLeave() \ emberAfFillExternalBuffer(mask, \ \ - ZCL_RESTORE_STARTUP_PARAMETERS_COMMAND_ID, "u", index); + ZCL_LEAVE_COMMAND_ID, "", ); -/** @brief Command description for ResetStartupParameters +/** @brief Command description for QueryImage * - * Command: ResetStartupParameters - * @param options ResetOptions + * Command: QueryImage + * @param vendorId INT16U + * @param productId INT16U + * @param imageType INT16U + * @param hardwareVersion INT16U + * @param currentVersion INT32U + * @param protocolsSupported OTADownloadProtocol [] + * @param protocolsSupportedLen int + * @param location CHAR_STRING + * @param clientCanConsent BOOLEAN + * @param metadataForServer OCTET_STRING */ -#define emberAfFillCommandCommissioningClusterResetStartupParameters(options) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOTA \ + Software Update ServerClusterQueryImage(vendorId, productId, imageType, hardwareVersion, currentVersion, protocolsSupported, \ + protocolsSupportedLen, location, clientCanConsent, metadataForServer) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RESET_STARTUP_PARAMETERS_COMMAND_ID, "u", options); + ZCL_QUERY_IMAGE_COMMAND_ID, "uuuuubuuu", vendorId, productId, imageType, hardwareVersion, \ + currentVersion, protocolsSupported, protocolsSupportedLen, location, clientCanConsent, \ + metadataForServer); -/** @brief Command description for ResetStartupParametersResponse +/** @brief Command description for ApplyUpdateRequest * - * Command: ResetStartupParametersResponse - * @param status ENUM8 + * Command: ApplyUpdateRequest + * @param updateToken OCTET_STRING + * @param newVersion INT32U */ -#define emberAfFillCommandCommissioningClusterResetStartupParametersResponse(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOTA \ + Software Update ServerClusterApplyUpdateRequest(updateToken, newVersion) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RESET_STARTUP_PARAMETERS_RESPONSE_COMMAND_ID, "u", status); + ZCL_APPLY_UPDATE_REQUEST_COMMAND_ID, "uu", updateToken, newVersion); -/** @brief Command description for ResetStartupParameters +/** @brief Command description for NotifyUpdateApplied * - * Command: ResetStartupParameters - * @param index INT8U + * Command: NotifyUpdateApplied + * @param updateToken OCTET_STRING + * @param currentVersion INT32U */ -#define emberAfFillCommandCommissioningClusterResetStartupParameters(index) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOTA \ + Software Update ServerClusterNotifyUpdateApplied(updateToken, currentVersion) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RESET_STARTUP_PARAMETERS_COMMAND_ID, "u", index); + ZCL_NOTIFY_UPDATE_APPLIED_COMMAND_ID, "uu", updateToken, currentVersion); -/** @brief Command description for TransferPartitionedFrame +/** @brief Command description for QueryImageResponse * - * Command: TransferPartitionedFrame - * @param fragmentationOptions BITMAP8 + * Command: QueryImageResponse + * @param status OTAQueryStatus + * @param delayedActionTime INT32U + * @param imageURI CHAR_STRING + * @param softwareVersion INT32U + * @param updateToken OCTET_STRING + * @param userConsentNeeded BOOLEAN + * @param metadataForClient OCTET_STRING */ -#define emberAfFillCommandPartitionClusterTransferPartitionedFrame(fragmentationOptions) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOTA \ + Software Update ServerClusterQueryImageResponse(status, delayedActionTime, imageURI, softwareVersion, updateToken, \ + userConsentNeeded, metadataForClient) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_TRANSFER_PARTITIONED_FRAME_COMMAND_ID, "u", fragmentationOptions); + ZCL_QUERY_IMAGE_RESPONSE_COMMAND_ID, "uuuuuuu", status, delayedActionTime, imageURI, \ + softwareVersion, updateToken, userConsentNeeded, metadataForClient); -/** @brief Command description for MultipleAck +/** @brief Command description for ApplyUpdateRequestResponse * - * Command: MultipleAck - * @param ackOptions BITMAP8 + * Command: ApplyUpdateRequestResponse + * @param action OTAApplyUpdateAction + * @param delayedActionTime INT32U */ -#define emberAfFillCommandPartitionClusterMultipleAck(ackOptions) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOTA \ + Software Update ServerClusterApplyUpdateRequestResponse(action, delayedActionTime) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_MULTIPLE_ACK_COMMAND_ID, "u", ackOptions); + ZCL_APPLY_UPDATE_REQUEST_RESPONSE_COMMAND_ID, "uu", action, delayedActionTime); -/** @brief Command description for TransferPartitionedFrame +/** @brief Command description for AnnounceOtaServer * - * Command: TransferPartitionedFrame - * @param partitionedIndicatorAndFrame INT8U [] - * @param partitionedIndicatorAndFrameLen int + * Command: AnnounceOtaServer + * @param serverLocation OCTET_STRING + * @param vendorId INT16U + * @param announcementReason OTAAnnouncementReason + * @param metadataForNode OCTET_STRING */ -#define emberAfFillCommandPartitionClusterTransferPartitionedFrame(partitionedIndicatorAndFrame, partitionedIndicatorAndFrameLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOTA \ + Software Update ClientClusterAnnounceOtaServer(serverLocation, vendorId, announcementReason, metadataForNode) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_TRANSFER_PARTITIONED_FRAME_COMMAND_ID, "b", partitionedIndicatorAndFrame, \ - partitionedIndicatorAndFrameLen); + ZCL_ANNOUNCE_OTA_SERVER_COMMAND_ID, "uuuu", serverLocation, vendorId, announcementReason, \ + metadataForNode); -/** @brief Command description for MultipleAck +/** @brief Command description for ArmFailSafe * - * Command: MultipleAck - * @param firstFrameIdAndNackList INT8U [] - * @param firstFrameIdAndNackListLen int + * Command: ArmFailSafe + * @param expiryLengthSeconds INT16U + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandPartitionClusterMultipleAck(firstFrameIdAndNackList, firstFrameIdAndNackListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandGeneral \ + CommissioningClusterArmFailSafe(expiryLengthSeconds, breadcrumb, timeoutMs) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_MULTIPLE_ACK_COMMAND_ID, "b", firstFrameIdAndNackList, firstFrameIdAndNackListLen); + ZCL_ARM_FAIL_SAFE_COMMAND_ID, "uuu", expiryLengthSeconds, breadcrumb, timeoutMs); -/** @brief Command description for ReadHandshakeParam +/** @brief Command description for ArmFailSafeResponse * - * Command: ReadHandshakeParam - * @param partitionedClusterId CLUSTER_ID + * Command: ArmFailSafeResponse + * @param errorCode GeneralCommissioningError + * @param debugText CHAR_STRING */ -#define emberAfFillCommandPartitionClusterReadHandshakeParam(partitionedClusterId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandGeneral \ + CommissioningClusterArmFailSafeResponse(errorCode, debugText) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_HANDSHAKE_PARAM_COMMAND_ID, "u", partitionedClusterId); + ZCL_ARM_FAIL_SAFE_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for ReadHandshakeParamResponse +/** @brief Command description for SetRegulatoryConfig * - * Command: ReadHandshakeParamResponse - * @param partitionedClusterId CLUSTER_ID + * Command: SetRegulatoryConfig + * @param location RegulatoryLocationType + * @param countryCode CHAR_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandPartitionClusterReadHandshakeParamResponse(partitionedClusterId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandGeneral \ + CommissioningClusterSetRegulatoryConfig(location, countryCode, breadcrumb, timeoutMs) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_HANDSHAKE_PARAM_RESPONSE_COMMAND_ID, "u", partitionedClusterId); + ZCL_SET_REGULATORY_CONFIG_COMMAND_ID, "uuuu", location, countryCode, breadcrumb, timeoutMs); -/** @brief Command description for ReadHandshakeParam +/** @brief Command description for SetRegulatoryConfigResponse * - * Command: ReadHandshakeParam - * @param attributeList ATTRIBUTE_ID [] - * @param attributeListLen int + * Command: SetRegulatoryConfigResponse + * @param errorCode GeneralCommissioningError + * @param debugText CHAR_STRING */ -#define emberAfFillCommandPartitionClusterReadHandshakeParam(attributeList, attributeListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandGeneral \ + CommissioningClusterSetRegulatoryConfigResponse(errorCode, debugText) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_HANDSHAKE_PARAM_COMMAND_ID, "b", attributeList, attributeListLen); + ZCL_SET_REGULATORY_CONFIG_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for ReadHandshakeParamResponse +/** @brief Command description for CommissioningComplete * - * Command: ReadHandshakeParamResponse - * @param readAttributeStatusRecords ReadAttributeStatusRecord [] - * @param readAttributeStatusRecordsLen int + * Command: CommissioningComplete */ -#define emberAfFillCommandPartitionClusterReadHandshakeParamResponse(readAttributeStatusRecords, readAttributeStatusRecordsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandGeneral \ + CommissioningClusterCommissioningComplete() emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_HANDSHAKE_PARAM_RESPONSE_COMMAND_ID, "b", readAttributeStatusRecords, \ - readAttributeStatusRecordsLen); + ZCL_COMMISSIONING_COMPLETE_COMMAND_ID, "", ); -/** @brief Command description for WriteHandshakeParam +/** @brief Command description for CommissioningCompleteResponse * - * Command: WriteHandshakeParam - * @param partitionedClusterId CLUSTER_ID - * @param writeAttributeRecords WriteAttributeRecord [] - * @param writeAttributeRecordsLen int + * Command: CommissioningCompleteResponse + * @param errorCode GeneralCommissioningError + * @param debugText CHAR_STRING */ -#define emberAfFillCommandPartitionClusterWriteHandshakeParam(partitionedClusterId, writeAttributeRecords, \ - writeAttributeRecordsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandGeneral \ + CommissioningClusterCommissioningCompleteResponse(errorCode, debugText) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_WRITE_HANDSHAKE_PARAM_COMMAND_ID, "ub", partitionedClusterId, writeAttributeRecords, \ - writeAttributeRecordsLen); + ZCL_COMMISSIONING_COMPLETE_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for ImageNotify +/** @brief Command description for ScanNetworks * - * Command: ImageNotify - * @param payloadType ENUM8 - * @param queryJitter INT8U - * @param manufacturerId INT16U - * @param imageType INT16U - * @param newFileVersion INT32U + * Command: ScanNetworks + * @param ssid OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterImageNotify(payloadType, queryJitter, manufacturerId, imageType, newFileVersion) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterScanNetworks(ssid, breadcrumb, timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_IMAGE_NOTIFY_COMMAND_ID, "uuuuu", payloadType, queryJitter, manufacturerId, imageType, \ - newFileVersion); + ZCL_SCAN_NETWORKS_COMMAND_ID, "uuu", ssid, breadcrumb, timeoutMs); -/** @brief Command description for QueryNextImageRequest +/** @brief Command description for ScanNetworksResponse * - * Command: QueryNextImageRequest - * @param fieldControl INT8U - * @param manufacturerId INT16U - * @param imageType INT16U - * @param currentFileVersion INT32U - * @param hardwareVersion INT16U + * Command: ScanNetworksResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING + * @param wifiScanResults WiFiInterfaceScanResult [] + * @param wifiScanResultsLen int + * @param threadScanResults ThreadInterfaceScanResult [] + * @param threadScanResultsLen int */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterQueryNextImageRequest(fieldControl, manufacturerId, imageType, currentFileVersion, hardwareVersion) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterScanNetworksResponse(errorCode, debugText, wifiScanResults, wifiScanResultsLen, threadScanResults, \ + threadScanResultsLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_QUERY_NEXT_IMAGE_REQUEST_COMMAND_ID, "uuuuu", fieldControl, manufacturerId, imageType, \ - currentFileVersion, hardwareVersion); + ZCL_SCAN_NETWORKS_RESPONSE_COMMAND_ID, "uubb", errorCode, debugText, wifiScanResults, \ + wifiScanResultsLen, threadScanResults, threadScanResultsLen); -/** @brief Command description for QueryNextImageResponse +/** @brief Command description for AddWiFiNetwork * - * Command: QueryNextImageResponse - * @param status Status - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param imageSize INT32U + * Command: AddWiFiNetwork + * @param ssid OCTET_STRING + * @param credentials OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterQueryNextImageResponse(status, manufacturerId, imageType, fileVersion, imageSize) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterAddWiFiNetwork(ssid, credentials, breadcrumb, timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_QUERY_NEXT_IMAGE_RESPONSE_COMMAND_ID, "uuuuu", status, manufacturerId, imageType, \ - fileVersion, imageSize); + ZCL_ADD_WI_FI_NETWORK_COMMAND_ID, "uuuu", ssid, credentials, breadcrumb, timeoutMs); -/** @brief Command description for ImageBlockRequest +/** @brief Command description for AddWiFiNetworkResponse * - * Command: ImageBlockRequest - * @param fieldControl INT8U - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param fileOffset INT32U - * @param maxDataSize INT8U - * @param requestNodeAddress IEEE_ADDRESS + * Command: AddWiFiNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterImageBlockRequest(fieldControl, manufacturerId, imageType, fileVersion, fileOffset, maxDataSize, \ - requestNodeAddress) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterAddWiFiNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_IMAGE_BLOCK_REQUEST_COMMAND_ID, "uuuuuuu", fieldControl, manufacturerId, imageType, \ - fileVersion, fileOffset, maxDataSize, requestNodeAddress); + ZCL_ADD_WI_FI_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for ImagePageRequest +/** @brief Command description for UpdateWiFiNetwork * - * Command: ImagePageRequest - * @param fieldControl INT8U - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param fileOffset INT32U - * @param maxDataSize INT8U - * @param pageSize INT16U - * @param responseSpacing INT16U - * @param requestNodeAddress IEEE_ADDRESS + * Command: UpdateWiFiNetwork + * @param ssid OCTET_STRING + * @param credentials OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterImagePageRequest(fieldControl, manufacturerId, imageType, fileVersion, fileOffset, maxDataSize, \ - pageSize, responseSpacing, requestNodeAddress) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterUpdateWiFiNetwork(ssid, credentials, breadcrumb, timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_IMAGE_PAGE_REQUEST_COMMAND_ID, "uuuuuuuuu", fieldControl, manufacturerId, imageType, \ - fileVersion, fileOffset, maxDataSize, pageSize, responseSpacing, requestNodeAddress); + ZCL_UPDATE_WI_FI_NETWORK_COMMAND_ID, "uuuu", ssid, credentials, breadcrumb, timeoutMs); -/** @brief Command description for ImageBlockResponse +/** @brief Command description for UpdateWiFiNetworkResponse * - * Command: ImageBlockResponse - * @param status Status - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param fileOffset INT32U - * @param dataSize INT8U - * @param imageData INT8U [] - * @param imageDataLen int + * Command: UpdateWiFiNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterImageBlockResponse(status, manufacturerId, imageType, fileVersion, fileOffset, dataSize, imageData, \ - imageDataLen) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterUpdateWiFiNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_IMAGE_BLOCK_RESPONSE_COMMAND_ID, "uuuuuub", status, manufacturerId, imageType, fileVersion, \ - fileOffset, dataSize, imageData, imageDataLen); + ZCL_UPDATE_WI_FI_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for UpgradeEndRequest +/** @brief Command description for AddThreadNetwork * - * Command: UpgradeEndRequest - * @param status Status - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U + * Command: AddThreadNetwork + * @param operationalDataset OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterUpgradeEndRequest(status, manufacturerId, imageType, fileVersion) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterAddThreadNetwork(operationalDataset, breadcrumb, timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_UPGRADE_END_REQUEST_COMMAND_ID, "uuuu", status, manufacturerId, imageType, fileVersion); + ZCL_ADD_THREAD_NETWORK_COMMAND_ID, "uuu", operationalDataset, breadcrumb, timeoutMs); -/** @brief Command description for UpgradeEndResponse +/** @brief Command description for AddThreadNetworkResponse * - * Command: UpgradeEndResponse - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param currentTime UTC_TIME - * @param upgradeTime UTC_TIME + * Command: AddThreadNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterUpgradeEndResponse(manufacturerId, imageType, fileVersion, currentTime, upgradeTime) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterAddThreadNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_UPGRADE_END_RESPONSE_COMMAND_ID, "uuuuu", manufacturerId, imageType, fileVersion, \ - currentTime, upgradeTime); + ZCL_ADD_THREAD_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for QuerySpecificFileRequest +/** @brief Command description for UpdateThreadNetwork * - * Command: QuerySpecificFileRequest - * @param requestNodeAddress IEEE_ADDRESS - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param currentZigbeeStackVersion INT16U + * Command: UpdateThreadNetwork + * @param operationalDataset OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterQuerySpecificFileRequest(requestNodeAddress, manufacturerId, imageType, fileVersion, \ - currentZigbeeStackVersion) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterUpdateThreadNetwork(operationalDataset, breadcrumb, timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_QUERY_SPECIFIC_FILE_REQUEST_COMMAND_ID, "uuuuu", requestNodeAddress, manufacturerId, \ - imageType, fileVersion, currentZigbeeStackVersion); + ZCL_UPDATE_THREAD_NETWORK_COMMAND_ID, "uuu", operationalDataset, breadcrumb, timeoutMs); -/** @brief Command description for QuerySpecificFileResponse +/** @brief Command description for UpdateThreadNetworkResponse * - * Command: QuerySpecificFileResponse - * @param status Status - * @param manufacturerId INT16U - * @param imageType INT16U - * @param fileVersion INT32U - * @param imageSize INT32U + * Command: UpdateThreadNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandOver \ - the Air BootloadingClusterQuerySpecificFileResponse(status, manufacturerId, imageType, fileVersion, imageSize) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterUpdateThreadNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_QUERY_SPECIFIC_FILE_RESPONSE_COMMAND_ID, "uuuuu", status, manufacturerId, imageType, \ - fileVersion, imageSize); + ZCL_UPDATE_THREAD_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for PowerProfileRequest +/** @brief Command description for RemoveNetwork * - * Command: PowerProfileRequest - * @param powerProfileId INT8U + * Command: RemoveNetwork + * @param NetworkID OCTET_STRING + * @param Breadcrumb INT64U + * @param TimeoutMs INT32U */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileRequest(powerProfileId) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterRemoveNetwork(NetworkID, Breadcrumb, TimeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_PROFILE_REQUEST_COMMAND_ID, "u", powerProfileId); + ZCL_REMOVE_NETWORK_COMMAND_ID, "uuu", NetworkID, Breadcrumb, TimeoutMs); -/** @brief Command description for PowerProfileNotification +/** @brief Command description for RemoveNetworkResponse * - * Command: PowerProfileNotification - * @param totalProfileNum INT8U - * @param powerProfileId INT8U - * @param numOfTransferredPhases INT8U - * @param transferredPhases TransferredPhase [] - * @param transferredPhasesLen int + * Command: RemoveNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileNotification(totalProfileNum, powerProfileId, numOfTransferredPhases, transferredPhases, \ - transferredPhasesLen) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterRemoveNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_PROFILE_NOTIFICATION_COMMAND_ID, "uuub", totalProfileNum, powerProfileId, \ - numOfTransferredPhases, transferredPhases, transferredPhasesLen); + ZCL_REMOVE_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for PowerProfileStateRequest +/** @brief Command description for EnableNetwork * - * Command: PowerProfileStateRequest + * Command: EnableNetwork + * @param networkID OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileStateRequest() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandNetwork \ + CommissioningClusterEnableNetwork(networkID, breadcrumb, timeoutMs) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_PROFILE_STATE_REQUEST_COMMAND_ID, "", ); + ZCL_ENABLE_NETWORK_COMMAND_ID, "uuu", networkID, breadcrumb, timeoutMs); -/** @brief Command description for PowerProfileResponse +/** @brief Command description for EnableNetworkResponse * - * Command: PowerProfileResponse - * @param totalProfileNum INT8U - * @param powerProfileId INT8U - * @param numOfTransferredPhases INT8U - * @param transferredPhases TransferredPhase [] - * @param transferredPhasesLen int + * Command: EnableNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileResponse(totalProfileNum, powerProfileId, numOfTransferredPhases, transferredPhases, \ - transferredPhasesLen) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterEnableNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_PROFILE_RESPONSE_COMMAND_ID, "uuub", totalProfileNum, powerProfileId, \ - numOfTransferredPhases, transferredPhases, transferredPhasesLen); + ZCL_ENABLE_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for GetPowerProfilePriceResponse +/** @brief Command description for DisableNetwork * - * Command: GetPowerProfilePriceResponse - * @param powerProfileId INT8U + * Command: DisableNetwork + * @param networkID OCTET_STRING + * @param breadcrumb INT64U + * @param timeoutMs INT32U */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceResponse(powerProfileId) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterDisableNetwork(networkID, breadcrumb, timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_POWER_PROFILE_PRICE_RESPONSE_COMMAND_ID, "u", powerProfileId); + ZCL_DISABLE_NETWORK_COMMAND_ID, "uuu", networkID, breadcrumb, timeoutMs); -/** @brief Command description for PowerProfileStateResponse +/** @brief Command description for DisableNetworkResponse * - * Command: PowerProfileStateResponse - * @param powerProfileCount INT8U + * Command: DisableNetworkResponse + * @param errorCode INT8U + * @param debugText CHAR_STRING */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileStateResponse(powerProfileCount) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterDisableNetworkResponse(errorCode, debugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_PROFILE_STATE_RESPONSE_COMMAND_ID, "u", powerProfileCount); + ZCL_DISABLE_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); -/** @brief Command description for GetPowerProfilePriceResponse +/** @brief Command description for GetLastNetworkCommissioningResult * - * Command: GetPowerProfilePriceResponse - * @param currency INT16U + * Command: GetLastNetworkCommissioningResult + * @param timeoutMs INT32U */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceResponse(currency) \ +#define emberAfFillCommandNetwork \ + CommissioningClusterGetLastNetworkCommissioningResult(timeoutMs) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_POWER_PROFILE_PRICE_RESPONSE_COMMAND_ID, "u", currency); + ZCL_GET_LAST_NETWORK_COMMISSIONING_RESULT_COMMAND_ID, "u", timeoutMs); -/** @brief Command description for PowerProfileStateResponse +/** @brief Command description for ResetWatermarks * - * Command: PowerProfileStateResponse - * @param powerProfileRecords PowerProfileRecord [] - * @param powerProfileRecordsLen int + * Command: ResetWatermarks */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileStateResponse(powerProfileRecords, powerProfileRecordsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandSoftware \ + DiagnosticsClusterResetWatermarks() emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_PROFILE_STATE_RESPONSE_COMMAND_ID, "b", powerProfileRecords, powerProfileRecordsLen); + ZCL_RESET_WATERMARKS_COMMAND_ID, "", ); -/** @brief Command description for GetPowerProfilePriceResponse +/** @brief Command description for ResetCounts * - * Command: GetPowerProfilePriceResponse - * @param price INT32U - * @param priceTrailingDigit INT8U + * Command: ResetCounts */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceResponse(price, priceTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandThread \ + Network DiagnosticsClusterResetCounts() emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_POWER_PROFILE_PRICE_RESPONSE_COMMAND_ID, "uu", price, priceTrailingDigit); + ZCL_RESET_COUNTS_COMMAND_ID, "", ); -/** @brief Command description for GetOverallSchedulePriceResponse +/** @brief Command description for ResetCounts * - * Command: GetOverallSchedulePriceResponse - * @param currency INT16U + * Command: ResetCounts */ -#define emberAfFillCommandPower \ - ProfileClusterGetOverallSchedulePriceResponse(currency) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWiFi \ + Network DiagnosticsClusterResetCounts() emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_OVERALL_SCHEDULE_PRICE_RESPONSE_COMMAND_ID, "u", currency); + ZCL_RESET_COUNTS_COMMAND_ID, "", ); -/** @brief Command description for GetPowerProfilePrice +/** @brief Command description for ResetCounts * - * Command: GetPowerProfilePrice - * @param powerProfileId INT8U + * Command: ResetCounts */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePrice(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandEthernet \ + Network DiagnosticsClusterResetCounts() emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_POWER_PROFILE_PRICE_COMMAND_ID, "u", powerProfileId); + ZCL_RESET_COUNTS_COMMAND_ID, "", ); -/** @brief Command description for GetOverallSchedulePriceResponse +/** @brief Command description for StartUp * - * Command: GetOverallSchedulePriceResponse - * @param price INT32U - * @param priceTrailingDigit INT8U + * Command: StartUp */ -#define emberAfFillCommandPower \ - ProfileClusterGetOverallSchedulePriceResponse(price, priceTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBridged \ + Device BasicClusterStartUp() emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_OVERALL_SCHEDULE_PRICE_RESPONSE_COMMAND_ID, "uu", price, priceTrailingDigit); + ZCL_START_UP_COMMAND_ID, "", ); -/** @brief Command description for EnergyPhasesScheduleNotification - * - * Command: EnergyPhasesScheduleNotification - * @param powerProfileId INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleNotification(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_NOTIFICATION_COMMAND_ID, "u", powerProfileId); - -/** @brief Command description for PowerProfilesStateNotification - * - * Command: PowerProfilesStateNotification - * @param powerProfileCount INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfilesStateNotification(powerProfileCount) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_POWER_PROFILES_STATE_NOTIFICATION_COMMAND_ID, "u", powerProfileCount); - -/** @brief Command description for EnergyPhasesScheduleNotification - * - * Command: EnergyPhasesScheduleNotification - * @param numOfScheduledPhases INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleNotification(numOfScheduledPhases) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_NOTIFICATION_COMMAND_ID, "u", numOfScheduledPhases); - -/** @brief Command description for PowerProfilesStateNotification - * - * Command: PowerProfilesStateNotification - * @param powerProfileRecords PowerProfileRecord [] - * @param powerProfileRecordsLen int - */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfilesStateNotification(powerProfileRecords, powerProfileRecordsLen) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_POWER_PROFILES_STATE_NOTIFICATION_COMMAND_ID, "b", powerProfileRecords, powerProfileRecordsLen); - -/** @brief Command description for EnergyPhasesScheduleNotification - * - * Command: EnergyPhasesScheduleNotification - * @param scheduledPhases ScheduledPhase [] - * @param scheduledPhasesLen int - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleNotification(scheduledPhases, scheduledPhasesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_NOTIFICATION_COMMAND_ID, "b", scheduledPhases, scheduledPhasesLen); - -/** @brief Command description for GetOverallSchedulePrice - * - * Command: GetOverallSchedulePrice - */ -#define emberAfFillCommandPower \ - ProfileClusterGetOverallSchedulePrice() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_OVERALL_SCHEDULE_PRICE_COMMAND_ID, "", ); - -/** @brief Command description for EnergyPhasesScheduleResponse - * - * Command: EnergyPhasesScheduleResponse - * @param powerProfileId INT8U - * @param numOfScheduledPhases INT8U - * @param scheduledPhases ScheduledPhase [] - * @param scheduledPhasesLen int - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleResponse(powerProfileId, numOfScheduledPhases, scheduledPhases, scheduledPhasesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_RESPONSE_COMMAND_ID, "uub", powerProfileId, numOfScheduledPhases, \ - scheduledPhases, scheduledPhasesLen); - -/** @brief Command description for PowerProfileScheduleConstraintsRequest - * - * Command: PowerProfileScheduleConstraintsRequest - * @param powerProfileId INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileScheduleConstraintsRequest(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_POWER_PROFILE_SCHEDULE_CONSTRAINTS_REQUEST_COMMAND_ID, "u", powerProfileId); - -/** @brief Command description for EnergyPhasesScheduleRequest - * - * Command: EnergyPhasesScheduleRequest - * @param powerProfileId INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleRequest(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_REQUEST_COMMAND_ID, "u", powerProfileId); - -/** @brief Command description for EnergyPhasesScheduleStateRequest - * - * Command: EnergyPhasesScheduleStateRequest - * @param powerProfileId INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleStateRequest(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_STATE_REQUEST_COMMAND_ID, "u", powerProfileId); - -/** @brief Command description for EnergyPhasesScheduleStateResponse - * - * Command: EnergyPhasesScheduleStateResponse - * @param powerProfileId INT8U - * @param numOfScheduledPhases INT8U - * @param scheduledPhases ScheduledPhase [] - * @param scheduledPhasesLen int - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleStateResponse(powerProfileId, numOfScheduledPhases, scheduledPhases, scheduledPhasesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_STATE_RESPONSE_COMMAND_ID, "uub", powerProfileId, \ - numOfScheduledPhases, scheduledPhases, scheduledPhasesLen); - -/** @brief Command description for GetPowerProfilePriceExtendedResponse - * - * Command: GetPowerProfilePriceExtendedResponse - * @param powerProfileId INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceExtendedResponse(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", powerProfileId); - -/** @brief Command description for EnergyPhasesScheduleStateNotification - * - * Command: EnergyPhasesScheduleStateNotification - * @param powerProfileId INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleStateNotification(powerProfileId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_STATE_NOTIFICATION_COMMAND_ID, "u", powerProfileId); - -/** @brief Command description for GetPowerProfilePriceExtendedResponse - * - * Command: GetPowerProfilePriceExtendedResponse - * @param currency INT16U - */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceExtendedResponse(currency) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", currency); - -/** @brief Command description for EnergyPhasesScheduleStateNotification - * - * Command: EnergyPhasesScheduleStateNotification - * @param numOfScheduledPhases INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleStateNotification(numOfScheduledPhases) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_STATE_NOTIFICATION_COMMAND_ID, "u", numOfScheduledPhases); - -/** @brief Command description for GetPowerProfilePriceExtendedResponse - * - * Command: GetPowerProfilePriceExtendedResponse - * @param price INT32U - */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceExtendedResponse(price) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", price); - -/** @brief Command description for EnergyPhasesScheduleStateNotification - * - * Command: EnergyPhasesScheduleStateNotification - * @param scheduledPhases ScheduledPhase [] - * @param scheduledPhasesLen int - */ -#define emberAfFillCommandPower \ - ProfileClusterEnergyPhasesScheduleStateNotification(scheduledPhases, scheduledPhasesLen) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_ENERGY_PHASES_SCHEDULE_STATE_NOTIFICATION_COMMAND_ID, "b", scheduledPhases, scheduledPhasesLen); - -/** @brief Command description for GetPowerProfilePriceExtendedResponse - * - * Command: GetPowerProfilePriceExtendedResponse - * @param priceTrailingDigit INT8U - */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceExtendedResponse(priceTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_RESPONSE_COMMAND_ID, "u", priceTrailingDigit); - -/** @brief Command description for PowerProfileScheduleConstraintsNotification - * - * Command: PowerProfileScheduleConstraintsNotification - * @param powerProfileId INT8U - * @param startAfter INT16U - * @param stopBefore INT16U - */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileScheduleConstraintsNotification(powerProfileId, startAfter, stopBefore) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_POWER_PROFILE_SCHEDULE_CONSTRAINTS_NOTIFICATION_COMMAND_ID, "uuu", powerProfileId, startAfter, stopBefore); - -/** @brief Command description for PowerProfileScheduleConstraintsResponse - * - * Command: PowerProfileScheduleConstraintsResponse - * @param powerProfileId INT8U - * @param startAfter INT16U - * @param stopBefore INT16U - */ -#define emberAfFillCommandPower \ - ProfileClusterPowerProfileScheduleConstraintsResponse(powerProfileId, startAfter, stopBefore) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_POWER_PROFILE_SCHEDULE_CONSTRAINTS_RESPONSE_COMMAND_ID, "uuu", powerProfileId, startAfter, stopBefore); - -/** @brief Command description for GetPowerProfilePriceExtended - * - * Command: GetPowerProfilePriceExtended - * @param options BITMAP8 - * @param powerProfileId INT8U - * @param powerProfileStartTime INT16U - */ -#define emberAfFillCommandPower \ - ProfileClusterGetPowerProfilePriceExtended(options, powerProfileId, powerProfileStartTime) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_GET_POWER_PROFILE_PRICE_EXTENDED_COMMAND_ID, "uuu", options, powerProfileId, powerProfileStartTime); - -/** @brief Command description for ExecutionOfACommand - * - * Command: ExecutionOfACommand - * @param commandId CommandIdentification - */ -#define emberAfFillCommandAppliance \ - ControlClusterExecutionOfACommand(commandId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_EXECUTION_OF_A_COMMAND_COMMAND_ID, "u", commandId); - -/** @brief Command description for SignalStateResponse - * - * Command: SignalStateResponse - * @param applianceStatus ApplianceStatus - * @param remoteEnableFlagsAndDeviceStatus2 RemoteEnableFlagsAndDeviceStatus2 - * @param applianceStatus2 INT24U - */ -#define emberAfFillCommandAppliance \ - ControlClusterSignalStateResponse(applianceStatus, remoteEnableFlagsAndDeviceStatus2, applianceStatus2) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SIGNAL_STATE_RESPONSE_COMMAND_ID, "uuu", applianceStatus, remoteEnableFlagsAndDeviceStatus2, \ - applianceStatus2); - -/** @brief Command description for SignalState - * - * Command: SignalState - */ -#define emberAfFillCommandAppliance \ - ControlClusterSignalState() emberAfFillExternalBuffer(mask, \ - \ - ZCL_SIGNAL_STATE_COMMAND_ID, "", ); - -/** @brief Command description for SignalStateNotification - * - * Command: SignalStateNotification - * @param applianceStatus ApplianceStatus - * @param remoteEnableFlagsAndDeviceStatus2 RemoteEnableFlagsAndDeviceStatus2 - * @param applianceStatus2 INT24U - */ -#define emberAfFillCommandAppliance \ - ControlClusterSignalStateNotification(applianceStatus, remoteEnableFlagsAndDeviceStatus2, applianceStatus2) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SIGNAL_STATE_NOTIFICATION_COMMAND_ID, "uuu", applianceStatus, \ - remoteEnableFlagsAndDeviceStatus2, applianceStatus2); - -/** @brief Command description for WriteFunctions - * - * Command: WriteFunctions - * @param functionId INT16U - * @param functionDataType ENUM8 - * @param functionData INT8U [] - * @param functionDataLen int - */ -#define emberAfFillCommandAppliance \ - ControlClusterWriteFunctions(functionId, functionDataType, functionData, functionDataLen) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_WRITE_FUNCTIONS_COMMAND_ID, "uub", functionId, functionDataType, functionData, functionDataLen); - -/** @brief Command description for OverloadPauseResume - * - * Command: OverloadPauseResume - */ -#define emberAfFillCommandAppliance \ - ControlClusterOverloadPauseResume() emberAfFillExternalBuffer(mask, \ - \ - ZCL_OVERLOAD_PAUSE_RESUME_COMMAND_ID, "", ); - -/** @brief Command description for OverloadPause - * - * Command: OverloadPause - */ -#define emberAfFillCommandAppliance \ - ControlClusterOverloadPause() emberAfFillExternalBuffer(mask, \ - \ - ZCL_OVERLOAD_PAUSE_COMMAND_ID, "", ); - -/** @brief Command description for OverloadWarning - * - * Command: OverloadWarning - * @param warningEvent WarningEvent - */ -#define emberAfFillCommandAppliance \ - ControlClusterOverloadWarning(warningEvent) emberAfFillExternalBuffer(mask, \ - \ - ZCL_OVERLOAD_WARNING_COMMAND_ID, "u", warningEvent); - -/** @brief Command description for CheckIn - * - * Command: CheckIn - */ -#define emberAfFillCommandPoll \ - ControlClusterCheckIn() emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHECK_IN_COMMAND_ID, "", ); - -/** @brief Command description for CheckInResponse - * - * Command: CheckInResponse - * @param startFastPolling BOOLEAN - * @param fastPollTimeout INT16U - */ -#define emberAfFillCommandPoll \ - ControlClusterCheckInResponse(startFastPolling, fastPollTimeout) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHECK_IN_RESPONSE_COMMAND_ID, "uu", startFastPolling, fastPollTimeout); - -/** @brief Command description for FastPollStop - * - * Command: FastPollStop - */ -#define emberAfFillCommandPoll \ - ControlClusterFastPollStop() emberAfFillExternalBuffer(mask, \ - \ - ZCL_FAST_POLL_STOP_COMMAND_ID, "", ); - -/** @brief Command description for SetLongPollInterval - * - * Command: SetLongPollInterval - * @param newLongPollInterval INT32U - */ -#define emberAfFillCommandPoll \ - ControlClusterSetLongPollInterval(newLongPollInterval) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_LONG_POLL_INTERVAL_COMMAND_ID, "u", newLongPollInterval); - -/** @brief Command description for SetShortPollInterval - * - * Command: SetShortPollInterval - * @param newShortPollInterval INT16U - */ -#define emberAfFillCommandPoll \ - ControlClusterSetShortPollInterval(newShortPollInterval) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_SHORT_POLL_INTERVAL_COMMAND_ID, "u", newShortPollInterval); - -/** @brief Command description for GpNotification - * - * Command: GpNotification - * @param options GpNotificationOption - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotification(options) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_COMMAND_ID, "u", options); - -/** @brief Command description for GpNotificationResponse - * - * Command: GpNotificationResponse - * @param options GpNotificationResponseOption - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotificationResponse(options) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_RESPONSE_COMMAND_ID, "u", options); - -/** @brief Command description for GpNotification - * - * Command: GpNotification - * @param gpdSrcId INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotification(gpdSrcId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_COMMAND_ID, "u", gpdSrcId); - -/** @brief Command description for GpNotificationResponse - * - * Command: GpNotificationResponse - * @param gpdSrcId INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotificationResponse(gpdSrcId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_RESPONSE_COMMAND_ID, "u", gpdSrcId); - -/** @brief Command description for GpNotification - * - * Command: GpNotification - * @param gpdIeee IEEE_ADDRESS - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotification(gpdIeee) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_COMMAND_ID, "u", gpdIeee); - -/** @brief Command description for GpNotificationResponse - * - * Command: GpNotificationResponse - * @param gpdIeee IEEE_ADDRESS - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotificationResponse(gpdIeee) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_RESPONSE_COMMAND_ID, "u", gpdIeee); - -/** @brief Command description for GpNotification - * - * Command: GpNotification - * @param gpdEndpoint INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotification(gpdEndpoint) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_COMMAND_ID, "u", gpdEndpoint); - -/** @brief Command description for GpNotificationResponse - * - * Command: GpNotificationResponse - * @param endpoint INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotificationResponse(endpoint) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_RESPONSE_COMMAND_ID, "u", endpoint); - -/** @brief Command description for GpNotification - * - * Command: GpNotification - * @param gpdSecurityFrameCounter INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotification(gpdSecurityFrameCounter) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_COMMAND_ID, "u", gpdSecurityFrameCounter); - -/** @brief Command description for GpNotificationResponse - * - * Command: GpNotificationResponse - * @param gpdSecurityFrameCounter INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotificationResponse(gpdSecurityFrameCounter) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_NOTIFICATION_RESPONSE_COMMAND_ID, "u", gpdSecurityFrameCounter); - -/** @brief Command description for GpNotification - * - * Command: GpNotification - * @param gpdCommandId INT8U - * @param gpdCommandPayload OCTET_STRING - * @param gppShortAddress INT16U - * @param gppDistance INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpNotification(gpdCommandId, gpdCommandPayload, gppShortAddress, gppDistance) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_GP_NOTIFICATION_COMMAND_ID, "uuuu", gpdCommandId, gpdCommandPayload, gppShortAddress, gppDistance); - -/** @brief Command description for GpPairingSearch - * - * Command: GpPairingSearch - * @param options GpPairingSearchOption - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairingSearch(options) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_SEARCH_COMMAND_ID, "u", options); - -/** @brief Command description for GpPairing - * - * Command: GpPairing - * @param options GpPairingOption - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairing(options) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_COMMAND_ID, "u", options); - -/** @brief Command description for GpPairingSearch - * - * Command: GpPairingSearch - * @param gpdSrcId INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairingSearch(gpdSrcId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_SEARCH_COMMAND_ID, "u", gpdSrcId); - -/** @brief Command description for GpPairing - * - * Command: GpPairing - * @param gpdSrcId INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairing(gpdSrcId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_COMMAND_ID, "u", gpdSrcId); - -/** @brief Command description for GpPairingSearch - * - * Command: GpPairingSearch - * @param gpdIeee IEEE_ADDRESS - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairingSearch(gpdIeee) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_SEARCH_COMMAND_ID, "u", gpdIeee); - -/** @brief Command description for GpPairing - * - * Command: GpPairing - * @param gpdIeee IEEE_ADDRESS - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairing(gpdIeee) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_COMMAND_ID, "u", gpdIeee); - -/** @brief Command description for GpPairingSearch - * - * Command: GpPairingSearch - * @param endpoint INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairingSearch(endpoint) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_SEARCH_COMMAND_ID, "u", endpoint); - -/** @brief Command description for GpPairing - * - * Command: GpPairing - * @param endpoint INT8U - * @param sinkIeeeAddress IEEE_ADDRESS - * @param sinkNwkAddress INT16U - * @param sinkGroupId INT16U - * @param deviceId GpDeviceId - * @param gpdSecurityFrameCounter INT32U - * @param gpdKey SECURITY_KEY - * @param assignedAlias INT16U - * @param groupcastRadius INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairing(endpoint, sinkIeeeAddress, sinkNwkAddress, sinkGroupId, deviceId, gpdSecurityFrameCounter, gpdKey, \ - assignedAlias, groupcastRadius) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_COMMAND_ID, "uuuuuuuuu", endpoint, sinkIeeeAddress, sinkNwkAddress, sinkGroupId, \ - deviceId, gpdSecurityFrameCounter, gpdKey, assignedAlias, groupcastRadius); - -/** @brief Command description for GpProxyCommissioningMode - * - * Command: GpProxyCommissioningMode - * @param options GpProxyCommissioningModeOption - * @param commissioningWindow INT16U - * @param channel INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyCommissioningMode(options, commissioningWindow, channel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_COMMISSIONING_MODE_COMMAND_ID, "uuu", options, commissioningWindow, channel); - -/** @brief Command description for GpTunnelingStop - * - * Command: GpTunnelingStop - * @param options GpTunnelingStopOption - * @param gpdSrcId INT32U - * @param gpdIeee IEEE_ADDRESS - * @param endpoint INT8U - * @param gpdSecurityFrameCounter INT32U - * @param gppShortAddress INT16U - * @param gppDistance INT8S - */ -#define emberAfFillCommandGreen \ - PowerClusterGpTunnelingStop(options, gpdSrcId, gpdIeee, endpoint, gpdSecurityFrameCounter, gppShortAddress, gppDistance) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_TUNNELING_STOP_COMMAND_ID, "uuuuuuu", options, gpdSrcId, gpdIeee, endpoint, \ - gpdSecurityFrameCounter, gppShortAddress, gppDistance); - -/** @brief Command description for GpCommissioningNotification - * - * Command: GpCommissioningNotification - * @param options GpCommissioningNotificationOption - * @param gpdSrcId INT32U - * @param gpdIeee IEEE_ADDRESS - * @param endpoint INT8U - * @param gpdSecurityFrameCounter INT32U - * @param gpdCommandId INT8U - * @param gpdCommandPayload OCTET_STRING - * @param gppShortAddress INT16U - * @param gppLink INT8U - * @param mic INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpCommissioningNotification(options, gpdSrcId, gpdIeee, endpoint, gpdSecurityFrameCounter, gpdCommandId, \ - gpdCommandPayload, gppShortAddress, gppLink, mic) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_COMMISSIONING_NOTIFICATION_COMMAND_ID, "uuuuuuuuuu", options, gpdSrcId, gpdIeee, \ - endpoint, gpdSecurityFrameCounter, gpdCommandId, gpdCommandPayload, gppShortAddress, gppLink, \ - mic); - -/** @brief Command description for GpSinkCommissioningMode - * - * Command: GpSinkCommissioningMode - * @param options GpSinkCommissioningModeOptions - * @param gpmAddrForSecurity INT16U - * @param gpmAddrForPairing INT16U - * @param sinkEndpoint INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkCommissioningMode(options, gpmAddrForSecurity, gpmAddrForPairing, sinkEndpoint) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_GP_SINK_COMMISSIONING_MODE_COMMAND_ID, "uuuu", options, gpmAddrForSecurity, gpmAddrForPairing, sinkEndpoint); - -/** @brief Command description for GpResponse - * - * Command: GpResponse - * @param options GpResponseOption - * @param tempMasterShortAddress INT16U - * @param tempMasterTxChannel BITMAP8 - * @param gpdSrcId INT32U - * @param gpdIeee IEEE_ADDRESS - * @param endpoint INT8U - * @param gpdCommandId INT8U - * @param gpdCommandPayload OCTET_STRING - */ -#define emberAfFillCommandGreen \ - PowerClusterGpResponse(options, tempMasterShortAddress, tempMasterTxChannel, gpdSrcId, gpdIeee, endpoint, gpdCommandId, \ - gpdCommandPayload) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_RESPONSE_COMMAND_ID, "uuuuuuuu", options, tempMasterShortAddress, tempMasterTxChannel, \ - gpdSrcId, gpdIeee, endpoint, gpdCommandId, gpdCommandPayload); - -/** @brief Command description for GpTranslationTableUpdate - * - * Command: GpTranslationTableUpdate - * @param options GpTranslationTableUpdateOption - * @param gpdSrcId INT32U - * @param gpdIeee IEEE_ADDRESS - * @param endpoint INT8U - * @param translations GpTranslationTableUpdateTranslation [] - * @param translationsLen int - */ -#define emberAfFillCommandGreen \ - PowerClusterGpTranslationTableUpdate(options, gpdSrcId, gpdIeee, endpoint, translations, translationsLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_TRANSLATION_TABLE_UPDATE_COMMAND_ID, "uuuub", options, gpdSrcId, gpdIeee, endpoint, \ - translations, translationsLen); - -/** @brief Command description for GpTranslationTableRequest - * - * Command: GpTranslationTableRequest - * @param startIndex INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpTranslationTableRequest(startIndex) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_TRANSLATION_TABLE_REQUEST_COMMAND_ID, "u", startIndex); - -/** @brief Command description for GpTranslationTableResponse - * - * Command: GpTranslationTableResponse - * @param status GpTranslationTableResponseStatus - * @param options GpTranslationTableResponseOption - * @param totalNumberOfEntries INT8U - * @param startIndex INT8U - * @param entriesCount INT8U - * @param translationTableList INT8U [] - * @param translationTableListLen int - */ -#define emberAfFillCommandGreen \ - PowerClusterGpTranslationTableResponse(status, options, totalNumberOfEntries, startIndex, entriesCount, translationTableList, \ - translationTableListLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_TRANSLATION_TABLE_RESPONSE_COMMAND_ID, "uuuuub", status, options, totalNumberOfEntries, \ - startIndex, entriesCount, translationTableList, translationTableListLen); - -/** @brief Command description for GpPairingConfiguration - * - * Command: GpPairingConfiguration - * @param actions GpPairingConfigurationActions - * @param options GpPairingConfigurationOption - * @param gpdSrcId INT32U - * @param gpdIeee IEEE_ADDRESS - * @param endpoint INT8U - * @param deviceId INT8U - * @param groupListCount INT8U - * @param groupList GpPairingConfigurationGroupList [] - * @param groupListLen int - * @param gpdAssignedAlias INT16U - * @param groupcastRadius INT8U - * @param securityOptions INT8U - * @param gpdSecurityFrameCounter INT32U - * @param gpdSecurityKey SECURITY_KEY - * @param numberOfPairedEndpoints INT8U - * @param pairedEndpoints INT8U [] - * @param pairedEndpointsLen int - * @param applicationInformation GpApplicationInformation - * @param manufacturerId INT16U - * @param modeId INT16U - * @param numberOfGpdCommands INT8U - * @param gpdCommandIdList INT8U [] - * @param gpdCommandIdListLen int - * @param clusterIdListCount INT8U - * @param clusterListServer INT16U [] - * @param clusterListServerLen int - * @param clusterListClient INT16U [] - * @param clusterListClientLen int - * @param switchInformationLength INT8U - * @param switchConfiguration INT8U - * @param currentContactStatus INT8U - * @param totalNumberOfReports INT8U - * @param numberOfReports INT8U - * @param reportDescriptor INT8U [] - * @param reportDescriptorLen int - */ -#define emberAfFillCommandGreen \ - PowerClusterGpPairingConfiguration( \ - actions, options, gpdSrcId, gpdIeee, endpoint, deviceId, groupListCount, groupList, groupListLen, gpdAssignedAlias, \ - groupcastRadius, securityOptions, gpdSecurityFrameCounter, gpdSecurityKey, numberOfPairedEndpoints, pairedEndpoints, \ - pairedEndpointsLen, applicationInformation, manufacturerId, modeId, numberOfGpdCommands, gpdCommandIdList, \ - gpdCommandIdListLen, clusterIdListCount, clusterListServer, clusterListServerLen, clusterListClient, clusterListClientLen, \ - switchInformationLength, switchConfiguration, currentContactStatus, totalNumberOfReports, numberOfReports, \ - reportDescriptor, reportDescriptorLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PAIRING_CONFIGURATION_COMMAND_ID, "uuuuuuubuuuuuubuuuububbuuuuub", actions, options, \ - gpdSrcId, gpdIeee, endpoint, deviceId, groupListCount, groupList, groupListLen, \ - gpdAssignedAlias, groupcastRadius, securityOptions, gpdSecurityFrameCounter, gpdSecurityKey, \ - numberOfPairedEndpoints, pairedEndpoints, pairedEndpointsLen, applicationInformation, \ - manufacturerId, modeId, numberOfGpdCommands, gpdCommandIdList, gpdCommandIdListLen, \ - clusterIdListCount, clusterListServer, clusterListServerLen, clusterListClient, \ - clusterListClientLen, switchInformationLength, switchConfiguration, currentContactStatus, \ - totalNumberOfReports, numberOfReports, reportDescriptor, reportDescriptorLen); - -/** @brief Command description for GpSinkTableRequest - * - * Command: GpSinkTableRequest - * @param options GpSinkTableRequestOptions - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableRequest(options) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_REQUEST_COMMAND_ID, "u", options); - -/** @brief Command description for GpSinkTableResponse - * - * Command: GpSinkTableResponse - * @param status ENUM8 - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for GpSinkTableRequest - * - * Command: GpSinkTableRequest - * @param gpdSrcId INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableRequest(gpdSrcId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_REQUEST_COMMAND_ID, "u", gpdSrcId); - -/** @brief Command description for GpSinkTableResponse - * - * Command: GpSinkTableResponse - * @param totalNumberofNonEmptySinkTableEntries INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableResponse(totalNumberofNonEmptySinkTableEntries) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_RESPONSE_COMMAND_ID, "u", totalNumberofNonEmptySinkTableEntries); - -/** @brief Command description for GpSinkTableRequest - * - * Command: GpSinkTableRequest - * @param gpdIeee INT64U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableRequest(gpdIeee) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_REQUEST_COMMAND_ID, "u", gpdIeee); - -/** @brief Command description for GpSinkTableResponse - * - * Command: GpSinkTableResponse - * @param startIndex INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableResponse(startIndex) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_RESPONSE_COMMAND_ID, "u", startIndex); - -/** @brief Command description for GpSinkTableRequest - * - * Command: GpSinkTableRequest - * @param endpoint INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableRequest(endpoint) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_REQUEST_COMMAND_ID, "u", endpoint); - -/** @brief Command description for GpSinkTableResponse - * - * Command: GpSinkTableResponse - * @param sinkTableEntriesCount INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableResponse(sinkTableEntriesCount) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_RESPONSE_COMMAND_ID, "u", sinkTableEntriesCount); - -/** @brief Command description for GpSinkTableRequest - * - * Command: GpSinkTableRequest - * @param index INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableRequest(index) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_REQUEST_COMMAND_ID, "u", index); - -/** @brief Command description for GpSinkTableResponse - * - * Command: GpSinkTableResponse - * @param sinkTableEntries INT8U [] - * @param sinkTableEntriesLen int - */ -#define emberAfFillCommandGreen \ - PowerClusterGpSinkTableResponse(sinkTableEntries, sinkTableEntriesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_SINK_TABLE_RESPONSE_COMMAND_ID, "b", sinkTableEntries, sinkTableEntriesLen); - -/** @brief Command description for GpProxyTableResponse - * - * Command: GpProxyTableResponse - * @param status GpProxyTableResponseStatus - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for GpProxyTableRequest - * - * Command: GpProxyTableRequest - * @param options GpProxyTableRequestOptions - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableRequest(options) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_REQUEST_COMMAND_ID, "u", options); - -/** @brief Command description for GpProxyTableResponse - * - * Command: GpProxyTableResponse - * @param totalNumberOfNonEmptyProxyTableEntries INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableResponse(totalNumberOfNonEmptyProxyTableEntries) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_RESPONSE_COMMAND_ID, "u", totalNumberOfNonEmptyProxyTableEntries); - -/** @brief Command description for GpProxyTableRequest - * - * Command: GpProxyTableRequest - * @param gpdSrcId INT32U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableRequest(gpdSrcId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_REQUEST_COMMAND_ID, "u", gpdSrcId); - -/** @brief Command description for GpProxyTableResponse - * - * Command: GpProxyTableResponse - * @param startIndex INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableResponse(startIndex) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_RESPONSE_COMMAND_ID, "u", startIndex); - -/** @brief Command description for GpProxyTableRequest - * - * Command: GpProxyTableRequest - * @param gpdIeee INT64U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableRequest(gpdIeee) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_REQUEST_COMMAND_ID, "u", gpdIeee); - -/** @brief Command description for GpProxyTableResponse - * - * Command: GpProxyTableResponse - * @param entriesCount INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableResponse(entriesCount) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_RESPONSE_COMMAND_ID, "u", entriesCount); - -/** @brief Command description for GpProxyTableRequest - * - * Command: GpProxyTableRequest - * @param endpoint INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableRequest(endpoint) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_REQUEST_COMMAND_ID, "u", endpoint); - -/** @brief Command description for GpProxyTableResponse - * - * Command: GpProxyTableResponse - * @param proxyTableEntries INT8U [] - * @param proxyTableEntriesLen int - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableResponse(proxyTableEntries, proxyTableEntriesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_RESPONSE_COMMAND_ID, "b", proxyTableEntries, proxyTableEntriesLen); - -/** @brief Command description for GpProxyTableRequest - * - * Command: GpProxyTableRequest - * @param index INT8U - */ -#define emberAfFillCommandGreen \ - PowerClusterGpProxyTableRequest(index) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GP_PROXY_TABLE_REQUEST_COMMAND_ID, "u", index); - -/** @brief Command description for StartUp - * - * Command: StartUp - */ -#define emberAfFillCommandBasicClusterStartUp() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_UP_COMMAND_ID, "", ); - -/** @brief Command description for MfgSpecificPing - * - * Command: MfgSpecificPing - */ -#define emberAfFillCommandBasicClusterMfgSpecificPing() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MFG_SPECIFIC_PING_COMMAND_ID, "", ); - -/** @brief Command description for ShutDown - * - * Command: ShutDown - */ -#define emberAfFillCommandBasicClusterShutDown() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SHUT_DOWN_COMMAND_ID, "", ); - -/** @brief Command description for Leave - * - * Command: Leave - */ -#define emberAfFillCommandBasicClusterLeave() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LEAVE_COMMAND_ID, "", ); - -/** @brief Command description for QueryImage - * - * Command: QueryImage - * @param vendorId INT16U - * @param productId INT16U - * @param imageType INT16U - * @param hardwareVersion INT16U - * @param currentVersion INT32U - * @param protocolsSupported OTADownloadProtocol [] - * @param protocolsSupportedLen int - * @param location CHAR_STRING - * @param clientCanConsent BOOLEAN - * @param metadataForServer OCTET_STRING - */ -#define emberAfFillCommandOTA \ - Software Update ServerClusterQueryImage(vendorId, productId, imageType, hardwareVersion, currentVersion, protocolsSupported, \ - protocolsSupportedLen, location, clientCanConsent, metadataForServer) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_QUERY_IMAGE_COMMAND_ID, "uuuuubuuu", vendorId, productId, imageType, hardwareVersion, \ - currentVersion, protocolsSupported, protocolsSupportedLen, location, clientCanConsent, \ - metadataForServer); - -/** @brief Command description for ApplyUpdateRequest - * - * Command: ApplyUpdateRequest - * @param updateToken OCTET_STRING - * @param newVersion INT32U - */ -#define emberAfFillCommandOTA \ - Software Update ServerClusterApplyUpdateRequest(updateToken, newVersion) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_APPLY_UPDATE_REQUEST_COMMAND_ID, "uu", updateToken, newVersion); - -/** @brief Command description for NotifyUpdateApplied - * - * Command: NotifyUpdateApplied - * @param updateToken OCTET_STRING - * @param currentVersion INT32U - */ -#define emberAfFillCommandOTA \ - Software Update ServerClusterNotifyUpdateApplied(updateToken, currentVersion) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_NOTIFY_UPDATE_APPLIED_COMMAND_ID, "uu", updateToken, currentVersion); - -/** @brief Command description for QueryImageResponse - * - * Command: QueryImageResponse - * @param status OTAQueryStatus - * @param delayedActionTime INT32U - * @param imageURI CHAR_STRING - * @param softwareVersion INT32U - * @param updateToken OCTET_STRING - * @param userConsentNeeded BOOLEAN - * @param metadataForClient OCTET_STRING - */ -#define emberAfFillCommandOTA \ - Software Update ServerClusterQueryImageResponse(status, delayedActionTime, imageURI, softwareVersion, updateToken, \ - userConsentNeeded, metadataForClient) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_QUERY_IMAGE_RESPONSE_COMMAND_ID, "uuuuuuu", status, delayedActionTime, imageURI, \ - softwareVersion, updateToken, userConsentNeeded, metadataForClient); - -/** @brief Command description for ApplyUpdateRequestResponse - * - * Command: ApplyUpdateRequestResponse - * @param action OTAApplyUpdateAction - * @param delayedActionTime INT32U - */ -#define emberAfFillCommandOTA \ - Software Update ServerClusterApplyUpdateRequestResponse(action, delayedActionTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_APPLY_UPDATE_REQUEST_RESPONSE_COMMAND_ID, "uu", action, delayedActionTime); - -/** @brief Command description for AnnounceOtaServer - * - * Command: AnnounceOtaServer - * @param serverLocation OCTET_STRING - * @param vendorId INT16U - * @param announcementReason OTAAnnouncementReason - * @param metadataForNode OCTET_STRING - */ -#define emberAfFillCommandOTA \ - Software Update ClientClusterAnnounceOtaServer(serverLocation, vendorId, announcementReason, metadataForNode) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ANNOUNCE_OTA_SERVER_COMMAND_ID, "uuuu", serverLocation, vendorId, announcementReason, \ - metadataForNode); - -/** @brief Command description for ArmFailSafe - * - * Command: ArmFailSafe - * @param expiryLengthSeconds INT16U - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandGeneral \ - CommissioningClusterArmFailSafe(expiryLengthSeconds, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ARM_FAIL_SAFE_COMMAND_ID, "uuu", expiryLengthSeconds, breadcrumb, timeoutMs); - -/** @brief Command description for ArmFailSafeResponse - * - * Command: ArmFailSafeResponse - * @param errorCode GeneralCommissioningError - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandGeneral \ - CommissioningClusterArmFailSafeResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ARM_FAIL_SAFE_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for SetRegulatoryConfig - * - * Command: SetRegulatoryConfig - * @param location RegulatoryLocationType - * @param countryCode CHAR_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandGeneral \ - CommissioningClusterSetRegulatoryConfig(location, countryCode, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_REGULATORY_CONFIG_COMMAND_ID, "uuuu", location, countryCode, breadcrumb, timeoutMs); - -/** @brief Command description for SetRegulatoryConfigResponse - * - * Command: SetRegulatoryConfigResponse - * @param errorCode GeneralCommissioningError - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandGeneral \ - CommissioningClusterSetRegulatoryConfigResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_REGULATORY_CONFIG_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for CommissioningComplete - * - * Command: CommissioningComplete - */ -#define emberAfFillCommandGeneral \ - CommissioningClusterCommissioningComplete() emberAfFillExternalBuffer(mask, \ - \ - ZCL_COMMISSIONING_COMPLETE_COMMAND_ID, "", ); - -/** @brief Command description for CommissioningCompleteResponse - * - * Command: CommissioningCompleteResponse - * @param errorCode GeneralCommissioningError - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandGeneral \ - CommissioningClusterCommissioningCompleteResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_COMMISSIONING_COMPLETE_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for ScanNetworks - * - * Command: ScanNetworks - * @param ssid OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterScanNetworks(ssid, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SCAN_NETWORKS_COMMAND_ID, "uuu", ssid, breadcrumb, timeoutMs); - -/** @brief Command description for ScanNetworksResponse - * - * Command: ScanNetworksResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - * @param wifiScanResults WiFiInterfaceScanResult [] - * @param wifiScanResultsLen int - * @param threadScanResults ThreadInterfaceScanResult [] - * @param threadScanResultsLen int - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterScanNetworksResponse(errorCode, debugText, wifiScanResults, wifiScanResultsLen, threadScanResults, \ - threadScanResultsLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SCAN_NETWORKS_RESPONSE_COMMAND_ID, "uubb", errorCode, debugText, wifiScanResults, \ - wifiScanResultsLen, threadScanResults, threadScanResultsLen); - -/** @brief Command description for AddWiFiNetwork - * - * Command: AddWiFiNetwork - * @param ssid OCTET_STRING - * @param credentials OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterAddWiFiNetwork(ssid, credentials, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADD_WI_FI_NETWORK_COMMAND_ID, "uuuu", ssid, credentials, breadcrumb, timeoutMs); - -/** @brief Command description for AddWiFiNetworkResponse - * - * Command: AddWiFiNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterAddWiFiNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADD_WI_FI_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for UpdateWiFiNetwork - * - * Command: UpdateWiFiNetwork - * @param ssid OCTET_STRING - * @param credentials OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterUpdateWiFiNetwork(ssid, credentials, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UPDATE_WI_FI_NETWORK_COMMAND_ID, "uuuu", ssid, credentials, breadcrumb, timeoutMs); - -/** @brief Command description for UpdateWiFiNetworkResponse - * - * Command: UpdateWiFiNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterUpdateWiFiNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UPDATE_WI_FI_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for AddThreadNetwork - * - * Command: AddThreadNetwork - * @param operationalDataset OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterAddThreadNetwork(operationalDataset, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADD_THREAD_NETWORK_COMMAND_ID, "uuu", operationalDataset, breadcrumb, timeoutMs); - -/** @brief Command description for AddThreadNetworkResponse - * - * Command: AddThreadNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterAddThreadNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADD_THREAD_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for UpdateThreadNetwork - * - * Command: UpdateThreadNetwork - * @param operationalDataset OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterUpdateThreadNetwork(operationalDataset, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UPDATE_THREAD_NETWORK_COMMAND_ID, "uuu", operationalDataset, breadcrumb, timeoutMs); - -/** @brief Command description for UpdateThreadNetworkResponse - * - * Command: UpdateThreadNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterUpdateThreadNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UPDATE_THREAD_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for RemoveNetwork - * - * Command: RemoveNetwork - * @param NetworkID OCTET_STRING - * @param Breadcrumb INT64U - * @param TimeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterRemoveNetwork(NetworkID, Breadcrumb, TimeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REMOVE_NETWORK_COMMAND_ID, "uuu", NetworkID, Breadcrumb, TimeoutMs); - -/** @brief Command description for RemoveNetworkResponse - * - * Command: RemoveNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterRemoveNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REMOVE_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for EnableNetwork - * - * Command: EnableNetwork - * @param networkID OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterEnableNetwork(networkID, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENABLE_NETWORK_COMMAND_ID, "uuu", networkID, breadcrumb, timeoutMs); - -/** @brief Command description for EnableNetworkResponse - * - * Command: EnableNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterEnableNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENABLE_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for DisableNetwork - * - * Command: DisableNetwork - * @param networkID OCTET_STRING - * @param breadcrumb INT64U - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterDisableNetwork(networkID, breadcrumb, timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_DISABLE_NETWORK_COMMAND_ID, "uuu", networkID, breadcrumb, timeoutMs); - -/** @brief Command description for DisableNetworkResponse - * - * Command: DisableNetworkResponse - * @param errorCode INT8U - * @param debugText CHAR_STRING - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterDisableNetworkResponse(errorCode, debugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_DISABLE_NETWORK_RESPONSE_COMMAND_ID, "uu", errorCode, debugText); - -/** @brief Command description for GetLastNetworkCommissioningResult - * - * Command: GetLastNetworkCommissioningResult - * @param timeoutMs INT32U - */ -#define emberAfFillCommandNetwork \ - CommissioningClusterGetLastNetworkCommissioningResult(timeoutMs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_LAST_NETWORK_COMMISSIONING_RESULT_COMMAND_ID, "u", timeoutMs); - -/** @brief Command description for ResetWatermarks - * - * Command: ResetWatermarks - */ -#define emberAfFillCommandSoftware \ - DiagnosticsClusterResetWatermarks() emberAfFillExternalBuffer(mask, \ - \ - ZCL_RESET_WATERMARKS_COMMAND_ID, "", ); - -/** @brief Command description for ResetCounts - * - * Command: ResetCounts - */ -#define emberAfFillCommandThread \ - Network DiagnosticsClusterResetCounts() emberAfFillExternalBuffer(mask, \ - \ - ZCL_RESET_COUNTS_COMMAND_ID, "", ); - -/** @brief Command description for ResetCounts - * - * Command: ResetCounts - */ -#define emberAfFillCommandWiFi \ - Network DiagnosticsClusterResetCounts() emberAfFillExternalBuffer(mask, \ - \ - ZCL_RESET_COUNTS_COMMAND_ID, "", ); - -/** @brief Command description for ResetCounts - * - * Command: ResetCounts - */ -#define emberAfFillCommandEthernet \ - Network DiagnosticsClusterResetCounts() emberAfFillExternalBuffer(mask, \ - \ - ZCL_RESET_COUNTS_COMMAND_ID, "", ); - -/** @brief Command description for StartUp - * - * Command: StartUp - */ -#define emberAfFillCommandBridged \ - Device BasicClusterStartUp() emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_UP_COMMAND_ID, "", ); - -/** @brief Command description for ShutDown - * - * Command: ShutDown - */ -#define emberAfFillCommandBridged \ - Device BasicClusterShutDown() emberAfFillExternalBuffer(mask, \ - \ - ZCL_SHUT_DOWN_COMMAND_ID, "", ); - -/** @brief Command description for Leave - * - * Command: Leave - */ -#define emberAfFillCommandBridged \ - Device BasicClusterLeave() emberAfFillExternalBuffer(mask, \ - \ - ZCL_LEAVE_COMMAND_ID, "", ); - -/** @brief Command description for ReachableChanged - * - * Command: ReachableChanged - */ -#define emberAfFillCommandBridged \ - Device BasicClusterReachableChanged() emberAfFillExternalBuffer(mask, \ - \ - ZCL_REACHABLE_CHANGED_COMMAND_ID, "", ); - -/** @brief Command description for SetFabric - * - * Command: SetFabric - * @param VendorId INT16U - */ -#define emberAfFillCommandOperational \ - CredentialsClusterSetFabric(VendorId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_FABRIC_COMMAND_ID, "u", VendorId); - -/** @brief Command description for SetFabricResponse - * - * Command: SetFabricResponse - * @param FabricId FABRIC_ID - */ -#define emberAfFillCommandOperational \ - CredentialsClusterSetFabricResponse(FabricId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_FABRIC_RESPONSE_COMMAND_ID, "u", FabricId); - -/** @brief Command description for OpCSRRequest - * - * Command: OpCSRRequest - * @param CSRNonce OCTET_STRING - */ -#define emberAfFillCommandOperational \ - CredentialsClusterOpCSRRequest(CSRNonce) emberAfFillExternalBuffer(mask, \ - \ - ZCL_OP_CSR_REQUEST_COMMAND_ID, "u", CSRNonce); - -/** @brief Command description for OpCSRResponse - * - * Command: OpCSRResponse - * @param CSR OCTET_STRING - * @param CSRNonce OCTET_STRING - * @param VendorReserved1 OCTET_STRING - * @param VendorReserved2 OCTET_STRING - * @param VendorReserved3 OCTET_STRING - * @param Signature OCTET_STRING - */ -#define emberAfFillCommandOperational \ - CredentialsClusterOpCSRResponse(CSR, CSRNonce, VendorReserved1, VendorReserved2, VendorReserved3, Signature) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_OP_CSR_RESPONSE_COMMAND_ID, "uuuuuu", CSR, CSRNonce, VendorReserved1, VendorReserved2, \ - VendorReserved3, Signature); - -/** @brief Command description for AddOpCert - * - * Command: AddOpCert - * @param OperationalCert OCTET_STRING - * @param IPKValue OCTET_STRING - * @param CaseAdminNode NODE_ID - * @param AdminVendorId INT16U - */ -#define emberAfFillCommandOperational \ - CredentialsClusterAddOpCert(OperationalCert, IPKValue, CaseAdminNode, AdminVendorId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADD_OP_CERT_COMMAND_ID, "uuuu", OperationalCert, IPKValue, CaseAdminNode, AdminVendorId); - -/** @brief Command description for OpCertResponse - * - * Command: OpCertResponse - * @param StatusCode INT8U - * @param FabricIndex INT64U - * @param DebugText CHAR_STRING - */ -#define emberAfFillCommandOperational \ - CredentialsClusterOpCertResponse(StatusCode, FabricIndex, DebugText) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_OP_CERT_RESPONSE_COMMAND_ID, "uuu", StatusCode, FabricIndex, DebugText); - -/** @brief Command description for UpdateFabricLabel - * - * Command: UpdateFabricLabel - * @param Label CHAR_STRING - */ -#define emberAfFillCommandOperational \ - CredentialsClusterUpdateFabricLabel(Label) emberAfFillExternalBuffer(mask, \ - \ - ZCL_UPDATE_FABRIC_LABEL_COMMAND_ID, "u", Label); - -/** @brief Command description for RemoveFabric - * - * Command: RemoveFabric - * @param FabricId FABRIC_ID - * @param NodeId NODE_ID - * @param VendorId INT16U - */ -#define emberAfFillCommandOperational \ - CredentialsClusterRemoveFabric(FabricId, NodeId, VendorId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REMOVE_FABRIC_COMMAND_ID, "uuu", FabricId, NodeId, VendorId); - -/** @brief Command description for RemoveAllFabrics - * - * Command: RemoveAllFabrics - */ -#define emberAfFillCommandOperational \ - CredentialsClusterRemoveAllFabrics() emberAfFillExternalBuffer(mask, \ - \ - ZCL_REMOVE_ALL_FABRICS_COMMAND_ID, "", ); - -/** @brief Command description for AddTrustedRootCertificate - * - * Command: AddTrustedRootCertificate - * @param RootCertificate OCTET_STRING - */ -#define emberAfFillCommandOperational \ - CredentialsClusterAddTrustedRootCertificate(RootCertificate) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADD_TRUSTED_ROOT_CERTIFICATE_COMMAND_ID, "u", RootCertificate); - -/** @brief Command description for RemoveTrustedRootCertificate - * - * Command: RemoveTrustedRootCertificate - * @param TrustedRootIdentifier OCTET_STRING - */ -#define emberAfFillCommandOperational \ - CredentialsClusterRemoveTrustedRootCertificate(TrustedRootIdentifier) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REMOVE_TRUSTED_ROOT_CERTIFICATE_COMMAND_ID, "u", TrustedRootIdentifier); - -/** @brief Command description for LockDoor - * - * Command: LockDoor - * @param PIN CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterLockDoor(PIN) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOCK_DOOR_COMMAND_ID, "u", PIN); - -/** @brief Command description for LockDoorResponse - * - * Command: LockDoorResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterLockDoorResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOCK_DOOR_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for UnlockDoor - * - * Command: UnlockDoor - * @param PIN CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterUnlockDoor(PIN) emberAfFillExternalBuffer(mask, \ - \ - ZCL_UNLOCK_DOOR_COMMAND_ID, "u", PIN); - -/** @brief Command description for UnlockDoorResponse - * - * Command: UnlockDoorResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterUnlockDoorResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_UNLOCK_DOOR_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for Toggle - * - * Command: Toggle - * @param pin CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterToggle(pin) emberAfFillExternalBuffer(mask, \ - \ - ZCL_TOGGLE_COMMAND_ID, "u", pin); - -/** @brief Command description for ToggleResponse - * - * Command: ToggleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterToggleResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_TOGGLE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for UnlockWithTimeout - * - * Command: UnlockWithTimeout - * @param timeoutInSeconds INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterUnlockWithTimeout(timeoutInSeconds) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UNLOCK_WITH_TIMEOUT_COMMAND_ID, "u", timeoutInSeconds); - -/** @brief Command description for UnlockWithTimeoutResponse - * - * Command: UnlockWithTimeoutResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterUnlockWithTimeoutResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UNLOCK_WITH_TIMEOUT_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for UnlockWithTimeout - * - * Command: UnlockWithTimeout - * @param pin CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterUnlockWithTimeout(pin) emberAfFillExternalBuffer(mask, \ - \ - ZCL_UNLOCK_WITH_TIMEOUT_COMMAND_ID, "u", pin); - -/** @brief Command description for GetLogRecord - * - * Command: GetLogRecord - * @param logIndex INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetLogRecord(logIndex) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_LOG_RECORD_COMMAND_ID, "u", logIndex); - -/** @brief Command description for GetLogRecordResponse - * - * Command: GetLogRecordResponse - * @param logEntryId INT16U - * @param timestamp INT32U - * @param eventType ENUM8 - * @param source INT8U - * @param eventIdOrAlarmCode INT8U - * @param userId INT16U - * @param pin CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterGetLogRecordResponse(logEntryId, timestamp, eventType, source, eventIdOrAlarmCode, userId, pin) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_LOG_RECORD_RESPONSE_COMMAND_ID, "uuuuuuu", logEntryId, timestamp, eventType, source, \ - eventIdOrAlarmCode, userId, pin); - -/** @brief Command description for SetPin - * - * Command: SetPin - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterSetPin(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_PIN_COMMAND_ID, "u", userId); - -/** @brief Command description for SetPinResponse - * - * Command: SetPinResponse - * @param status DoorLockSetPinOrIdStatus - */ -#define emberAfFillCommandDoor \ - LockClusterSetPinResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_PIN_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetPin - * - * Command: SetPin - * @param userStatus DoorLockUserStatus - * @param userType DoorLockUserType - * @param pin CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterSetPin(userStatus, userType, pin) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_PIN_COMMAND_ID, "uuu", userStatus, userType, pin); - -/** @brief Command description for GetPin - * - * Command: GetPin - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetPin(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PIN_COMMAND_ID, "u", userId); - -/** @brief Command description for GetPinResponse - * - * Command: GetPinResponse - * @param userId INT16U - * @param userStatus DoorLockUserStatus - * @param userType DoorLockUserType - * @param pin CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterGetPinResponse(userId, userStatus, userType, pin) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PIN_RESPONSE_COMMAND_ID, "uuuu", userId, userStatus, userType, pin); - -/** @brief Command description for ClearPin - * - * Command: ClearPin - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterClearPin(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_PIN_COMMAND_ID, "u", userId); - -/** @brief Command description for ClearPinResponse - * - * Command: ClearPinResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearPinResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_PIN_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for ClearAllPins - * - * Command: ClearAllPins - */ -#define emberAfFillCommandDoor \ - LockClusterClearAllPins() emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_ALL_PINS_COMMAND_ID, "", ); - -/** @brief Command description for ClearAllPinsResponse - * - * Command: ClearAllPinsResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearAllPinsResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_ALL_PINS_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetUserStatus - * - * Command: SetUserStatus - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterSetUserStatus(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_USER_STATUS_COMMAND_ID, "u", userId); - -/** @brief Command description for SetUserStatusResponse - * - * Command: SetUserStatusResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetUserStatusResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_USER_STATUS_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetUserStatus - * - * Command: SetUserStatus - * @param userStatus INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetUserStatus(userStatus) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_USER_STATUS_COMMAND_ID, "u", userStatus); - -/** @brief Command description for GetUserStatus - * - * Command: GetUserStatus - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetUserStatus(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_USER_STATUS_COMMAND_ID, "u", userId); - -/** @brief Command description for GetUserStatusResponse - * - * Command: GetUserStatusResponse - * @param userId INT16U - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetUserStatusResponse(userId, status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_USER_STATUS_RESPONSE_COMMAND_ID, "uu", userId, status); - -/** @brief Command description for SetWeekdaySchedule - * - * Command: SetWeekdaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetWeekdaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_WEEKDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for SetWeekdayScheduleResponse - * - * Command: SetWeekdayScheduleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetWeekdayScheduleResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetWeekdaySchedule - * - * Command: SetWeekdaySchedule - * @param userId INT16U - * @param daysMask DoorLockDayOfWeek - * @param startHour INT8U - * @param startMinute INT8U - * @param endHour INT8U - * @param endMinute INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetWeekdaySchedule(userId, daysMask, startHour, startMinute, endHour, endMinute) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_SET_WEEKDAY_SCHEDULE_COMMAND_ID, "uuuuuu", userId, daysMask, startHour, startMinute, endHour, endMinute); - -/** @brief Command description for GetWeekdaySchedule - * - * Command: GetWeekdaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetWeekdaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEKDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for GetWeekdayScheduleResponse - * - * Command: GetWeekdayScheduleResponse - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetWeekdayScheduleResponse(scheduleId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for GetWeekdaySchedule - * - * Command: GetWeekdaySchedule - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetWeekdaySchedule(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEKDAY_SCHEDULE_COMMAND_ID, "u", userId); - -/** @brief Command description for GetWeekdayScheduleResponse - * - * Command: GetWeekdayScheduleResponse - * @param userId INT16U - * @param status INT8U - * @param daysMask INT8U - * @param startHour INT8U - * @param startMinute INT8U - * @param endHour INT8U - * @param endMinute INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetWeekdayScheduleResponse(userId, status, daysMask, startHour, startMinute, endHour, endMinute) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "uuuuuuu", userId, status, daysMask, startHour, \ - startMinute, endHour, endMinute); - -/** @brief Command description for ClearWeekdaySchedule - * - * Command: ClearWeekdaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearWeekdaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_WEEKDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for ClearWeekdayScheduleResponse - * - * Command: ClearWeekdayScheduleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearWeekdayScheduleResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for ClearWeekdaySchedule - * - * Command: ClearWeekdaySchedule - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterClearWeekdaySchedule(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_WEEKDAY_SCHEDULE_COMMAND_ID, "u", userId); - -/** @brief Command description for SetYeardaySchedule - * - * Command: SetYeardaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetYeardaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_YEARDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for SetYeardayScheduleResponse - * - * Command: SetYeardayScheduleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetYeardayScheduleResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetYeardaySchedule - * - * Command: SetYeardaySchedule - * @param userId INT16U - * @param localStartTime INT32U - * @param localEndTime INT32U - */ -#define emberAfFillCommandDoor \ - LockClusterSetYeardaySchedule(userId, localStartTime, localEndTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_YEARDAY_SCHEDULE_COMMAND_ID, "uuu", userId, localStartTime, localEndTime); - -/** @brief Command description for GetYeardaySchedule - * - * Command: GetYeardaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetYeardaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_YEARDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for GetYeardayScheduleResponse - * - * Command: GetYeardayScheduleResponse - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetYeardayScheduleResponse(scheduleId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for GetYeardaySchedule - * - * Command: GetYeardaySchedule - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetYeardaySchedule(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_YEARDAY_SCHEDULE_COMMAND_ID, "u", userId); - -/** @brief Command description for GetYeardayScheduleResponse - * - * Command: GetYeardayScheduleResponse - * @param userId INT16U - * @param status INT8U - * @param localStartTime INT32U - * @param localEndTime INT32U - */ -#define emberAfFillCommandDoor \ - LockClusterGetYeardayScheduleResponse(userId, status, localStartTime, localEndTime) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_GET_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "uuuu", userId, status, localStartTime, localEndTime); - -/** @brief Command description for ClearYeardaySchedule - * - * Command: ClearYeardaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearYeardaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_YEARDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for ClearYeardayScheduleResponse - * - * Command: ClearYeardayScheduleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearYeardayScheduleResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for ClearYeardaySchedule - * - * Command: ClearYeardaySchedule - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterClearYeardaySchedule(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_YEARDAY_SCHEDULE_COMMAND_ID, "u", userId); - -/** @brief Command description for SetHolidaySchedule - * - * Command: SetHolidaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetHolidaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_HOLIDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for SetHolidayScheduleResponse - * - * Command: SetHolidayScheduleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetHolidayScheduleResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_HOLIDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetHolidaySchedule - * - * Command: SetHolidaySchedule - * @param localStartTime INT32U - * @param localEndTime INT32U - * @param operatingModeDuringHoliday ENUM8 - */ -#define emberAfFillCommandDoor \ - LockClusterSetHolidaySchedule(localStartTime, localEndTime, operatingModeDuringHoliday) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_SET_HOLIDAY_SCHEDULE_COMMAND_ID, "uuu", localStartTime, localEndTime, operatingModeDuringHoliday); - -/** @brief Command description for GetHolidaySchedule - * - * Command: GetHolidaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterGetHolidaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_HOLIDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for GetHolidayScheduleResponse - * - * Command: GetHolidayScheduleResponse - * @param scheduleId INT8U - * @param status INT8U - * @param localStartTime INT32U - * @param localEndTime INT32U - * @param operatingModeDuringHoliday ENUM8 - */ -#define emberAfFillCommandDoor \ - LockClusterGetHolidayScheduleResponse(scheduleId, status, localStartTime, localEndTime, operatingModeDuringHoliday) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_HOLIDAY_SCHEDULE_RESPONSE_COMMAND_ID, "uuuuu", scheduleId, status, localStartTime, \ - localEndTime, operatingModeDuringHoliday); - -/** @brief Command description for ClearHolidaySchedule - * - * Command: ClearHolidaySchedule - * @param scheduleId INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearHolidaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_HOLIDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); - -/** @brief Command description for ClearHolidayScheduleResponse - * - * Command: ClearHolidayScheduleResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearHolidayScheduleResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_HOLIDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetUserType - * - * Command: SetUserType - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterSetUserType(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_USER_TYPE_COMMAND_ID, "u", userId); - -/** @brief Command description for SetUserTypeResponse - * - * Command: SetUserTypeResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterSetUserTypeResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_USER_TYPE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetUserType - * - * Command: SetUserType - * @param userType DoorLockUserType - */ -#define emberAfFillCommandDoor \ - LockClusterSetUserType(userType) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_USER_TYPE_COMMAND_ID, "u", userType); - -/** @brief Command description for GetUserType - * - * Command: GetUserType - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetUserType(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_USER_TYPE_COMMAND_ID, "u", userId); - -/** @brief Command description for GetUserTypeResponse - * - * Command: GetUserTypeResponse - * @param userId INT16U - * @param userType DoorLockUserType - */ -#define emberAfFillCommandDoor \ - LockClusterGetUserTypeResponse(userId, userType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_USER_TYPE_RESPONSE_COMMAND_ID, "uu", userId, userType); - -/** @brief Command description for SetRfid - * - * Command: SetRfid - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterSetRfid(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_RFID_COMMAND_ID, "u", userId); - -/** @brief Command description for SetRfidResponse - * - * Command: SetRfidResponse - * @param status DoorLockSetPinOrIdStatus - */ -#define emberAfFillCommandDoor \ - LockClusterSetRfidResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_RFID_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for SetRfid - * - * Command: SetRfid - * @param userStatus DoorLockUserStatus - * @param userType DoorLockUserType - * @param id CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterSetRfid(userStatus, userType, id) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_RFID_COMMAND_ID, "uuu", userStatus, userType, id); - -/** @brief Command description for GetRfid - * - * Command: GetRfid - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterGetRfid(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_RFID_COMMAND_ID, "u", userId); - -/** @brief Command description for GetRfidResponse - * - * Command: GetRfidResponse - * @param userId INT16U - * @param userStatus DoorLockUserStatus - * @param userType DoorLockUserType - * @param rfid CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterGetRfidResponse(userId, userStatus, userType, rfid) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_RFID_RESPONSE_COMMAND_ID, "uuuu", userId, userStatus, userType, rfid); - -/** @brief Command description for ClearRfid - * - * Command: ClearRfid - * @param userId INT16U - */ -#define emberAfFillCommandDoor \ - LockClusterClearRfid(userId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_RFID_COMMAND_ID, "u", userId); - -/** @brief Command description for ClearRfidResponse - * - * Command: ClearRfidResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearRfidResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_RFID_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for ClearAllRfids - * - * Command: ClearAllRfids - */ -#define emberAfFillCommandDoor \ - LockClusterClearAllRfids() emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_ALL_RFIDS_COMMAND_ID, "", ); - -/** @brief Command description for ClearAllRfidsResponse - * - * Command: ClearAllRfidsResponse - * @param status INT8U - */ -#define emberAfFillCommandDoor \ - LockClusterClearAllRfidsResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_ALL_RFIDS_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for OperationEventNotification - * - * Command: OperationEventNotification - * @param source INT8U - * @param eventCode DoorLockOperationEventCode - * @param userId INT16U - * @param pin CHAR_STRING - * @param timeStamp INT32U - * @param data CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterOperationEventNotification(source, eventCode, userId, pin, timeStamp, data) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_OPERATION_EVENT_NOTIFICATION_COMMAND_ID, "uuuuuu", source, eventCode, userId, pin, timeStamp, data); - -/** @brief Command description for ProgrammingEventNotification - * - * Command: ProgrammingEventNotification - * @param source INT8U - * @param eventCode DoorLockProgrammingEventCode - * @param userId INT16U - * @param pin CHAR_STRING - * @param userType DoorLockUserType - * @param userStatus DoorLockUserStatus - * @param timeStamp INT32U - * @param data CHAR_STRING - */ -#define emberAfFillCommandDoor \ - LockClusterProgrammingEventNotification(source, eventCode, userId, pin, userType, userStatus, timeStamp, data) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PROGRAMMING_EVENT_NOTIFICATION_COMMAND_ID, "uuuuuuuu", source, eventCode, userId, pin, \ - userType, userStatus, timeStamp, data); - -/** @brief Command description for WindowCoveringUpOpen - * - * Command: WindowCoveringUpOpen - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringUpOpen() emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_UP_OPEN_COMMAND_ID, "", ); - -/** @brief Command description for WindowCoveringDownClose - * - * Command: WindowCoveringDownClose - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringDownClose() emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_DOWN_CLOSE_COMMAND_ID, "", ); - -/** @brief Command description for WindowCoveringStop - * - * Command: WindowCoveringStop - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringStop() emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_STOP_COMMAND_ID, "", ); - -/** @brief Command description for WindowCoveringGoToLiftValue - * - * Command: WindowCoveringGoToLiftValue - * @param liftValue INT16U - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringGoToLiftValue(liftValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_GO_TO_LIFT_VALUE_COMMAND_ID, "u", liftValue); - -/** @brief Command description for WindowCoveringGoToLiftPercentage - * - * Command: WindowCoveringGoToLiftPercentage - * @param percentageLiftValue INT8U - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringGoToLiftPercentage(percentageLiftValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_GO_TO_LIFT_PERCENTAGE_COMMAND_ID, "u", percentageLiftValue); - -/** @brief Command description for WindowCoveringGoToTiltValue - * - * Command: WindowCoveringGoToTiltValue - * @param tiltValue INT16U - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringGoToTiltValue(tiltValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_GO_TO_TILT_VALUE_COMMAND_ID, "u", tiltValue); - -/** @brief Command description for WindowCoveringGoToTiltPercentage - * - * Command: WindowCoveringGoToTiltPercentage - * @param percentageTiltValue INT8U - */ -#define emberAfFillCommandWindow \ - CoveringClusterWindowCoveringGoToTiltPercentage(percentageTiltValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_WINDOW_COVERING_GO_TO_TILT_PERCENTAGE_COMMAND_ID, "u", percentageTiltValue); - -/** @brief Command description for BarrierControlGoToPercent - * - * Command: BarrierControlGoToPercent - * @param percentOpen INT8U - */ -#define emberAfFillCommandBarrier \ - ControlClusterBarrierControlGoToPercent(percentOpen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_BARRIER_CONTROL_GO_TO_PERCENT_COMMAND_ID, "u", percentOpen); - -/** @brief Command description for BarrierControlStop - * - * Command: BarrierControlStop - */ -#define emberAfFillCommandBarrier \ - ControlClusterBarrierControlStop() emberAfFillExternalBuffer(mask, \ - \ - ZCL_BARRIER_CONTROL_STOP_COMMAND_ID, "", ); - -/** @brief Command description for SetpointRaiseLower - * - * Command: SetpointRaiseLower - * @param mode SetpointAdjustMode - */ -#define emberAfFillCommandThermostatClusterSetpointRaiseLower(mode) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SETPOINT_RAISE_LOWER_COMMAND_ID, "u", mode); - -/** @brief Command description for CurrentWeeklySchedule - * - * Command: CurrentWeeklySchedule - * @param numberOfTransitionsForSequence ENUM8 - */ -#define emberAfFillCommandThermostatClusterCurrentWeeklySchedule(numberOfTransitionsForSequence) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CURRENT_WEEKLY_SCHEDULE_COMMAND_ID, "u", numberOfTransitionsForSequence); - -/** @brief Command description for SetpointRaiseLower - * - * Command: SetpointRaiseLower - * @param amount INT8S - */ -#define emberAfFillCommandThermostatClusterSetpointRaiseLower(amount) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SETPOINT_RAISE_LOWER_COMMAND_ID, "u", amount); - -/** @brief Command description for CurrentWeeklySchedule - * - * Command: CurrentWeeklySchedule - * @param dayOfWeekForSequence DayOfWeek - * @param modeForSequence ModeForSequence - * @param payload INT8U [] - * @param payloadLen int - */ -#define emberAfFillCommandThermostatClusterCurrentWeeklySchedule(dayOfWeekForSequence, modeForSequence, payload, payloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CURRENT_WEEKLY_SCHEDULE_COMMAND_ID, "uub", dayOfWeekForSequence, modeForSequence, payload, \ - payloadLen); - -/** @brief Command description for SetWeeklySchedule - * - * Command: SetWeeklySchedule - * @param numberOfTransitionsForSequence ENUM8 - */ -#define emberAfFillCommandThermostatClusterSetWeeklySchedule(numberOfTransitionsForSequence) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "u", numberOfTransitionsForSequence); - -/** @brief Command description for RelayStatusLog - * - * Command: RelayStatusLog - * @param timeOfDay INT16U - */ -#define emberAfFillCommandThermostatClusterRelayStatusLog(timeOfDay) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_RELAY_STATUS_LOG_COMMAND_ID, "u", timeOfDay); - -/** @brief Command description for SetWeeklySchedule - * - * Command: SetWeeklySchedule - * @param dayOfWeekForSequence DayOfWeek - */ -#define emberAfFillCommandThermostatClusterSetWeeklySchedule(dayOfWeekForSequence) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "u", dayOfWeekForSequence); - -/** @brief Command description for RelayStatusLog - * - * Command: RelayStatusLog - * @param relayStatus BITMAP16 - */ -#define emberAfFillCommandThermostatClusterRelayStatusLog(relayStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_RELAY_STATUS_LOG_COMMAND_ID, "u", relayStatus); - -/** @brief Command description for SetWeeklySchedule - * - * Command: SetWeeklySchedule - * @param modeForSequence ModeForSequence - */ -#define emberAfFillCommandThermostatClusterSetWeeklySchedule(modeForSequence) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "u", modeForSequence); - -/** @brief Command description for RelayStatusLog - * - * Command: RelayStatusLog - * @param localTemperature INT16S - */ -#define emberAfFillCommandThermostatClusterRelayStatusLog(localTemperature) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_RELAY_STATUS_LOG_COMMAND_ID, "u", localTemperature); - -/** @brief Command description for SetWeeklySchedule - * - * Command: SetWeeklySchedule - * @param payload INT8U [] - * @param payloadLen int - */ -#define emberAfFillCommandThermostatClusterSetWeeklySchedule(payload, payloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "b", payload, payloadLen); - -/** @brief Command description for RelayStatusLog - * - * Command: RelayStatusLog - * @param humidityInPercentage INT8U - * @param setpoint INT16S - * @param unreadEntries INT16U - */ -#define emberAfFillCommandThermostatClusterRelayStatusLog(humidityInPercentage, setpoint, unreadEntries) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_RELAY_STATUS_LOG_COMMAND_ID, "uuu", humidityInPercentage, setpoint, unreadEntries); - -/** @brief Command description for GetWeeklySchedule - * - * Command: GetWeeklySchedule - * @param daysToReturn DayOfWeek - * @param modeToReturn ModeForSequence - */ -#define emberAfFillCommandThermostatClusterGetWeeklySchedule(daysToReturn, modeToReturn) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEKLY_SCHEDULE_COMMAND_ID, "uu", daysToReturn, modeToReturn); - -/** @brief Command description for ClearWeeklySchedule - * - * Command: ClearWeeklySchedule - */ -#define emberAfFillCommandThermostatClusterClearWeeklySchedule() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_WEEKLY_SCHEDULE_COMMAND_ID, "", ); - -/** @brief Command description for GetRelayStatusLog - * - * Command: GetRelayStatusLog - */ -#define emberAfFillCommandThermostatClusterGetRelayStatusLog() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_RELAY_STATUS_LOG_COMMAND_ID, "", ); - -/** @brief Command description for MoveToHue - * - * Command: MoveToHue - * @param hue INT8U - * @param direction HueDirection - * @param transitionTime INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveToHue(hue, direction, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_MOVE_TO_HUE_COMMAND_ID, "uuuuu", hue, direction, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveHue - * - * Command: MoveHue - * @param moveMode HueMoveMode - * @param rate INT8U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveHue(moveMode, rate, optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MOVE_HUE_COMMAND_ID, "uuuu", moveMode, rate, optionsMask, optionsOverride); - -/** @brief Command description for StepHue - * - * Command: StepHue - * @param stepMode HueStepMode - * @param stepSize INT8U - * @param transitionTime INT8U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterStepHue(stepMode, stepSize, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_STEP_HUE_COMMAND_ID, "uuuuu", stepMode, stepSize, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveToSaturation - * - * Command: MoveToSaturation - * @param saturation INT8U - * @param transitionTime INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveToSaturation(saturation, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_MOVE_TO_SATURATION_COMMAND_ID, "uuuu", saturation, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveSaturation - * - * Command: MoveSaturation - * @param moveMode SaturationMoveMode - * @param rate INT8U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveSaturation(moveMode, rate, optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MOVE_SATURATION_COMMAND_ID, "uuuu", moveMode, rate, optionsMask, optionsOverride); - -/** @brief Command description for StepSaturation - * - * Command: StepSaturation - * @param stepMode SaturationStepMode - * @param stepSize INT8U - * @param transitionTime INT8U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterStepSaturation(stepMode, stepSize, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_STEP_SATURATION_COMMAND_ID, "uuuuu", stepMode, stepSize, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveToHueAndSaturation - * - * Command: MoveToHueAndSaturation - * @param hue INT8U - * @param saturation INT8U - * @param transitionTime INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveToHueAndSaturation(hue, saturation, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_MOVE_TO_HUE_AND_SATURATION_COMMAND_ID, "uuuuu", hue, saturation, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveToColor - * - * Command: MoveToColor - * @param colorX INT16U - * @param colorY INT16U - * @param transitionTime INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveToColor(colorX, colorY, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_MOVE_TO_COLOR_COMMAND_ID, "uuuuu", colorX, colorY, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveColor - * - * Command: MoveColor - * @param rateX INT16S - * @param rateY INT16S - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveColor(rateX, rateY, optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MOVE_COLOR_COMMAND_ID, "uuuu", rateX, rateY, optionsMask, optionsOverride); - -/** @brief Command description for StepColor - * - * Command: StepColor - * @param stepX INT16S - * @param stepY INT16S - * @param transitionTime INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterStepColor(stepX, stepY, transitionTime, optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_STEP_COLOR_COMMAND_ID, "uuuuu", stepX, stepY, transitionTime, optionsMask, optionsOverride); - -/** @brief Command description for MoveToColorTemperature - * - * Command: MoveToColorTemperature - * @param colorTemperature INT16U - * @param transitionTime INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveToColorTemperature(colorTemperature, transitionTime, optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MOVE_TO_COLOR_TEMPERATURE_COMMAND_ID, "uuuu", colorTemperature, transitionTime, optionsMask, \ - optionsOverride); - -/** @brief Command description for EnhancedMoveToHue - * - * Command: EnhancedMoveToHue - * @param enhancedHue INT16U - * @param direction HueDirection - * @param transitionTime INT16U - */ -#define emberAfFillCommandColor \ - ControlClusterEnhancedMoveToHue(enhancedHue, direction, transitionTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENHANCED_MOVE_TO_HUE_COMMAND_ID, "uuu", enhancedHue, direction, transitionTime); - -/** @brief Command description for EnhancedMoveHue - * - * Command: EnhancedMoveHue - * @param moveMode HueMoveMode - * @param rate INT16U - */ -#define emberAfFillCommandColor \ - ControlClusterEnhancedMoveHue(moveMode, rate) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENHANCED_MOVE_HUE_COMMAND_ID, "uu", moveMode, rate); - -/** @brief Command description for EnhancedStepHue - * - * Command: EnhancedStepHue - * @param stepMode HueStepMode - * @param stepSize INT16U - * @param transitionTime INT16U - */ -#define emberAfFillCommandColor \ - ControlClusterEnhancedStepHue(stepMode, stepSize, transitionTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ENHANCED_STEP_HUE_COMMAND_ID, "uuu", stepMode, stepSize, transitionTime); - -/** @brief Command description for EnhancedMoveToHueAndSaturation - * - * Command: EnhancedMoveToHueAndSaturation - * @param enhancedHue INT16U - * @param saturation INT8U - * @param transitionTime INT16U - */ -#define emberAfFillCommandColor \ - ControlClusterEnhancedMoveToHueAndSaturation(enhancedHue, saturation, transitionTime) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_ENHANCED_MOVE_TO_HUE_AND_SATURATION_COMMAND_ID, "uuu", enhancedHue, saturation, transitionTime); - -/** @brief Command description for ColorLoopSet - * - * Command: ColorLoopSet - * @param updateFlags ColorLoopUpdateFlags - * @param action ColorLoopAction - * @param direction ColorLoopDirection - * @param time INT16U - * @param startHue INT16U - */ -#define emberAfFillCommandColor \ - ControlClusterColorLoopSet(updateFlags, action, direction, time, startHue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_COLOR_LOOP_SET_COMMAND_ID, "uuuuu", updateFlags, action, direction, time, startHue); - -/** @brief Command description for StopMoveStep - * - * Command: StopMoveStep - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterStopMoveStep(optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_STOP_MOVE_STEP_COMMAND_ID, "uu", optionsMask, optionsOverride); - -/** @brief Command description for MoveColorTemperature - * - * Command: MoveColorTemperature - * @param moveMode HueMoveMode - * @param rate INT16U - * @param colorTemperatureMinimum INT16U - * @param colorTemperatureMaximum INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterMoveColorTemperature(moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, \ - optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MOVE_COLOR_TEMPERATURE_COMMAND_ID, "uuuuuu", moveMode, rate, colorTemperatureMinimum, \ - colorTemperatureMaximum, optionsMask, optionsOverride); - -/** @brief Command description for StepColorTemperature - * - * Command: StepColorTemperature - * @param stepMode HueStepMode - * @param stepSize INT16U - * @param transitionTime INT16U - * @param colorTemperatureMinimum INT16U - * @param colorTemperatureMaximum INT16U - * @param optionsMask BITMAP8 - * @param optionsOverride BITMAP8 - */ -#define emberAfFillCommandColor \ - ControlClusterStepColorTemperature(stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, \ - optionsMask, optionsOverride) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_STEP_COLOR_TEMPERATURE_COMMAND_ID, "uuuuuuu", stepMode, stepSize, transitionTime, \ - colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride); - -/** @brief Command description for ZoneEnrollResponse - * - * Command: ZoneEnrollResponse - * @param enrollResponseCode IasEnrollResponseCode - */ -#define emberAfFillCommandIAS \ - ZoneClusterZoneEnrollResponse(enrollResponseCode) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ZONE_ENROLL_RESPONSE_COMMAND_ID, "u", enrollResponseCode); - -/** @brief Command description for ZoneStatusChangeNotification - * - * Command: ZoneStatusChangeNotification - * @param zoneStatus IasZoneStatus - */ -#define emberAfFillCommandIAS \ - ZoneClusterZoneStatusChangeNotification(zoneStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ZONE_STATUS_CHANGE_NOTIFICATION_COMMAND_ID, "u", zoneStatus); - -/** @brief Command description for ZoneEnrollResponse - * - * Command: ZoneEnrollResponse - * @param zoneId INT8U - */ -#define emberAfFillCommandIAS \ - ZoneClusterZoneEnrollResponse(zoneId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_ZONE_ENROLL_RESPONSE_COMMAND_ID, "u", zoneId); - -/** @brief Command description for ZoneStatusChangeNotification - * - * Command: ZoneStatusChangeNotification - * @param extendedStatus BITMAP8 - * @param zoneId INT8U - * @param delay INT16U - */ -#define emberAfFillCommandIAS \ - ZoneClusterZoneStatusChangeNotification(extendedStatus, zoneId, delay) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ZONE_STATUS_CHANGE_NOTIFICATION_COMMAND_ID, "uuu", extendedStatus, zoneId, delay); - -/** @brief Command description for InitiateNormalOperationMode - * - * Command: InitiateNormalOperationMode - */ -#define emberAfFillCommandIAS \ - ZoneClusterInitiateNormalOperationMode() emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_NORMAL_OPERATION_MODE_COMMAND_ID, "", ); - -/** @brief Command description for ZoneEnrollRequest - * - * Command: ZoneEnrollRequest - * @param zoneType IasZoneType - * @param manufacturerCode INT16U - */ -#define emberAfFillCommandIAS \ - ZoneClusterZoneEnrollRequest(zoneType, manufacturerCode) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ZONE_ENROLL_REQUEST_COMMAND_ID, "uu", zoneType, manufacturerCode); - -/** @brief Command description for InitiateNormalOperationModeResponse - * - * Command: InitiateNormalOperationModeResponse - */ -#define emberAfFillCommandIAS \ - ZoneClusterInitiateNormalOperationModeResponse() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_NORMAL_OPERATION_MODE_RESPONSE_COMMAND_ID, "", ); - -/** @brief Command description for InitiateTestMode - * - * Command: InitiateTestMode - * @param testModeDuration INT8U - * @param currentZoneSensitivityLevel INT8U - */ -#define emberAfFillCommandIAS \ - ZoneClusterInitiateTestMode(testModeDuration, currentZoneSensitivityLevel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_TEST_MODE_COMMAND_ID, "uu", testModeDuration, currentZoneSensitivityLevel); - -/** @brief Command description for InitiateTestModeResponse - * - * Command: InitiateTestModeResponse - */ -#define emberAfFillCommandIAS \ - ZoneClusterInitiateTestModeResponse() emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_TEST_MODE_RESPONSE_COMMAND_ID, "", ); - -/** @brief Command description for Arm - * - * Command: Arm - * @param armMode IasAceArmMode - */ -#define emberAfFillCommandIAS \ - ACEClusterArm(armMode) emberAfFillExternalBuffer(mask, \ - \ - ZCL_ARM_COMMAND_ID, "u", armMode); - -/** @brief Command description for ArmResponse - * - * Command: ArmResponse - * @param armNotification IasAceArmNotification - */ -#define emberAfFillCommandIAS \ - ACEClusterArmResponse(armNotification) emberAfFillExternalBuffer(mask, \ - \ - ZCL_ARM_RESPONSE_COMMAND_ID, "u", armNotification); - -/** @brief Command description for Arm - * - * Command: Arm - * @param armDisarmCode CHAR_STRING - * @param zoneId INT8U - */ -#define emberAfFillCommandIAS \ - ACEClusterArm(armDisarmCode, zoneId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_ARM_COMMAND_ID, "uu", armDisarmCode, zoneId); - -/** @brief Command description for Bypass - * - * Command: Bypass - * @param numberOfZones INT8U - */ -#define emberAfFillCommandIAS \ - ACEClusterBypass(numberOfZones) emberAfFillExternalBuffer(mask, \ - \ - ZCL_BYPASS_COMMAND_ID, "u", numberOfZones); - -/** @brief Command description for GetZoneIdMapResponse - * - * Command: GetZoneIdMapResponse - * @param section0 BITMAP16 - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneIdMapResponse(section0) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_ID_MAP_RESPONSE_COMMAND_ID, "u", section0); - -/** @brief Command description for Bypass - * - * Command: Bypass - * @param zoneIds INT8U [] - * @param zoneIdsLen int - */ -#define emberAfFillCommandIAS \ - ACEClusterBypass(zoneIds, zoneIdsLen) emberAfFillExternalBuffer(mask, \ - \ - ZCL_BYPASS_COMMAND_ID, "b", zoneIds, zoneIdsLen); - -/** @brief Command description for GetZoneIdMapResponse - * - * Command: GetZoneIdMapResponse - * @param section1 BITMAP16 - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneIdMapResponse(section1) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_ID_MAP_RESPONSE_COMMAND_ID, "u", section1); - -/** @brief Command description for Bypass - * - * Command: Bypass - * @param armDisarmCode CHAR_STRING - */ -#define emberAfFillCommandIAS \ - ACEClusterBypass(armDisarmCode) emberAfFillExternalBuffer(mask, \ - \ - ZCL_BYPASS_COMMAND_ID, "u", armDisarmCode); - -/** @brief Command description for GetZoneIdMapResponse - * - * Command: GetZoneIdMapResponse - * @param section2 BITMAP16 - * @param section3 BITMAP16 - * @param section4 BITMAP16 - * @param section5 BITMAP16 - * @param section6 BITMAP16 - * @param section7 BITMAP16 - * @param section8 BITMAP16 - * @param section9 BITMAP16 - * @param section10 BITMAP16 - * @param section11 BITMAP16 - * @param section12 BITMAP16 - * @param section13 BITMAP16 - * @param section14 BITMAP16 - * @param section15 BITMAP16 - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneIdMapResponse(section2, section3, section4, section5, section6, section7, section8, section9, section10, \ - section11, section12, section13, section14, section15) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_ID_MAP_RESPONSE_COMMAND_ID, "uuuuuuuuuuuuuu", section2, section3, section4, \ - section5, section6, section7, section8, section9, section10, section11, section12, section13, \ - section14, section15); - -/** @brief Command description for Emergency - * - * Command: Emergency - */ -#define emberAfFillCommandIAS \ - ACEClusterEmergency() emberAfFillExternalBuffer(mask, \ - \ - ZCL_EMERGENCY_COMMAND_ID, "", ); - -/** @brief Command description for GetZoneInformationResponse - * - * Command: GetZoneInformationResponse - * @param zoneId INT8U - * @param zoneType IasZoneType - * @param ieeeAddress IEEE_ADDRESS - * @param zoneLabel CHAR_STRING - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneInformationResponse(zoneId, zoneType, ieeeAddress, zoneLabel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_INFORMATION_RESPONSE_COMMAND_ID, "uuuu", zoneId, zoneType, ieeeAddress, zoneLabel); - -/** @brief Command description for Fire - * - * Command: Fire - */ -#define emberAfFillCommandIAS \ - ACEClusterFire() emberAfFillExternalBuffer(mask, \ - \ - ZCL_FIRE_COMMAND_ID, "", ); - -/** @brief Command description for ZoneStatusChanged - * - * Command: ZoneStatusChanged - * @param zoneId INT8U - * @param zoneStatus ENUM16 - * @param audibleNotification IasAceAudibleNotification - * @param zoneLabel CHAR_STRING - */ -#define emberAfFillCommandIAS \ - ACEClusterZoneStatusChanged(zoneId, zoneStatus, audibleNotification, zoneLabel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ZONE_STATUS_CHANGED_COMMAND_ID, "uuuu", zoneId, zoneStatus, audibleNotification, zoneLabel); - -/** @brief Command description for Panic - * - * Command: Panic - */ -#define emberAfFillCommandIAS \ - ACEClusterPanic() emberAfFillExternalBuffer(mask, \ - \ - ZCL_PANIC_COMMAND_ID, "", ); - -/** @brief Command description for PanelStatusChanged - * - * Command: PanelStatusChanged - * @param panelStatus IasAcePanelStatus - * @param secondsRemaining INT8U - * @param audibleNotification IasAceAudibleNotification - * @param alarmStatus IasAceAlarmStatus - */ -#define emberAfFillCommandIAS \ - ACEClusterPanelStatusChanged(panelStatus, secondsRemaining, audibleNotification, alarmStatus) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_PANEL_STATUS_CHANGED_COMMAND_ID, "uuuu", panelStatus, secondsRemaining, audibleNotification, alarmStatus); - -/** @brief Command description for GetZoneIdMap - * - * Command: GetZoneIdMap - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneIdMap() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_ID_MAP_COMMAND_ID, "", ); - -/** @brief Command description for GetPanelStatusResponse - * - * Command: GetPanelStatusResponse - * @param panelStatus IasAcePanelStatus - * @param secondsRemaining INT8U - * @param audibleNotification IasAceAudibleNotification - * @param alarmStatus IasAceAlarmStatus - */ -#define emberAfFillCommandIAS \ - ACEClusterGetPanelStatusResponse(panelStatus, secondsRemaining, audibleNotification, alarmStatus) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_GET_PANEL_STATUS_RESPONSE_COMMAND_ID, "uuuu", panelStatus, secondsRemaining, audibleNotification, alarmStatus); - -/** @brief Command description for GetZoneInformation - * - * Command: GetZoneInformation - * @param zoneId INT8U - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneInformation(zoneId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_INFORMATION_COMMAND_ID, "u", zoneId); - -/** @brief Command description for SetBypassedZoneList - * - * Command: SetBypassedZoneList - * @param numberOfZones INT8U - * @param zoneIds INT8U [] - * @param zoneIdsLen int - */ -#define emberAfFillCommandIAS \ - ACEClusterSetBypassedZoneList(numberOfZones, zoneIds, zoneIdsLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_BYPASSED_ZONE_LIST_COMMAND_ID, "ub", numberOfZones, zoneIds, zoneIdsLen); - -/** @brief Command description for GetPanelStatus - * - * Command: GetPanelStatus - */ -#define emberAfFillCommandIAS \ - ACEClusterGetPanelStatus() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PANEL_STATUS_COMMAND_ID, "", ); - -/** @brief Command description for BypassResponse - * - * Command: BypassResponse - * @param numberOfZones INT8U - * @param bypassResult IasAceBypassResult [] - * @param bypassResultLen int - */ -#define emberAfFillCommandIAS \ - ACEClusterBypassResponse(numberOfZones, bypassResult, bypassResultLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_BYPASS_RESPONSE_COMMAND_ID, "ub", numberOfZones, bypassResult, bypassResultLen); - -/** @brief Command description for GetBypassedZoneList - * - * Command: GetBypassedZoneList - */ -#define emberAfFillCommandIAS \ - ACEClusterGetBypassedZoneList() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BYPASSED_ZONE_LIST_COMMAND_ID, "", ); - -/** @brief Command description for GetZoneStatusResponse - * - * Command: GetZoneStatusResponse - * @param zoneStatusComplete BOOLEAN - * @param numberOfZones INT8U - * @param zoneStatusResult IasAceZoneStatusResult [] - * @param zoneStatusResultLen int - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneStatusResponse(zoneStatusComplete, numberOfZones, zoneStatusResult, zoneStatusResultLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_ZONE_STATUS_RESPONSE_COMMAND_ID, "uub", zoneStatusComplete, numberOfZones, \ - zoneStatusResult, zoneStatusResultLen); - -/** @brief Command description for GetZoneStatus - * - * Command: GetZoneStatus - * @param startingZoneId INT8U - * @param maxNumberOfZoneIds INT8U - * @param zoneStatusMaskFlag BOOLEAN - * @param zoneStatusMask BITMAP16 - */ -#define emberAfFillCommandIAS \ - ACEClusterGetZoneStatus(startingZoneId, maxNumberOfZoneIds, zoneStatusMaskFlag, zoneStatusMask) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_GET_ZONE_STATUS_COMMAND_ID, "uuuu", startingZoneId, maxNumberOfZoneIds, zoneStatusMaskFlag, zoneStatusMask); - -/** @brief Command description for StartWarning - * - * Command: StartWarning - * @param warningInfo WarningInfo - * @param warningDuration INT16U - * @param strobeDutyCycle INT8U - * @param strobeLevel ENUM8 - */ -#define emberAfFillCommandIAS \ - WDClusterStartWarning(warningInfo, warningDuration, strobeDutyCycle, strobeLevel) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_START_WARNING_COMMAND_ID, "uuuu", warningInfo, warningDuration, strobeDutyCycle, strobeLevel); - -/** @brief Command description for Squawk - * - * Command: Squawk - * @param squawkInfo SquawkInfo - */ -#define emberAfFillCommandIAS \ - WDClusterSquawk(squawkInfo) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SQUAWK_COMMAND_ID, "u", squawkInfo); - -/** @brief Command description for ChangeChannel - * - * Command: ChangeChannel - * @param match CHAR_STRING - */ -#define emberAfFillCommandTV \ - ChannelClusterChangeChannel(match) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_CHANNEL_COMMAND_ID, "u", match); - -/** @brief Command description for ChangeChannelResponse - * - * Command: ChangeChannelResponse - * @param ChannelMatch TvChannelInfo [] - * @param ChannelMatchLen int - * @param ErrorType TvChannelErrorType - */ -#define emberAfFillCommandTV \ - ChannelClusterChangeChannelResponse(ChannelMatch, ChannelMatchLen, ErrorType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_CHANNEL_RESPONSE_COMMAND_ID, "bu", ChannelMatch, ChannelMatchLen, ErrorType); - -/** @brief Command description for ChangeChannelByNumber - * - * Command: ChangeChannelByNumber - * @param majorNumber INT16U - * @param minorNumber INT16U - */ -#define emberAfFillCommandTV \ - ChannelClusterChangeChannelByNumber(majorNumber, minorNumber) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_CHANNEL_BY_NUMBER_COMMAND_ID, "uu", majorNumber, minorNumber); - -/** @brief Command description for SkipChannel - * - * Command: SkipChannel - * @param Count INT16U - */ -#define emberAfFillCommandTV \ - ChannelClusterSkipChannel(Count) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SKIP_CHANNEL_COMMAND_ID, "u", Count); - -/** @brief Command description for NavigateTarget - * - * Command: NavigateTarget - * @param target INT8U - */ -#define emberAfFillCommandTarget \ - NavigatorClusterNavigateTarget(target) emberAfFillExternalBuffer(mask, \ - \ - ZCL_NAVIGATE_TARGET_COMMAND_ID, "u", target); - -/** @brief Command description for NavigateTargetResponse - * - * Command: NavigateTargetResponse - * @param status NavigateTargetStatus - */ -#define emberAfFillCommandTarget \ - NavigatorClusterNavigateTargetResponse(status) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_NAVIGATE_TARGET_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for NavigateTarget - * - * Command: NavigateTarget - * @param data CHAR_STRING - */ -#define emberAfFillCommandTarget \ - NavigatorClusterNavigateTarget(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_NAVIGATE_TARGET_COMMAND_ID, "u", data); - -/** @brief Command description for NavigateTargetResponse - * - * Command: NavigateTargetResponse - * @param data CHAR_STRING - */ -#define emberAfFillCommandTarget \ - NavigatorClusterNavigateTargetResponse(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_NAVIGATE_TARGET_RESPONSE_COMMAND_ID, "u", data); - -/** @brief Command description for MediaPlay - * - * Command: MediaPlay - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaPlay() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_PLAY_COMMAND_ID, "", ); - -/** @brief Command description for MediaPlayResponse - * - * Command: MediaPlayResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaPlayResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_PLAY_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaPause - * - * Command: MediaPause - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaPause() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_PAUSE_COMMAND_ID, "", ); - -/** @brief Command description for MediaPauseResponse - * - * Command: MediaPauseResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaPauseResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_PAUSE_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaStop - * - * Command: MediaStop - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaStop() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_STOP_COMMAND_ID, "", ); - -/** @brief Command description for MediaStopResponse - * - * Command: MediaStopResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaStopResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_STOP_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaStartOver - * - * Command: MediaStartOver - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaStartOver() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_START_OVER_COMMAND_ID, "", ); - -/** @brief Command description for MediaStartOverResponse - * - * Command: MediaStartOverResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaStartOverResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_START_OVER_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaPrevious - * - * Command: MediaPrevious - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaPrevious() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_PREVIOUS_COMMAND_ID, "", ); - -/** @brief Command description for MediaPreviousResponse - * - * Command: MediaPreviousResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaPreviousResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_PREVIOUS_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaNext - * - * Command: MediaNext - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaNext() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_NEXT_COMMAND_ID, "", ); - -/** @brief Command description for MediaNextResponse - * - * Command: MediaNextResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaNextResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_NEXT_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaRewind - * - * Command: MediaRewind - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaRewind() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_REWIND_COMMAND_ID, "", ); - -/** @brief Command description for MediaRewindResponse - * - * Command: MediaRewindResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaRewindResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_REWIND_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaFastForward - * - * Command: MediaFastForward - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaFastForward() emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_FAST_FORWARD_COMMAND_ID, "", ); - -/** @brief Command description for MediaFastForwardResponse - * - * Command: MediaFastForwardResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaFastForwardResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_FAST_FORWARD_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaSkipForward - * - * Command: MediaSkipForward - * @param deltaPositionMilliseconds INT64U - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaSkipForward(deltaPositionMilliseconds) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_SKIP_FORWARD_COMMAND_ID, "u", deltaPositionMilliseconds); - -/** @brief Command description for MediaSkipForwardResponse - * - * Command: MediaSkipForwardResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaSkipForwardResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_SKIP_FORWARD_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaSkipBackward - * - * Command: MediaSkipBackward - * @param deltaPositionMilliseconds INT64U - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaSkipBackward(deltaPositionMilliseconds) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_SKIP_BACKWARD_COMMAND_ID, "u", deltaPositionMilliseconds); - -/** @brief Command description for MediaSkipBackwardResponse - * - * Command: MediaSkipBackwardResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaSkipBackwardResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_SKIP_BACKWARD_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for MediaSkipSeek - * - * Command: MediaSkipSeek - * @param position INT64U - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaSkipSeek(position) emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_SKIP_SEEK_COMMAND_ID, "u", position); - -/** @brief Command description for MediaSkipSeekResponse - * - * Command: MediaSkipSeekResponse - * @param mediaPlaybackStatus MediaPlaybackStatus - */ -#define emberAfFillCommandMedia \ - PlaybackClusterMediaSkipSeekResponse(mediaPlaybackStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MEDIA_SKIP_SEEK_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); - -/** @brief Command description for SelectInput - * - * Command: SelectInput - * @param index INT8U - */ -#define emberAfFillCommandMedia \ - InputClusterSelectInput(index) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SELECT_INPUT_COMMAND_ID, "u", index); - -/** @brief Command description for ShowInputStatus - * - * Command: ShowInputStatus - */ -#define emberAfFillCommandMedia \ - InputClusterShowInputStatus() emberAfFillExternalBuffer(mask, \ - \ - ZCL_SHOW_INPUT_STATUS_COMMAND_ID, "", ); - -/** @brief Command description for HideInputStatus - * - * Command: HideInputStatus - */ -#define emberAfFillCommandMedia \ - InputClusterHideInputStatus() emberAfFillExternalBuffer(mask, \ - \ - ZCL_HIDE_INPUT_STATUS_COMMAND_ID, "", ); - -/** @brief Command description for RenameInput - * - * Command: RenameInput - * @param index INT8U - * @param name CHAR_STRING - */ -#define emberAfFillCommandMedia \ - InputClusterRenameInput(index, name) emberAfFillExternalBuffer(mask, \ - \ - ZCL_RENAME_INPUT_COMMAND_ID, "uu", index, name); - -/** @brief Command description for Sleep - * - * Command: Sleep - */ -#define emberAfFillCommandLow \ - PowerClusterSleep() emberAfFillExternalBuffer(mask, \ - \ - ZCL_SLEEP_COMMAND_ID, "", ); - -/** @brief Command description for SendKey - * - * Command: SendKey - * @param keyCode KeypadInputCecKeyCode - */ -#define emberAfFillCommandKeypad \ - InputClusterSendKey(keyCode) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SEND_KEY_COMMAND_ID, "u", keyCode); - -/** @brief Command description for SendKeyResponse - * - * Command: SendKeyResponse - * @param status KeypadInputStatus - */ -#define emberAfFillCommandKeypad \ - InputClusterSendKeyResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SEND_KEY_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for LaunchContent - * - * Command: LaunchContent - * @param autoPlay BOOLEAN - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchContent(autoPlay) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_CONTENT_COMMAND_ID, "u", autoPlay); - -/** @brief Command description for LaunchContentResponse - * - * Command: LaunchContentResponse - * @param data CHAR_STRING - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchContentResponse(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_CONTENT_RESPONSE_COMMAND_ID, "u", data); - -/** @brief Command description for LaunchContent - * - * Command: LaunchContent - * @param data CHAR_STRING - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchContent(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_CONTENT_COMMAND_ID, "u", data); - -/** @brief Command description for LaunchContentResponse - * - * Command: LaunchContentResponse - * @param contentLaunchStatus ContentLaunchStatus - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchContentResponse(contentLaunchStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_CONTENT_RESPONSE_COMMAND_ID, "u", contentLaunchStatus); - -/** @brief Command description for LaunchURL - * - * Command: LaunchURL - * @param contentURL CHAR_STRING - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchURL(contentURL) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_URL_COMMAND_ID, "u", contentURL); - -/** @brief Command description for LaunchURLResponse - * - * Command: LaunchURLResponse - * @param data CHAR_STRING - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchURLResponse(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_URL_RESPONSE_COMMAND_ID, "u", data); - -/** @brief Command description for LaunchURL - * - * Command: LaunchURL - * @param displayString CHAR_STRING - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchURL(displayString) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_URL_COMMAND_ID, "u", displayString); - -/** @brief Command description for LaunchURLResponse - * - * Command: LaunchURLResponse - * @param contentLaunchStatus ContentLaunchStatus - */ -#define emberAfFillCommandContent \ - LauncherClusterLaunchURLResponse(contentLaunchStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_URL_RESPONSE_COMMAND_ID, "u", contentLaunchStatus); - -/** @brief Command description for SelectOutput - * - * Command: SelectOutput - * @param index INT8U - */ -#define emberAfFillCommandAudio \ - OutputClusterSelectOutput(index) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SELECT_OUTPUT_COMMAND_ID, "u", index); - -/** @brief Command description for RenameOutput - * - * Command: RenameOutput - * @param index INT8U - * @param name CHAR_STRING - */ -#define emberAfFillCommandAudio \ - OutputClusterRenameOutput(index, name) emberAfFillExternalBuffer(mask, \ - \ - ZCL_RENAME_OUTPUT_COMMAND_ID, "uu", index, name); - -/** @brief Command description for LaunchApp - * - * Command: LaunchApp - * @param data CHAR_STRING - */ -#define emberAfFillCommandApplication \ - LauncherClusterLaunchApp(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_APP_COMMAND_ID, "u", data); - -/** @brief Command description for LaunchAppResponse - * - * Command: LaunchAppResponse - * @param status ApplicationLauncherStatus - */ -#define emberAfFillCommandApplication \ - LauncherClusterLaunchAppResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_APP_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for LaunchApp - * - * Command: LaunchApp - * @param application ApplicationLauncherApp [] - * @param applicationLen int - */ -#define emberAfFillCommandApplication \ - LauncherClusterLaunchApp(application, applicationLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_APP_COMMAND_ID, "b", application, applicationLen); - -/** @brief Command description for LaunchAppResponse - * - * Command: LaunchAppResponse - * @param data CHAR_STRING - */ -#define emberAfFillCommandApplication \ - LauncherClusterLaunchAppResponse(data) emberAfFillExternalBuffer(mask, \ - \ - ZCL_LAUNCH_APP_RESPONSE_COMMAND_ID, "u", data); - -/** @brief Command description for ChangeStatus - * - * Command: ChangeStatus - * @param status ApplicationBasicStatus - */ -#define emberAfFillCommandApplication \ - BasicClusterChangeStatus(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_STATUS_COMMAND_ID, "u", status); - -/** @brief Command description for GetSetupPIN - * - * Command: GetSetupPIN - * @param tempAccountIdentifier CHAR_STRING - */ -#define emberAfFillCommandAccount \ - LoginClusterGetSetupPIN(tempAccountIdentifier) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SETUP_PIN_COMMAND_ID, "u", tempAccountIdentifier); - -/** @brief Command description for GetSetupPINResponse - * - * Command: GetSetupPINResponse - * @param setupPIN CHAR_STRING - */ -#define emberAfFillCommandAccount \ - LoginClusterGetSetupPINResponse(setupPIN) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SETUP_PIN_RESPONSE_COMMAND_ID, "u", setupPIN); - -/** @brief Command description for Login - * - * Command: Login - * @param tempAccountIdentifier CHAR_STRING - * @param setupPIN CHAR_STRING - */ -#define emberAfFillCommandAccount \ - LoginClusterLogin(tempAccountIdentifier, setupPIN) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOGIN_COMMAND_ID, "uu", tempAccountIdentifier, setupPIN); - -/** @brief Command description for Test - * - * Command: Test - */ -#define emberAfFillCommandTest \ - ClusterClusterTest() emberAfFillExternalBuffer(mask, \ - \ - ZCL_TEST_COMMAND_ID, "", ); - -/** @brief Command description for TestSpecificResponse - * - * Command: TestSpecificResponse - * @param returnValue INT8U - */ -#define emberAfFillCommandTest \ - ClusterClusterTestSpecificResponse(returnValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TEST_SPECIFIC_RESPONSE_COMMAND_ID, "u", returnValue); - -/** @brief Command description for TestNotHandled - * - * Command: TestNotHandled - */ -#define emberAfFillCommandTest \ - ClusterClusterTestNotHandled() emberAfFillExternalBuffer(mask, \ - \ - ZCL_TEST_NOT_HANDLED_COMMAND_ID, "", ); - -/** @brief Command description for TestSpecific - * - * Command: TestSpecific - */ -#define emberAfFillCommandTest \ - ClusterClusterTestSpecific() emberAfFillExternalBuffer(mask, \ - \ - ZCL_TEST_SPECIFIC_COMMAND_ID, "", ); - -/** @brief Command description for TestUnknownCommand - * - * Command: TestUnknownCommand - */ -#define emberAfFillCommandTest \ - ClusterClusterTestUnknownCommand() emberAfFillExternalBuffer(mask, \ - \ - ZCL_TEST_UNKNOWN_COMMAND_COMMAND_ID, "", ); - -/** @brief Command description for MatchProtocolAddress - * - * Command: MatchProtocolAddress - * @param protocolAddress OCTET_STRING - */ -#define emberAfFillCommandGeneric \ - TunnelClusterMatchProtocolAddress(protocolAddress) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MATCH_PROTOCOL_ADDRESS_COMMAND_ID, "u", protocolAddress); - -/** @brief Command description for MatchProtocolAddressResponse - * - * Command: MatchProtocolAddressResponse - * @param deviceIeeeAddress IEEE_ADDRESS - * @param protocolAddress OCTET_STRING - */ -#define emberAfFillCommandGeneric \ - TunnelClusterMatchProtocolAddressResponse(deviceIeeeAddress, protocolAddress) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MATCH_PROTOCOL_ADDRESS_RESPONSE_COMMAND_ID, "uu", deviceIeeeAddress, protocolAddress); - -/** @brief Command description for AdvertiseProtocolAddress - * - * Command: AdvertiseProtocolAddress - * @param protocolAddress OCTET_STRING - */ -#define emberAfFillCommandGeneric \ - TunnelClusterAdvertiseProtocolAddress(protocolAddress) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ADVERTISE_PROTOCOL_ADDRESS_COMMAND_ID, "u", protocolAddress); - -/** @brief Command description for TransferNpdu - * - * Command: TransferNpdu - * @param npdu DATA8 [] - * @param npduLen int - */ -#define emberAfFillCommandBACnet \ - Protocol TunnelClusterTransferNpdu(npdu, npduLen) emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_NPDU_COMMAND_ID, "b", npdu, npduLen); - -/** @brief Command description for TransferAPDU - * - * Command: TransferAPDU - * @param apdu OCTET_STRING - */ -#define emberAfFillCommand11073 \ - Protocol TunnelClusterTransferAPDU(apdu) emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_APDU_COMMAND_ID, "u", apdu); - -/** @brief Command description for ConnectRequest - * - * Command: ConnectRequest - * @param connectControl 11073ConnectRequestConnectControl - * @param idleTimeout INT16U - * @param managerTarget IEEE_ADDRESS - * @param managerEndpoint INT8U - */ -#define emberAfFillCommand11073 \ - Protocol TunnelClusterConnectRequest(connectControl, idleTimeout, managerTarget, managerEndpoint) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_CONNECT_REQUEST_COMMAND_ID, "uuuu", connectControl, idleTimeout, managerTarget, managerEndpoint); - -/** @brief Command description for DisconnectRequest - * - * Command: DisconnectRequest - * @param managerIEEEAddress IEEE_ADDRESS - */ -#define emberAfFillCommand11073 \ - Protocol TunnelClusterDisconnectRequest(managerIEEEAddress) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_DISCONNECT_REQUEST_COMMAND_ID, "u", managerIEEEAddress); - -/** @brief Command description for ConnectStatusNotification - * - * Command: ConnectStatusNotification - * @param connectStatus 11073TunnelConnectionStatus - */ -#define emberAfFillCommand11073 \ - Protocol TunnelClusterConnectStatusNotification(connectStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONNECT_STATUS_NOTIFICATION_COMMAND_ID, "u", connectStatus); - -/** @brief Command description for TransferApdu - * - * Command: TransferApdu - * @param apdu OCTET_STRING - */ -#define emberAfFillCommandISO \ - 7816 Protocol TunnelClusterTransferApdu(apdu) emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_APDU_COMMAND_ID, "u", apdu); - -/** @brief Command description for InsertSmartCard - * - * Command: InsertSmartCard - */ -#define emberAfFillCommandISO \ - 7816 Protocol TunnelClusterInsertSmartCard() emberAfFillExternalBuffer(mask, \ - \ - ZCL_INSERT_SMART_CARD_COMMAND_ID, "", ); - -/** @brief Command description for ExtractSmartCard - * - * Command: ExtractSmartCard - */ -#define emberAfFillCommandISO \ - 7816 Protocol TunnelClusterExtractSmartCard() emberAfFillExternalBuffer(mask, \ - \ - ZCL_EXTRACT_SMART_CARD_COMMAND_ID, "", ); - -/** @brief Command description for PublishPrice - * - * Command: PublishPrice - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishPrice(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PRICE_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetCurrentPrice - * - * Command: GetCurrentPrice - * @param commandOptions AmiCommandOptions - */ -#define emberAfFillCommandPriceClusterGetCurrentPrice(commandOptions) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CURRENT_PRICE_COMMAND_ID, "u", commandOptions); - -/** @brief Command description for PublishPrice - * - * Command: PublishPrice - * @param rateLabel OCTET_STRING - * @param issuerEventId INT32U - * @param currentTime UTC_TIME - * @param unitOfMeasure AmiUnitOfMeasure - * @param currency INT16U - * @param priceTrailingDigitAndPriceTier PriceTrailingDigitAndPriceTier - * @param numberOfPriceTiersAndRegisterTier PriceNumberOfPriceTiersAndRegisterTier - * @param startTime UTC_TIME - * @param durationInMinutes INT16U - * @param price INT32U - * @param priceRatio INT8U - * @param generationPrice INT32U - * @param generationPriceRatio INT8U - * @param alternateCostDelivered INT32U - * @param alternateCostUnit AlternateCostUnit - * @param alternateCostTrailingDigit AlternateCostTrailingDigit - * @param numberOfBlockThresholds INT8U - * @param priceControl PriceControlMask - * @param numberOfGenerationTiers INT8U - * @param generationTier GenerationTier - * @param extendedNumberOfPriceTiers ExtendedNumberOfPriceTiers - * @param extendedPriceTier ExtendedPriceTier - * @param extendedRegisterTier ExtendedRegisterTier - */ -#define emberAfFillCommandPriceClusterPublishPrice( \ - rateLabel, issuerEventId, currentTime, unitOfMeasure, currency, priceTrailingDigitAndPriceTier, \ - numberOfPriceTiersAndRegisterTier, startTime, durationInMinutes, price, priceRatio, generationPrice, generationPriceRatio, \ - alternateCostDelivered, alternateCostUnit, alternateCostTrailingDigit, numberOfBlockThresholds, priceControl, \ - numberOfGenerationTiers, generationTier, extendedNumberOfPriceTiers, extendedPriceTier, extendedRegisterTier) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PRICE_COMMAND_ID, "uuuuuuuuuuuuuuuuuuuuuuu", rateLabel, issuerEventId, currentTime, \ - unitOfMeasure, currency, priceTrailingDigitAndPriceTier, numberOfPriceTiersAndRegisterTier, \ - startTime, durationInMinutes, price, priceRatio, generationPrice, generationPriceRatio, \ - alternateCostDelivered, alternateCostUnit, alternateCostTrailingDigit, numberOfBlockThresholds, \ - priceControl, numberOfGenerationTiers, generationTier, extendedNumberOfPriceTiers, \ - extendedPriceTier, extendedRegisterTier); - -/** @brief Command description for PublishBlockPeriod - * - * Command: PublishBlockPeriod - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBlockPeriod(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_PERIOD_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetScheduledPrices - * - * Command: GetScheduledPrices - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetScheduledPrices(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SCHEDULED_PRICES_COMMAND_ID, "u", startTime); - -/** @brief Command description for PublishBlockPeriod - * - * Command: PublishBlockPeriod - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBlockPeriod(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_PERIOD_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetScheduledPrices - * - * Command: GetScheduledPrices - * @param numberOfEvents INT8U - */ -#define emberAfFillCommandPriceClusterGetScheduledPrices(numberOfEvents) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SCHEDULED_PRICES_COMMAND_ID, "u", numberOfEvents); - -/** @brief Command description for PublishBlockPeriod - * - * Command: PublishBlockPeriod - * @param blockPeriodStartTime UTC_TIME - * @param blockPeriodDuration INT24U - * @param blockPeriodControl BlockPeriodControl - * @param blockPeriodDurationType BlockPeriodDurationType - * @param tariffType TariffType - * @param tariffResolutionPeriod TariffResolutionPeriod - */ -#define emberAfFillCommandPriceClusterPublishBlockPeriod(blockPeriodStartTime, blockPeriodDuration, blockPeriodControl, \ - blockPeriodDurationType, tariffType, tariffResolutionPeriod) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_PERIOD_COMMAND_ID, "uuuuuu", blockPeriodStartTime, blockPeriodDuration, \ - blockPeriodControl, blockPeriodDurationType, tariffType, tariffResolutionPeriod); - -/** @brief Command description for PublishConversionFactor - * - * Command: PublishConversionFactor - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishConversionFactor(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CONVERSION_FACTOR_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for PriceAcknowledgement - * - * Command: PriceAcknowledgement - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPriceAcknowledgement(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PRICE_ACKNOWLEDGEMENT_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishConversionFactor - * - * Command: PublishConversionFactor - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishConversionFactor(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CONVERSION_FACTOR_COMMAND_ID, "u", startTime); - -/** @brief Command description for PriceAcknowledgement - * - * Command: PriceAcknowledgement - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPriceAcknowledgement(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PRICE_ACKNOWLEDGEMENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for PublishConversionFactor - * - * Command: PublishConversionFactor - * @param conversionFactor INT32U - */ -#define emberAfFillCommandPriceClusterPublishConversionFactor(conversionFactor) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CONVERSION_FACTOR_COMMAND_ID, "u", conversionFactor); - -/** @brief Command description for PriceAcknowledgement - * - * Command: PriceAcknowledgement - * @param priceAckTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPriceAcknowledgement(priceAckTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PRICE_ACKNOWLEDGEMENT_COMMAND_ID, "u", priceAckTime); - -/** @brief Command description for PublishConversionFactor - * - * Command: PublishConversionFactor - * @param conversionFactorTrailingDigit ConversionFactorTrailingDigit - */ -#define emberAfFillCommandPriceClusterPublishConversionFactor(conversionFactorTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CONVERSION_FACTOR_COMMAND_ID, "u", conversionFactorTrailingDigit); - -/** @brief Command description for PriceAcknowledgement - * - * Command: PriceAcknowledgement - * @param control PriceControlMask - */ -#define emberAfFillCommandPriceClusterPriceAcknowledgement(control) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PRICE_ACKNOWLEDGEMENT_COMMAND_ID, "u", control); - -/** @brief Command description for PublishCalorificValue - * - * Command: PublishCalorificValue - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCalorificValue(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALORIFIC_VALUE_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetBlockPeriods - * - * Command: GetBlockPeriods - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetBlockPeriods(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BLOCK_PERIODS_COMMAND_ID, "u", startTime); - -/** @brief Command description for PublishCalorificValue - * - * Command: PublishCalorificValue - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishCalorificValue(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALORIFIC_VALUE_COMMAND_ID, "u", startTime); - -/** @brief Command description for GetBlockPeriods - * - * Command: GetBlockPeriods - * @param numberOfEvents INT8U - */ -#define emberAfFillCommandPriceClusterGetBlockPeriods(numberOfEvents) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BLOCK_PERIODS_COMMAND_ID, "u", numberOfEvents); - -/** @brief Command description for PublishCalorificValue - * - * Command: PublishCalorificValue - * @param calorificValue INT32U - */ -#define emberAfFillCommandPriceClusterPublishCalorificValue(calorificValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALORIFIC_VALUE_COMMAND_ID, "u", calorificValue); - -/** @brief Command description for GetBlockPeriods - * - * Command: GetBlockPeriods - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterGetBlockPeriods(tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BLOCK_PERIODS_COMMAND_ID, "u", tariffType); - -/** @brief Command description for PublishCalorificValue - * - * Command: PublishCalorificValue - * @param calorificValueUnit CalorificValueUnit - * @param calorificValueTrailingDigit CalorificValueTrailingDigit - */ -#define emberAfFillCommandPriceClusterPublishCalorificValue(calorificValueUnit, calorificValueTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALORIFIC_VALUE_COMMAND_ID, "uu", calorificValueUnit, calorificValueTrailingDigit); - -/** @brief Command description for PublishTariffInformation - * - * Command: PublishTariffInformation - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishTariffInformation(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TARIFF_INFORMATION_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetConversionFactor - * - * Command: GetConversionFactor - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetConversionFactor(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONVERSION_FACTOR_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishTariffInformation - * - * Command: PublishTariffInformation - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishTariffInformation(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TARIFF_INFORMATION_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetConversionFactor - * - * Command: GetConversionFactor - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterGetConversionFactor(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONVERSION_FACTOR_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishTariffInformation - * - * Command: PublishTariffInformation - * @param issuerTariffId INT32U - */ -#define emberAfFillCommandPriceClusterPublishTariffInformation(issuerTariffId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TARIFF_INFORMATION_COMMAND_ID, "u", issuerTariffId); - -/** @brief Command description for GetConversionFactor - * - * Command: GetConversionFactor - * @param numberOfCommands INT8U - */ -#define emberAfFillCommandPriceClusterGetConversionFactor(numberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONVERSION_FACTOR_COMMAND_ID, "u", numberOfCommands); - -/** @brief Command description for PublishTariffInformation - * - * Command: PublishTariffInformation - * @param startTime UTC_TIME - * @param tariffTypeChargingScheme TariffTypeChargingScheme - * @param tariffLabel OCTET_STRING - * @param numberOfPriceTiersInUse INT8U - * @param numberOfBlockThresholdsInUse INT8U - * @param unitOfMeasure AmiUnitOfMeasure - * @param currency INT16U - * @param priceTrailingDigit PriceTrailingDigit - * @param standingCharge INT32U - * @param tierBlockMode TierBlockMode - * @param blockThresholdMultiplier INT24U - * @param blockThresholdDivisor INT24U - */ -#define emberAfFillCommandPriceClusterPublishTariffInformation( \ - startTime, tariffTypeChargingScheme, tariffLabel, numberOfPriceTiersInUse, numberOfBlockThresholdsInUse, unitOfMeasure, \ - currency, priceTrailingDigit, standingCharge, tierBlockMode, blockThresholdMultiplier, blockThresholdDivisor) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TARIFF_INFORMATION_COMMAND_ID, "uuuuuuuuuuuu", startTime, tariffTypeChargingScheme, \ - tariffLabel, numberOfPriceTiersInUse, numberOfBlockThresholdsInUse, unitOfMeasure, currency, \ - priceTrailingDigit, standingCharge, tierBlockMode, blockThresholdMultiplier, blockThresholdDivisor); - -/** @brief Command description for PublishPriceMatrix - * - * Command: PublishPriceMatrix - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishPriceMatrix(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PRICE_MATRIX_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetCalorificValue - * - * Command: GetCalorificValue - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetCalorificValue(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALORIFIC_VALUE_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishPriceMatrix - * - * Command: PublishPriceMatrix - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishPriceMatrix(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PRICE_MATRIX_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetCalorificValue - * - * Command: GetCalorificValue - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterGetCalorificValue(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALORIFIC_VALUE_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishPriceMatrix - * - * Command: PublishPriceMatrix - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishPriceMatrix(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PRICE_MATRIX_COMMAND_ID, "u", startTime); - -/** @brief Command description for GetCalorificValue - * - * Command: GetCalorificValue - * @param numberOfCommands INT8U - */ -#define emberAfFillCommandPriceClusterGetCalorificValue(numberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALORIFIC_VALUE_COMMAND_ID, "u", numberOfCommands); - -/** @brief Command description for PublishPriceMatrix - * - * Command: PublishPriceMatrix - * @param issuerTariffId INT32U - * @param commandIndex INT8U - * @param numberOfCommands INT8U - * @param subPayloadControl PriceMatrixSubPayloadControl - * @param payload PriceMatrixSubPayload [] - * @param payloadLen int - */ -#define emberAfFillCommandPriceClusterPublishPriceMatrix(issuerTariffId, commandIndex, numberOfCommands, subPayloadControl, \ - payload, payloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PRICE_MATRIX_COMMAND_ID, "uuuub", issuerTariffId, commandIndex, numberOfCommands, \ - subPayloadControl, payload, payloadLen); - -/** @brief Command description for PublishBlockThresholds - * - * Command: PublishBlockThresholds - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBlockThresholds(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_THRESHOLDS_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetTariffInformation - * - * Command: GetTariffInformation - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetTariffInformation(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TARIFF_INFORMATION_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishBlockThresholds - * - * Command: PublishBlockThresholds - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBlockThresholds(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_THRESHOLDS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetTariffInformation - * - * Command: GetTariffInformation - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterGetTariffInformation(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TARIFF_INFORMATION_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishBlockThresholds - * - * Command: PublishBlockThresholds - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishBlockThresholds(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_THRESHOLDS_COMMAND_ID, "u", startTime); - -/** @brief Command description for GetTariffInformation - * - * Command: GetTariffInformation - * @param numberOfCommands INT8U - */ -#define emberAfFillCommandPriceClusterGetTariffInformation(numberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TARIFF_INFORMATION_COMMAND_ID, "u", numberOfCommands); - -/** @brief Command description for PublishBlockThresholds - * - * Command: PublishBlockThresholds - * @param issuerTariffId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBlockThresholds(issuerTariffId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_THRESHOLDS_COMMAND_ID, "u", issuerTariffId); - -/** @brief Command description for GetTariffInformation - * - * Command: GetTariffInformation - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterGetTariffInformation(tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TARIFF_INFORMATION_COMMAND_ID, "u", tariffType); - -/** @brief Command description for PublishBlockThresholds - * - * Command: PublishBlockThresholds - * @param commandIndex INT8U - * @param numberOfCommands INT8U - * @param subPayloadControl BlockThresholdSubPayloadControl - * @param payload BlockThresholdSubPayload [] - * @param payloadLen int - */ -#define emberAfFillCommandPriceClusterPublishBlockThresholds(commandIndex, numberOfCommands, subPayloadControl, payload, \ - payloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BLOCK_THRESHOLDS_COMMAND_ID, "uuub", commandIndex, numberOfCommands, subPayloadControl, \ - payload, payloadLen); - -/** @brief Command description for PublishCO2Value - * - * Command: PublishCO2Value - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCO2Value(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CO2_VALUE_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetPriceMatrix - * - * Command: GetPriceMatrix - * @param issuerTariffId INT32U - */ -#define emberAfFillCommandPriceClusterGetPriceMatrix(issuerTariffId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PRICE_MATRIX_COMMAND_ID, "u", issuerTariffId); - -/** @brief Command description for PublishCO2Value - * - * Command: PublishCO2Value - * @param issuerEventId INT32U - * @param startTime UTC_TIME - * @param tariffType TariffType - * @param cO2Value INT32U - * @param cO2ValueUnit CO2Unit - * @param cO2ValueTrailingDigit CO2TrailingDigit - */ -#define emberAfFillCommandPriceClusterPublishCO2Value(issuerEventId, startTime, tariffType, cO2Value, cO2ValueUnit, \ - cO2ValueTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CO2_VALUE_COMMAND_ID, "uuuuuu", issuerEventId, startTime, tariffType, cO2Value, \ - cO2ValueUnit, cO2ValueTrailingDigit); - -/** @brief Command description for PublishTierLabels - * - * Command: PublishTierLabels - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishTierLabels(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TIER_LABELS_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetBlockThresholds - * - * Command: GetBlockThresholds - * @param issuerTariffId INT32U - */ -#define emberAfFillCommandPriceClusterGetBlockThresholds(issuerTariffId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BLOCK_THRESHOLDS_COMMAND_ID, "u", issuerTariffId); - -/** @brief Command description for PublishTierLabels - * - * Command: PublishTierLabels - * @param issuerEventId INT32U - * @param issuerTariffId INT32U - * @param commandIndex INT8U - * @param numberOfCommands INT8U - * @param numberOfLabels INT8U - * @param tierLabelsPayload INT8U [] - * @param tierLabelsPayloadLen int - */ -#define emberAfFillCommandPriceClusterPublishTierLabels(issuerEventId, issuerTariffId, commandIndex, numberOfCommands, \ - numberOfLabels, tierLabelsPayload, tierLabelsPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TIER_LABELS_COMMAND_ID, "uuuuub", issuerEventId, issuerTariffId, commandIndex, \ - numberOfCommands, numberOfLabels, tierLabelsPayload, tierLabelsPayloadLen); - -/** @brief Command description for PublishBillingPeriod - * - * Command: PublishBillingPeriod - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBillingPeriod(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BILLING_PERIOD_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetCO2Value - * - * Command: GetCO2Value - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetCO2Value(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CO2_VALUE_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishBillingPeriod - * - * Command: PublishBillingPeriod - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishBillingPeriod(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BILLING_PERIOD_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetCO2Value - * - * Command: GetCO2Value - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterGetCO2Value(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CO2_VALUE_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishBillingPeriod - * - * Command: PublishBillingPeriod - * @param billingPeriodStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishBillingPeriod(billingPeriodStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BILLING_PERIOD_COMMAND_ID, "u", billingPeriodStartTime); - -/** @brief Command description for GetCO2Value - * - * Command: GetCO2Value - * @param numberOfCommands INT8U - */ -#define emberAfFillCommandPriceClusterGetCO2Value(numberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CO2_VALUE_COMMAND_ID, "u", numberOfCommands); - -/** @brief Command description for PublishBillingPeriod - * - * Command: PublishBillingPeriod - * @param billingPeriodDuration BillingPeriodDuration - */ -#define emberAfFillCommandPriceClusterPublishBillingPeriod(billingPeriodDuration) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BILLING_PERIOD_COMMAND_ID, "u", billingPeriodDuration); - -/** @brief Command description for GetCO2Value - * - * Command: GetCO2Value - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterGetCO2Value(tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CO2_VALUE_COMMAND_ID, "u", tariffType); - -/** @brief Command description for PublishBillingPeriod - * - * Command: PublishBillingPeriod - * @param billingPeriodDurationType BillingPeriodDurationType - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterPublishBillingPeriod(billingPeriodDurationType, tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_BILLING_PERIOD_COMMAND_ID, "uu", billingPeriodDurationType, tariffType); - -/** @brief Command description for PublishConsolidatedBill - * - * Command: PublishConsolidatedBill - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishConsolidatedBill(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CONSOLIDATED_BILL_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetTierLabels - * - * Command: GetTierLabels - * @param issuerTariffId INT32U - */ -#define emberAfFillCommandPriceClusterGetTierLabels(issuerTariffId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TIER_LABELS_COMMAND_ID, "u", issuerTariffId); - -/** @brief Command description for PublishConsolidatedBill - * - * Command: PublishConsolidatedBill - * @param issuerEventId INT32U - * @param billingPeriodStartTime UTC_TIME - * @param billingPeriodDuration BillingPeriodDuration - * @param billingPeriodDurationType BillingPeriodDurationType - * @param tariffType TariffType - * @param consolidatedBill INT32U - * @param currency INT16U - * @param billTrailingDigit BillTrailingDigit - */ -#define emberAfFillCommandPriceClusterPublishConsolidatedBill(issuerEventId, billingPeriodStartTime, billingPeriodDuration, \ - billingPeriodDurationType, tariffType, consolidatedBill, currency, \ - billTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CONSOLIDATED_BILL_COMMAND_ID, "uuuuuuuu", issuerEventId, billingPeriodStartTime, \ - billingPeriodDuration, billingPeriodDurationType, tariffType, consolidatedBill, currency, \ - billTrailingDigit); - -/** @brief Command description for PublishCppEvent - * - * Command: PublishCppEvent - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCppEvent(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CPP_EVENT_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetBillingPeriod - * - * Command: GetBillingPeriod - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetBillingPeriod(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BILLING_PERIOD_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishCppEvent - * - * Command: PublishCppEvent - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCppEvent(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CPP_EVENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetBillingPeriod - * - * Command: GetBillingPeriod - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterGetBillingPeriod(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BILLING_PERIOD_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishCppEvent - * - * Command: PublishCppEvent - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishCppEvent(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CPP_EVENT_COMMAND_ID, "u", startTime); - -/** @brief Command description for GetBillingPeriod - * - * Command: GetBillingPeriod - * @param numberOfCommands INT8U - */ -#define emberAfFillCommandPriceClusterGetBillingPeriod(numberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BILLING_PERIOD_COMMAND_ID, "u", numberOfCommands); - -/** @brief Command description for PublishCppEvent - * - * Command: PublishCppEvent - * @param durationInMinutes INT16U - */ -#define emberAfFillCommandPriceClusterPublishCppEvent(durationInMinutes) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CPP_EVENT_COMMAND_ID, "u", durationInMinutes); - -/** @brief Command description for GetBillingPeriod - * - * Command: GetBillingPeriod - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterGetBillingPeriod(tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_BILLING_PERIOD_COMMAND_ID, "u", tariffType); - -/** @brief Command description for PublishCppEvent - * - * Command: PublishCppEvent - * @param tariffType TariffType - * @param cppPriceTier CppPriceTier - * @param cppAuth PublishCppEventCppAuth - */ -#define emberAfFillCommandPriceClusterPublishCppEvent(tariffType, cppPriceTier, cppAuth) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CPP_EVENT_COMMAND_ID, "uuu", tariffType, cppPriceTier, cppAuth); - -/** @brief Command description for PublishCreditPayment - * - * Command: PublishCreditPayment - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCreditPayment(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CREDIT_PAYMENT_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetConsolidatedBill - * - * Command: GetConsolidatedBill - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetConsolidatedBill(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONSOLIDATED_BILL_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishCreditPayment - * - * Command: PublishCreditPayment - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCreditPayment(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CREDIT_PAYMENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetConsolidatedBill - * - * Command: GetConsolidatedBill - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterGetConsolidatedBill(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONSOLIDATED_BILL_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishCreditPayment - * - * Command: PublishCreditPayment - * @param creditPaymentDueDate UTC_TIME - */ -#define emberAfFillCommandPriceClusterPublishCreditPayment(creditPaymentDueDate) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CREDIT_PAYMENT_COMMAND_ID, "u", creditPaymentDueDate); - -/** @brief Command description for GetConsolidatedBill - * - * Command: GetConsolidatedBill - * @param numberOfCommands INT8U - */ -#define emberAfFillCommandPriceClusterGetConsolidatedBill(numberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONSOLIDATED_BILL_COMMAND_ID, "u", numberOfCommands); - -/** @brief Command description for PublishCreditPayment - * - * Command: PublishCreditPayment - * @param creditPaymentOverDueAmount INT32U - */ -#define emberAfFillCommandPriceClusterPublishCreditPayment(creditPaymentOverDueAmount) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CREDIT_PAYMENT_COMMAND_ID, "u", creditPaymentOverDueAmount); - -/** @brief Command description for GetConsolidatedBill - * - * Command: GetConsolidatedBill - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterGetConsolidatedBill(tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CONSOLIDATED_BILL_COMMAND_ID, "u", tariffType); - -/** @brief Command description for PublishCreditPayment - * - * Command: PublishCreditPayment - * @param creditPaymentStatus CreditPaymentStatus - * @param creditPayment INT32U - * @param creditPaymentDate UTC_TIME - * @param creditPaymentRef OCTET_STRING - */ -#define emberAfFillCommandPriceClusterPublishCreditPayment(creditPaymentStatus, creditPayment, creditPaymentDate, \ - creditPaymentRef) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CREDIT_PAYMENT_COMMAND_ID, "uuuu", creditPaymentStatus, creditPayment, \ - creditPaymentDate, creditPaymentRef); - -/** @brief Command description for PublishCurrencyConversion - * - * Command: PublishCurrencyConversion - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCurrencyConversion(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CURRENCY_CONVERSION_COMMAND_ID, "u", providerId); - -/** @brief Command description for CppEventResponse - * - * Command: CppEventResponse - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterCppEventResponse(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CPP_EVENT_RESPONSE_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for PublishCurrencyConversion - * - * Command: PublishCurrencyConversion - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPriceClusterPublishCurrencyConversion(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CURRENCY_CONVERSION_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for CppEventResponse - * - * Command: CppEventResponse - * @param cppAuth CppEventResponseCppAuth - */ -#define emberAfFillCommandPriceClusterCppEventResponse(cppAuth) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CPP_EVENT_RESPONSE_COMMAND_ID, "u", cppAuth); - -/** @brief Command description for PublishCurrencyConversion - * - * Command: PublishCurrencyConversion - * @param startTime UTC_TIME - * @param oldCurrency INT16U - * @param newCurrency INT16U - * @param conversionFactor INT32U - * @param conversionFactorTrailingDigit ConversionFactorTrailingDigit - * @param currencyChangeControlFlags CurrencyChangeControl - */ -#define emberAfFillCommandPriceClusterPublishCurrencyConversion(startTime, oldCurrency, newCurrency, conversionFactor, \ - conversionFactorTrailingDigit, currencyChangeControlFlags) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CURRENCY_CONVERSION_COMMAND_ID, "uuuuuu", startTime, oldCurrency, newCurrency, \ - conversionFactor, conversionFactorTrailingDigit, currencyChangeControlFlags); - -/** @brief Command description for CancelTariff - * - * Command: CancelTariff - * @param providerId INT32U - */ -#define emberAfFillCommandPriceClusterCancelTariff(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_TARIFF_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetCreditPayment - * - * Command: GetCreditPayment - * @param latestEndTime UTC_TIME - */ -#define emberAfFillCommandPriceClusterGetCreditPayment(latestEndTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CREDIT_PAYMENT_COMMAND_ID, "u", latestEndTime); - -/** @brief Command description for CancelTariff - * - * Command: CancelTariff - * @param issuerTariffId INT32U - */ -#define emberAfFillCommandPriceClusterCancelTariff(issuerTariffId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_TARIFF_COMMAND_ID, "u", issuerTariffId); - -/** @brief Command description for GetCreditPayment - * - * Command: GetCreditPayment - * @param numberOfRecords INT8U - */ -#define emberAfFillCommandPriceClusterGetCreditPayment(numberOfRecords) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CREDIT_PAYMENT_COMMAND_ID, "u", numberOfRecords); - -/** @brief Command description for CancelTariff - * - * Command: CancelTariff - * @param tariffType TariffType - */ -#define emberAfFillCommandPriceClusterCancelTariff(tariffType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_TARIFF_COMMAND_ID, "u", tariffType); - -/** @brief Command description for GetCurrencyConversionCommand - * - * Command: GetCurrencyConversionCommand - */ -#define emberAfFillCommandPriceClusterGetCurrencyConversionCommand() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CURRENCY_CONVERSION_COMMAND_COMMAND_ID, "", ); - -/** @brief Command description for GetTariffCancellation - * - * Command: GetTariffCancellation - */ -#define emberAfFillCommandPriceClusterGetTariffCancellation() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TARIFF_CANCELLATION_COMMAND_ID, "", ); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param issuerEventId INT32U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param issuerEventId INT32U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param deviceClass AmiDeviceClass - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(deviceClass) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", deviceClass); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param eventStatus AmiEventStatus - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(eventStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", eventStatus); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param utilityEnrollmentGroup INT8U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(utilityEnrollmentGroup) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", utilityEnrollmentGroup); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param eventStatusTime UTC_TIME - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(eventStatusTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", eventStatusTime); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param startTime UTC_TIME - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", startTime); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param criticalityLevelApplied AmiCriticalityLevel - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(criticalityLevelApplied) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", criticalityLevelApplied); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param durationInMinutes INT16U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(durationInMinutes) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", durationInMinutes); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param coolingTemperatureSetPointApplied INT16U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(coolingTemperatureSetPointApplied) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", coolingTemperatureSetPointApplied); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param criticalityLevel AmiCriticalityLevel - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(criticalityLevel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", criticalityLevel); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param heatingTemperatureSetPointApplied INT16U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(heatingTemperatureSetPointApplied) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", heatingTemperatureSetPointApplied); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param coolingTemperatureOffset INT8U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(coolingTemperatureOffset) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", coolingTemperatureOffset); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param averageLoadAdjustmentPercentageApplied INT8S - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(averageLoadAdjustmentPercentageApplied) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", averageLoadAdjustmentPercentageApplied); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param heatingTemperatureOffset INT8U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(heatingTemperatureOffset) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", heatingTemperatureOffset); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param dutyCycleApplied INT8U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(dutyCycleApplied) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", dutyCycleApplied); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param coolingTemperatureSetPoint INT16S - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(coolingTemperatureSetPoint) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", coolingTemperatureSetPoint); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param eventControl AmiEventControl - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(eventControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", eventControl); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param heatingTemperatureSetPoint INT16S - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(heatingTemperatureSetPoint) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", heatingTemperatureSetPoint); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param signatureType SignatureType - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(signatureType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", signatureType); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param averageLoadAdjustmentPercentage INT8S - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(averageLoadAdjustmentPercentage) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", averageLoadAdjustmentPercentage); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param signature Signature - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterReportEventStatus(signature) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", signature); - -/** @brief Command description for LoadControlEvent - * - * Command: LoadControlEvent - * @param dutyCycle INT8U - * @param eventControl AmiEventControl - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterLoadControlEvent(dutyCycle, eventControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOAD_CONTROL_EVENT_COMMAND_ID, "uu", dutyCycle, eventControl); - -/** @brief Command description for CancelLoadControlEvent - * - * Command: CancelLoadControlEvent - * @param issuerEventId INT32U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterCancelLoadControlEvent(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetScheduledEvents - * - * Command: GetScheduledEvents - * @param startTime UTC_TIME - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterGetScheduledEvents(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SCHEDULED_EVENTS_COMMAND_ID, "u", startTime); - -/** @brief Command description for CancelLoadControlEvent - * - * Command: CancelLoadControlEvent - * @param deviceClass AmiDeviceClass - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterCancelLoadControlEvent(deviceClass) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", deviceClass); - -/** @brief Command description for GetScheduledEvents - * - * Command: GetScheduledEvents - * @param numberOfEvents INT8U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterGetScheduledEvents(numberOfEvents) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SCHEDULED_EVENTS_COMMAND_ID, "u", numberOfEvents); - -/** @brief Command description for CancelLoadControlEvent - * - * Command: CancelLoadControlEvent - * @param utilityEnrollmentGroup INT8U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterCancelLoadControlEvent(utilityEnrollmentGroup) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_LOAD_CONTROL_EVENT_COMMAND_ID, "u", utilityEnrollmentGroup); - -/** @brief Command description for GetScheduledEvents - * - * Command: GetScheduledEvents - * @param issuerEventId INT32U - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterGetScheduledEvents(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SCHEDULED_EVENTS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for CancelLoadControlEvent - * - * Command: CancelLoadControlEvent - * @param cancelControl AmiCancelControl - * @param effectiveTime UTC_TIME - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterCancelLoadControlEvent(cancelControl, effectiveTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_LOAD_CONTROL_EVENT_COMMAND_ID, "uu", cancelControl, effectiveTime); - -/** @brief Command description for CancelAllLoadControlEvents - * - * Command: CancelAllLoadControlEvents - * @param cancelControl AmiCancelControl - */ -#define emberAfFillCommandDemand \ - Response and Load ControlClusterCancelAllLoadControlEvents(cancelControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_ALL_LOAD_CONTROL_EVENTS_COMMAND_ID, "u", cancelControl); - -/** @brief Command description for GetProfileResponse - * - * Command: GetProfileResponse - * @param endTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfileResponse(endTime) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_RESPONSE_COMMAND_ID, "u", endTime); - -/** @brief Command description for GetProfile - * - * Command: GetProfile - * @param intervalChannel AmiIntervalChannel - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfile(intervalChannel) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_COMMAND_ID, "u", intervalChannel); - -/** @brief Command description for GetProfileResponse - * - * Command: GetProfileResponse - * @param status AmiGetProfileStatus - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfileResponse(status) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_RESPONSE_COMMAND_ID, "u", status); - -/** @brief Command description for GetProfile - * - * Command: GetProfile - * @param endTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfile(endTime) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_COMMAND_ID, "u", endTime); - -/** @brief Command description for GetProfileResponse - * - * Command: GetProfileResponse - * @param profileIntervalPeriod AmiIntervalPeriod - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfileResponse(profileIntervalPeriod) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_RESPONSE_COMMAND_ID, "u", profileIntervalPeriod); - -/** @brief Command description for GetProfile - * - * Command: GetProfile - * @param numberOfPeriods INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfile(numberOfPeriods) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_COMMAND_ID, "u", numberOfPeriods); - -/** @brief Command description for GetProfileResponse - * - * Command: GetProfileResponse - * @param numberOfPeriodsDelivered INT8U - * @param intervals INT24U [] - * @param intervalsLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetProfileResponse(numberOfPeriodsDelivered, intervals, intervalsLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PROFILE_RESPONSE_COMMAND_ID, "ub", numberOfPeriodsDelivered, intervals, intervalsLen); - -/** @brief Command description for RequestMirror - * - * Command: RequestMirror - */ -#define emberAfFillCommandSimple \ - MeteringClusterRequestMirror() emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_MIRROR_COMMAND_ID, "", ); - -/** @brief Command description for RequestMirrorResponse - * - * Command: RequestMirrorResponse - * @param endpointId INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterRequestMirrorResponse(endpointId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_MIRROR_RESPONSE_COMMAND_ID, "u", endpointId); - -/** @brief Command description for RemoveMirror - * - * Command: RemoveMirror - */ -#define emberAfFillCommandSimple \ - MeteringClusterRemoveMirror() emberAfFillExternalBuffer(mask, \ - \ - ZCL_REMOVE_MIRROR_COMMAND_ID, "", ); - -/** @brief Command description for MirrorRemoved - * - * Command: MirrorRemoved - * @param endpointId INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterMirrorRemoved(endpointId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_MIRROR_REMOVED_COMMAND_ID, "u", endpointId); - -/** @brief Command description for RequestFastPollModeResponse - * - * Command: RequestFastPollModeResponse - * @param appliedUpdatePeriod INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterRequestFastPollModeResponse(appliedUpdatePeriod) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_FAST_POLL_MODE_RESPONSE_COMMAND_ID, "u", appliedUpdatePeriod); - -/** @brief Command description for RequestFastPollMode - * - * Command: RequestFastPollMode - * @param fastPollUpdatePeriod INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterRequestFastPollMode(fastPollUpdatePeriod) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_FAST_POLL_MODE_COMMAND_ID, "u", fastPollUpdatePeriod); - -/** @brief Command description for RequestFastPollModeResponse - * - * Command: RequestFastPollModeResponse - * @param fastPollModeEndtime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterRequestFastPollModeResponse(fastPollModeEndtime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_FAST_POLL_MODE_RESPONSE_COMMAND_ID, "u", fastPollModeEndtime); - -/** @brief Command description for RequestFastPollMode - * - * Command: RequestFastPollMode - * @param duration INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterRequestFastPollMode(duration) emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_FAST_POLL_MODE_COMMAND_ID, "u", duration); - -/** @brief Command description for ScheduleSnapshotResponse - * - * Command: ScheduleSnapshotResponse - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterScheduleSnapshotResponse(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SCHEDULE_SNAPSHOT_RESPONSE_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ScheduleSnapshot - * - * Command: ScheduleSnapshot - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterScheduleSnapshot(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SCHEDULE_SNAPSHOT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ScheduleSnapshotResponse - * - * Command: ScheduleSnapshotResponse - * @param snapshotResponsePayload SnapshotResponsePayload [] - * @param snapshotResponsePayloadLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterScheduleSnapshotResponse(snapshotResponsePayload, snapshotResponsePayloadLen) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_SCHEDULE_SNAPSHOT_RESPONSE_COMMAND_ID, "b", snapshotResponsePayload, snapshotResponsePayloadLen); - -/** @brief Command description for ScheduleSnapshot - * - * Command: ScheduleSnapshot - * @param commandIndex INT8U - * @param commandCount INT8U - * @param snapshotSchedulePayload SnapshotSchedulePayload [] - * @param snapshotSchedulePayloadLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterScheduleSnapshot(commandIndex, commandCount, snapshotSchedulePayload, snapshotSchedulePayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SCHEDULE_SNAPSHOT_COMMAND_ID, "uub", commandIndex, commandCount, snapshotSchedulePayload, \ - snapshotSchedulePayloadLen); - -/** @brief Command description for TakeSnapshotResponse - * - * Command: TakeSnapshotResponse - * @param snapshotId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterTakeSnapshotResponse(snapshotId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TAKE_SNAPSHOT_RESPONSE_COMMAND_ID, "u", snapshotId); - -/** @brief Command description for TakeSnapshot - * - * Command: TakeSnapshot - * @param snapshotCause SnapshotCause - */ -#define emberAfFillCommandSimple \ - MeteringClusterTakeSnapshot(snapshotCause) emberAfFillExternalBuffer(mask, \ - \ - ZCL_TAKE_SNAPSHOT_COMMAND_ID, "u", snapshotCause); - -/** @brief Command description for TakeSnapshotResponse - * - * Command: TakeSnapshotResponse - * @param snapshotConfirmation SnapshotConfirmation - */ -#define emberAfFillCommandSimple \ - MeteringClusterTakeSnapshotResponse(snapshotConfirmation) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TAKE_SNAPSHOT_RESPONSE_COMMAND_ID, "u", snapshotConfirmation); - -/** @brief Command description for PublishSnapshot - * - * Command: PublishSnapshot - * @param snapshotId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterPublishSnapshot(snapshotId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SNAPSHOT_COMMAND_ID, "u", snapshotId); - -/** @brief Command description for GetSnapshot - * - * Command: GetSnapshot - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSnapshot(earliestStartTime) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SNAPSHOT_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishSnapshot - * - * Command: PublishSnapshot - * @param snapshotTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterPublishSnapshot(snapshotTime) emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SNAPSHOT_COMMAND_ID, "u", snapshotTime); - -/** @brief Command description for GetSnapshot - * - * Command: GetSnapshot - * @param latestEndTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSnapshot(latestEndTime) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SNAPSHOT_COMMAND_ID, "u", latestEndTime); - -/** @brief Command description for PublishSnapshot - * - * Command: PublishSnapshot - * @param totalSnapshotsFound INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterPublishSnapshot(totalSnapshotsFound) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SNAPSHOT_COMMAND_ID, "u", totalSnapshotsFound); - -/** @brief Command description for GetSnapshot - * - * Command: GetSnapshot - * @param snapshotOffset INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSnapshot(snapshotOffset) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SNAPSHOT_COMMAND_ID, "u", snapshotOffset); - -/** @brief Command description for PublishSnapshot - * - * Command: PublishSnapshot - * @param commandIndex INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterPublishSnapshot(commandIndex) emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SNAPSHOT_COMMAND_ID, "u", commandIndex); - -/** @brief Command description for GetSnapshot - * - * Command: GetSnapshot - * @param snapshotCause SnapshotCause - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSnapshot(snapshotCause) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SNAPSHOT_COMMAND_ID, "u", snapshotCause); - -/** @brief Command description for PublishSnapshot - * - * Command: PublishSnapshot - * @param totalCommands INT8U - * @param snapshotCause SnapshotCause - * @param snapshotPayloadType SnapshotPayloadType - * @param snapshotPayload INT8U [] - * @param snapshotPayloadLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterPublishSnapshot(totalCommands, snapshotCause, snapshotPayloadType, snapshotPayload, snapshotPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SNAPSHOT_COMMAND_ID, "uuub", totalCommands, snapshotCause, snapshotPayloadType, \ - snapshotPayload, snapshotPayloadLen); - -/** @brief Command description for GetSampledDataResponse - * - * Command: GetSampledDataResponse - * @param sampleId INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledDataResponse(sampleId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID, "u", sampleId); - -/** @brief Command description for StartSampling - * - * Command: StartSampling - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterStartSampling(issuerEventId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_SAMPLING_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetSampledDataResponse - * - * Command: GetSampledDataResponse - * @param sampleStartTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledDataResponse(sampleStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID, "u", sampleStartTime); - -/** @brief Command description for StartSampling - * - * Command: StartSampling - * @param startSamplingTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterStartSampling(startSamplingTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_SAMPLING_COMMAND_ID, "u", startSamplingTime); - -/** @brief Command description for GetSampledDataResponse - * - * Command: GetSampledDataResponse - * @param sampleType SampleType - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledDataResponse(sampleType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID, "u", sampleType); - -/** @brief Command description for StartSampling - * - * Command: StartSampling - * @param sampleType SampleType - */ -#define emberAfFillCommandSimple \ - MeteringClusterStartSampling(sampleType) emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_SAMPLING_COMMAND_ID, "u", sampleType); - -/** @brief Command description for GetSampledDataResponse - * - * Command: GetSampledDataResponse - * @param sampleRequestInterval INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledDataResponse(sampleRequestInterval) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID, "u", sampleRequestInterval); - -/** @brief Command description for StartSampling - * - * Command: StartSampling - * @param sampleRequestInterval INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterStartSampling(sampleRequestInterval) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_SAMPLING_COMMAND_ID, "u", sampleRequestInterval); - -/** @brief Command description for GetSampledDataResponse - * - * Command: GetSampledDataResponse - * @param numberOfSamples INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledDataResponse(numberOfSamples) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID, "u", numberOfSamples); - -/** @brief Command description for StartSampling - * - * Command: StartSampling - * @param maxNumberOfSamples INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterStartSampling(maxNumberOfSamples) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_SAMPLING_COMMAND_ID, "u", maxNumberOfSamples); - -/** @brief Command description for GetSampledDataResponse - * - * Command: GetSampledDataResponse - * @param samples INT24U [] - * @param samplesLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledDataResponse(samples, samplesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID, "b", samples, samplesLen); - -/** @brief Command description for ConfigureMirror - * - * Command: ConfigureMirror - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureMirror(issuerEventId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_MIRROR_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetSampledData - * - * Command: GetSampledData - * @param sampleId INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledData(sampleId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_COMMAND_ID, "u", sampleId); - -/** @brief Command description for ConfigureMirror - * - * Command: ConfigureMirror - * @param reportingInterval INT24U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureMirror(reportingInterval) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_MIRROR_COMMAND_ID, "u", reportingInterval); - -/** @brief Command description for GetSampledData - * - * Command: GetSampledData - * @param earliestSampleTime UTC_TIME - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledData(earliestSampleTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_COMMAND_ID, "u", earliestSampleTime); - -/** @brief Command description for ConfigureMirror - * - * Command: ConfigureMirror - * @param mirrorNotificationReporting BOOLEAN - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureMirror(mirrorNotificationReporting) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_MIRROR_COMMAND_ID, "u", mirrorNotificationReporting); - -/** @brief Command description for GetSampledData - * - * Command: GetSampledData - * @param sampleType SampleType - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledData(sampleType) emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_COMMAND_ID, "u", sampleType); - -/** @brief Command description for ConfigureMirror - * - * Command: ConfigureMirror - * @param notificationScheme INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureMirror(notificationScheme) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_MIRROR_COMMAND_ID, "u", notificationScheme); - -/** @brief Command description for GetSampledData - * - * Command: GetSampledData - * @param numberOfSamples INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetSampledData(numberOfSamples) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SAMPLED_DATA_COMMAND_ID, "u", numberOfSamples); - -/** @brief Command description for ConfigureNotificationScheme - * - * Command: ConfigureNotificationScheme - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureNotificationScheme(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_NOTIFICATION_SCHEME_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for MirrorReportAttributeResponse - * - * Command: MirrorReportAttributeResponse - * @param notificationScheme INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterMirrorReportAttributeResponse(notificationScheme) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_ID, "u", notificationScheme); - -/** @brief Command description for ConfigureNotificationScheme - * - * Command: ConfigureNotificationScheme - * @param notificationScheme INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureNotificationScheme(notificationScheme) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_NOTIFICATION_SCHEME_COMMAND_ID, "u", notificationScheme); - -/** @brief Command description for MirrorReportAttributeResponse - * - * Command: MirrorReportAttributeResponse - * @param notificationFlags BITMAP32 [] - * @param notificationFlagsLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterMirrorReportAttributeResponse(notificationFlags, notificationFlagsLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_ID, "b", notificationFlags, notificationFlagsLen); - -/** @brief Command description for ConfigureNotificationScheme - * - * Command: ConfigureNotificationScheme - * @param notificationFlagOrder BITMAP32 - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureNotificationScheme(notificationFlagOrder) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_NOTIFICATION_SCHEME_COMMAND_ID, "u", notificationFlagOrder); - -/** @brief Command description for ConfigureNotificationFlags - * - * Command: ConfigureNotificationFlags - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureNotificationFlags(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_NOTIFICATION_FLAGS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ResetLoadLimitCounter - * - * Command: ResetLoadLimitCounter - * @param providerId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterResetLoadLimitCounter(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_RESET_LOAD_LIMIT_COUNTER_COMMAND_ID, "u", providerId); - -/** @brief Command description for ConfigureNotificationFlags - * - * Command: ConfigureNotificationFlags - * @param notificationScheme INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureNotificationFlags(notificationScheme) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_NOTIFICATION_FLAGS_COMMAND_ID, "u", notificationScheme); - -/** @brief Command description for ResetLoadLimitCounter - * - * Command: ResetLoadLimitCounter - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterResetLoadLimitCounter(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_RESET_LOAD_LIMIT_COUNTER_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ConfigureNotificationFlags - * - * Command: ConfigureNotificationFlags - * @param notificationFlagAttributeId INT16U - * @param clusterId INT16U - * @param manufacturerCode INT16U - * @param numberOfCommands INT8U - * @param commandIds INT8U [] - * @param commandIdsLen int - */ -#define emberAfFillCommandSimple \ - MeteringClusterConfigureNotificationFlags(notificationFlagAttributeId, clusterId, manufacturerCode, numberOfCommands, \ - commandIds, commandIdsLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONFIGURE_NOTIFICATION_FLAGS_COMMAND_ID, "uuuub", notificationFlagAttributeId, clusterId, \ - manufacturerCode, numberOfCommands, commandIds, commandIdsLen); - -/** @brief Command description for GetNotifiedMessage - * - * Command: GetNotifiedMessage - * @param notificationScheme INT8U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetNotifiedMessage(notificationScheme) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_NOTIFIED_MESSAGE_COMMAND_ID, "u", notificationScheme); - -/** @brief Command description for ChangeSupply - * - * Command: ChangeSupply - * @param providerId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterChangeSupply(providerId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_SUPPLY_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetNotifiedMessage - * - * Command: GetNotifiedMessage - * @param notificationFlagAttributeId INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetNotifiedMessage(notificationFlagAttributeId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_NOTIFIED_MESSAGE_COMMAND_ID, "u", notificationFlagAttributeId); - -/** @brief Command description for ChangeSupply - * - * Command: ChangeSupply - * @param issuerEventId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterChangeSupply(issuerEventId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_SUPPLY_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetNotifiedMessage - * - * Command: GetNotifiedMessage - * @param notificationFlagsN BITMAP32 - */ -#define emberAfFillCommandSimple \ - MeteringClusterGetNotifiedMessage(notificationFlagsN) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_NOTIFIED_MESSAGE_COMMAND_ID, "u", notificationFlagsN); - -/** @brief Command description for ChangeSupply - * - * Command: ChangeSupply - * @param requestDateTime UTC_TIME - * @param implementationDateTime UTC_TIME - * @param proposedSupplyStatus MeteringSupplyStatus - * @param supplyControlBits SupplyControlBits - */ -#define emberAfFillCommandSimple \ - MeteringClusterChangeSupply(requestDateTime, implementationDateTime, proposedSupplyStatus, supplyControlBits) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_SUPPLY_COMMAND_ID, "uuuu", requestDateTime, implementationDateTime, \ - proposedSupplyStatus, supplyControlBits); - -/** @brief Command description for SupplyStatusResponse - * - * Command: SupplyStatusResponse - * @param providerId INT32U - */ -#define emberAfFillCommandSimple \ - MeteringClusterSupplyStatusResponse(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SUPPLY_STATUS_RESPONSE_COMMAND_ID, "u", providerId); - -/** @brief Command description for LocalChangeSupply - * - * Command: LocalChangeSupply - * @param proposedSupplyStatus ProposedSupplyStatus - */ -#define emberAfFillCommandSimple \ - MeteringClusterLocalChangeSupply(proposedSupplyStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_LOCAL_CHANGE_SUPPLY_COMMAND_ID, "u", proposedSupplyStatus); - -/** @brief Command description for SupplyStatusResponse - * - * Command: SupplyStatusResponse - * @param issuerEventId INT32U - * @param implementationDateTime UTC_TIME - * @param supplyStatus MeteringSupplyStatus - */ -#define emberAfFillCommandSimple \ - MeteringClusterSupplyStatusResponse(issuerEventId, implementationDateTime, supplyStatus) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_SUPPLY_STATUS_RESPONSE_COMMAND_ID, "uuu", issuerEventId, implementationDateTime, supplyStatus); - -/** @brief Command description for StartSamplingResponse - * - * Command: StartSamplingResponse - * @param sampleId INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterStartSamplingResponse(sampleId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_START_SAMPLING_RESPONSE_COMMAND_ID, "u", sampleId); - -/** @brief Command description for SetSupplyStatus - * - * Command: SetSupplyStatus - * @param issuerEventId INT32U - * @param supplyTamperState SupplyStatus - * @param supplyDepletionState SupplyStatus - * @param supplyUncontrolledFlowState SupplyStatus - * @param loadLimitSupplyState SupplyStatus - */ -#define emberAfFillCommandSimple \ - MeteringClusterSetSupplyStatus(issuerEventId, supplyTamperState, supplyDepletionState, supplyUncontrolledFlowState, \ - loadLimitSupplyState) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_SUPPLY_STATUS_COMMAND_ID, "uuuuu", issuerEventId, supplyTamperState, \ - supplyDepletionState, supplyUncontrolledFlowState, loadLimitSupplyState); - -/** @brief Command description for SetUncontrolledFlowThreshold - * - * Command: SetUncontrolledFlowThreshold - * @param providerId INT32U - * @param issuerEventId INT32U - * @param uncontrolledFlowThreshold INT16U - * @param unitOfMeasure AmiUnitOfMeasure - * @param multiplier INT16U - * @param divisor INT16U - * @param stabilisationPeriod INT8U - * @param measurementPeriod INT16U - */ -#define emberAfFillCommandSimple \ - MeteringClusterSetUncontrolledFlowThreshold(providerId, issuerEventId, uncontrolledFlowThreshold, unitOfMeasure, multiplier, \ - divisor, stabilisationPeriod, measurementPeriod) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_UNCONTROLLED_FLOW_THRESHOLD_COMMAND_ID, "uuuuuuuu", providerId, issuerEventId, \ - uncontrolledFlowThreshold, unitOfMeasure, multiplier, divisor, stabilisationPeriod, \ - measurementPeriod); - -/** @brief Command description for GetLastMessage - * - * Command: GetLastMessage - */ -#define emberAfFillCommandMessagingClusterGetLastMessage() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_LAST_MESSAGE_COMMAND_ID, "", ); - -/** @brief Command description for DisplayMessage - * - * Command: DisplayMessage - * @param messageId INT32U - * @param messageControl MessagingControlMask - * @param startTime UTC_TIME - * @param durationInMinutes INT16U - * @param message CHAR_STRING - * @param optionalExtendedMessageControl MessagingExtendedControlMask - */ -#define emberAfFillCommandMessagingClusterDisplayMessage(messageId, messageControl, startTime, durationInMinutes, message, \ - optionalExtendedMessageControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_DISPLAY_MESSAGE_COMMAND_ID, "uuuuuu", messageId, messageControl, startTime, durationInMinutes, \ - message, optionalExtendedMessageControl); - -/** @brief Command description for CancelMessage - * - * Command: CancelMessage - * @param messageId INT32U - */ -#define emberAfFillCommandMessagingClusterCancelMessage(messageId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_MESSAGE_COMMAND_ID, "u", messageId); - -/** @brief Command description for MessageConfirmation - * - * Command: MessageConfirmation - * @param messageId INT32U - */ -#define emberAfFillCommandMessagingClusterMessageConfirmation(messageId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MESSAGE_CONFIRMATION_COMMAND_ID, "u", messageId); - -/** @brief Command description for CancelMessage - * - * Command: CancelMessage - * @param messageControl MessagingControlMask - */ -#define emberAfFillCommandMessagingClusterCancelMessage(messageControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_MESSAGE_COMMAND_ID, "u", messageControl); - -/** @brief Command description for MessageConfirmation - * - * Command: MessageConfirmation - * @param confirmationTime UTC_TIME - * @param messageConfirmationControl BITMAP8 - * @param messageResponse OCTET_STRING - */ -#define emberAfFillCommandMessagingClusterMessageConfirmation(confirmationTime, messageConfirmationControl, messageResponse) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MESSAGE_CONFIRMATION_COMMAND_ID, "uuu", confirmationTime, messageConfirmationControl, \ - messageResponse); - -/** @brief Command description for DisplayProtectedMessage - * - * Command: DisplayProtectedMessage - * @param messageId INT32U - */ -#define emberAfFillCommandMessagingClusterDisplayProtectedMessage(messageId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_DISPLAY_PROTECTED_MESSAGE_COMMAND_ID, "u", messageId); - -/** @brief Command description for GetMessageCancellation - * - * Command: GetMessageCancellation - * @param earliestImplementationTime UTC_TIME - */ -#define emberAfFillCommandMessagingClusterGetMessageCancellation(earliestImplementationTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_MESSAGE_CANCELLATION_COMMAND_ID, "u", earliestImplementationTime); - -/** @brief Command description for DisplayProtectedMessage - * - * Command: DisplayProtectedMessage - * @param messageControl MessagingControlMask - * @param startTime UTC_TIME - * @param durationInMinutes INT16U - * @param message CHAR_STRING - * @param optionalExtendedMessageControl MessagingExtendedControlMask - */ -#define emberAfFillCommandMessagingClusterDisplayProtectedMessage(messageControl, startTime, durationInMinutes, message, \ - optionalExtendedMessageControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_DISPLAY_PROTECTED_MESSAGE_COMMAND_ID, "uuuuu", messageControl, startTime, durationInMinutes, \ - message, optionalExtendedMessageControl); - -/** @brief Command description for CancelAllMessages - * - * Command: CancelAllMessages - * @param implementationDateTime UTC_TIME - */ -#define emberAfFillCommandMessagingClusterCancelAllMessages(implementationDateTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_ALL_MESSAGES_COMMAND_ID, "u", implementationDateTime); - -/** @brief Command description for RequestTunnel - * - * Command: RequestTunnel - * @param protocolId INT8U - */ -#define emberAfFillCommandTunnelingClusterRequestTunnel(protocolId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_COMMAND_ID, "u", protocolId); - -/** @brief Command description for RequestTunnelResponse - * - * Command: RequestTunnelResponse - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterRequestTunnelResponse(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_RESPONSE_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for RequestTunnel - * - * Command: RequestTunnel - * @param manufacturerCode INT16U - */ -#define emberAfFillCommandTunnelingClusterRequestTunnel(manufacturerCode) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_COMMAND_ID, "u", manufacturerCode); - -/** @brief Command description for RequestTunnelResponse - * - * Command: RequestTunnelResponse - * @param tunnelStatus TunnelingTunnelStatus - */ -#define emberAfFillCommandTunnelingClusterRequestTunnelResponse(tunnelStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_RESPONSE_COMMAND_ID, "u", tunnelStatus); - -/** @brief Command description for RequestTunnel - * - * Command: RequestTunnel - * @param flowControlSupport BOOLEAN - */ -#define emberAfFillCommandTunnelingClusterRequestTunnel(flowControlSupport) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_COMMAND_ID, "u", flowControlSupport); - -/** @brief Command description for RequestTunnelResponse - * - * Command: RequestTunnelResponse - * @param maximumIncomingTransferSize INT16U - */ -#define emberAfFillCommandTunnelingClusterRequestTunnelResponse(maximumIncomingTransferSize) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_RESPONSE_COMMAND_ID, "u", maximumIncomingTransferSize); - -/** @brief Command description for RequestTunnel - * - * Command: RequestTunnel - * @param maximumIncomingTransferSize INT16U - */ -#define emberAfFillCommandTunnelingClusterRequestTunnel(maximumIncomingTransferSize) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_TUNNEL_COMMAND_ID, "u", maximumIncomingTransferSize); - -/** @brief Command description for CloseTunnel - * - * Command: CloseTunnel - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterCloseTunnel(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLOSE_TUNNEL_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for TransferDataServerToClient - * - * Command: TransferDataServerToClient - * @param tunnelId INT16U - * @param data INT8U [] - * @param dataLen int - */ -#define emberAfFillCommandTunnelingClusterTransferDataServerToClient(tunnelId, data, dataLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_SERVER_TO_CLIENT_COMMAND_ID, "ub", tunnelId, data, dataLen); - -/** @brief Command description for TransferDataClientToServer - * - * Command: TransferDataClientToServer - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterTransferDataClientToServer(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_CLIENT_TO_SERVER_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for TransferDataErrorServerToClient - * - * Command: TransferDataErrorServerToClient - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterTransferDataErrorServerToClient(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_ERROR_SERVER_TO_CLIENT_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for TransferDataClientToServer - * - * Command: TransferDataClientToServer - * @param data INT8U [] - * @param dataLen int - */ -#define emberAfFillCommandTunnelingClusterTransferDataClientToServer(data, dataLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_CLIENT_TO_SERVER_COMMAND_ID, "b", data, dataLen); - -/** @brief Command description for TransferDataErrorServerToClient - * - * Command: TransferDataErrorServerToClient - * @param transferDataStatus TunnelingTransferDataStatus - */ -#define emberAfFillCommandTunnelingClusterTransferDataErrorServerToClient(transferDataStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_ERROR_SERVER_TO_CLIENT_COMMAND_ID, "u", transferDataStatus); - -/** @brief Command description for TransferDataErrorClientToServer - * - * Command: TransferDataErrorClientToServer - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterTransferDataErrorClientToServer(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_ERROR_CLIENT_TO_SERVER_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for AckTransferDataServerToClient - * - * Command: AckTransferDataServerToClient - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterAckTransferDataServerToClient(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ACK_TRANSFER_DATA_SERVER_TO_CLIENT_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for TransferDataErrorClientToServer - * - * Command: TransferDataErrorClientToServer - * @param transferDataStatus TunnelingTransferDataStatus - */ -#define emberAfFillCommandTunnelingClusterTransferDataErrorClientToServer(transferDataStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TRANSFER_DATA_ERROR_CLIENT_TO_SERVER_COMMAND_ID, "u", transferDataStatus); - -/** @brief Command description for AckTransferDataServerToClient - * - * Command: AckTransferDataServerToClient - * @param numberOfBytesLeft INT16U - */ -#define emberAfFillCommandTunnelingClusterAckTransferDataServerToClient(numberOfBytesLeft) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ACK_TRANSFER_DATA_SERVER_TO_CLIENT_COMMAND_ID, "u", numberOfBytesLeft); - -/** @brief Command description for AckTransferDataClientToServer - * - * Command: AckTransferDataClientToServer - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterAckTransferDataClientToServer(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ACK_TRANSFER_DATA_CLIENT_TO_SERVER_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for ReadyDataServerToClient - * - * Command: ReadyDataServerToClient - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterReadyDataServerToClient(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_READY_DATA_SERVER_TO_CLIENT_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for AckTransferDataClientToServer - * - * Command: AckTransferDataClientToServer - * @param numberOfBytesLeft INT16U - */ -#define emberAfFillCommandTunnelingClusterAckTransferDataClientToServer(numberOfBytesLeft) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_ACK_TRANSFER_DATA_CLIENT_TO_SERVER_COMMAND_ID, "u", numberOfBytesLeft); - -/** @brief Command description for ReadyDataServerToClient - * - * Command: ReadyDataServerToClient - * @param numberOfOctetsLeft INT16U - */ -#define emberAfFillCommandTunnelingClusterReadyDataServerToClient(numberOfOctetsLeft) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_READY_DATA_SERVER_TO_CLIENT_COMMAND_ID, "u", numberOfOctetsLeft); - -/** @brief Command description for ReadyDataClientToServer - * - * Command: ReadyDataClientToServer - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterReadyDataClientToServer(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_READY_DATA_CLIENT_TO_SERVER_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for SupportedTunnelProtocolsResponse - * - * Command: SupportedTunnelProtocolsResponse - * @param protocolListComplete BOOLEAN - */ -#define emberAfFillCommandTunnelingClusterSupportedTunnelProtocolsResponse(protocolListComplete) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SUPPORTED_TUNNEL_PROTOCOLS_RESPONSE_COMMAND_ID, "u", protocolListComplete); - -/** @brief Command description for ReadyDataClientToServer - * - * Command: ReadyDataClientToServer - * @param numberOfOctetsLeft INT16U - */ -#define emberAfFillCommandTunnelingClusterReadyDataClientToServer(numberOfOctetsLeft) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_READY_DATA_CLIENT_TO_SERVER_COMMAND_ID, "u", numberOfOctetsLeft); - -/** @brief Command description for SupportedTunnelProtocolsResponse - * - * Command: SupportedTunnelProtocolsResponse - * @param protocolCount INT8U - * @param protocolList Protocol [] - * @param protocolListLen int - */ -#define emberAfFillCommandTunnelingClusterSupportedTunnelProtocolsResponse(protocolCount, protocolList, protocolListLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SUPPORTED_TUNNEL_PROTOCOLS_RESPONSE_COMMAND_ID, "ub", protocolCount, protocolList, \ - protocolListLen); - -/** @brief Command description for GetSupportedTunnelProtocols - * - * Command: GetSupportedTunnelProtocols - * @param protocolOffset INT8U - */ -#define emberAfFillCommandTunnelingClusterGetSupportedTunnelProtocols(protocolOffset) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SUPPORTED_TUNNEL_PROTOCOLS_COMMAND_ID, "u", protocolOffset); - -/** @brief Command description for TunnelClosureNotification - * - * Command: TunnelClosureNotification - * @param tunnelId INT16U - */ -#define emberAfFillCommandTunnelingClusterTunnelClosureNotification(tunnelId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_TUNNEL_CLOSURE_NOTIFICATION_COMMAND_ID, "u", tunnelId); - -/** @brief Command description for SelectAvailableEmergencyCredit - * - * Command: SelectAvailableEmergencyCredit - * @param commandIssueDateTime UTC_TIME - * @param originatingDevice OriginatingDevice - */ -#define emberAfFillCommandPrepaymentClusterSelectAvailableEmergencyCredit(commandIssueDateTime, originatingDevice) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SELECT_AVAILABLE_EMERGENCY_CREDIT_COMMAND_ID, "uu", commandIssueDateTime, originatingDevice); - -/** @brief Command description for PublishPrepaySnapshot - * - * Command: PublishPrepaySnapshot - * @param snapshotId INT32U - * @param snapshotTime UTC_TIME - * @param totalSnapshotsFound INT8U - * @param commandIndex INT8U - * @param totalNumberOfCommands INT8U - * @param snapshotCause PrepaySnapshotPayloadCause - * @param snapshotPayloadType PrepaySnapshotPayloadType - * @param snapshotPayload INT8U [] - * @param snapshotPayloadLen int - */ -#define emberAfFillCommandPrepaymentClusterPublishPrepaySnapshot(snapshotId, snapshotTime, totalSnapshotsFound, commandIndex, \ - totalNumberOfCommands, snapshotCause, snapshotPayloadType, \ - snapshotPayload, snapshotPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_PREPAY_SNAPSHOT_COMMAND_ID, "uuuuuuub", snapshotId, snapshotTime, totalSnapshotsFound, \ - commandIndex, totalNumberOfCommands, snapshotCause, snapshotPayloadType, snapshotPayload, \ - snapshotPayloadLen); - -/** @brief Command description for ChangeDebt - * - * Command: ChangeDebt - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangeDebt(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_DEBT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ChangePaymentModeResponse - * - * Command: ChangePaymentModeResponse - * @param friendlyCredit FriendlyCredit - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentModeResponse(friendlyCredit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_RESPONSE_COMMAND_ID, "u", friendlyCredit); - -/** @brief Command description for ChangeDebt - * - * Command: ChangeDebt - * @param debtLabel OCTET_STRING - */ -#define emberAfFillCommandPrepaymentClusterChangeDebt(debtLabel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_DEBT_COMMAND_ID, "u", debtLabel); - -/** @brief Command description for ChangePaymentModeResponse - * - * Command: ChangePaymentModeResponse - * @param friendlyCreditCalendarId INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentModeResponse(friendlyCreditCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_RESPONSE_COMMAND_ID, "u", friendlyCreditCalendarId); - -/** @brief Command description for ChangeDebt - * - * Command: ChangeDebt - * @param debtAmount INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangeDebt(debtAmount) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_DEBT_COMMAND_ID, "u", debtAmount); - -/** @brief Command description for ChangePaymentModeResponse - * - * Command: ChangePaymentModeResponse - * @param emergencyCreditLimit INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentModeResponse(emergencyCreditLimit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_RESPONSE_COMMAND_ID, "u", emergencyCreditLimit); - -/** @brief Command description for ChangeDebt - * - * Command: ChangeDebt - * @param debtRecoveryMethod DebtRecoveryMethod - */ -#define emberAfFillCommandPrepaymentClusterChangeDebt(debtRecoveryMethod) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_DEBT_COMMAND_ID, "u", debtRecoveryMethod); - -/** @brief Command description for ChangePaymentModeResponse - * - * Command: ChangePaymentModeResponse - * @param emergencyCreditThreshold INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentModeResponse(emergencyCreditThreshold) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_RESPONSE_COMMAND_ID, "u", emergencyCreditThreshold); - -/** @brief Command description for ChangeDebt - * - * Command: ChangeDebt - * @param debtAmountType DebtAmountType - * @param debtRecoveryStartTime UTC_TIME - * @param debtRecoveryCollectionTime INT16U - * @param debtRecoveryFrequency DebtRecoveryFrequency - * @param debtRecoveryAmount INT32U - * @param debtRecoveryBalancePercentage INT16U - */ -#define emberAfFillCommandPrepaymentClusterChangeDebt(debtAmountType, debtRecoveryStartTime, debtRecoveryCollectionTime, \ - debtRecoveryFrequency, debtRecoveryAmount, debtRecoveryBalancePercentage) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_DEBT_COMMAND_ID, "uuuuuu", debtAmountType, debtRecoveryStartTime, \ - debtRecoveryCollectionTime, debtRecoveryFrequency, debtRecoveryAmount, \ - debtRecoveryBalancePercentage); - -/** @brief Command description for EmergencyCreditSetup - * - * Command: EmergencyCreditSetup - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPrepaymentClusterEmergencyCreditSetup(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_EMERGENCY_CREDIT_SETUP_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ConsumerTopUpResponse - * - * Command: ConsumerTopUpResponse - * @param resultType ResultType - */ -#define emberAfFillCommandPrepaymentClusterConsumerTopUpResponse(resultType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONSUMER_TOP_UP_RESPONSE_COMMAND_ID, "u", resultType); - -/** @brief Command description for EmergencyCreditSetup - * - * Command: EmergencyCreditSetup - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPrepaymentClusterEmergencyCreditSetup(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_EMERGENCY_CREDIT_SETUP_COMMAND_ID, "u", startTime); - -/** @brief Command description for ConsumerTopUpResponse - * - * Command: ConsumerTopUpResponse - * @param topUpValue INT32U - */ -#define emberAfFillCommandPrepaymentClusterConsumerTopUpResponse(topUpValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONSUMER_TOP_UP_RESPONSE_COMMAND_ID, "u", topUpValue); - -/** @brief Command description for EmergencyCreditSetup - * - * Command: EmergencyCreditSetup - * @param emergencyCreditLimit INT32U - */ -#define emberAfFillCommandPrepaymentClusterEmergencyCreditSetup(emergencyCreditLimit) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_EMERGENCY_CREDIT_SETUP_COMMAND_ID, "u", emergencyCreditLimit); - -/** @brief Command description for ConsumerTopUpResponse - * - * Command: ConsumerTopUpResponse - * @param sourceOfTopUp OriginatingDevice - */ -#define emberAfFillCommandPrepaymentClusterConsumerTopUpResponse(sourceOfTopUp) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONSUMER_TOP_UP_RESPONSE_COMMAND_ID, "u", sourceOfTopUp); - -/** @brief Command description for EmergencyCreditSetup - * - * Command: EmergencyCreditSetup - * @param emergencyCreditThreshold INT32U - */ -#define emberAfFillCommandPrepaymentClusterEmergencyCreditSetup(emergencyCreditThreshold) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_EMERGENCY_CREDIT_SETUP_COMMAND_ID, "u", emergencyCreditThreshold); - -/** @brief Command description for ConsumerTopUpResponse - * - * Command: ConsumerTopUpResponse - * @param creditRemaining INT32U - */ -#define emberAfFillCommandPrepaymentClusterConsumerTopUpResponse(creditRemaining) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONSUMER_TOP_UP_RESPONSE_COMMAND_ID, "u", creditRemaining); - -/** @brief Command description for ConsumerTopUp - * - * Command: ConsumerTopUp - * @param originatingDevice OriginatingDevice - * @param topUpCode OCTET_STRING - */ -#define emberAfFillCommandPrepaymentClusterConsumerTopUp(originatingDevice, topUpCode) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CONSUMER_TOP_UP_COMMAND_ID, "uu", originatingDevice, topUpCode); - -/** @brief Command description for CreditAdjustment - * - * Command: CreditAdjustment - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPrepaymentClusterCreditAdjustment(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CREDIT_ADJUSTMENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for PublishTopUpLog - * - * Command: PublishTopUpLog - * @param commandIndex INT8U - */ -#define emberAfFillCommandPrepaymentClusterPublishTopUpLog(commandIndex) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TOP_UP_LOG_COMMAND_ID, "u", commandIndex); - -/** @brief Command description for CreditAdjustment - * - * Command: CreditAdjustment - * @param startTime UTC_TIME - */ -#define emberAfFillCommandPrepaymentClusterCreditAdjustment(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CREDIT_ADJUSTMENT_COMMAND_ID, "u", startTime); - -/** @brief Command description for PublishTopUpLog - * - * Command: PublishTopUpLog - * @param totalNumberOfCommands INT8U - */ -#define emberAfFillCommandPrepaymentClusterPublishTopUpLog(totalNumberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TOP_UP_LOG_COMMAND_ID, "u", totalNumberOfCommands); - -/** @brief Command description for CreditAdjustment - * - * Command: CreditAdjustment - * @param creditAdjustmentType CreditAdjustmentType - */ -#define emberAfFillCommandPrepaymentClusterCreditAdjustment(creditAdjustmentType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CREDIT_ADJUSTMENT_COMMAND_ID, "u", creditAdjustmentType); - -/** @brief Command description for PublishTopUpLog - * - * Command: PublishTopUpLog - * @param topUpPayload TopUpPayload [] - * @param topUpPayloadLen int - */ -#define emberAfFillCommandPrepaymentClusterPublishTopUpLog(topUpPayload, topUpPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_TOP_UP_LOG_COMMAND_ID, "b", topUpPayload, topUpPayloadLen); - -/** @brief Command description for CreditAdjustment - * - * Command: CreditAdjustment - * @param creditAdjustmentValue INT32U - */ -#define emberAfFillCommandPrepaymentClusterCreditAdjustment(creditAdjustmentValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CREDIT_ADJUSTMENT_COMMAND_ID, "u", creditAdjustmentValue); - -/** @brief Command description for ChangePaymentMode - * - * Command: ChangePaymentMode - * @param providerId INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentMode(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishDebtLog - * - * Command: PublishDebtLog - * @param commandIndex INT8U - */ -#define emberAfFillCommandPrepaymentClusterPublishDebtLog(commandIndex) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DEBT_LOG_COMMAND_ID, "u", commandIndex); - -/** @brief Command description for ChangePaymentMode - * - * Command: ChangePaymentMode - * @param issuerEventId INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentMode(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for PublishDebtLog - * - * Command: PublishDebtLog - * @param totalNumberOfCommands INT8U - */ -#define emberAfFillCommandPrepaymentClusterPublishDebtLog(totalNumberOfCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DEBT_LOG_COMMAND_ID, "u", totalNumberOfCommands); - -/** @brief Command description for ChangePaymentMode - * - * Command: ChangePaymentMode - * @param implementationDateTime UTC_TIME - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentMode(implementationDateTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_COMMAND_ID, "u", implementationDateTime); - -/** @brief Command description for PublishDebtLog - * - * Command: PublishDebtLog - * @param debtPayload DebtPayload [] - * @param debtPayloadLen int - */ -#define emberAfFillCommandPrepaymentClusterPublishDebtLog(debtPayload, debtPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DEBT_LOG_COMMAND_ID, "b", debtPayload, debtPayloadLen); - -/** @brief Command description for ChangePaymentMode - * - * Command: ChangePaymentMode - * @param proposedPaymentControlConfiguration PaymentControlConfiguration - * @param cutOffValue INT32U - */ -#define emberAfFillCommandPrepaymentClusterChangePaymentMode(proposedPaymentControlConfiguration, cutOffValue) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CHANGE_PAYMENT_MODE_COMMAND_ID, "uu", proposedPaymentControlConfiguration, cutOffValue); - -/** @brief Command description for GetPrepaySnapshot - * - * Command: GetPrepaySnapshot - * @param earliestStartTime UTC_TIME - * @param latestEndTime UTC_TIME - * @param snapshotOffset INT8U - * @param snapshotCause PrepaySnapshotPayloadCause - */ -#define emberAfFillCommandPrepaymentClusterGetPrepaySnapshot(earliestStartTime, latestEndTime, snapshotOffset, snapshotCause) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_PREPAY_SNAPSHOT_COMMAND_ID, "uuuu", earliestStartTime, latestEndTime, snapshotOffset, \ - snapshotCause); - -/** @brief Command description for GetTopUpLog - * - * Command: GetTopUpLog - * @param latestEndTime UTC_TIME - * @param numberOfRecords INT8U - */ -#define emberAfFillCommandPrepaymentClusterGetTopUpLog(latestEndTime, numberOfRecords) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_TOP_UP_LOG_COMMAND_ID, "uu", latestEndTime, numberOfRecords); - -/** @brief Command description for SetLowCreditWarningLevel - * - * Command: SetLowCreditWarningLevel - * @param lowCreditWarningLevel INT32U - */ -#define emberAfFillCommandPrepaymentClusterSetLowCreditWarningLevel(lowCreditWarningLevel) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_LOW_CREDIT_WARNING_LEVEL_COMMAND_ID, "u", lowCreditWarningLevel); - -/** @brief Command description for GetDebtRepaymentLog - * - * Command: GetDebtRepaymentLog - * @param latestEndTime UTC_TIME - * @param numberOfDebts INT8U - * @param debtType RepaymentDebtType - */ -#define emberAfFillCommandPrepaymentClusterGetDebtRepaymentLog(latestEndTime, numberOfDebts, debtType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_DEBT_REPAYMENT_LOG_COMMAND_ID, "uuu", latestEndTime, numberOfDebts, debtType); - -/** @brief Command description for SetMaximumCreditLimit - * - * Command: SetMaximumCreditLimit - * @param providerId INT32U - * @param issuerEventId INT32U - * @param implementationDateTime UTC_TIME - * @param maximumCreditLevel INT32U - * @param maximumCreditPerTopUp INT32U - */ -#define emberAfFillCommandPrepaymentClusterSetMaximumCreditLimit(providerId, issuerEventId, implementationDateTime, \ - maximumCreditLevel, maximumCreditPerTopUp) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_MAXIMUM_CREDIT_LIMIT_COMMAND_ID, "uuuuu", providerId, issuerEventId, implementationDateTime, \ - maximumCreditLevel, maximumCreditPerTopUp); - -/** @brief Command description for SetOverallDebtCap - * - * Command: SetOverallDebtCap - * @param providerId INT32U - * @param issuerEventId INT32U - * @param implementationDateTime UTC_TIME - * @param overallDebtCap INT32U - */ -#define emberAfFillCommandPrepaymentClusterSetOverallDebtCap(providerId, issuerEventId, implementationDateTime, overallDebtCap) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_OVERALL_DEBT_CAP_COMMAND_ID, "uuuu", providerId, issuerEventId, implementationDateTime, \ - overallDebtCap); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param issuerEventId INT32U - */ -#define emberAfFillCommandEnergy \ - ManagementClusterReportEventStatus(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ManageEvent - * - * Command: ManageEvent - * @param issuerEventId INT32U - */ -#define emberAfFillCommandEnergy \ - ManagementClusterManageEvent(issuerEventId) emberAfFillExternalBuffer(mask, \ - \ - ZCL_MANAGE_EVENT_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param eventStatus AmiEventStatus - */ -#define emberAfFillCommandEnergy \ - ManagementClusterReportEventStatus(eventStatus) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", eventStatus); - -/** @brief Command description for ManageEvent - * - * Command: ManageEvent - * @param deviceClass AmiDeviceClass - */ -#define emberAfFillCommandEnergy \ - ManagementClusterManageEvent(deviceClass) emberAfFillExternalBuffer(mask, \ - \ - ZCL_MANAGE_EVENT_COMMAND_ID, "u", deviceClass); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param eventStatusTime UTC_TIME - */ -#define emberAfFillCommandEnergy \ - ManagementClusterReportEventStatus(eventStatusTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", eventStatusTime); - -/** @brief Command description for ManageEvent - * - * Command: ManageEvent - * @param utilityEnrollmentGroup INT8U - */ -#define emberAfFillCommandEnergy \ - ManagementClusterManageEvent(utilityEnrollmentGroup) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_MANAGE_EVENT_COMMAND_ID, "u", utilityEnrollmentGroup); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param criticalityLevelApplied AmiCriticalityLevel - */ -#define emberAfFillCommandEnergy \ - ManagementClusterReportEventStatus(criticalityLevelApplied) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "u", criticalityLevelApplied); - -/** @brief Command description for ManageEvent - * - * Command: ManageEvent - * @param actionRequired INT8U - */ -#define emberAfFillCommandEnergy \ - ManagementClusterManageEvent(actionRequired) emberAfFillExternalBuffer(mask, \ - \ - ZCL_MANAGE_EVENT_COMMAND_ID, "u", actionRequired); - -/** @brief Command description for ReportEventStatus - * - * Command: ReportEventStatus - * @param coolingTemperatureSetPointApplied INT16U - * @param heatingTemperatureSetPointApplied INT16U - * @param averageLoadAdjustmentPercentageApplied INT8S - * @param dutyCycleApplied INT8U - * @param eventControl AmiEventControl - */ -#define emberAfFillCommandEnergy \ - ManagementClusterReportEventStatus(coolingTemperatureSetPointApplied, heatingTemperatureSetPointApplied, \ - averageLoadAdjustmentPercentageApplied, dutyCycleApplied, eventControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_STATUS_COMMAND_ID, "uuuuu", coolingTemperatureSetPointApplied, \ - heatingTemperatureSetPointApplied, averageLoadAdjustmentPercentageApplied, dutyCycleApplied, \ - eventControl); - -/** @brief Command description for PublishCalendar - * - * Command: PublishCalendar - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishCalendar(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALENDAR_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetCalendar - * - * Command: GetCalendar - * @param earliestStartTime UTC_TIME - */ -#define emberAfFillCommandCalendarClusterGetCalendar(earliestStartTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALENDAR_COMMAND_ID, "u", earliestStartTime); - -/** @brief Command description for PublishCalendar - * - * Command: PublishCalendar - * @param issuerEventId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishCalendar(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALENDAR_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetCalendar - * - * Command: GetCalendar - * @param minIssuerEventId INT32U - */ -#define emberAfFillCommandCalendarClusterGetCalendar(minIssuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALENDAR_COMMAND_ID, "u", minIssuerEventId); - -/** @brief Command description for PublishCalendar - * - * Command: PublishCalendar - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishCalendar(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALENDAR_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for GetCalendar - * - * Command: GetCalendar - * @param numberOfCalendars INT8U - */ -#define emberAfFillCommandCalendarClusterGetCalendar(numberOfCalendars) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALENDAR_COMMAND_ID, "u", numberOfCalendars); - -/** @brief Command description for PublishCalendar - * - * Command: PublishCalendar - * @param startTime UTC_TIME - */ -#define emberAfFillCommandCalendarClusterPublishCalendar(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALENDAR_COMMAND_ID, "u", startTime); - -/** @brief Command description for GetCalendar - * - * Command: GetCalendar - * @param calendarType CalendarType - */ -#define emberAfFillCommandCalendarClusterGetCalendar(calendarType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALENDAR_COMMAND_ID, "u", calendarType); - -/** @brief Command description for PublishCalendar - * - * Command: PublishCalendar - * @param calendarType CalendarType - */ -#define emberAfFillCommandCalendarClusterPublishCalendar(calendarType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALENDAR_COMMAND_ID, "u", calendarType); - -/** @brief Command description for GetCalendar - * - * Command: GetCalendar - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterGetCalendar(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALENDAR_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishCalendar - * - * Command: PublishCalendar - * @param calendarTimeReference CalendarTimeReference - * @param calendarName OCTET_STRING - * @param numberOfSeasons INT8U - * @param numberOfWeekProfiles INT8U - * @param numberOfDayProfiles INT8U - */ -#define emberAfFillCommandCalendarClusterPublishCalendar(calendarTimeReference, calendarName, numberOfSeasons, \ - numberOfWeekProfiles, numberOfDayProfiles) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CALENDAR_COMMAND_ID, "uuuuu", calendarTimeReference, calendarName, numberOfSeasons, \ - numberOfWeekProfiles, numberOfDayProfiles); - -/** @brief Command description for PublishDayProfile - * - * Command: PublishDayProfile - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishDayProfile(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DAY_PROFILE_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetDayProfiles - * - * Command: GetDayProfiles - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterGetDayProfiles(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_DAY_PROFILES_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishDayProfile - * - * Command: PublishDayProfile - * @param issuerEventId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishDayProfile(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DAY_PROFILE_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetDayProfiles - * - * Command: GetDayProfiles - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterGetDayProfiles(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_DAY_PROFILES_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for PublishDayProfile - * - * Command: PublishDayProfile - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishDayProfile(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DAY_PROFILE_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for GetDayProfiles - * - * Command: GetDayProfiles - * @param startDayId INT8U - */ -#define emberAfFillCommandCalendarClusterGetDayProfiles(startDayId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_DAY_PROFILES_COMMAND_ID, "u", startDayId); - -/** @brief Command description for PublishDayProfile - * - * Command: PublishDayProfile - * @param dayId INT8U - */ -#define emberAfFillCommandCalendarClusterPublishDayProfile(dayId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DAY_PROFILE_COMMAND_ID, "u", dayId); - -/** @brief Command description for GetDayProfiles - * - * Command: GetDayProfiles - * @param numberOfDays INT8U - */ -#define emberAfFillCommandCalendarClusterGetDayProfiles(numberOfDays) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_DAY_PROFILES_COMMAND_ID, "u", numberOfDays); - -/** @brief Command description for PublishDayProfile - * - * Command: PublishDayProfile - * @param totalNumberOfScheduleEntries INT8U - * @param commandIndex INT8U - * @param totalNumberOfCommands INT8U - * @param calendarType CalendarType - * @param dayScheduleEntries ScheduleEntry [] - * @param dayScheduleEntriesLen int - */ -#define emberAfFillCommandCalendarClusterPublishDayProfile(totalNumberOfScheduleEntries, commandIndex, totalNumberOfCommands, \ - calendarType, dayScheduleEntries, dayScheduleEntriesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_DAY_PROFILE_COMMAND_ID, "uuuub", totalNumberOfScheduleEntries, commandIndex, \ - totalNumberOfCommands, calendarType, dayScheduleEntries, dayScheduleEntriesLen); - -/** @brief Command description for PublishWeekProfile - * - * Command: PublishWeekProfile - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishWeekProfile(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_WEEK_PROFILE_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetWeekProfiles - * - * Command: GetWeekProfiles - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterGetWeekProfiles(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEK_PROFILES_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishWeekProfile - * - * Command: PublishWeekProfile - * @param issuerEventId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishWeekProfile(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_WEEK_PROFILE_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetWeekProfiles - * - * Command: GetWeekProfiles - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterGetWeekProfiles(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEK_PROFILES_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for PublishWeekProfile - * - * Command: PublishWeekProfile - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishWeekProfile(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_WEEK_PROFILE_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for GetWeekProfiles - * - * Command: GetWeekProfiles - * @param startWeekId INT8U - */ -#define emberAfFillCommandCalendarClusterGetWeekProfiles(startWeekId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEK_PROFILES_COMMAND_ID, "u", startWeekId); - -/** @brief Command description for PublishWeekProfile - * - * Command: PublishWeekProfile - * @param weekId INT8U - */ -#define emberAfFillCommandCalendarClusterPublishWeekProfile(weekId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_WEEK_PROFILE_COMMAND_ID, "u", weekId); - -/** @brief Command description for GetWeekProfiles - * - * Command: GetWeekProfiles - * @param numberOfWeeks INT8U - */ -#define emberAfFillCommandCalendarClusterGetWeekProfiles(numberOfWeeks) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_WEEK_PROFILES_COMMAND_ID, "u", numberOfWeeks); - -/** @brief Command description for PublishWeekProfile - * - * Command: PublishWeekProfile - * @param dayIdRefMonday INT8U - * @param dayIdRefTuesday INT8U - * @param dayIdRefWednesday INT8U - * @param dayIdRefThursday INT8U - * @param dayIdRefFriday INT8U - * @param dayIdRefSaturday INT8U - * @param dayIdRefSunday INT8U - */ -#define emberAfFillCommandCalendarClusterPublishWeekProfile(dayIdRefMonday, dayIdRefTuesday, dayIdRefWednesday, dayIdRefThursday, \ - dayIdRefFriday, dayIdRefSaturday, dayIdRefSunday) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_WEEK_PROFILE_COMMAND_ID, "uuuuuuu", dayIdRefMonday, dayIdRefTuesday, dayIdRefWednesday, \ - dayIdRefThursday, dayIdRefFriday, dayIdRefSaturday, dayIdRefSunday); - -/** @brief Command description for PublishSeasons - * - * Command: PublishSeasons - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishSeasons(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SEASONS_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetSeasons - * - * Command: GetSeasons - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterGetSeasons(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SEASONS_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishSeasons - * - * Command: PublishSeasons - * @param issuerEventId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishSeasons(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SEASONS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetSeasons - * - * Command: GetSeasons - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterGetSeasons(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SEASONS_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for PublishSeasons - * - * Command: PublishSeasons - * @param issuerCalendarId INT32U - * @param commandIndex INT8U - * @param totalNumberOfCommands INT8U - * @param seasonEntries SeasonEntry [] - * @param seasonEntriesLen int - */ -#define emberAfFillCommandCalendarClusterPublishSeasons(issuerCalendarId, commandIndex, totalNumberOfCommands, seasonEntries, \ - seasonEntriesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SEASONS_COMMAND_ID, "uuub", issuerCalendarId, commandIndex, totalNumberOfCommands, \ - seasonEntries, seasonEntriesLen); - -/** @brief Command description for PublishSpecialDays - * - * Command: PublishSpecialDays - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishSpecialDays(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID, "u", providerId); - -/** @brief Command description for GetSpecialDays - * - * Command: GetSpecialDays - * @param startTime UTC_TIME - */ -#define emberAfFillCommandCalendarClusterGetSpecialDays(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SPECIAL_DAYS_COMMAND_ID, "u", startTime); - -/** @brief Command description for PublishSpecialDays - * - * Command: PublishSpecialDays - * @param issuerEventId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishSpecialDays(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for GetSpecialDays - * - * Command: GetSpecialDays - * @param numberOfEvents INT8U - */ -#define emberAfFillCommandCalendarClusterGetSpecialDays(numberOfEvents) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SPECIAL_DAYS_COMMAND_ID, "u", numberOfEvents); - -/** @brief Command description for PublishSpecialDays - * - * Command: PublishSpecialDays - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterPublishSpecialDays(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for GetSpecialDays - * - * Command: GetSpecialDays - * @param calendarType CalendarType - */ -#define emberAfFillCommandCalendarClusterGetSpecialDays(calendarType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SPECIAL_DAYS_COMMAND_ID, "u", calendarType); - -/** @brief Command description for PublishSpecialDays - * - * Command: PublishSpecialDays - * @param startTime UTC_TIME - */ -#define emberAfFillCommandCalendarClusterPublishSpecialDays(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID, "u", startTime); - -/** @brief Command description for GetSpecialDays - * - * Command: GetSpecialDays - * @param providerId INT32U - */ -#define emberAfFillCommandCalendarClusterGetSpecialDays(providerId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SPECIAL_DAYS_COMMAND_ID, "u", providerId); - -/** @brief Command description for PublishSpecialDays - * - * Command: PublishSpecialDays - * @param calendarType CalendarType - */ -#define emberAfFillCommandCalendarClusterPublishSpecialDays(calendarType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID, "u", calendarType); - -/** @brief Command description for GetSpecialDays - * - * Command: GetSpecialDays - * @param issuerCalendarId INT32U - */ -#define emberAfFillCommandCalendarClusterGetSpecialDays(issuerCalendarId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SPECIAL_DAYS_COMMAND_ID, "u", issuerCalendarId); - -/** @brief Command description for PublishSpecialDays - * - * Command: PublishSpecialDays - * @param totalNumberOfSpecialDays INT8U - * @param commandIndex INT8U - * @param totalNumberOfCommands INT8U - * @param specialDayEntries SpecialDay [] - * @param specialDayEntriesLen int - */ -#define emberAfFillCommandCalendarClusterPublishSpecialDays(totalNumberOfSpecialDays, commandIndex, totalNumberOfCommands, \ - specialDayEntries, specialDayEntriesLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID, "uuub", totalNumberOfSpecialDays, commandIndex, \ - totalNumberOfCommands, specialDayEntries, specialDayEntriesLen); - -/** @brief Command description for GetCalendarCancellation - * - * Command: GetCalendarCancellation - */ -#define emberAfFillCommandCalendarClusterGetCalendarCancellation() \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CALENDAR_CANCELLATION_COMMAND_ID, "", ); - -/** @brief Command description for CancelCalendar - * - * Command: CancelCalendar - * @param providerId INT32U - * @param issuerCalendarId INT32U - * @param calendarType CalendarType - */ -#define emberAfFillCommandCalendarClusterCancelCalendar(providerId, issuerCalendarId, calendarType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CANCEL_CALENDAR_COMMAND_ID, "uuu", providerId, issuerCalendarId, calendarType); - -/** @brief Command description for GetChangeOfTenancy - * - * Command: GetChangeOfTenancy - */ -#define emberAfFillCommandDevice \ - ManagementClusterGetChangeOfTenancy() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CHANGE_OF_TENANCY_COMMAND_ID, "", ); - -/** @brief Command description for PublishChangeOfTenancy - * - * Command: PublishChangeOfTenancy - * @param providerId INT32U - * @param issuerEventId INT32U - * @param tariffType TariffType - * @param implementationDateTime UTC_TIME - * @param proposedTenancyChangeControl ProposedChangeControl - */ -#define emberAfFillCommandDevice \ - ManagementClusterPublishChangeOfTenancy(providerId, issuerEventId, tariffType, implementationDateTime, \ - proposedTenancyChangeControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CHANGE_OF_TENANCY_COMMAND_ID, "uuuuu", providerId, issuerEventId, tariffType, \ - implementationDateTime, proposedTenancyChangeControl); - -/** @brief Command description for GetChangeOfSupplier - * - * Command: GetChangeOfSupplier - */ -#define emberAfFillCommandDevice \ - ManagementClusterGetChangeOfSupplier() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CHANGE_OF_SUPPLIER_COMMAND_ID, "", ); - -/** @brief Command description for PublishChangeOfSupplier - * - * Command: PublishChangeOfSupplier - * @param currentProviderId INT32U - * @param issuerEventId INT32U - * @param tariffType TariffType - * @param proposedProviderId INT32U - * @param providerChangeImplementationTime UTC_TIME - * @param providerChangeControl ProposedChangeControl - * @param proposedProviderName OCTET_STRING - * @param proposedProviderContactDetails OCTET_STRING - */ -#define emberAfFillCommandDevice \ - ManagementClusterPublishChangeOfSupplier(currentProviderId, issuerEventId, tariffType, proposedProviderId, \ - providerChangeImplementationTime, providerChangeControl, proposedProviderName, \ - proposedProviderContactDetails) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_CHANGE_OF_SUPPLIER_COMMAND_ID, "uuuuuuuu", currentProviderId, issuerEventId, \ - tariffType, proposedProviderId, providerChangeImplementationTime, providerChangeControl, \ - proposedProviderName, proposedProviderContactDetails); - -/** @brief Command description for RequestNewPassword - * - * Command: RequestNewPassword - * @param passwordType PasswordType - */ -#define emberAfFillCommandDevice \ - ManagementClusterRequestNewPassword(passwordType) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_NEW_PASSWORD_COMMAND_ID, "u", passwordType); - -/** @brief Command description for RequestNewPasswordResponse - * - * Command: RequestNewPasswordResponse - * @param issuerEventId INT32U - * @param implementationDateTime UTC_TIME - * @param durationInMinutes INT16U - * @param passwordType PasswordType - * @param password OCTET_STRING - */ -#define emberAfFillCommandDevice \ - ManagementClusterRequestNewPasswordResponse(issuerEventId, implementationDateTime, durationInMinutes, passwordType, password) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REQUEST_NEW_PASSWORD_RESPONSE_COMMAND_ID, "uuuuu", issuerEventId, implementationDateTime, \ - durationInMinutes, passwordType, password); - -/** @brief Command description for GetSiteId - * - * Command: GetSiteId - */ -#define emberAfFillCommandDevice \ - ManagementClusterGetSiteId() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SITE_ID_COMMAND_ID, "", ); - -/** @brief Command description for UpdateSiteId - * - * Command: UpdateSiteId - * @param issuerEventId INT32U - * @param siteIdTime UTC_TIME - * @param providerId INT32U - * @param siteId OCTET_STRING - */ -#define emberAfFillCommandDevice \ - ManagementClusterUpdateSiteId(issuerEventId, siteIdTime, providerId, siteId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_UPDATE_SITE_ID_COMMAND_ID, "uuuu", issuerEventId, siteIdTime, providerId, siteId); - -/** @brief Command description for ReportEventConfiguration - * - * Command: ReportEventConfiguration - * @param commandIndex INT8U - */ -#define emberAfFillCommandDevice \ - ManagementClusterReportEventConfiguration(commandIndex) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_CONFIGURATION_COMMAND_ID, "u", commandIndex); - -/** @brief Command description for SetEventConfiguration - * - * Command: SetEventConfiguration - * @param issuerEventId INT32U - */ -#define emberAfFillCommandDevice \ - ManagementClusterSetEventConfiguration(issuerEventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_EVENT_CONFIGURATION_COMMAND_ID, "u", issuerEventId); - -/** @brief Command description for ReportEventConfiguration - * - * Command: ReportEventConfiguration - * @param totalCommands INT8U - */ -#define emberAfFillCommandDevice \ - ManagementClusterReportEventConfiguration(totalCommands) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_REPORT_EVENT_CONFIGURATION_COMMAND_ID, "u", totalCommands); - -/** @brief Command description for SetEventConfiguration - * - * Command: SetEventConfiguration - * @param startDateTime UTC_TIME - */ -#define emberAfFillCommandDevice \ - ManagementClusterSetEventConfiguration(startDateTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_EVENT_CONFIGURATION_COMMAND_ID, "u", startDateTime); - -/** @brief Command description for ReportEventConfiguration - * - * Command: ReportEventConfiguration - * @param eventConfigurationPayload EventConfigurationPayload [] - * @param eventConfigurationPayloadLen int - */ -#define emberAfFillCommandDevice \ - ManagementClusterReportEventConfiguration(eventConfigurationPayload, eventConfigurationPayloadLen) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_REPORT_EVENT_CONFIGURATION_COMMAND_ID, "b", eventConfigurationPayload, eventConfigurationPayloadLen); - -/** @brief Command description for SetEventConfiguration - * - * Command: SetEventConfiguration - * @param eventConfiguration EventConfiguration - * @param configurationControl EventConfigurationControl - * @param eventConfigurationPayload INT8U [] - * @param eventConfigurationPayloadLen int - */ -#define emberAfFillCommandDevice \ - ManagementClusterSetEventConfiguration(eventConfiguration, configurationControl, eventConfigurationPayload, \ - eventConfigurationPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_SET_EVENT_CONFIGURATION_COMMAND_ID, "uub", eventConfiguration, configurationControl, \ - eventConfigurationPayload, eventConfigurationPayloadLen); - -/** @brief Command description for GetCIN - * - * Command: GetCIN - */ -#define emberAfFillCommandDevice \ - ManagementClusterGetCIN() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_CIN_COMMAND_ID, "", ); - -/** @brief Command description for GetEventConfiguration - * - * Command: GetEventConfiguration - * @param eventId INT16U - */ -#define emberAfFillCommandDevice \ - ManagementClusterGetEventConfiguration(eventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_CONFIGURATION_COMMAND_ID, "u", eventId); - -/** @brief Command description for UpdateCIN - * - * Command: UpdateCIN - * @param issuerEventId INT32U - * @param implementationTime UTC_TIME - * @param providerId INT32U - * @param customerIdNumber OCTET_STRING - */ -#define emberAfFillCommandDevice \ - ManagementClusterUpdateCIN(issuerEventId, implementationTime, providerId, customerIdNumber) emberAfFillExternalBuffer( \ - mask, \ - \ - ZCL_UPDATE_CIN_COMMAND_ID, "uuuu", issuerEventId, implementationTime, providerId, customerIdNumber); - -/** @brief Command description for GetEventLog - * - * Command: GetEventLog - * @param eventControlLogId EventControlLogId - */ -#define emberAfFillCommandEventsClusterGetEventLog(eventControlLogId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_LOG_COMMAND_ID, "u", eventControlLogId); - -/** @brief Command description for PublishEvent - * - * Command: PublishEvent - * @param logId EventLogId - */ -#define emberAfFillCommandEventsClusterPublishEvent(logId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_EVENT_COMMAND_ID, "u", logId); - -/** @brief Command description for GetEventLog - * - * Command: GetEventLog - * @param eventId INT16U - */ -#define emberAfFillCommandEventsClusterGetEventLog(eventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_LOG_COMMAND_ID, "u", eventId); - -/** @brief Command description for PublishEvent - * - * Command: PublishEvent - * @param eventId INT16U - */ -#define emberAfFillCommandEventsClusterPublishEvent(eventId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_EVENT_COMMAND_ID, "u", eventId); - -/** @brief Command description for GetEventLog - * - * Command: GetEventLog - * @param startTime UTC_TIME - */ -#define emberAfFillCommandEventsClusterGetEventLog(startTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_LOG_COMMAND_ID, "u", startTime); - -/** @brief Command description for PublishEvent - * - * Command: PublishEvent - * @param eventTime UTC_TIME - */ -#define emberAfFillCommandEventsClusterPublishEvent(eventTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_EVENT_COMMAND_ID, "u", eventTime); - -/** @brief Command description for GetEventLog - * - * Command: GetEventLog - * @param endTime UTC_TIME - */ -#define emberAfFillCommandEventsClusterGetEventLog(endTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_LOG_COMMAND_ID, "u", endTime); - -/** @brief Command description for PublishEvent - * - * Command: PublishEvent - * @param eventControl EventActionControl - */ -#define emberAfFillCommandEventsClusterPublishEvent(eventControl) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_EVENT_COMMAND_ID, "u", eventControl); - -/** @brief Command description for GetEventLog - * - * Command: GetEventLog - * @param numberOfEvents INT8U - */ -#define emberAfFillCommandEventsClusterGetEventLog(numberOfEvents) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_LOG_COMMAND_ID, "u", numberOfEvents); - -/** @brief Command description for PublishEvent - * - * Command: PublishEvent - * @param eventData OCTET_STRING - */ -#define emberAfFillCommandEventsClusterPublishEvent(eventData) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_EVENT_COMMAND_ID, "u", eventData); - -/** @brief Command description for GetEventLog - * - * Command: GetEventLog - * @param eventOffset INT16U - */ -#define emberAfFillCommandEventsClusterGetEventLog(eventOffset) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_EVENT_LOG_COMMAND_ID, "u", eventOffset); - -/** @brief Command description for ClearEventLogRequest - * - * Command: ClearEventLogRequest - * @param logId EventLogId - */ -#define emberAfFillCommandEventsClusterClearEventLogRequest(logId) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_EVENT_LOG_REQUEST_COMMAND_ID, "u", logId); - -/** @brief Command description for PublishEventLog - * - * Command: PublishEventLog - * @param totalNumberOfEvents INT16U - * @param commandIndex INT8U - * @param totalCommands INT8U - * @param logPayloadControl NumberOfEventsLogPayloadControl - * @param logPayload EventLogPayload [] - * @param logPayloadLen int - */ -#define emberAfFillCommandEventsClusterPublishEventLog(totalNumberOfEvents, commandIndex, totalCommands, logPayloadControl, \ - logPayload, logPayloadLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PUBLISH_EVENT_LOG_COMMAND_ID, "uuuub", totalNumberOfEvents, commandIndex, totalCommands, \ - logPayloadControl, logPayload, logPayloadLen); - -/** @brief Command description for ClearEventLogResponse - * - * Command: ClearEventLogResponse - * @param clearedEventsLogs ClearedEventsLogs - */ -#define emberAfFillCommandEventsClusterClearEventLogResponse(clearedEventsLogs) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_CLEAR_EVENT_LOG_RESPONSE_COMMAND_ID, "u", clearedEventsLogs); - -/** @brief Command description for PairingResponse - * - * Command: PairingResponse - * @param pairingInformationVersion INT32U - */ -#define emberAfFillCommandMDU \ - PairingClusterPairingResponse(pairingInformationVersion) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PAIRING_RESPONSE_COMMAND_ID, "u", pairingInformationVersion); - -/** @brief Command description for PairingRequest - * - * Command: PairingRequest - * @param localPairingInformationVersion INT32U - */ -#define emberAfFillCommandMDU \ - PairingClusterPairingRequest(localPairingInformationVersion) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PAIRING_REQUEST_COMMAND_ID, "u", localPairingInformationVersion); - -/** @brief Command description for PairingResponse - * - * Command: PairingResponse - * @param totalNumberOfDevices INT8U - */ -#define emberAfFillCommandMDU \ - PairingClusterPairingResponse(totalNumberOfDevices) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PAIRING_RESPONSE_COMMAND_ID, "u", totalNumberOfDevices); - -/** @brief Command description for PairingRequest - * - * Command: PairingRequest - * @param eui64OfRequestingDevice IEEE_ADDRESS - */ -#define emberAfFillCommandMDU \ - PairingClusterPairingRequest(eui64OfRequestingDevice) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PAIRING_REQUEST_COMMAND_ID, "u", eui64OfRequestingDevice); - -/** @brief Command description for PairingResponse - * - * Command: PairingResponse - * @param commandIndex INT8U - * @param totalNumberOfCommands INT8U - * @param eui64s IEEE_ADDRESS [] - * @param eui64sLen int - */ -#define emberAfFillCommandMDU \ - PairingClusterPairingResponse(commandIndex, totalNumberOfCommands, eui64s, eui64sLen) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_PAIRING_RESPONSE_COMMAND_ID, "uub", commandIndex, totalNumberOfCommands, eui64s, eui64sLen); - -/** @brief Command description for GetSuspendZclMessagesStatus - * - * Command: GetSuspendZclMessagesStatus - */ -#define emberAfFillCommandSub \ - -GHzClusterGetSuspendZclMessagesStatus() emberAfFillExternalBuffer(mask, \ - \ - ZCL_GET_SUSPEND_ZCL_MESSAGES_STATUS_COMMAND_ID, "", ); - -/** @brief Command description for SuspendZclMessages - * - * Command: SuspendZclMessages - * @param period INT8U - */ -#define emberAfFillCommandSub \ - -GHzClusterSuspendZclMessages(period) emberAfFillExternalBuffer(mask, \ - \ - ZCL_SUSPEND_ZCL_MESSAGES_COMMAND_ID, "u", period); - -/** @brief Command description for InitiateKeyEstablishmentRequest - * - * Command: InitiateKeyEstablishmentRequest - * @param keyEstablishmentSuite BITMAP16 - */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentRequest(keyEstablishmentSuite) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_KEY_ESTABLISHMENT_REQUEST_COMMAND_ID, "u", keyEstablishmentSuite); - -/** @brief Command description for InitiateKeyEstablishmentResponse - * - * Command: InitiateKeyEstablishmentResponse - * @param requestedKeyEstablishmentSuite BITMAP16 - */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentResponse(requestedKeyEstablishmentSuite) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_KEY_ESTABLISHMENT_RESPONSE_COMMAND_ID, "u", requestedKeyEstablishmentSuite); - -/** @brief Command description for InitiateKeyEstablishmentRequest - * - * Command: InitiateKeyEstablishmentRequest - * @param ephemeralDataGenerateTime INT8U - */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentRequest(ephemeralDataGenerateTime) \ - emberAfFillExternalBuffer(mask, \ - \ - ZCL_INITIATE_KEY_ESTABLISHMENT_REQUEST_COMMAND_ID, "u", ephemeralDataGenerateTime); - -/** @brief Command description for InitiateKeyEstablishmentResponse +/** @brief Command description for ShutDown * - * Command: InitiateKeyEstablishmentResponse - * @param ephemeralDataGenerateTime INT8U + * Command: ShutDown */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentResponse(ephemeralDataGenerateTime) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBridged \ + Device BasicClusterShutDown() emberAfFillExternalBuffer(mask, \ \ - ZCL_INITIATE_KEY_ESTABLISHMENT_RESPONSE_COMMAND_ID, "u", ephemeralDataGenerateTime); + ZCL_SHUT_DOWN_COMMAND_ID, "", ); -/** @brief Command description for InitiateKeyEstablishmentRequest +/** @brief Command description for Leave * - * Command: InitiateKeyEstablishmentRequest - * @param confirmKeyGenerateTime INT8U + * Command: Leave */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentRequest(confirmKeyGenerateTime) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBridged \ + Device BasicClusterLeave() emberAfFillExternalBuffer(mask, \ \ - ZCL_INITIATE_KEY_ESTABLISHMENT_REQUEST_COMMAND_ID, "u", confirmKeyGenerateTime); + ZCL_LEAVE_COMMAND_ID, "", ); -/** @brief Command description for InitiateKeyEstablishmentResponse +/** @brief Command description for ReachableChanged * - * Command: InitiateKeyEstablishmentResponse - * @param confirmKeyGenerateTime INT8U + * Command: ReachableChanged */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentResponse(confirmKeyGenerateTime) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBridged \ + Device BasicClusterReachableChanged() emberAfFillExternalBuffer(mask, \ \ - ZCL_INITIATE_KEY_ESTABLISHMENT_RESPONSE_COMMAND_ID, "u", confirmKeyGenerateTime); + ZCL_REACHABLE_CHANGED_COMMAND_ID, "", ); -/** @brief Command description for InitiateKeyEstablishmentRequest +/** @brief Command description for SetFabric * - * Command: InitiateKeyEstablishmentRequest - * @param identity Identity + * Command: SetFabric + * @param VendorId INT16U */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentRequest(identity) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterSetFabric(VendorId) emberAfFillExternalBuffer(mask, \ \ - ZCL_INITIATE_KEY_ESTABLISHMENT_REQUEST_COMMAND_ID, "u", identity); + ZCL_SET_FABRIC_COMMAND_ID, "u", VendorId); -/** @brief Command description for InitiateKeyEstablishmentResponse +/** @brief Command description for SetFabricResponse * - * Command: InitiateKeyEstablishmentResponse - * @param identity Identity + * Command: SetFabricResponse + * @param FabricId FABRIC_ID */ -#define emberAfFillCommandKey \ - EstablishmentClusterInitiateKeyEstablishmentResponse(identity) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterSetFabricResponse(FabricId) emberAfFillExternalBuffer(mask, \ \ - ZCL_INITIATE_KEY_ESTABLISHMENT_RESPONSE_COMMAND_ID, "u", identity); + ZCL_SET_FABRIC_RESPONSE_COMMAND_ID, "u", FabricId); -/** @brief Command description for EphemeralDataRequest +/** @brief Command description for OpCSRRequest * - * Command: EphemeralDataRequest - * @param ephemeralData EphemeralData + * Command: OpCSRRequest + * @param CSRNonce OCTET_STRING */ -#define emberAfFillCommandKey \ - EstablishmentClusterEphemeralDataRequest(ephemeralData) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterOpCSRRequest(CSRNonce) emberAfFillExternalBuffer(mask, \ \ - ZCL_EPHEMERAL_DATA_REQUEST_COMMAND_ID, "u", ephemeralData); + ZCL_OP_CSR_REQUEST_COMMAND_ID, "u", CSRNonce); -/** @brief Command description for EphemeralDataResponse +/** @brief Command description for OpCSRResponse * - * Command: EphemeralDataResponse - * @param ephemeralData EphemeralData + * Command: OpCSRResponse + * @param CSR OCTET_STRING + * @param CSRNonce OCTET_STRING + * @param VendorReserved1 OCTET_STRING + * @param VendorReserved2 OCTET_STRING + * @param VendorReserved3 OCTET_STRING + * @param Signature OCTET_STRING */ -#define emberAfFillCommandKey \ - EstablishmentClusterEphemeralDataResponse(ephemeralData) \ +#define emberAfFillCommandOperational \ + CredentialsClusterOpCSRResponse(CSR, CSRNonce, VendorReserved1, VendorReserved2, VendorReserved3, Signature) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_EPHEMERAL_DATA_RESPONSE_COMMAND_ID, "u", ephemeralData); + ZCL_OP_CSR_RESPONSE_COMMAND_ID, "uuuuuu", CSR, CSRNonce, VendorReserved1, VendorReserved2, \ + VendorReserved3, Signature); -/** @brief Command description for ConfirmKeyDataRequest +/** @brief Command description for AddOpCert * - * Command: ConfirmKeyDataRequest - * @param secureMessageAuthenticationCode Smac + * Command: AddOpCert + * @param OperationalCert OCTET_STRING + * @param IPKValue OCTET_STRING + * @param CaseAdminNode NODE_ID + * @param AdminVendorId INT16U */ -#define emberAfFillCommandKey \ - EstablishmentClusterConfirmKeyDataRequest(secureMessageAuthenticationCode) \ +#define emberAfFillCommandOperational \ + CredentialsClusterAddOpCert(OperationalCert, IPKValue, CaseAdminNode, AdminVendorId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_CONFIRM_KEY_DATA_REQUEST_COMMAND_ID, "u", secureMessageAuthenticationCode); + ZCL_ADD_OP_CERT_COMMAND_ID, "uuuu", OperationalCert, IPKValue, CaseAdminNode, AdminVendorId); -/** @brief Command description for ConfirmKeyDataResponse +/** @brief Command description for OpCertResponse * - * Command: ConfirmKeyDataResponse - * @param secureMessageAuthenticationCode Smac + * Command: OpCertResponse + * @param StatusCode INT8U + * @param FabricIndex INT64U + * @param DebugText CHAR_STRING */ -#define emberAfFillCommandKey \ - EstablishmentClusterConfirmKeyDataResponse(secureMessageAuthenticationCode) \ +#define emberAfFillCommandOperational \ + CredentialsClusterOpCertResponse(StatusCode, FabricIndex, DebugText) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_CONFIRM_KEY_DATA_RESPONSE_COMMAND_ID, "u", secureMessageAuthenticationCode); + ZCL_OP_CERT_RESPONSE_COMMAND_ID, "uuu", StatusCode, FabricIndex, DebugText); -/** @brief Command description for TerminateKeyEstablishment +/** @brief Command description for UpdateFabricLabel * - * Command: TerminateKeyEstablishment - * @param statusCode AmiKeyEstablishmentStatus - * @param waitTime INT8U - * @param keyEstablishmentSuite BITMAP16 + * Command: UpdateFabricLabel + * @param Label CHAR_STRING */ -#define emberAfFillCommandKey \ - EstablishmentClusterTerminateKeyEstablishment(statusCode, waitTime, keyEstablishmentSuite) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterUpdateFabricLabel(Label) emberAfFillExternalBuffer(mask, \ \ - ZCL_TERMINATE_KEY_ESTABLISHMENT_COMMAND_ID, "uuu", statusCode, waitTime, keyEstablishmentSuite); + ZCL_UPDATE_FABRIC_LABEL_COMMAND_ID, "u", Label); -/** @brief Command description for RequestInformation +/** @brief Command description for RemoveFabric * - * Command: RequestInformation - * @param inquiryId ENUM8 + * Command: RemoveFabric + * @param FabricId FABRIC_ID + * @param NodeId NODE_ID + * @param VendorId INT16U */ -#define emberAfFillCommandInformationClusterRequestInformation(inquiryId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterRemoveFabric(FabricId, NodeId, VendorId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_INFORMATION_COMMAND_ID, "u", inquiryId); + ZCL_REMOVE_FABRIC_COMMAND_ID, "uuu", FabricId, NodeId, VendorId); -/** @brief Command description for RequestInformationResponse +/** @brief Command description for RemoveAllFabrics * - * Command: RequestInformationResponse - * @param number INT8U + * Command: RemoveAllFabrics */ -#define emberAfFillCommandInformationClusterRequestInformationResponse(number) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterRemoveAllFabrics() emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_INFORMATION_RESPONSE_COMMAND_ID, "u", number); + ZCL_REMOVE_ALL_FABRICS_COMMAND_ID, "", ); -/** @brief Command description for RequestInformation +/** @brief Command description for AddTrustedRootCertificate * - * Command: RequestInformation - * @param dataTypeId BITMAP8 + * Command: AddTrustedRootCertificate + * @param RootCertificate OCTET_STRING */ -#define emberAfFillCommandInformationClusterRequestInformation(dataTypeId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterAddTrustedRootCertificate(RootCertificate) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_INFORMATION_COMMAND_ID, "u", dataTypeId); + ZCL_ADD_TRUSTED_ROOT_CERTIFICATE_COMMAND_ID, "u", RootCertificate); -/** @brief Command description for RequestInformationResponse +/** @brief Command description for RemoveTrustedRootCertificate * - * Command: RequestInformationResponse - * @param buffer INT8U [] - * @param bufferLen int + * Command: RemoveTrustedRootCertificate + * @param TrustedRootIdentifier OCTET_STRING */ -#define emberAfFillCommandInformationClusterRequestInformationResponse(buffer, bufferLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandOperational \ + CredentialsClusterRemoveTrustedRootCertificate(TrustedRootIdentifier) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_INFORMATION_RESPONSE_COMMAND_ID, "b", buffer, bufferLen); + ZCL_REMOVE_TRUSTED_ROOT_CERTIFICATE_COMMAND_ID, "u", TrustedRootIdentifier); -/** @brief Command description for RequestInformation +/** @brief Command description for LockDoor * - * Command: RequestInformation - * @param requestInformationPayload INT8U [] - * @param requestInformationPayloadLen int + * Command: LockDoor + * @param PIN CHAR_STRING */ -#define emberAfFillCommandInformationClusterRequestInformation(requestInformationPayload, requestInformationPayloadLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterLockDoor(PIN) emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_INFORMATION_COMMAND_ID, "b", requestInformationPayload, requestInformationPayloadLen); + ZCL_LOCK_DOOR_COMMAND_ID, "u", PIN); -/** @brief Command description for PushInformationResponse +/** @brief Command description for LockDoorResponse * - * Command: PushInformationResponse - * @param notificationList Notification [] - * @param notificationListLen int + * Command: LockDoorResponse + * @param status INT8U */ -#define emberAfFillCommandInformationClusterPushInformationResponse(notificationList, notificationListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterLockDoorResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_PUSH_INFORMATION_RESPONSE_COMMAND_ID, "b", notificationList, notificationListLen); + ZCL_LOCK_DOOR_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for PushInformation +/** @brief Command description for UnlockDoor * - * Command: PushInformation - * @param contents INT8U [] - * @param contentsLen int + * Command: UnlockDoor + * @param PIN CHAR_STRING */ -#define emberAfFillCommandInformationClusterPushInformation(contents, contentsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterUnlockDoor(PIN) emberAfFillExternalBuffer(mask, \ \ - ZCL_PUSH_INFORMATION_COMMAND_ID, "b", contents, contentsLen); + ZCL_UNLOCK_DOOR_COMMAND_ID, "u", PIN); -/** @brief Command description for SendPreference +/** @brief Command description for UnlockDoorResponse * - * Command: SendPreference - * @param preferenceType INT16U + * Command: UnlockDoorResponse + * @param status INT8U */ -#define emberAfFillCommandInformationClusterSendPreference(preferenceType) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterUnlockDoorResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_SEND_PREFERENCE_COMMAND_ID, "u", preferenceType); + ZCL_UNLOCK_DOOR_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for SendPreferenceResponse +/** @brief Command description for Toggle * - * Command: SendPreferenceResponse - * @param statusFeedbackList Status [] - * @param statusFeedbackListLen int + * Command: Toggle + * @param pin CHAR_STRING */ -#define emberAfFillCommandInformationClusterSendPreferenceResponse(statusFeedbackList, statusFeedbackListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterToggle(pin) emberAfFillExternalBuffer(mask, \ \ - ZCL_SEND_PREFERENCE_RESPONSE_COMMAND_ID, "b", statusFeedbackList, statusFeedbackListLen); + ZCL_TOGGLE_COMMAND_ID, "u", pin); -/** @brief Command description for SendPreference +/** @brief Command description for ToggleResponse * - * Command: SendPreference - * @param preferencePayload INT8U [] - * @param preferencePayloadLen int + * Command: ToggleResponse + * @param status INT8U */ -#define emberAfFillCommandInformationClusterSendPreference(preferencePayload, preferencePayloadLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterToggleResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_SEND_PREFERENCE_COMMAND_ID, "b", preferencePayload, preferencePayloadLen); + ZCL_TOGGLE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for ServerRequestPreference +/** @brief Command description for UnlockWithTimeout * - * Command: ServerRequestPreference + * Command: UnlockWithTimeout + * @param timeoutInSeconds INT16U */ -#define emberAfFillCommandInformationClusterServerRequestPreference() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterUnlockWithTimeout(timeoutInSeconds) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SERVER_REQUEST_PREFERENCE_COMMAND_ID, "", ); + ZCL_UNLOCK_WITH_TIMEOUT_COMMAND_ID, "u", timeoutInSeconds); -/** @brief Command description for RequestPreferenceResponse +/** @brief Command description for UnlockWithTimeoutResponse * - * Command: RequestPreferenceResponse - * @param statusFeedback Status - * @param preferenceType INT16U - * @param preferencePayload INT8U [] - * @param preferencePayloadLen int + * Command: UnlockWithTimeoutResponse + * @param status INT8U */ -#define emberAfFillCommandInformationClusterRequestPreferenceResponse(statusFeedback, preferenceType, preferencePayload, \ - preferencePayloadLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterUnlockWithTimeoutResponse(status) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_PREFERENCE_RESPONSE_COMMAND_ID, "uub", statusFeedback, preferenceType, \ - preferencePayload, preferencePayloadLen); + ZCL_UNLOCK_WITH_TIMEOUT_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for Update +/** @brief Command description for UnlockWithTimeout * - * Command: Update - * @param accessControl ENUM8 + * Command: UnlockWithTimeout + * @param pin CHAR_STRING */ -#define emberAfFillCommandInformationClusterUpdate(accessControl) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterUnlockWithTimeout(pin) emberAfFillExternalBuffer(mask, \ \ - ZCL_UPDATE_COMMAND_ID, "u", accessControl); + ZCL_UNLOCK_WITH_TIMEOUT_COMMAND_ID, "u", pin); -/** @brief Command description for RequestPreferenceConfirmation +/** @brief Command description for GetLogRecord * - * Command: RequestPreferenceConfirmation - * @param statusFeedbackList Status [] - * @param statusFeedbackListLen int + * Command: GetLogRecord + * @param logIndex INT16U */ -#define emberAfFillCommandInformationClusterRequestPreferenceConfirmation(statusFeedbackList, statusFeedbackListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetLogRecord(logIndex) emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_PREFERENCE_CONFIRMATION_COMMAND_ID, "b", statusFeedbackList, statusFeedbackListLen); + ZCL_GET_LOG_RECORD_COMMAND_ID, "u", logIndex); -/** @brief Command description for Update +/** @brief Command description for GetLogRecordResponse * - * Command: Update - * @param option BITMAP8 - * @param contents INT8U [] - * @param contentsLen int + * Command: GetLogRecordResponse + * @param logEntryId INT16U + * @param timestamp INT32U + * @param eventType ENUM8 + * @param source INT8U + * @param eventIdOrAlarmCode INT8U + * @param userId INT16U + * @param pin CHAR_STRING */ -#define emberAfFillCommandInformationClusterUpdate(option, contents, contentsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetLogRecordResponse(logEntryId, timestamp, eventType, source, eventIdOrAlarmCode, userId, pin) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_UPDATE_COMMAND_ID, "ub", option, contents, contentsLen); + ZCL_GET_LOG_RECORD_RESPONSE_COMMAND_ID, "uuuuuuu", logEntryId, timestamp, eventType, source, \ + eventIdOrAlarmCode, userId, pin); -/** @brief Command description for Delete +/** @brief Command description for SetPin * - * Command: Delete - * @param deletionOptions BITMAP8 + * Command: SetPin + * @param userId INT16U */ -#define emberAfFillCommandInformationClusterDelete(deletionOptions) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetPin(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_DELETE_COMMAND_ID, "u", deletionOptions); + ZCL_SET_PIN_COMMAND_ID, "u", userId); -/** @brief Command description for UpdateResponse +/** @brief Command description for SetPinResponse * - * Command: UpdateResponse - * @param notificationList Notification [] - * @param notificationListLen int + * Command: SetPinResponse + * @param status DoorLockSetPinOrIdStatus */ -#define emberAfFillCommandInformationClusterUpdateResponse(notificationList, notificationListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetPinResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_UPDATE_RESPONSE_COMMAND_ID, "b", notificationList, notificationListLen); + ZCL_SET_PIN_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for Delete +/** @brief Command description for SetPin * - * Command: Delete - * @param contentIds INT16U [] - * @param contentIdsLen int + * Command: SetPin + * @param userStatus DoorLockUserStatus + * @param userType DoorLockUserType + * @param pin CHAR_STRING */ -#define emberAfFillCommandInformationClusterDelete(contentIds, contentIdsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetPin(userStatus, userType, pin) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DELETE_COMMAND_ID, "b", contentIds, contentIdsLen); + ZCL_SET_PIN_COMMAND_ID, "uuu", userStatus, userType, pin); -/** @brief Command description for ConfigureNodeDescription +/** @brief Command description for GetPin * - * Command: ConfigureNodeDescription - * @param description CHAR_STRING + * Command: GetPin + * @param userId INT16U */ -#define emberAfFillCommandInformationClusterConfigureNodeDescription(description) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetPin(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_CONFIGURE_NODE_DESCRIPTION_COMMAND_ID, "u", description); + ZCL_GET_PIN_COMMAND_ID, "u", userId); -/** @brief Command description for DeleteResponse +/** @brief Command description for GetPinResponse * - * Command: DeleteResponse - * @param notificationList Notification [] - * @param notificationListLen int + * Command: GetPinResponse + * @param userId INT16U + * @param userStatus DoorLockUserStatus + * @param userType DoorLockUserType + * @param pin CHAR_STRING */ -#define emberAfFillCommandInformationClusterDeleteResponse(notificationList, notificationListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetPinResponse(userId, userStatus, userType, pin) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DELETE_RESPONSE_COMMAND_ID, "b", notificationList, notificationListLen); + ZCL_GET_PIN_RESPONSE_COMMAND_ID, "uuuu", userId, userStatus, userType, pin); -/** @brief Command description for ConfigureDeliveryEnable +/** @brief Command description for ClearPin * - * Command: ConfigureDeliveryEnable - * @param enable BOOLEAN + * Command: ClearPin + * @param userId INT16U */ -#define emberAfFillCommandInformationClusterConfigureDeliveryEnable(enable) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearPin(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_CONFIGURE_DELIVERY_ENABLE_COMMAND_ID, "u", enable); + ZCL_CLEAR_PIN_COMMAND_ID, "u", userId); -/** @brief Command description for ConfigurePushInformationTimer +/** @brief Command description for ClearPinResponse * - * Command: ConfigurePushInformationTimer - * @param timer INT32U + * Command: ClearPinResponse + * @param status INT8U */ -#define emberAfFillCommandInformationClusterConfigurePushInformationTimer(timer) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearPinResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_CONFIGURE_PUSH_INFORMATION_TIMER_COMMAND_ID, "u", timer); + ZCL_CLEAR_PIN_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for ConfigureSetRootId +/** @brief Command description for ClearAllPins * - * Command: ConfigureSetRootId - * @param rootId INT16U + * Command: ClearAllPins */ -#define emberAfFillCommandInformationClusterConfigureSetRootId(rootId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearAllPins() emberAfFillExternalBuffer(mask, \ \ - ZCL_CONFIGURE_SET_ROOT_ID_COMMAND_ID, "u", rootId); + ZCL_CLEAR_ALL_PINS_COMMAND_ID, "", ); -/** @brief Command description for ReadFileRequest +/** @brief Command description for ClearAllPinsResponse * - * Command: ReadFileRequest - * @param fileIndex INT16U + * Command: ClearAllPinsResponse + * @param status INT8U */ -#define emberAfFillCommandData \ - SharingClusterReadFileRequest(fileIndex) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearAllPinsResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_FILE_REQUEST_COMMAND_ID, "u", fileIndex); + ZCL_CLEAR_ALL_PINS_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for WriteFileRequest +/** @brief Command description for SetUserStatus * - * Command: WriteFileRequest - * @param writeOptions BITMAP8 + * Command: SetUserStatus + * @param userId INT16U */ -#define emberAfFillCommandData \ - SharingClusterWriteFileRequest(writeOptions) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetUserStatus(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_WRITE_FILE_REQUEST_COMMAND_ID, "u", writeOptions); + ZCL_SET_USER_STATUS_COMMAND_ID, "u", userId); -/** @brief Command description for ReadFileRequest +/** @brief Command description for SetUserStatusResponse * - * Command: ReadFileRequest - * @param fileStartPositionAndRequestedOctetCount INT8U [] - * @param fileStartPositionAndRequestedOctetCountLen int + * Command: SetUserStatusResponse + * @param status INT8U */ -#define emberAfFillCommandData \ - SharingClusterReadFileRequest(fileStartPositionAndRequestedOctetCount, fileStartPositionAndRequestedOctetCountLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetUserStatusResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_FILE_REQUEST_COMMAND_ID, "b", fileStartPositionAndRequestedOctetCount, \ - fileStartPositionAndRequestedOctetCountLen); + ZCL_SET_USER_STATUS_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for WriteFileRequest +/** @brief Command description for SetUserStatus * - * Command: WriteFileRequest - * @param fileSize INT8U [] - * @param fileSizeLen int + * Command: SetUserStatus + * @param userStatus INT8U */ -#define emberAfFillCommandData \ - SharingClusterWriteFileRequest(fileSize, fileSizeLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetUserStatus(userStatus) emberAfFillExternalBuffer(mask, \ \ - ZCL_WRITE_FILE_REQUEST_COMMAND_ID, "b", fileSize, fileSizeLen); + ZCL_SET_USER_STATUS_COMMAND_ID, "u", userStatus); -/** @brief Command description for ReadRecordRequest +/** @brief Command description for GetUserStatus * - * Command: ReadRecordRequest - * @param fileIndex INT16U + * Command: GetUserStatus + * @param userId INT16U */ -#define emberAfFillCommandData \ - SharingClusterReadRecordRequest(fileIndex) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetUserStatus(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_RECORD_REQUEST_COMMAND_ID, "u", fileIndex); + ZCL_GET_USER_STATUS_COMMAND_ID, "u", userId); -/** @brief Command description for ModifyFileRequest +/** @brief Command description for GetUserStatusResponse * - * Command: ModifyFileRequest - * @param fileIndex INT16U + * Command: GetUserStatusResponse + * @param userId INT16U + * @param status INT8U */ -#define emberAfFillCommandData \ - SharingClusterModifyFileRequest(fileIndex) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetUserStatusResponse(userId, status) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_MODIFY_FILE_REQUEST_COMMAND_ID, "u", fileIndex); + ZCL_GET_USER_STATUS_RESPONSE_COMMAND_ID, "uu", userId, status); -/** @brief Command description for ReadRecordRequest +/** @brief Command description for SetWeekdaySchedule * - * Command: ReadRecordRequest - * @param fileStartRecordAndRequestedRecordCount INT8U [] - * @param fileStartRecordAndRequestedRecordCountLen int + * Command: SetWeekdaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandData \ - SharingClusterReadRecordRequest(fileStartRecordAndRequestedRecordCount, fileStartRecordAndRequestedRecordCountLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetWeekdaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_RECORD_REQUEST_COMMAND_ID, "b", fileStartRecordAndRequestedRecordCount, \ - fileStartRecordAndRequestedRecordCountLen); + ZCL_SET_WEEKDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for ModifyFileRequest +/** @brief Command description for SetWeekdayScheduleResponse * - * Command: ModifyFileRequest - * @param fileStartPosition INT32U - * @param octetCount INT32U + * Command: SetWeekdayScheduleResponse + * @param status INT8U */ -#define emberAfFillCommandData \ - SharingClusterModifyFileRequest(fileStartPosition, octetCount) \ +#define emberAfFillCommandDoor \ + LockClusterSetWeekdayScheduleResponse(status) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_MODIFY_FILE_REQUEST_COMMAND_ID, "uu", fileStartPosition, octetCount); + ZCL_SET_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for WriteFileResponse +/** @brief Command description for SetWeekdaySchedule * - * Command: WriteFileResponse - * @param status ENUM8 + * Command: SetWeekdaySchedule + * @param userId INT16U + * @param daysMask DoorLockDayOfWeek + * @param startHour INT8U + * @param startMinute INT8U + * @param endHour INT8U + * @param endMinute INT8U */ -#define emberAfFillCommandData \ - SharingClusterWriteFileResponse(status) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetWeekdaySchedule(userId, daysMask, startHour, startMinute, endHour, endMinute) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_WRITE_FILE_RESPONSE_COMMAND_ID, "u", status); + ZCL_SET_WEEKDAY_SCHEDULE_COMMAND_ID, "uuuuuu", userId, daysMask, startHour, startMinute, endHour, endMinute); -/** @brief Command description for ModifyRecordRequest +/** @brief Command description for GetWeekdaySchedule * - * Command: ModifyRecordRequest - * @param fileIndex INT16U + * Command: GetWeekdaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandData \ - SharingClusterModifyRecordRequest(fileIndex) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetWeekdaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_MODIFY_RECORD_REQUEST_COMMAND_ID, "u", fileIndex); + ZCL_GET_WEEKDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for WriteFileResponse +/** @brief Command description for GetWeekdayScheduleResponse * - * Command: WriteFileResponse - * @param fileIndex INT8U [] - * @param fileIndexLen int + * Command: GetWeekdayScheduleResponse + * @param scheduleId INT8U */ -#define emberAfFillCommandData \ - SharingClusterWriteFileResponse(fileIndex, fileIndexLen) \ +#define emberAfFillCommandDoor \ + LockClusterGetWeekdayScheduleResponse(scheduleId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_WRITE_FILE_RESPONSE_COMMAND_ID, "b", fileIndex, fileIndexLen); + ZCL_GET_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for ModifyRecordRequest +/** @brief Command description for GetWeekdaySchedule * - * Command: ModifyRecordRequest - * @param fileStartRecord INT16U - * @param recordCount INT16U + * Command: GetWeekdaySchedule + * @param userId INT16U */ -#define emberAfFillCommandData \ - SharingClusterModifyRecordRequest(fileStartRecord, recordCount) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetWeekdaySchedule(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_MODIFY_RECORD_REQUEST_COMMAND_ID, "uu", fileStartRecord, recordCount); + ZCL_GET_WEEKDAY_SCHEDULE_COMMAND_ID, "u", userId); -/** @brief Command description for FileTransmission +/** @brief Command description for GetWeekdayScheduleResponse * - * Command: FileTransmission - * @param transmitOptions BITMAP8 - * @param buffer INT8U [] - * @param bufferLen int + * Command: GetWeekdayScheduleResponse + * @param userId INT16U + * @param status INT8U + * @param daysMask INT8U + * @param startHour INT8U + * @param startMinute INT8U + * @param endHour INT8U + * @param endMinute INT8U */ -#define emberAfFillCommandData \ - SharingClusterFileTransmission(transmitOptions, buffer, bufferLen) \ +#define emberAfFillCommandDoor \ + LockClusterGetWeekdayScheduleResponse(userId, status, daysMask, startHour, startMinute, endHour, endMinute) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_FILE_TRANSMISSION_COMMAND_ID, "ub", transmitOptions, buffer, bufferLen); + ZCL_GET_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "uuuuuuu", userId, status, daysMask, startHour, \ + startMinute, endHour, endMinute); -/** @brief Command description for RecordTransmission +/** @brief Command description for ClearWeekdaySchedule * - * Command: RecordTransmission - * @param transmitOptions BITMAP8 - * @param buffer INT8U [] - * @param bufferLen int + * Command: ClearWeekdaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandData \ - SharingClusterRecordTransmission(transmitOptions, buffer, bufferLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearWeekdaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_RECORD_TRANSMISSION_COMMAND_ID, "ub", transmitOptions, buffer, bufferLen); + ZCL_CLEAR_WEEKDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for SearchGame +/** @brief Command description for ClearWeekdayScheduleResponse * - * Command: SearchGame - * @param specificGame ENUM8 + * Command: ClearWeekdayScheduleResponse + * @param status INT8U */ -#define emberAfFillCommandGamingClusterSearchGame(specificGame) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearWeekdayScheduleResponse(status) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SEARCH_GAME_COMMAND_ID, "u", specificGame); + ZCL_CLEAR_WEEKDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for GameAnnouncement +/** @brief Command description for ClearWeekdaySchedule * - * Command: GameAnnouncement - * @param gameId INT16U + * Command: ClearWeekdaySchedule + * @param userId INT16U */ -#define emberAfFillCommandGamingClusterGameAnnouncement(gameId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearWeekdaySchedule(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_GAME_ANNOUNCEMENT_COMMAND_ID, "u", gameId); + ZCL_CLEAR_WEEKDAY_SCHEDULE_COMMAND_ID, "u", userId); -/** @brief Command description for SearchGame +/** @brief Command description for SetYeardaySchedule * - * Command: SearchGame - * @param gameId INT16U + * Command: SetYeardaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterSearchGame(gameId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetYeardaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_SEARCH_GAME_COMMAND_ID, "u", gameId); + ZCL_SET_YEARDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for GameAnnouncement +/** @brief Command description for SetYeardayScheduleResponse * - * Command: GameAnnouncement - * @param gameMaster BOOLEAN - * @param listOfGame CHAR_STRING + * Command: SetYeardayScheduleResponse + * @param status INT8U */ -#define emberAfFillCommandGamingClusterGameAnnouncement(gameMaster, listOfGame) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetYeardayScheduleResponse(status) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_GAME_ANNOUNCEMENT_COMMAND_ID, "uu", gameMaster, listOfGame); + ZCL_SET_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for JoinGame +/** @brief Command description for SetYeardaySchedule * - * Command: JoinGame - * @param gameId INT16U + * Command: SetYeardaySchedule + * @param userId INT16U + * @param localStartTime INT32U + * @param localEndTime INT32U */ -#define emberAfFillCommandGamingClusterJoinGame(gameId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetYeardaySchedule(userId, localStartTime, localEndTime) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_GAME_COMMAND_ID, "u", gameId); + ZCL_SET_YEARDAY_SCHEDULE_COMMAND_ID, "uuu", userId, localStartTime, localEndTime); -/** @brief Command description for GeneralResponse +/** @brief Command description for GetYeardaySchedule * - * Command: GeneralResponse - * @param commandId INT8U + * Command: GetYeardaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterGeneralResponse(commandId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetYeardaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_GENERAL_RESPONSE_COMMAND_ID, "u", commandId); + ZCL_GET_YEARDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for JoinGame +/** @brief Command description for GetYeardayScheduleResponse * - * Command: JoinGame - * @param joinAsMaster BOOLEAN + * Command: GetYeardayScheduleResponse + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterJoinGame(joinAsMaster) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetYeardayScheduleResponse(scheduleId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_GAME_COMMAND_ID, "u", joinAsMaster); + ZCL_GET_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for GeneralResponse +/** @brief Command description for GetYeardaySchedule * - * Command: GeneralResponse - * @param status BITMAP8 + * Command: GetYeardaySchedule + * @param userId INT16U */ -#define emberAfFillCommandGamingClusterGeneralResponse(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetYeardaySchedule(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_GENERAL_RESPONSE_COMMAND_ID, "u", status); + ZCL_GET_YEARDAY_SCHEDULE_COMMAND_ID, "u", userId); -/** @brief Command description for JoinGame +/** @brief Command description for GetYeardayScheduleResponse * - * Command: JoinGame - * @param nameOfGame CHAR_STRING + * Command: GetYeardayScheduleResponse + * @param userId INT16U + * @param status INT8U + * @param localStartTime INT32U + * @param localEndTime INT32U */ -#define emberAfFillCommandGamingClusterJoinGame(nameOfGame) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetYeardayScheduleResponse(userId, status, localStartTime, localEndTime) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_JOIN_GAME_COMMAND_ID, "u", nameOfGame); + ZCL_GET_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "uuuu", userId, status, localStartTime, localEndTime); -/** @brief Command description for GeneralResponse +/** @brief Command description for ClearYeardaySchedule * - * Command: GeneralResponse - * @param message CHAR_STRING + * Command: ClearYeardaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterGeneralResponse(message) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearYeardaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_GENERAL_RESPONSE_COMMAND_ID, "u", message); + ZCL_CLEAR_YEARDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for StartGame +/** @brief Command description for ClearYeardayScheduleResponse * - * Command: StartGame + * Command: ClearYeardayScheduleResponse + * @param status INT8U */ -#define emberAfFillCommandGamingClusterStartGame() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearYeardayScheduleResponse(status) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_START_GAME_COMMAND_ID, "", ); + ZCL_CLEAR_YEARDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for PauseGame +/** @brief Command description for ClearYeardaySchedule * - * Command: PauseGame + * Command: ClearYeardaySchedule + * @param userId INT16U */ -#define emberAfFillCommandGamingClusterPauseGame() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearYeardaySchedule(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_PAUSE_GAME_COMMAND_ID, "", ); + ZCL_CLEAR_YEARDAY_SCHEDULE_COMMAND_ID, "u", userId); -/** @brief Command description for ResumeGame +/** @brief Command description for SetHolidaySchedule * - * Command: ResumeGame + * Command: SetHolidaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterResumeGame() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetHolidaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_RESUME_GAME_COMMAND_ID, "", ); + ZCL_SET_HOLIDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for QuitGame +/** @brief Command description for SetHolidayScheduleResponse * - * Command: QuitGame + * Command: SetHolidayScheduleResponse + * @param status INT8U */ -#define emberAfFillCommandGamingClusterQuitGame() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetHolidayScheduleResponse(status) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_QUIT_GAME_COMMAND_ID, "", ); + ZCL_SET_HOLIDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for EndGame +/** @brief Command description for SetHolidaySchedule * - * Command: EndGame + * Command: SetHolidaySchedule + * @param localStartTime INT32U + * @param localEndTime INT32U + * @param operatingModeDuringHoliday ENUM8 */ -#define emberAfFillCommandGamingClusterEndGame() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetHolidaySchedule(localStartTime, localEndTime, operatingModeDuringHoliday) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_END_GAME_COMMAND_ID, "", ); + ZCL_SET_HOLIDAY_SCHEDULE_COMMAND_ID, "uuu", localStartTime, localEndTime, operatingModeDuringHoliday); -/** @brief Command description for StartOver +/** @brief Command description for GetHolidaySchedule * - * Command: StartOver + * Command: GetHolidaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterStartOver() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetHolidaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_START_OVER_COMMAND_ID, "", ); + ZCL_GET_HOLIDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for ActionControl +/** @brief Command description for GetHolidayScheduleResponse * - * Command: ActionControl - * @param actions BITMAP32 + * Command: GetHolidayScheduleResponse + * @param scheduleId INT8U + * @param status INT8U + * @param localStartTime INT32U + * @param localEndTime INT32U + * @param operatingModeDuringHoliday ENUM8 */ -#define emberAfFillCommandGamingClusterActionControl(actions) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetHolidayScheduleResponse(scheduleId, status, localStartTime, localEndTime, operatingModeDuringHoliday) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ACTION_CONTROL_COMMAND_ID, "u", actions); + ZCL_GET_HOLIDAY_SCHEDULE_RESPONSE_COMMAND_ID, "uuuuu", scheduleId, status, localStartTime, \ + localEndTime, operatingModeDuringHoliday); -/** @brief Command description for DownloadGame +/** @brief Command description for ClearHolidaySchedule * - * Command: DownloadGame + * Command: ClearHolidaySchedule + * @param scheduleId INT8U */ -#define emberAfFillCommandGamingClusterDownloadGame() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearHolidaySchedule(scheduleId) emberAfFillExternalBuffer(mask, \ \ - ZCL_DOWNLOAD_GAME_COMMAND_ID, "", ); + ZCL_CLEAR_HOLIDAY_SCHEDULE_COMMAND_ID, "u", scheduleId); -/** @brief Command description for PathCreation +/** @brief Command description for ClearHolidayScheduleResponse * - * Command: PathCreation - * @param originatorAddress DATA16 + * Command: ClearHolidayScheduleResponse + * @param status INT8U */ -#define emberAfFillCommandData \ - Rate ControlClusterPathCreation(originatorAddress) \ +#define emberAfFillCommandDoor \ + LockClusterClearHolidayScheduleResponse(status) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_PATH_CREATION_COMMAND_ID, "u", originatorAddress); + ZCL_CLEAR_HOLIDAY_SCHEDULE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for DataRateControl +/** @brief Command description for SetUserType * - * Command: DataRateControl - * @param originatorAddress DATA16 + * Command: SetUserType + * @param userId INT16U */ -#define emberAfFillCommandData \ - Rate ControlClusterDataRateControl(originatorAddress) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetUserType(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_DATA_RATE_CONTROL_COMMAND_ID, "u", originatorAddress); + ZCL_SET_USER_TYPE_COMMAND_ID, "u", userId); -/** @brief Command description for PathCreation +/** @brief Command description for SetUserTypeResponse * - * Command: PathCreation - * @param destinationAddress DATA16 + * Command: SetUserTypeResponse + * @param status INT8U */ -#define emberAfFillCommandData \ - Rate ControlClusterPathCreation(destinationAddress) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetUserTypeResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_PATH_CREATION_COMMAND_ID, "u", destinationAddress); + ZCL_SET_USER_TYPE_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for DataRateControl +/** @brief Command description for SetUserType * - * Command: DataRateControl - * @param destinationAddress DATA16 + * Command: SetUserType + * @param userType DoorLockUserType */ -#define emberAfFillCommandData \ - Rate ControlClusterDataRateControl(destinationAddress) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetUserType(userType) emberAfFillExternalBuffer(mask, \ \ - ZCL_DATA_RATE_CONTROL_COMMAND_ID, "u", destinationAddress); + ZCL_SET_USER_TYPE_COMMAND_ID, "u", userType); -/** @brief Command description for PathCreation +/** @brief Command description for GetUserType * - * Command: PathCreation - * @param dataRate INT8U + * Command: GetUserType + * @param userId INT16U */ -#define emberAfFillCommandData \ - Rate ControlClusterPathCreation(dataRate) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetUserType(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_PATH_CREATION_COMMAND_ID, "u", dataRate); + ZCL_GET_USER_TYPE_COMMAND_ID, "u", userId); -/** @brief Command description for DataRateControl +/** @brief Command description for GetUserTypeResponse * - * Command: DataRateControl - * @param dataRate INT8U + * Command: GetUserTypeResponse + * @param userId INT16U + * @param userType DoorLockUserType */ -#define emberAfFillCommandData \ - Rate ControlClusterDataRateControl(dataRate) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetUserTypeResponse(userId, userType) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DATA_RATE_CONTROL_COMMAND_ID, "u", dataRate); + ZCL_GET_USER_TYPE_RESPONSE_COMMAND_ID, "uu", userId, userType); -/** @brief Command description for DataRateNotification +/** @brief Command description for SetRfid * - * Command: DataRateNotification - * @param originatorAddress DATA16 - * @param destinationAddress DATA16 - * @param dataRate INT8U + * Command: SetRfid + * @param userId INT16U */ -#define emberAfFillCommandData \ - Rate ControlClusterDataRateNotification(originatorAddress, destinationAddress, dataRate) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetRfid(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_DATA_RATE_NOTIFICATION_COMMAND_ID, "uuu", originatorAddress, destinationAddress, dataRate); + ZCL_SET_RFID_COMMAND_ID, "u", userId); -/** @brief Command description for PathDeletion +/** @brief Command description for SetRfidResponse * - * Command: PathDeletion - * @param originatorAddress DATA16 - * @param destinationAddress DATA16 + * Command: SetRfidResponse + * @param status DoorLockSetPinOrIdStatus */ -#define emberAfFillCommandData \ - Rate ControlClusterPathDeletion(originatorAddress, destinationAddress) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetRfidResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_PATH_DELETION_COMMAND_ID, "uu", originatorAddress, destinationAddress); + ZCL_SET_RFID_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for EstablishmentRequest +/** @brief Command description for SetRfid * - * Command: EstablishmentRequest - * @param flag BITMAP8 + * Command: SetRfid + * @param userStatus DoorLockUserStatus + * @param userType DoorLockUserType + * @param id CHAR_STRING */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterEstablishmentRequest(flag) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterSetRfid(userStatus, userType, id) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ESTABLISHMENT_REQUEST_COMMAND_ID, "u", flag); + ZCL_SET_RFID_COMMAND_ID, "uuu", userStatus, userType, id); -/** @brief Command description for EstablishmentResponse +/** @brief Command description for GetRfid * - * Command: EstablishmentResponse - * @param ackNack ENUM8 + * Command: GetRfid + * @param userId INT16U */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterEstablishmentResponse(ackNack) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterGetRfid(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_ESTABLISHMENT_RESPONSE_COMMAND_ID, "u", ackNack); + ZCL_GET_RFID_COMMAND_ID, "u", userId); -/** @brief Command description for EstablishmentRequest +/** @brief Command description for GetRfidResponse * - * Command: EstablishmentRequest - * @param codecType ENUM8 + * Command: GetRfidResponse + * @param userId INT16U + * @param userStatus DoorLockUserStatus + * @param userType DoorLockUserType + * @param rfid CHAR_STRING */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterEstablishmentRequest(codecType) \ +#define emberAfFillCommandDoor \ + LockClusterGetRfidResponse(userId, userStatus, userType, rfid) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ESTABLISHMENT_REQUEST_COMMAND_ID, "u", codecType); + ZCL_GET_RFID_RESPONSE_COMMAND_ID, "uuuu", userId, userStatus, userType, rfid); -/** @brief Command description for EstablishmentResponse +/** @brief Command description for ClearRfid * - * Command: EstablishmentResponse - * @param codecType ENUM8 + * Command: ClearRfid + * @param userId INT16U */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterEstablishmentResponse(codecType) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearRfid(userId) emberAfFillExternalBuffer(mask, \ \ - ZCL_ESTABLISHMENT_RESPONSE_COMMAND_ID, "u", codecType); + ZCL_CLEAR_RFID_COMMAND_ID, "u", userId); -/** @brief Command description for EstablishmentRequest +/** @brief Command description for ClearRfidResponse * - * Command: EstablishmentRequest - * @param sampFreq ENUM8 - * @param codecRate ENUM8 - * @param serviceType ENUM8 - * @param buffer INT8U [] - * @param bufferLen int + * Command: ClearRfidResponse + * @param status INT8U */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterEstablishmentRequest(sampFreq, codecRate, serviceType, buffer, bufferLen) emberAfFillExternalBuffer( \ - mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearRfidResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_ESTABLISHMENT_REQUEST_COMMAND_ID, "uuub", sampFreq, codecRate, serviceType, buffer, bufferLen); + ZCL_CLEAR_RFID_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for VoiceTransmission +/** @brief Command description for ClearAllRfids * - * Command: VoiceTransmission - * @param voiceData INT8U [] - * @param voiceDataLen int + * Command: ClearAllRfids */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterVoiceTransmission(voiceData, voiceDataLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearAllRfids() emberAfFillExternalBuffer(mask, \ \ - ZCL_VOICE_TRANSMISSION_COMMAND_ID, "b", voiceData, voiceDataLen); + ZCL_CLEAR_ALL_RFIDS_COMMAND_ID, "", ); -/** @brief Command description for VoiceTransmissionResponse +/** @brief Command description for ClearAllRfidsResponse * - * Command: VoiceTransmissionResponse - * @param sequenceNumber INT8U - * @param errorFlag ENUM8 + * Command: ClearAllRfidsResponse + * @param status INT8U */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterVoiceTransmissionResponse(sequenceNumber, errorFlag) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterClearAllRfidsResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_VOICE_TRANSMISSION_RESPONSE_COMMAND_ID, "uu", sequenceNumber, errorFlag); + ZCL_CLEAR_ALL_RFIDS_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for VoiceTransmissionCompletion +/** @brief Command description for OperationEventNotification * - * Command: VoiceTransmissionCompletion + * Command: OperationEventNotification + * @param source INT8U + * @param eventCode DoorLockOperationEventCode + * @param userId INT16U + * @param pin CHAR_STRING + * @param timeStamp INT32U + * @param data CHAR_STRING */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterVoiceTransmissionCompletion() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterOperationEventNotification(source, eventCode, userId, pin, timeStamp, data) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_VOICE_TRANSMISSION_COMPLETION_COMMAND_ID, "", ); + ZCL_OPERATION_EVENT_NOTIFICATION_COMMAND_ID, "uuuuuu", source, eventCode, userId, pin, timeStamp, data); -/** @brief Command description for Control +/** @brief Command description for ProgrammingEventNotification * - * Command: Control - * @param controlType ENUM8 + * Command: ProgrammingEventNotification + * @param source INT8U + * @param eventCode DoorLockProgrammingEventCode + * @param userId INT16U + * @param pin CHAR_STRING + * @param userType DoorLockUserType + * @param userStatus DoorLockUserStatus + * @param timeStamp INT32U + * @param data CHAR_STRING */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterControl(controlType) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandDoor \ + LockClusterProgrammingEventNotification(source, eventCode, userId, pin, userType, userStatus, timeStamp, data) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_CONTROL_COMMAND_ID, "u", controlType); + ZCL_PROGRAMMING_EVENT_NOTIFICATION_COMMAND_ID, "uuuuuuuu", source, eventCode, userId, pin, \ + userType, userStatus, timeStamp, data); -/** @brief Command description for ControlResponse +/** @brief Command description for WindowCoveringUpOpen * - * Command: ControlResponse - * @param ackNack ENUM8 + * Command: WindowCoveringUpOpen */ -#define emberAfFillCommandVoice \ - over ZigBeeClusterControlResponse(ackNack) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringUpOpen() emberAfFillExternalBuffer(mask, \ \ - ZCL_CONTROL_RESPONSE_COMMAND_ID, "u", ackNack); + ZCL_WINDOW_COVERING_UP_OPEN_COMMAND_ID, "", ); -/** @brief Command description for JoinChatRequest +/** @brief Command description for WindowCoveringDownClose * - * Command: JoinChatRequest - * @param uid INT16U + * Command: WindowCoveringDownClose */ -#define emberAfFillCommandChattingClusterJoinChatRequest(uid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringDownClose() emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_CHAT_REQUEST_COMMAND_ID, "u", uid); + ZCL_WINDOW_COVERING_DOWN_CLOSE_COMMAND_ID, "", ); -/** @brief Command description for StartChatResponse +/** @brief Command description for WindowCoveringStop * - * Command: StartChatResponse - * @param status ENUM8 + * Command: WindowCoveringStop */ -#define emberAfFillCommandChattingClusterStartChatResponse(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringStop() emberAfFillExternalBuffer(mask, \ \ - ZCL_START_CHAT_RESPONSE_COMMAND_ID, "u", status); + ZCL_WINDOW_COVERING_STOP_COMMAND_ID, "", ); -/** @brief Command description for JoinChatRequest +/** @brief Command description for WindowCoveringGoToLiftValue * - * Command: JoinChatRequest - * @param nickname CHAR_STRING + * Command: WindowCoveringGoToLiftValue + * @param liftValue INT16U */ -#define emberAfFillCommandChattingClusterJoinChatRequest(nickname) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringGoToLiftValue(liftValue) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_CHAT_REQUEST_COMMAND_ID, "u", nickname); + ZCL_WINDOW_COVERING_GO_TO_LIFT_VALUE_COMMAND_ID, "u", liftValue); -/** @brief Command description for StartChatResponse +/** @brief Command description for WindowCoveringGoToLiftPercentage * - * Command: StartChatResponse - * @param cid INT16U + * Command: WindowCoveringGoToLiftPercentage + * @param percentageLiftValue INT8U */ -#define emberAfFillCommandChattingClusterStartChatResponse(cid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringGoToLiftPercentage(percentageLiftValue) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_START_CHAT_RESPONSE_COMMAND_ID, "u", cid); + ZCL_WINDOW_COVERING_GO_TO_LIFT_PERCENTAGE_COMMAND_ID, "u", percentageLiftValue); -/** @brief Command description for JoinChatRequest +/** @brief Command description for WindowCoveringGoToTiltValue * - * Command: JoinChatRequest - * @param cid INT16U + * Command: WindowCoveringGoToTiltValue + * @param tiltValue INT16U */ -#define emberAfFillCommandChattingClusterJoinChatRequest(cid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringGoToTiltValue(tiltValue) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_CHAT_REQUEST_COMMAND_ID, "u", cid); + ZCL_WINDOW_COVERING_GO_TO_TILT_VALUE_COMMAND_ID, "u", tiltValue); -/** @brief Command description for LeaveChatRequest +/** @brief Command description for WindowCoveringGoToTiltPercentage * - * Command: LeaveChatRequest - * @param cid INT16U + * Command: WindowCoveringGoToTiltPercentage + * @param percentageTiltValue INT8U */ -#define emberAfFillCommandChattingClusterLeaveChatRequest(cid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandWindow \ + CoveringClusterWindowCoveringGoToTiltPercentage(percentageTiltValue) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_LEAVE_CHAT_REQUEST_COMMAND_ID, "u", cid); + ZCL_WINDOW_COVERING_GO_TO_TILT_PERCENTAGE_COMMAND_ID, "u", percentageTiltValue); -/** @brief Command description for JoinChatResponse +/** @brief Command description for BarrierControlGoToPercent * - * Command: JoinChatResponse - * @param status ENUM8 + * Command: BarrierControlGoToPercent + * @param percentOpen INT8U */ -#define emberAfFillCommandChattingClusterJoinChatResponse(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBarrier \ + ControlClusterBarrierControlGoToPercent(percentOpen) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_CHAT_RESPONSE_COMMAND_ID, "u", status); + ZCL_BARRIER_CONTROL_GO_TO_PERCENT_COMMAND_ID, "u", percentOpen); -/** @brief Command description for LeaveChatRequest +/** @brief Command description for BarrierControlStop * - * Command: LeaveChatRequest - * @param uid INT16U + * Command: BarrierControlStop */ -#define emberAfFillCommandChattingClusterLeaveChatRequest(uid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBarrier \ + ControlClusterBarrierControlStop() emberAfFillExternalBuffer(mask, \ \ - ZCL_LEAVE_CHAT_REQUEST_COMMAND_ID, "u", uid); + ZCL_BARRIER_CONTROL_STOP_COMMAND_ID, "", ); -/** @brief Command description for JoinChatResponse +/** @brief Command description for SetpointRaiseLower * - * Command: JoinChatResponse - * @param cid INT16U - * @param chatParticipantList ChatParticipant [] - * @param chatParticipantListLen int + * Command: SetpointRaiseLower + * @param mode SetpointAdjustMode */ -#define emberAfFillCommandChattingClusterJoinChatResponse(cid, chatParticipantList, chatParticipantListLen) \ +#define emberAfFillCommandThermostatClusterSetpointRaiseLower(mode) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_JOIN_CHAT_RESPONSE_COMMAND_ID, "ub", cid, chatParticipantList, chatParticipantListLen); + ZCL_SETPOINT_RAISE_LOWER_COMMAND_ID, "u", mode); -/** @brief Command description for SearchChatRequest +/** @brief Command description for CurrentWeeklySchedule * - * Command: SearchChatRequest + * Command: CurrentWeeklySchedule + * @param numberOfTransitionsForSequence ENUM8 */ -#define emberAfFillCommandChattingClusterSearchChatRequest() \ +#define emberAfFillCommandThermostatClusterCurrentWeeklySchedule(numberOfTransitionsForSequence) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SEARCH_CHAT_REQUEST_COMMAND_ID, "", ); + ZCL_CURRENT_WEEKLY_SCHEDULE_COMMAND_ID, "u", numberOfTransitionsForSequence); -/** @brief Command description for UserLeft +/** @brief Command description for SetpointRaiseLower * - * Command: UserLeft - * @param cid INT16U - * @param uid INT16U - * @param nickname CHAR_STRING + * Command: SetpointRaiseLower + * @param amount INT8S */ -#define emberAfFillCommandChattingClusterUserLeft(cid, uid, nickname) \ +#define emberAfFillCommandThermostatClusterSetpointRaiseLower(amount) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_USER_LEFT_COMMAND_ID, "uuu", cid, uid, nickname); + ZCL_SETPOINT_RAISE_LOWER_COMMAND_ID, "u", amount); -/** @brief Command description for SwitchChairmanResponse +/** @brief Command description for CurrentWeeklySchedule * - * Command: SwitchChairmanResponse - * @param cid INT16U + * Command: CurrentWeeklySchedule + * @param dayOfWeekForSequence DayOfWeek + * @param modeForSequence ModeForSequence + * @param payload INT8U [] + * @param payloadLen int */ -#define emberAfFillCommandChattingClusterSwitchChairmanResponse(cid) \ +#define emberAfFillCommandThermostatClusterCurrentWeeklySchedule(dayOfWeekForSequence, modeForSequence, payload, payloadLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SWITCH_CHAIRMAN_RESPONSE_COMMAND_ID, "u", cid); + ZCL_CURRENT_WEEKLY_SCHEDULE_COMMAND_ID, "uub", dayOfWeekForSequence, modeForSequence, payload, \ + payloadLen); -/** @brief Command description for UserJoined +/** @brief Command description for SetWeeklySchedule * - * Command: UserJoined - * @param cid INT16U + * Command: SetWeeklySchedule + * @param numberOfTransitionsForSequence ENUM8 */ -#define emberAfFillCommandChattingClusterUserJoined(cid) \ +#define emberAfFillCommandThermostatClusterSetWeeklySchedule(numberOfTransitionsForSequence) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_USER_JOINED_COMMAND_ID, "u", cid); + ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "u", numberOfTransitionsForSequence); -/** @brief Command description for SwitchChairmanResponse +/** @brief Command description for RelayStatusLog * - * Command: SwitchChairmanResponse - * @param uid INT16U + * Command: RelayStatusLog + * @param timeOfDay INT16U */ -#define emberAfFillCommandChattingClusterSwitchChairmanResponse(uid) \ +#define emberAfFillCommandThermostatClusterRelayStatusLog(timeOfDay) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SWITCH_CHAIRMAN_RESPONSE_COMMAND_ID, "u", uid); + ZCL_RELAY_STATUS_LOG_COMMAND_ID, "u", timeOfDay); -/** @brief Command description for UserJoined +/** @brief Command description for SetWeeklySchedule * - * Command: UserJoined - * @param uid INT16U - * @param nickname CHAR_STRING + * Command: SetWeeklySchedule + * @param dayOfWeekForSequence DayOfWeek */ -#define emberAfFillCommandChattingClusterUserJoined(uid, nickname) \ +#define emberAfFillCommandThermostatClusterSetWeeklySchedule(dayOfWeekForSequence) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_USER_JOINED_COMMAND_ID, "uu", uid, nickname); + ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "u", dayOfWeekForSequence); -/** @brief Command description for StartChatRequest +/** @brief Command description for RelayStatusLog * - * Command: StartChatRequest - * @param name CHAR_STRING + * Command: RelayStatusLog + * @param relayStatus BITMAP16 */ -#define emberAfFillCommandChattingClusterStartChatRequest(name) \ +#define emberAfFillCommandThermostatClusterRelayStatusLog(relayStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_START_CHAT_REQUEST_COMMAND_ID, "u", name); + ZCL_RELAY_STATUS_LOG_COMMAND_ID, "u", relayStatus); -/** @brief Command description for SearchChatResponse +/** @brief Command description for SetWeeklySchedule * - * Command: SearchChatResponse - * @param options BITMAP8 + * Command: SetWeeklySchedule + * @param modeForSequence ModeForSequence */ -#define emberAfFillCommandChattingClusterSearchChatResponse(options) \ +#define emberAfFillCommandThermostatClusterSetWeeklySchedule(modeForSequence) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SEARCH_CHAT_RESPONSE_COMMAND_ID, "u", options); + ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "u", modeForSequence); -/** @brief Command description for StartChatRequest +/** @brief Command description for RelayStatusLog * - * Command: StartChatRequest - * @param uid INT16U + * Command: RelayStatusLog + * @param localTemperature INT16S */ -#define emberAfFillCommandChattingClusterStartChatRequest(uid) \ +#define emberAfFillCommandThermostatClusterRelayStatusLog(localTemperature) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_START_CHAT_REQUEST_COMMAND_ID, "u", uid); + ZCL_RELAY_STATUS_LOG_COMMAND_ID, "u", localTemperature); -/** @brief Command description for SearchChatResponse +/** @brief Command description for SetWeeklySchedule * - * Command: SearchChatResponse - * @param chatRoomList ChatRoom [] - * @param chatRoomListLen int + * Command: SetWeeklySchedule + * @param payload INT8U [] + * @param payloadLen int */ -#define emberAfFillCommandChattingClusterSearchChatResponse(chatRoomList, chatRoomListLen) \ +#define emberAfFillCommandThermostatClusterSetWeeklySchedule(payload, payloadLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SEARCH_CHAT_RESPONSE_COMMAND_ID, "b", chatRoomList, chatRoomListLen); + ZCL_SET_WEEKLY_SCHEDULE_COMMAND_ID, "b", payload, payloadLen); -/** @brief Command description for StartChatRequest +/** @brief Command description for RelayStatusLog * - * Command: StartChatRequest - * @param nickname CHAR_STRING + * Command: RelayStatusLog + * @param humidityInPercentage INT8U + * @param setpoint INT16S + * @param unreadEntries INT16U */ -#define emberAfFillCommandChattingClusterStartChatRequest(nickname) \ +#define emberAfFillCommandThermostatClusterRelayStatusLog(humidityInPercentage, setpoint, unreadEntries) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_START_CHAT_REQUEST_COMMAND_ID, "u", nickname); + ZCL_RELAY_STATUS_LOG_COMMAND_ID, "uuu", humidityInPercentage, setpoint, unreadEntries); -/** @brief Command description for ChatMessage +/** @brief Command description for GetWeeklySchedule * - * Command: ChatMessage - * @param destinationUid INT16U + * Command: GetWeeklySchedule + * @param daysToReturn DayOfWeek + * @param modeToReturn ModeForSequence */ -#define emberAfFillCommandChattingClusterChatMessage(destinationUid) \ +#define emberAfFillCommandThermostatClusterGetWeeklySchedule(daysToReturn, modeToReturn) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_CHAT_MESSAGE_COMMAND_ID, "u", destinationUid); + ZCL_GET_WEEKLY_SCHEDULE_COMMAND_ID, "uu", daysToReturn, modeToReturn); -/** @brief Command description for SwitchChairmanRequest +/** @brief Command description for ClearWeeklySchedule * - * Command: SwitchChairmanRequest - * @param cid INT16U + * Command: ClearWeeklySchedule */ -#define emberAfFillCommandChattingClusterSwitchChairmanRequest(cid) \ +#define emberAfFillCommandThermostatClusterClearWeeklySchedule() \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SWITCH_CHAIRMAN_REQUEST_COMMAND_ID, "u", cid); + ZCL_CLEAR_WEEKLY_SCHEDULE_COMMAND_ID, "", ); -/** @brief Command description for ChatMessage +/** @brief Command description for GetRelayStatusLog * - * Command: ChatMessage - * @param sourceUid INT16U - * @param cid INT16U - * @param nickname CHAR_STRING - * @param message CHAR_STRING + * Command: GetRelayStatusLog */ -#define emberAfFillCommandChattingClusterChatMessage(sourceUid, cid, nickname, message) \ +#define emberAfFillCommandThermostatClusterGetRelayStatusLog() \ emberAfFillExternalBuffer(mask, \ \ - ZCL_CHAT_MESSAGE_COMMAND_ID, "uuuu", sourceUid, cid, nickname, message); + ZCL_GET_RELAY_STATUS_LOG_COMMAND_ID, "", ); -/** @brief Command description for GetNodeInformationRequest +/** @brief Command description for MoveToHue * - * Command: GetNodeInformationRequest - * @param cid INT16U + * Command: MoveToHue + * @param hue INT8U + * @param direction HueDirection + * @param transitionTime INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandChattingClusterGetNodeInformationRequest(cid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveToHue(hue, direction, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_GET_NODE_INFORMATION_REQUEST_COMMAND_ID, "u", cid); + ZCL_MOVE_TO_HUE_COMMAND_ID, "uuuuu", hue, direction, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for SwitchChairmanConfirm +/** @brief Command description for MoveHue * - * Command: SwitchChairmanConfirm - * @param cid INT16U + * Command: MoveHue + * @param moveMode HueMoveMode + * @param rate INT8U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandChattingClusterSwitchChairmanConfirm(cid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveHue(moveMode, rate, optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SWITCH_CHAIRMAN_CONFIRM_COMMAND_ID, "u", cid); + ZCL_MOVE_HUE_COMMAND_ID, "uuuu", moveMode, rate, optionsMask, optionsOverride); -/** @brief Command description for GetNodeInformationRequest +/** @brief Command description for StepHue * - * Command: GetNodeInformationRequest - * @param uid INT16U + * Command: StepHue + * @param stepMode HueStepMode + * @param stepSize INT8U + * @param transitionTime INT8U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandChattingClusterGetNodeInformationRequest(uid) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterStepHue(stepMode, stepSize, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_GET_NODE_INFORMATION_REQUEST_COMMAND_ID, "u", uid); + ZCL_STEP_HUE_COMMAND_ID, "uuuuu", stepMode, stepSize, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for SwitchChairmanConfirm +/** @brief Command description for MoveToSaturation * - * Command: SwitchChairmanConfirm - * @param nodeInformationList NodeInformation [] - * @param nodeInformationListLen int + * Command: MoveToSaturation + * @param saturation INT8U + * @param transitionTime INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandChattingClusterSwitchChairmanConfirm(nodeInformationList, nodeInformationListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveToSaturation(saturation, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_SWITCH_CHAIRMAN_CONFIRM_COMMAND_ID, "b", nodeInformationList, nodeInformationListLen); + ZCL_MOVE_TO_SATURATION_COMMAND_ID, "uuuu", saturation, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for SwitchChairmanNotification +/** @brief Command description for MoveSaturation * - * Command: SwitchChairmanNotification - * @param cid INT16U - * @param uid INT16U - * @param address DATA16 - * @param endpoint INT8U + * Command: MoveSaturation + * @param moveMode SaturationMoveMode + * @param rate INT8U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandChattingClusterSwitchChairmanNotification(cid, uid, address, endpoint) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveSaturation(moveMode, rate, optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SWITCH_CHAIRMAN_NOTIFICATION_COMMAND_ID, "uuuu", cid, uid, address, endpoint); + ZCL_MOVE_SATURATION_COMMAND_ID, "uuuu", moveMode, rate, optionsMask, optionsOverride); -/** @brief Command description for GetNodeInformationResponse +/** @brief Command description for StepSaturation * - * Command: GetNodeInformationResponse - * @param status ENUM8 - * @param cid INT16U - * @param uid INT16U - * @param addressEndpointAndNickname INT8U [] - * @param addressEndpointAndNicknameLen int + * Command: StepSaturation + * @param stepMode SaturationStepMode + * @param stepSize INT8U + * @param transitionTime INT8U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandChattingClusterGetNodeInformationResponse(status, cid, uid, addressEndpointAndNickname, \ - addressEndpointAndNicknameLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterStepSaturation(stepMode, stepSize, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_GET_NODE_INFORMATION_RESPONSE_COMMAND_ID, "uuub", status, cid, uid, addressEndpointAndNickname, \ - addressEndpointAndNicknameLen); + ZCL_STEP_SATURATION_COMMAND_ID, "uuuuu", stepMode, stepSize, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for BuyRequest +/** @brief Command description for MoveToHueAndSaturation * - * Command: BuyRequest - * @param userId OCTET_STRING + * Command: MoveToHueAndSaturation + * @param hue INT8U + * @param saturation INT8U + * @param transitionTime INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterBuyRequest(userId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveToHueAndSaturation(hue, saturation, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_BUY_REQUEST_COMMAND_ID, "u", userId); + ZCL_MOVE_TO_HUE_AND_SATURATION_COMMAND_ID, "uuuuu", hue, saturation, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for BuyConfirm +/** @brief Command description for MoveToColor * - * Command: BuyConfirm - * @param serialNumber OCTET_STRING + * Command: MoveToColor + * @param colorX INT16U + * @param colorY INT16U + * @param transitionTime INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterBuyConfirm(serialNumber) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveToColor(colorX, colorY, transitionTime, optionsMask, optionsOverride) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_BUY_CONFIRM_COMMAND_ID, "u", serialNumber); + ZCL_MOVE_TO_COLOR_COMMAND_ID, "uuuuu", colorX, colorY, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for BuyRequest +/** @brief Command description for MoveColor * - * Command: BuyRequest - * @param userType INT16U + * Command: MoveColor + * @param rateX INT16S + * @param rateY INT16S + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterBuyRequest(userType) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveColor(rateX, rateY, optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BUY_REQUEST_COMMAND_ID, "u", userType); + ZCL_MOVE_COLOR_COMMAND_ID, "uuuu", rateX, rateY, optionsMask, optionsOverride); -/** @brief Command description for BuyConfirm +/** @brief Command description for StepColor * - * Command: BuyConfirm - * @param currency INT32U + * Command: StepColor + * @param stepX INT16S + * @param stepY INT16S + * @param transitionTime INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterBuyConfirm(currency) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterStepColor(stepX, stepY, transitionTime, optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BUY_CONFIRM_COMMAND_ID, "u", currency); + ZCL_STEP_COLOR_COMMAND_ID, "uuuuu", stepX, stepY, transitionTime, optionsMask, optionsOverride); -/** @brief Command description for BuyRequest +/** @brief Command description for MoveToColorTemperature * - * Command: BuyRequest - * @param serviceId INT16U + * Command: MoveToColorTemperature + * @param colorTemperature INT16U + * @param transitionTime INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterBuyRequest(serviceId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveToColorTemperature(colorTemperature, transitionTime, optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BUY_REQUEST_COMMAND_ID, "u", serviceId); + ZCL_MOVE_TO_COLOR_TEMPERATURE_COMMAND_ID, "uuuu", colorTemperature, transitionTime, optionsMask, \ + optionsOverride); -/** @brief Command description for BuyConfirm +/** @brief Command description for EnhancedMoveToHue * - * Command: BuyConfirm - * @param priceTrailingDigit INT8U + * Command: EnhancedMoveToHue + * @param enhancedHue INT16U + * @param direction HueDirection + * @param transitionTime INT16U */ -#define emberAfFillCommandPaymentClusterBuyConfirm(priceTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterEnhancedMoveToHue(enhancedHue, direction, transitionTime) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BUY_CONFIRM_COMMAND_ID, "u", priceTrailingDigit); + ZCL_ENHANCED_MOVE_TO_HUE_COMMAND_ID, "uuu", enhancedHue, direction, transitionTime); -/** @brief Command description for BuyRequest +/** @brief Command description for EnhancedMoveHue * - * Command: BuyRequest - * @param goodId OCTET_STRING + * Command: EnhancedMoveHue + * @param moveMode HueMoveMode + * @param rate INT16U */ -#define emberAfFillCommandPaymentClusterBuyRequest(goodId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterEnhancedMoveHue(moveMode, rate) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BUY_REQUEST_COMMAND_ID, "u", goodId); + ZCL_ENHANCED_MOVE_HUE_COMMAND_ID, "uu", moveMode, rate); -/** @brief Command description for BuyConfirm +/** @brief Command description for EnhancedStepHue * - * Command: BuyConfirm - * @param price INT32U - * @param timestamp OCTET_STRING - * @param transId INT16U - * @param transStatus ENUM8 + * Command: EnhancedStepHue + * @param stepMode HueStepMode + * @param stepSize INT16U + * @param transitionTime INT16U */ -#define emberAfFillCommandPaymentClusterBuyConfirm(price, timestamp, transId, transStatus) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterEnhancedStepHue(stepMode, stepSize, transitionTime) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BUY_CONFIRM_COMMAND_ID, "uuuu", price, timestamp, transId, transStatus); + ZCL_ENHANCED_STEP_HUE_COMMAND_ID, "uuu", stepMode, stepSize, transitionTime); -/** @brief Command description for AcceptPayment +/** @brief Command description for EnhancedMoveToHueAndSaturation * - * Command: AcceptPayment - * @param userId OCTET_STRING + * Command: EnhancedMoveToHueAndSaturation + * @param enhancedHue INT16U + * @param saturation INT8U + * @param transitionTime INT16U */ -#define emberAfFillCommandPaymentClusterAcceptPayment(userId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterEnhancedMoveToHueAndSaturation(enhancedHue, saturation, transitionTime) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_ACCEPT_PAYMENT_COMMAND_ID, "u", userId); + ZCL_ENHANCED_MOVE_TO_HUE_AND_SATURATION_COMMAND_ID, "uuu", enhancedHue, saturation, transitionTime); -/** @brief Command description for ReceiptDelivery +/** @brief Command description for ColorLoopSet * - * Command: ReceiptDelivery - * @param serialNumber OCTET_STRING + * Command: ColorLoopSet + * @param updateFlags ColorLoopUpdateFlags + * @param action ColorLoopAction + * @param direction ColorLoopDirection + * @param time INT16U + * @param startHue INT16U */ -#define emberAfFillCommandPaymentClusterReceiptDelivery(serialNumber) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterColorLoopSet(updateFlags, action, direction, time, startHue) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RECEIPT_DELIVERY_COMMAND_ID, "u", serialNumber); + ZCL_COLOR_LOOP_SET_COMMAND_ID, "uuuuu", updateFlags, action, direction, time, startHue); -/** @brief Command description for AcceptPayment +/** @brief Command description for StopMoveStep * - * Command: AcceptPayment - * @param userType INT16U + * Command: StopMoveStep + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterAcceptPayment(userType) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterStopMoveStep(optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ACCEPT_PAYMENT_COMMAND_ID, "u", userType); + ZCL_STOP_MOVE_STEP_COMMAND_ID, "uu", optionsMask, optionsOverride); -/** @brief Command description for ReceiptDelivery +/** @brief Command description for MoveColorTemperature * - * Command: ReceiptDelivery - * @param currency INT32U + * Command: MoveColorTemperature + * @param moveMode HueMoveMode + * @param rate INT16U + * @param colorTemperatureMinimum INT16U + * @param colorTemperatureMaximum INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterReceiptDelivery(currency) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterMoveColorTemperature(moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, \ + optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RECEIPT_DELIVERY_COMMAND_ID, "u", currency); + ZCL_MOVE_COLOR_TEMPERATURE_COMMAND_ID, "uuuuuu", moveMode, rate, colorTemperatureMinimum, \ + colorTemperatureMaximum, optionsMask, optionsOverride); -/** @brief Command description for AcceptPayment +/** @brief Command description for StepColorTemperature * - * Command: AcceptPayment - * @param serviceId INT16U + * Command: StepColorTemperature + * @param stepMode HueStepMode + * @param stepSize INT16U + * @param transitionTime INT16U + * @param colorTemperatureMinimum INT16U + * @param colorTemperatureMaximum INT16U + * @param optionsMask BITMAP8 + * @param optionsOverride BITMAP8 */ -#define emberAfFillCommandPaymentClusterAcceptPayment(serviceId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandColor \ + ControlClusterStepColorTemperature(stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, \ + optionsMask, optionsOverride) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ACCEPT_PAYMENT_COMMAND_ID, "u", serviceId); + ZCL_STEP_COLOR_TEMPERATURE_COMMAND_ID, "uuuuuuu", stepMode, stepSize, transitionTime, \ + colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride); -/** @brief Command description for ReceiptDelivery +/** @brief Command description for ZoneEnrollResponse * - * Command: ReceiptDelivery - * @param priceTrailingDigit INT8U + * Command: ZoneEnrollResponse + * @param enrollResponseCode IasEnrollResponseCode */ -#define emberAfFillCommandPaymentClusterReceiptDelivery(priceTrailingDigit) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterZoneEnrollResponse(enrollResponseCode) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_RECEIPT_DELIVERY_COMMAND_ID, "u", priceTrailingDigit); + ZCL_ZONE_ENROLL_RESPONSE_COMMAND_ID, "u", enrollResponseCode); -/** @brief Command description for AcceptPayment +/** @brief Command description for ZoneStatusChangeNotification * - * Command: AcceptPayment - * @param goodId OCTET_STRING + * Command: ZoneStatusChangeNotification + * @param zoneStatus IasZoneStatus */ -#define emberAfFillCommandPaymentClusterAcceptPayment(goodId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterZoneStatusChangeNotification(zoneStatus) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ACCEPT_PAYMENT_COMMAND_ID, "u", goodId); + ZCL_ZONE_STATUS_CHANGE_NOTIFICATION_COMMAND_ID, "u", zoneStatus); -/** @brief Command description for ReceiptDelivery +/** @brief Command description for ZoneEnrollResponse * - * Command: ReceiptDelivery - * @param price INT32U - * @param timestamp OCTET_STRING + * Command: ZoneEnrollResponse + * @param zoneId INT8U */ -#define emberAfFillCommandPaymentClusterReceiptDelivery(price, timestamp) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterZoneEnrollResponse(zoneId) emberAfFillExternalBuffer(mask, \ \ - ZCL_RECEIPT_DELIVERY_COMMAND_ID, "uu", price, timestamp); + ZCL_ZONE_ENROLL_RESPONSE_COMMAND_ID, "u", zoneId); -/** @brief Command description for PaymentConfirm +/** @brief Command description for ZoneStatusChangeNotification * - * Command: PaymentConfirm - * @param serialNumber OCTET_STRING + * Command: ZoneStatusChangeNotification + * @param extendedStatus BITMAP8 + * @param zoneId INT8U + * @param delay INT16U */ -#define emberAfFillCommandPaymentClusterPaymentConfirm(serialNumber) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterZoneStatusChangeNotification(extendedStatus, zoneId, delay) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_PAYMENT_CONFIRM_COMMAND_ID, "u", serialNumber); + ZCL_ZONE_STATUS_CHANGE_NOTIFICATION_COMMAND_ID, "uuu", extendedStatus, zoneId, delay); -/** @brief Command description for TransactionEnd +/** @brief Command description for InitiateNormalOperationMode * - * Command: TransactionEnd - * @param serialNumber OCTET_STRING + * Command: InitiateNormalOperationMode */ -#define emberAfFillCommandPaymentClusterTransactionEnd(serialNumber) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterInitiateNormalOperationMode() emberAfFillExternalBuffer(mask, \ \ - ZCL_TRANSACTION_END_COMMAND_ID, "u", serialNumber); + ZCL_INITIATE_NORMAL_OPERATION_MODE_COMMAND_ID, "", ); -/** @brief Command description for PaymentConfirm +/** @brief Command description for ZoneEnrollRequest * - * Command: PaymentConfirm - * @param transId INT16U + * Command: ZoneEnrollRequest + * @param zoneType IasZoneType + * @param manufacturerCode INT16U */ -#define emberAfFillCommandPaymentClusterPaymentConfirm(transId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterZoneEnrollRequest(zoneType, manufacturerCode) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_PAYMENT_CONFIRM_COMMAND_ID, "u", transId); + ZCL_ZONE_ENROLL_REQUEST_COMMAND_ID, "uu", zoneType, manufacturerCode); -/** @brief Command description for TransactionEnd +/** @brief Command description for InitiateNormalOperationModeResponse * - * Command: TransactionEnd - * @param status ENUM8 + * Command: InitiateNormalOperationModeResponse */ -#define emberAfFillCommandPaymentClusterTransactionEnd(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterInitiateNormalOperationModeResponse() \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_TRANSACTION_END_COMMAND_ID, "u", status); + ZCL_INITIATE_NORMAL_OPERATION_MODE_RESPONSE_COMMAND_ID, "", ); -/** @brief Command description for PaymentConfirm +/** @brief Command description for InitiateTestMode * - * Command: PaymentConfirm - * @param transStatus ENUM8 + * Command: InitiateTestMode + * @param testModeDuration INT8U + * @param currentZoneSensitivityLevel INT8U */ -#define emberAfFillCommandPaymentClusterPaymentConfirm(transStatus) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterInitiateTestMode(testModeDuration, currentZoneSensitivityLevel) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_PAYMENT_CONFIRM_COMMAND_ID, "u", transStatus); + ZCL_INITIATE_TEST_MODE_COMMAND_ID, "uu", testModeDuration, currentZoneSensitivityLevel); -/** @brief Command description for Subscribe +/** @brief Command description for InitiateTestModeResponse * - * Command: Subscribe - * @param userId OCTET_STRING + * Command: InitiateTestModeResponse */ -#define emberAfFillCommandBillingClusterSubscribe(userId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ZoneClusterInitiateTestModeResponse() emberAfFillExternalBuffer(mask, \ \ - ZCL_SUBSCRIBE_COMMAND_ID, "u", userId); + ZCL_INITIATE_TEST_MODE_RESPONSE_COMMAND_ID, "", ); -/** @brief Command description for CheckBillStatus +/** @brief Command description for Arm * - * Command: CheckBillStatus - * @param userId OCTET_STRING + * Command: Arm + * @param armMode IasAceArmMode */ -#define emberAfFillCommandBillingClusterCheckBillStatus(userId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterArm(armMode) emberAfFillExternalBuffer(mask, \ \ - ZCL_CHECK_BILL_STATUS_COMMAND_ID, "u", userId); + ZCL_ARM_COMMAND_ID, "u", armMode); -/** @brief Command description for Subscribe +/** @brief Command description for ArmResponse * - * Command: Subscribe - * @param serviceId INT16U + * Command: ArmResponse + * @param armNotification IasAceArmNotification */ -#define emberAfFillCommandBillingClusterSubscribe(serviceId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterArmResponse(armNotification) emberAfFillExternalBuffer(mask, \ \ - ZCL_SUBSCRIBE_COMMAND_ID, "u", serviceId); + ZCL_ARM_RESPONSE_COMMAND_ID, "u", armNotification); -/** @brief Command description for CheckBillStatus +/** @brief Command description for Arm * - * Command: CheckBillStatus - * @param serviceId INT16U + * Command: Arm + * @param armDisarmCode CHAR_STRING + * @param zoneId INT8U */ -#define emberAfFillCommandBillingClusterCheckBillStatus(serviceId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterArm(armDisarmCode, zoneId) emberAfFillExternalBuffer(mask, \ \ - ZCL_CHECK_BILL_STATUS_COMMAND_ID, "u", serviceId); + ZCL_ARM_COMMAND_ID, "uu", armDisarmCode, zoneId); -/** @brief Command description for Subscribe +/** @brief Command description for Bypass * - * Command: Subscribe - * @param serviceProviderId INT16U + * Command: Bypass + * @param numberOfZones INT8U */ -#define emberAfFillCommandBillingClusterSubscribe(serviceProviderId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterBypass(numberOfZones) emberAfFillExternalBuffer(mask, \ \ - ZCL_SUBSCRIBE_COMMAND_ID, "u", serviceProviderId); + ZCL_BYPASS_COMMAND_ID, "u", numberOfZones); -/** @brief Command description for CheckBillStatus +/** @brief Command description for GetZoneIdMapResponse * - * Command: CheckBillStatus - * @param serviceProviderId INT16U + * Command: GetZoneIdMapResponse + * @param section0 BITMAP16 */ -#define emberAfFillCommandBillingClusterCheckBillStatus(serviceProviderId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneIdMapResponse(section0) emberAfFillExternalBuffer(mask, \ \ - ZCL_CHECK_BILL_STATUS_COMMAND_ID, "u", serviceProviderId); + ZCL_GET_ZONE_ID_MAP_RESPONSE_COMMAND_ID, "u", section0); -/** @brief Command description for Unsubscribe +/** @brief Command description for Bypass * - * Command: Unsubscribe - * @param userId OCTET_STRING + * Command: Bypass + * @param zoneIds INT8U [] + * @param zoneIdsLen int */ -#define emberAfFillCommandBillingClusterUnsubscribe(userId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterBypass(zoneIds, zoneIdsLen) emberAfFillExternalBuffer(mask, \ \ - ZCL_UNSUBSCRIBE_COMMAND_ID, "u", userId); + ZCL_BYPASS_COMMAND_ID, "b", zoneIds, zoneIdsLen); -/** @brief Command description for SendBillRecord +/** @brief Command description for GetZoneIdMapResponse * - * Command: SendBillRecord - * @param userId OCTET_STRING + * Command: GetZoneIdMapResponse + * @param section1 BITMAP16 */ -#define emberAfFillCommandBillingClusterSendBillRecord(userId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneIdMapResponse(section1) emberAfFillExternalBuffer(mask, \ \ - ZCL_SEND_BILL_RECORD_COMMAND_ID, "u", userId); + ZCL_GET_ZONE_ID_MAP_RESPONSE_COMMAND_ID, "u", section1); -/** @brief Command description for Unsubscribe +/** @brief Command description for Bypass * - * Command: Unsubscribe - * @param serviceId INT16U + * Command: Bypass + * @param armDisarmCode CHAR_STRING */ -#define emberAfFillCommandBillingClusterUnsubscribe(serviceId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterBypass(armDisarmCode) emberAfFillExternalBuffer(mask, \ \ - ZCL_UNSUBSCRIBE_COMMAND_ID, "u", serviceId); + ZCL_BYPASS_COMMAND_ID, "u", armDisarmCode); -/** @brief Command description for SendBillRecord +/** @brief Command description for GetZoneIdMapResponse * - * Command: SendBillRecord - * @param serviceId INT16U + * Command: GetZoneIdMapResponse + * @param section2 BITMAP16 + * @param section3 BITMAP16 + * @param section4 BITMAP16 + * @param section5 BITMAP16 + * @param section6 BITMAP16 + * @param section7 BITMAP16 + * @param section8 BITMAP16 + * @param section9 BITMAP16 + * @param section10 BITMAP16 + * @param section11 BITMAP16 + * @param section12 BITMAP16 + * @param section13 BITMAP16 + * @param section14 BITMAP16 + * @param section15 BITMAP16 */ -#define emberAfFillCommandBillingClusterSendBillRecord(serviceId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneIdMapResponse(section2, section3, section4, section5, section6, section7, section8, section9, section10, \ + section11, section12, section13, section14, section15) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SEND_BILL_RECORD_COMMAND_ID, "u", serviceId); + ZCL_GET_ZONE_ID_MAP_RESPONSE_COMMAND_ID, "uuuuuuuuuuuuuu", section2, section3, section4, \ + section5, section6, section7, section8, section9, section10, section11, section12, section13, \ + section14, section15); -/** @brief Command description for Unsubscribe +/** @brief Command description for Emergency * - * Command: Unsubscribe - * @param serviceProviderId INT16U + * Command: Emergency */ -#define emberAfFillCommandBillingClusterUnsubscribe(serviceProviderId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterEmergency() emberAfFillExternalBuffer(mask, \ \ - ZCL_UNSUBSCRIBE_COMMAND_ID, "u", serviceProviderId); + ZCL_EMERGENCY_COMMAND_ID, "", ); -/** @brief Command description for SendBillRecord +/** @brief Command description for GetZoneInformationResponse * - * Command: SendBillRecord - * @param serviceProviderId INT16U - * @param timestamp OCTET_STRING - * @param duration INT16U + * Command: GetZoneInformationResponse + * @param zoneId INT8U + * @param zoneType IasZoneType + * @param ieeeAddress node_id + * @param zoneLabel CHAR_STRING */ -#define emberAfFillCommandBillingClusterSendBillRecord(serviceProviderId, timestamp, duration) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneInformationResponse(zoneId, zoneType, ieeeAddress, zoneLabel) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SEND_BILL_RECORD_COMMAND_ID, "uuu", serviceProviderId, timestamp, duration); + ZCL_GET_ZONE_INFORMATION_RESPONSE_COMMAND_ID, "uuuu", zoneId, zoneType, ieeeAddress, zoneLabel); -/** @brief Command description for StartBillingSession +/** @brief Command description for Fire * - * Command: StartBillingSession - * @param userId OCTET_STRING - * @param serviceId INT16U - * @param serviceProviderId INT16U + * Command: Fire */ -#define emberAfFillCommandBillingClusterStartBillingSession(userId, serviceId, serviceProviderId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterFire() emberAfFillExternalBuffer(mask, \ \ - ZCL_START_BILLING_SESSION_COMMAND_ID, "uuu", userId, serviceId, serviceProviderId); + ZCL_FIRE_COMMAND_ID, "", ); -/** @brief Command description for StopBillingSession +/** @brief Command description for ZoneStatusChanged * - * Command: StopBillingSession - * @param userId OCTET_STRING - * @param serviceId INT16U - * @param serviceProviderId INT16U + * Command: ZoneStatusChanged + * @param zoneId INT8U + * @param zoneStatus ENUM16 + * @param audibleNotification IasAceAudibleNotification + * @param zoneLabel CHAR_STRING */ -#define emberAfFillCommandBillingClusterStopBillingSession(userId, serviceId, serviceProviderId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterZoneStatusChanged(zoneId, zoneStatus, audibleNotification, zoneLabel) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_STOP_BILLING_SESSION_COMMAND_ID, "uuu", userId, serviceId, serviceProviderId); + ZCL_ZONE_STATUS_CHANGED_COMMAND_ID, "uuuu", zoneId, zoneStatus, audibleNotification, zoneLabel); -/** @brief Command description for BillStatusNotification +/** @brief Command description for Panic * - * Command: BillStatusNotification - * @param userId OCTET_STRING - * @param status ENUM8 + * Command: Panic */ -#define emberAfFillCommandBillingClusterBillStatusNotification(userId, status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterPanic() emberAfFillExternalBuffer(mask, \ \ - ZCL_BILL_STATUS_NOTIFICATION_COMMAND_ID, "uu", userId, status); + ZCL_PANIC_COMMAND_ID, "", ); -/** @brief Command description for SessionKeepAlive +/** @brief Command description for PanelStatusChanged * - * Command: SessionKeepAlive - * @param userId OCTET_STRING - * @param serviceId INT16U - * @param serviceProviderId INT16U + * Command: PanelStatusChanged + * @param panelStatus IasAcePanelStatus + * @param secondsRemaining INT8U + * @param audibleNotification IasAceAudibleNotification + * @param alarmStatus IasAceAlarmStatus */ -#define emberAfFillCommandBillingClusterSessionKeepAlive(userId, serviceId, serviceProviderId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterPanelStatusChanged(panelStatus, secondsRemaining, audibleNotification, alarmStatus) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_SESSION_KEEP_ALIVE_COMMAND_ID, "uuu", userId, serviceId, serviceProviderId); + ZCL_PANEL_STATUS_CHANGED_COMMAND_ID, "uuuu", panelStatus, secondsRemaining, audibleNotification, alarmStatus); -/** @brief Command description for GetAlerts +/** @brief Command description for GetZoneIdMap * - * Command: GetAlerts + * Command: GetZoneIdMap */ -#define emberAfFillCommandAppliance \ - Events and AlertClusterGetAlerts() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneIdMap() emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_ALERTS_COMMAND_ID, "", ); + ZCL_GET_ZONE_ID_MAP_COMMAND_ID, "", ); -/** @brief Command description for GetAlertsResponse +/** @brief Command description for GetPanelStatusResponse * - * Command: GetAlertsResponse - * @param alertsCount AlertCount - * @param alertStructures AlertStructure [] - * @param alertStructuresLen int + * Command: GetPanelStatusResponse + * @param panelStatus IasAcePanelStatus + * @param secondsRemaining INT8U + * @param audibleNotification IasAceAudibleNotification + * @param alarmStatus IasAceAlarmStatus */ -#define emberAfFillCommandAppliance \ - Events and AlertClusterGetAlertsResponse(alertsCount, alertStructures, alertStructuresLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetPanelStatusResponse(panelStatus, secondsRemaining, audibleNotification, alarmStatus) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_GET_ALERTS_RESPONSE_COMMAND_ID, "ub", alertsCount, alertStructures, alertStructuresLen); + ZCL_GET_PANEL_STATUS_RESPONSE_COMMAND_ID, "uuuu", panelStatus, secondsRemaining, audibleNotification, alarmStatus); -/** @brief Command description for AlertsNotification +/** @brief Command description for GetZoneInformation * - * Command: AlertsNotification - * @param alertsCount AlertCount - * @param alertStructures AlertStructure [] - * @param alertStructuresLen int + * Command: GetZoneInformation + * @param zoneId INT8U */ -#define emberAfFillCommandAppliance \ - Events and AlertClusterAlertsNotification(alertsCount, alertStructures, alertStructuresLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneInformation(zoneId) emberAfFillExternalBuffer(mask, \ \ - ZCL_ALERTS_NOTIFICATION_COMMAND_ID, "ub", alertsCount, alertStructures, alertStructuresLen); + ZCL_GET_ZONE_INFORMATION_COMMAND_ID, "u", zoneId); -/** @brief Command description for EventsNotification +/** @brief Command description for SetBypassedZoneList * - * Command: EventsNotification - * @param eventHeader INT8U - * @param eventId EventIdentification + * Command: SetBypassedZoneList + * @param numberOfZones INT8U + * @param zoneIds INT8U [] + * @param zoneIdsLen int */ -#define emberAfFillCommandAppliance \ - Events and AlertClusterEventsNotification(eventHeader, eventId) \ +#define emberAfFillCommandIAS \ + ACEClusterSetBypassedZoneList(numberOfZones, zoneIds, zoneIdsLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_EVENTS_NOTIFICATION_COMMAND_ID, "uu", eventHeader, eventId); + ZCL_SET_BYPASSED_ZONE_LIST_COMMAND_ID, "ub", numberOfZones, zoneIds, zoneIdsLen); -/** @brief Command description for LogNotification +/** @brief Command description for GetPanelStatus * - * Command: LogNotification - * @param timeStamp TIME_OF_DAY + * Command: GetPanelStatus */ -#define emberAfFillCommandAppliance \ - StatisticsClusterLogNotification(timeStamp) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetPanelStatus() emberAfFillExternalBuffer(mask, \ \ - ZCL_LOG_NOTIFICATION_COMMAND_ID, "u", timeStamp); + ZCL_GET_PANEL_STATUS_COMMAND_ID, "", ); -/** @brief Command description for LogRequest +/** @brief Command description for BypassResponse * - * Command: LogRequest - * @param logId INT32U + * Command: BypassResponse + * @param numberOfZones INT8U + * @param bypassResult IasAceBypassResult [] + * @param bypassResultLen int */ -#define emberAfFillCommandAppliance \ - StatisticsClusterLogRequest(logId) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterBypassResponse(numberOfZones, bypassResult, bypassResultLen) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_LOG_REQUEST_COMMAND_ID, "u", logId); + ZCL_BYPASS_RESPONSE_COMMAND_ID, "ub", numberOfZones, bypassResult, bypassResultLen); -/** @brief Command description for LogNotification +/** @brief Command description for GetBypassedZoneList * - * Command: LogNotification - * @param logId INT32U - * @param logLength INT32U - * @param logPayload INT8U [] - * @param logPayloadLen int + * Command: GetBypassedZoneList */ -#define emberAfFillCommandAppliance \ - StatisticsClusterLogNotification(logId, logLength, logPayload, logPayloadLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetBypassedZoneList() emberAfFillExternalBuffer(mask, \ \ - ZCL_LOG_NOTIFICATION_COMMAND_ID, "uub", logId, logLength, logPayload, logPayloadLen); + ZCL_GET_BYPASSED_ZONE_LIST_COMMAND_ID, "", ); -/** @brief Command description for LogQueueRequest +/** @brief Command description for GetZoneStatusResponse * - * Command: LogQueueRequest + * Command: GetZoneStatusResponse + * @param zoneStatusComplete BOOLEAN + * @param numberOfZones INT8U + * @param zoneStatusResult IasAceZoneStatusResult [] + * @param zoneStatusResultLen int */ -#define emberAfFillCommandAppliance \ - StatisticsClusterLogQueueRequest() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneStatusResponse(zoneStatusComplete, numberOfZones, zoneStatusResult, zoneStatusResultLen) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_LOG_QUEUE_REQUEST_COMMAND_ID, "", ); + ZCL_GET_ZONE_STATUS_RESPONSE_COMMAND_ID, "uub", zoneStatusComplete, numberOfZones, \ + zoneStatusResult, zoneStatusResultLen); -/** @brief Command description for LogResponse +/** @brief Command description for GetZoneStatus * - * Command: LogResponse - * @param timeStamp TIME_OF_DAY - * @param logId INT32U - * @param logLength INT32U - * @param logPayload INT8U [] - * @param logPayloadLen int - */ -#define emberAfFillCommandAppliance \ - StatisticsClusterLogResponse(timeStamp, logId, logLength, logPayload, logPayloadLen) \ - emberAfFillExternalBuffer(mask, \ + * Command: GetZoneStatus + * @param startingZoneId INT8U + * @param maxNumberOfZoneIds INT8U + * @param zoneStatusMaskFlag BOOLEAN + * @param zoneStatusMask BITMAP16 + */ +#define emberAfFillCommandIAS \ + ACEClusterGetZoneStatus(startingZoneId, maxNumberOfZoneIds, zoneStatusMaskFlag, zoneStatusMask) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_LOG_RESPONSE_COMMAND_ID, "uuub", timeStamp, logId, logLength, logPayload, logPayloadLen); + ZCL_GET_ZONE_STATUS_COMMAND_ID, "uuuu", startingZoneId, maxNumberOfZoneIds, zoneStatusMaskFlag, zoneStatusMask); -/** @brief Command description for LogQueueResponse +/** @brief Command description for StartWarning * - * Command: LogQueueResponse - * @param logQueueSize INT8U - * @param logIds INT32U [] - * @param logIdsLen int + * Command: StartWarning + * @param warningInfo WarningInfo + * @param warningDuration INT16U + * @param strobeDutyCycle INT8U + * @param strobeLevel ENUM8 */ -#define emberAfFillCommandAppliance \ - StatisticsClusterLogQueueResponse(logQueueSize, logIds, logIdsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + WDClusterStartWarning(warningInfo, warningDuration, strobeDutyCycle, strobeLevel) emberAfFillExternalBuffer( \ + mask, \ \ - ZCL_LOG_QUEUE_RESPONSE_COMMAND_ID, "ub", logQueueSize, logIds, logIdsLen); + ZCL_START_WARNING_COMMAND_ID, "uuuu", warningInfo, warningDuration, strobeDutyCycle, strobeLevel); -/** @brief Command description for StatisticsAvailable +/** @brief Command description for Squawk * - * Command: StatisticsAvailable - * @param logQueueSize INT8U - * @param logIds INT32U [] - * @param logIdsLen int + * Command: Squawk + * @param squawkInfo SquawkInfo */ -#define emberAfFillCommandAppliance \ - StatisticsClusterStatisticsAvailable(logQueueSize, logIds, logIdsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandIAS \ + WDClusterSquawk(squawkInfo) emberAfFillExternalBuffer(mask, \ \ - ZCL_STATISTICS_AVAILABLE_COMMAND_ID, "ub", logQueueSize, logIds, logIdsLen); + ZCL_SQUAWK_COMMAND_ID, "u", squawkInfo); -/** @brief Command description for GetProfileInfoCommand +/** @brief Command description for ChangeChannel * - * Command: GetProfileInfoCommand + * Command: ChangeChannel + * @param match CHAR_STRING */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetProfileInfoCommand() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTV \ + ChannelClusterChangeChannel(match) emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_PROFILE_INFO_COMMAND_COMMAND_ID, "", ); + ZCL_CHANGE_CHANNEL_COMMAND_ID, "u", match); -/** @brief Command description for GetProfileInfoResponseCommand +/** @brief Command description for ChangeChannelResponse * - * Command: GetProfileInfoResponseCommand - * @param profileCount INT8U - * @param profileIntervalPeriod ENUM8 - * @param maxNumberOfIntervals INT8U - * @param listOfAttributes INT16U [] - * @param listOfAttributesLen int + * Command: ChangeChannelResponse + * @param ChannelMatch TvChannelInfo [] + * @param ChannelMatchLen int + * @param ErrorType TvChannelErrorType */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetProfileInfoResponseCommand(profileCount, profileIntervalPeriod, maxNumberOfIntervals, listOfAttributes, \ - listOfAttributesLen) \ +#define emberAfFillCommandTV \ + ChannelClusterChangeChannelResponse(ChannelMatch, ChannelMatchLen, ErrorType) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_PROFILE_INFO_RESPONSE_COMMAND_COMMAND_ID, "uuub", profileCount, profileIntervalPeriod, \ - maxNumberOfIntervals, listOfAttributes, listOfAttributesLen); + ZCL_CHANGE_CHANNEL_RESPONSE_COMMAND_ID, "bu", ChannelMatch, ChannelMatchLen, ErrorType); -/** @brief Command description for GetMeasurementProfileResponseCommand +/** @brief Command description for ChangeChannelByNumber * - * Command: GetMeasurementProfileResponseCommand - * @param startTime INT32U + * Command: ChangeChannelByNumber + * @param majorNumber INT16U + * @param minorNumber INT16U */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileResponseCommand(startTime) \ +#define emberAfFillCommandTV \ + ChannelClusterChangeChannelByNumber(majorNumber, minorNumber) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "u", startTime); + ZCL_CHANGE_CHANNEL_BY_NUMBER_COMMAND_ID, "uu", majorNumber, minorNumber); -/** @brief Command description for GetMeasurementProfileCommand +/** @brief Command description for SkipChannel * - * Command: GetMeasurementProfileCommand - * @param attributeId INT16U + * Command: SkipChannel + * @param Count INT16U */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileCommand(attributeId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTV \ + ChannelClusterSkipChannel(Count) emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID, "u", attributeId); + ZCL_SKIP_CHANNEL_COMMAND_ID, "u", Count); -/** @brief Command description for GetMeasurementProfileResponseCommand +/** @brief Command description for NavigateTarget * - * Command: GetMeasurementProfileResponseCommand - * @param status ENUM8 + * Command: NavigateTarget + * @param target INT8U */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileResponseCommand(status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTarget \ + NavigatorClusterNavigateTarget(target) emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "u", status); + ZCL_NAVIGATE_TARGET_COMMAND_ID, "u", target); -/** @brief Command description for GetMeasurementProfileCommand +/** @brief Command description for NavigateTargetResponse * - * Command: GetMeasurementProfileCommand - * @param startTime INT32U + * Command: NavigateTargetResponse + * @param status NavigateTargetStatus */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileCommand(startTime) \ +#define emberAfFillCommandTarget \ + NavigatorClusterNavigateTargetResponse(status) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID, "u", startTime); + ZCL_NAVIGATE_TARGET_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for GetMeasurementProfileResponseCommand +/** @brief Command description for NavigateTarget * - * Command: GetMeasurementProfileResponseCommand - * @param profileIntervalPeriod ENUM8 + * Command: NavigateTarget + * @param data CHAR_STRING */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileResponseCommand(profileIntervalPeriod) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTarget \ + NavigatorClusterNavigateTarget(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "u", profileIntervalPeriod); + ZCL_NAVIGATE_TARGET_COMMAND_ID, "u", data); -/** @brief Command description for GetMeasurementProfileCommand +/** @brief Command description for NavigateTargetResponse * - * Command: GetMeasurementProfileCommand - * @param numberOfIntervals ENUM8 + * Command: NavigateTargetResponse + * @param data CHAR_STRING */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileCommand(numberOfIntervals) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTarget \ + NavigatorClusterNavigateTargetResponse(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID, "u", numberOfIntervals); + ZCL_NAVIGATE_TARGET_RESPONSE_COMMAND_ID, "u", data); -/** @brief Command description for GetMeasurementProfileResponseCommand +/** @brief Command description for MediaPlay * - * Command: GetMeasurementProfileResponseCommand - * @param numberOfIntervalsDelivered INT8U - * @param attributeId INT16U - * @param intervals INT8U [] - * @param intervalsLen int + * Command: MediaPlay */ -#define emberAfFillCommandElectrical \ - MeasurementClusterGetMeasurementProfileResponseCommand(numberOfIntervalsDelivered, attributeId, intervals, intervalsLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaPlay() emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "uub", numberOfIntervalsDelivered, \ - attributeId, intervals, intervalsLen); + ZCL_MEDIA_PLAY_COMMAND_ID, "", ); -/** @brief Command description for ScanRequest +/** @brief Command description for MediaPlayResponse * - * Command: ScanRequest - * @param transaction INT32U - * @param zigbeeInformation ZigbeeInformation - * @param zllInformation ZllInformation + * Command: MediaPlayResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterScanRequest(transaction, zigbeeInformation, zllInformation) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaPlayResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SCAN_REQUEST_COMMAND_ID, "uuu", transaction, zigbeeInformation, zllInformation); + ZCL_MEDIA_PLAY_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for ScanResponse +/** @brief Command description for MediaPause * - * Command: ScanResponse - * @param transaction INT32U - * @param rssiCorrection INT8U - * @param zigbeeInformation ZigbeeInformation - * @param zllInformation ZllInformation - * @param keyBitmask KeyBitmask - * @param responseId INT32U - * @param extendedPanId IEEE_ADDRESS - * @param networkUpdateId INT8U - * @param logicalChannel INT8U - * @param panId INT16U - * @param networkAddress INT16U - * @param numberOfSubDevices INT8U - * @param totalGroupIds INT8U - * @param endpointId INT8U - * @param profileId INT16U - * @param deviceId INT16U - * @param version INT8U - * @param groupIdCount INT8U + * Command: MediaPause */ -#define emberAfFillCommandZLL \ - CommissioningClusterScanResponse(transaction, rssiCorrection, zigbeeInformation, zllInformation, keyBitmask, responseId, \ - extendedPanId, networkUpdateId, logicalChannel, panId, networkAddress, numberOfSubDevices, \ - totalGroupIds, endpointId, profileId, deviceId, version, groupIdCount) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaPause() emberAfFillExternalBuffer(mask, \ \ - ZCL_SCAN_RESPONSE_COMMAND_ID, "uuuuuuuuuuuuuuuuuu", transaction, rssiCorrection, \ - zigbeeInformation, zllInformation, keyBitmask, responseId, extendedPanId, networkUpdateId, \ - logicalChannel, panId, networkAddress, numberOfSubDevices, totalGroupIds, endpointId, profileId, \ - deviceId, version, groupIdCount); + ZCL_MEDIA_PAUSE_COMMAND_ID, "", ); -/** @brief Command description for DeviceInformationRequest +/** @brief Command description for MediaPauseResponse * - * Command: DeviceInformationRequest - * @param transaction INT32U - * @param startIndex INT8U + * Command: MediaPauseResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterDeviceInformationRequest(transaction, startIndex) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaPauseResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_INFORMATION_REQUEST_COMMAND_ID, "uu", transaction, startIndex); + ZCL_MEDIA_PAUSE_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for DeviceInformationResponse +/** @brief Command description for MediaStop * - * Command: DeviceInformationResponse - * @param transaction INT32U - * @param numberOfSubDevices INT8U - * @param startIndex INT8U - * @param deviceInformationRecordCount INT8U - * @param deviceInformationRecordList DeviceInformationRecord [] - * @param deviceInformationRecordListLen int + * Command: MediaStop */ -#define emberAfFillCommandZLL \ - CommissioningClusterDeviceInformationResponse(transaction, numberOfSubDevices, startIndex, deviceInformationRecordCount, \ - deviceInformationRecordList, deviceInformationRecordListLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaStop() emberAfFillExternalBuffer(mask, \ \ - ZCL_DEVICE_INFORMATION_RESPONSE_COMMAND_ID, "uuuub", transaction, numberOfSubDevices, \ - startIndex, deviceInformationRecordCount, deviceInformationRecordList, \ - deviceInformationRecordListLen); + ZCL_MEDIA_STOP_COMMAND_ID, "", ); -/** @brief Command description for IdentifyRequest +/** @brief Command description for MediaStopResponse * - * Command: IdentifyRequest - * @param transaction INT32U - * @param identifyDuration INT16U + * Command: MediaStopResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterIdentifyRequest(transaction, identifyDuration) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaStopResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_IDENTIFY_REQUEST_COMMAND_ID, "uu", transaction, identifyDuration); + ZCL_MEDIA_STOP_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for ResetToFactoryNewRequest +/** @brief Command description for MediaStartOver * - * Command: ResetToFactoryNewRequest - * @param transaction INT32U + * Command: MediaStartOver */ -#define emberAfFillCommandZLL \ - CommissioningClusterResetToFactoryNewRequest(transaction) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaStartOver() emberAfFillExternalBuffer(mask, \ \ - ZCL_RESET_TO_FACTORY_NEW_REQUEST_COMMAND_ID, "u", transaction); + ZCL_MEDIA_START_OVER_COMMAND_ID, "", ); -/** @brief Command description for NetworkStartRequest +/** @brief Command description for MediaStartOverResponse * - * Command: NetworkStartRequest - * @param transaction INT32U - * @param extendedPanId IEEE_ADDRESS - * @param keyIndex KeyIndex - * @param encryptedNetworkKey SECURITY_KEY - * @param logicalChannel INT8U - * @param panId INT16U - * @param networkAddress INT16U - * @param groupIdentifiersBegin INT16U - * @param groupIdentifiersEnd INT16U - * @param freeNetworkAddressRangeBegin INT16U - * @param freeNetworkAddressRangeEnd INT16U - * @param freeGroupIdentifierRangeBegin INT16U - * @param freeGroupIdentifierRangeEnd INT16U - * @param initiatorIeeeAddress IEEE_ADDRESS - * @param initiatorNetworkAddress INT16U - */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkStartRequest( \ - transaction, extendedPanId, keyIndex, encryptedNetworkKey, logicalChannel, panId, networkAddress, groupIdentifiersBegin, \ - groupIdentifiersEnd, freeNetworkAddressRangeBegin, freeNetworkAddressRangeEnd, freeGroupIdentifierRangeBegin, \ - freeGroupIdentifierRangeEnd, initiatorIeeeAddress, initiatorNetworkAddress) \ + * Command: MediaStartOverResponse + * @param mediaPlaybackStatus MediaPlaybackStatus + */ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaStartOverResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_START_REQUEST_COMMAND_ID, "uuuuuuuuuuuuuuu", transaction, extendedPanId, keyIndex, \ - encryptedNetworkKey, logicalChannel, panId, networkAddress, groupIdentifiersBegin, \ - groupIdentifiersEnd, freeNetworkAddressRangeBegin, freeNetworkAddressRangeEnd, \ - freeGroupIdentifierRangeBegin, freeGroupIdentifierRangeEnd, initiatorIeeeAddress, \ - initiatorNetworkAddress); + ZCL_MEDIA_START_OVER_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for NetworkStartResponse +/** @brief Command description for MediaPrevious * - * Command: NetworkStartResponse - * @param transaction INT32U - * @param status ZllStatus - * @param extendedPanId IEEE_ADDRESS - * @param networkUpdateId INT8U - * @param logicalChannel INT8U - * @param panId INT16U + * Command: MediaPrevious */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkStartResponse(transaction, status, extendedPanId, networkUpdateId, logicalChannel, panId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaPrevious() emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_START_RESPONSE_COMMAND_ID, "uuuuuu", transaction, status, extendedPanId, \ - networkUpdateId, logicalChannel, panId); + ZCL_MEDIA_PREVIOUS_COMMAND_ID, "", ); -/** @brief Command description for NetworkJoinRouterRequest +/** @brief Command description for MediaPreviousResponse * - * Command: NetworkJoinRouterRequest - * @param transaction INT32U - * @param extendedPanId IEEE_ADDRESS - * @param keyIndex KeyIndex - * @param encryptedNetworkKey SECURITY_KEY - * @param networkUpdateId INT8U - * @param logicalChannel INT8U - * @param panId INT16U - * @param networkAddress INT16U - * @param groupIdentifiersBegin INT16U - * @param groupIdentifiersEnd INT16U - * @param freeNetworkAddressRangeBegin INT16U - * @param freeNetworkAddressRangeEnd INT16U - * @param freeGroupIdentifierRangeBegin INT16U - * @param freeGroupIdentifierRangeEnd INT16U + * Command: MediaPreviousResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkJoinRouterRequest(transaction, extendedPanId, keyIndex, encryptedNetworkKey, networkUpdateId, \ - logicalChannel, panId, networkAddress, groupIdentifiersBegin, \ - groupIdentifiersEnd, freeNetworkAddressRangeBegin, freeNetworkAddressRangeEnd, \ - freeGroupIdentifierRangeBegin, freeGroupIdentifierRangeEnd) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaPreviousResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_JOIN_ROUTER_REQUEST_COMMAND_ID, "uuuuuuuuuuuuuu", transaction, extendedPanId, \ - keyIndex, encryptedNetworkKey, networkUpdateId, logicalChannel, panId, networkAddress, \ - groupIdentifiersBegin, groupIdentifiersEnd, freeNetworkAddressRangeBegin, \ - freeNetworkAddressRangeEnd, freeGroupIdentifierRangeBegin, freeGroupIdentifierRangeEnd); + ZCL_MEDIA_PREVIOUS_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for NetworkJoinRouterResponse +/** @brief Command description for MediaNext * - * Command: NetworkJoinRouterResponse - * @param transaction INT32U - * @param status ZllStatus + * Command: MediaNext */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkJoinRouterResponse(transaction, status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaNext() emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_JOIN_ROUTER_RESPONSE_COMMAND_ID, "uu", transaction, status); + ZCL_MEDIA_NEXT_COMMAND_ID, "", ); -/** @brief Command description for NetworkJoinEndDeviceRequest +/** @brief Command description for MediaNextResponse * - * Command: NetworkJoinEndDeviceRequest - * @param transaction INT32U - * @param extendedPanId IEEE_ADDRESS - * @param keyIndex KeyIndex - * @param encryptedNetworkKey SECURITY_KEY - * @param networkUpdateId INT8U - * @param logicalChannel INT8U - * @param panId INT16U - * @param networkAddress INT16U - * @param groupIdentifiersBegin INT16U - * @param groupIdentifiersEnd INT16U - * @param freeNetworkAddressRangeBegin INT16U - * @param freeNetworkAddressRangeEnd INT16U - * @param freeGroupIdentifierRangeBegin INT16U - * @param freeGroupIdentifierRangeEnd INT16U + * Command: MediaNextResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkJoinEndDeviceRequest(transaction, extendedPanId, keyIndex, encryptedNetworkKey, networkUpdateId, \ - logicalChannel, panId, networkAddress, groupIdentifiersBegin, \ - groupIdentifiersEnd, freeNetworkAddressRangeBegin, freeNetworkAddressRangeEnd, \ - freeGroupIdentifierRangeBegin, freeGroupIdentifierRangeEnd) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaNextResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_JOIN_END_DEVICE_REQUEST_COMMAND_ID, "uuuuuuuuuuuuuu", transaction, extendedPanId, \ - keyIndex, encryptedNetworkKey, networkUpdateId, logicalChannel, panId, networkAddress, \ - groupIdentifiersBegin, groupIdentifiersEnd, freeNetworkAddressRangeBegin, \ - freeNetworkAddressRangeEnd, freeGroupIdentifierRangeBegin, freeGroupIdentifierRangeEnd); + ZCL_MEDIA_NEXT_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for NetworkJoinEndDeviceResponse +/** @brief Command description for MediaRewind * - * Command: NetworkJoinEndDeviceResponse - * @param transaction INT32U - * @param status ZllStatus + * Command: MediaRewind */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkJoinEndDeviceResponse(transaction, status) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaRewind() emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_JOIN_END_DEVICE_RESPONSE_COMMAND_ID, "uu", transaction, status); + ZCL_MEDIA_REWIND_COMMAND_ID, "", ); -/** @brief Command description for NetworkUpdateRequest +/** @brief Command description for MediaRewindResponse * - * Command: NetworkUpdateRequest - * @param transaction INT32U - * @param extendedPanId IEEE_ADDRESS - * @param networkUpdateId INT8U - * @param logicalChannel INT8U - * @param panId INT16U - * @param networkAddress INT16U + * Command: MediaRewindResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterNetworkUpdateRequest(transaction, extendedPanId, networkUpdateId, logicalChannel, panId, networkAddress) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaRewindResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_NETWORK_UPDATE_REQUEST_COMMAND_ID, "uuuuuu", transaction, extendedPanId, networkUpdateId, \ - logicalChannel, panId, networkAddress); + ZCL_MEDIA_REWIND_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for EndpointInformation +/** @brief Command description for MediaFastForward * - * Command: EndpointInformation - * @param ieeeAddress IEEE_ADDRESS - * @param networkAddress INT16U - * @param endpointId INT8U - * @param profileId INT16U - * @param deviceId INT16U - * @param version INT8U + * Command: MediaFastForward */ -#define emberAfFillCommandZLL \ - CommissioningClusterEndpointInformation(ieeeAddress, networkAddress, endpointId, profileId, deviceId, version) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaFastForward() emberAfFillExternalBuffer(mask, \ \ - ZCL_ENDPOINT_INFORMATION_COMMAND_ID, "uuuuuu", ieeeAddress, networkAddress, endpointId, \ - profileId, deviceId, version); + ZCL_MEDIA_FAST_FORWARD_COMMAND_ID, "", ); -/** @brief Command description for GetGroupIdentifiersRequest +/** @brief Command description for MediaFastForwardResponse * - * Command: GetGroupIdentifiersRequest - * @param startIndex INT8U + * Command: MediaFastForwardResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterGetGroupIdentifiersRequest(startIndex) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaFastForwardResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_GROUP_IDENTIFIERS_REQUEST_COMMAND_ID, "u", startIndex); + ZCL_MEDIA_FAST_FORWARD_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for GetGroupIdentifiersResponse +/** @brief Command description for MediaSkipForward * - * Command: GetGroupIdentifiersResponse - * @param total INT8U - * @param startIndex INT8U - * @param count INT8U - * @param groupInformationRecordList GroupInformationRecord [] - * @param groupInformationRecordListLen int + * Command: MediaSkipForward + * @param deltaPositionMilliseconds INT64U */ -#define emberAfFillCommandZLL \ - CommissioningClusterGetGroupIdentifiersResponse(total, startIndex, count, groupInformationRecordList, \ - groupInformationRecordListLen) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaSkipForward(deltaPositionMilliseconds) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_GROUP_IDENTIFIERS_RESPONSE_COMMAND_ID, "uuub", total, startIndex, count, \ - groupInformationRecordList, groupInformationRecordListLen); + ZCL_MEDIA_SKIP_FORWARD_COMMAND_ID, "u", deltaPositionMilliseconds); -/** @brief Command description for GetEndpointListRequest +/** @brief Command description for MediaSkipForwardResponse * - * Command: GetEndpointListRequest - * @param startIndex INT8U + * Command: MediaSkipForwardResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandZLL \ - CommissioningClusterGetEndpointListRequest(startIndex) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaSkipForwardResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_ENDPOINT_LIST_REQUEST_COMMAND_ID, "u", startIndex); + ZCL_MEDIA_SKIP_FORWARD_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for GetEndpointListResponse +/** @brief Command description for MediaSkipBackward * - * Command: GetEndpointListResponse - * @param total INT8U - * @param startIndex INT8U - * @param count INT8U - * @param endpointInformationRecordList EndpointInformationRecord [] - * @param endpointInformationRecordListLen int + * Command: MediaSkipBackward + * @param deltaPositionMilliseconds INT64U */ -#define emberAfFillCommandZLL \ - CommissioningClusterGetEndpointListResponse(total, startIndex, count, endpointInformationRecordList, \ - endpointInformationRecordListLen) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaSkipBackward(deltaPositionMilliseconds) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_GET_ENDPOINT_LIST_RESPONSE_COMMAND_ID, "uuub", total, startIndex, count, \ - endpointInformationRecordList, endpointInformationRecordListLen); + ZCL_MEDIA_SKIP_BACKWARD_COMMAND_ID, "u", deltaPositionMilliseconds); -/** @brief Command description for Bind +/** @brief Command description for MediaSkipBackwardResponse * - * Command: Bind - * @param nodeId NODE_ID - * @param groupId GROUP_ID - * @param endpointId ENDPOINT_ID - * @param clusterId CLUSTER_ID + * Command: MediaSkipBackwardResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandBindingClusterBind(nodeId, groupId, endpointId, clusterId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaSkipBackwardResponse(mediaPlaybackStatus) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_BIND_COMMAND_ID, "uuuu", nodeId, groupId, endpointId, clusterId); + ZCL_MEDIA_SKIP_BACKWARD_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for Unbind +/** @brief Command description for MediaSkipSeek * - * Command: Unbind - * @param nodeId NODE_ID - * @param groupId GROUP_ID - * @param endpointId ENDPOINT_ID - * @param clusterId CLUSTER_ID + * Command: MediaSkipSeek + * @param position INT64U */ -#define emberAfFillCommandBindingClusterUnbind(nodeId, groupId, endpointId, clusterId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaSkipSeek(position) emberAfFillExternalBuffer(mask, \ \ - ZCL_UNBIND_COMMAND_ID, "uuuu", nodeId, groupId, endpointId, clusterId); + ZCL_MEDIA_SKIP_SEEK_COMMAND_ID, "u", position); -/** @brief Command description for CommandOne +/** @brief Command description for MediaSkipSeekResponse * - * Command: CommandOne - * @param argOne INT8U - * @param argOne INT8U + * Command: MediaSkipSeekResponse + * @param mediaPlaybackStatus MediaPlaybackStatus */ -#define emberAfFillCommandSample \ - Mfg Specific ClusterClusterCommandOne(argOne, argOne) \ +#define emberAfFillCommandMedia \ + PlaybackClusterMediaSkipSeekResponse(mediaPlaybackStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_COMMAND_ONE_COMMAND_ID, "uu", argOne, argOne); + ZCL_MEDIA_SKIP_SEEK_RESPONSE_COMMAND_ID, "u", mediaPlaybackStatus); -/** @brief Command description for SetToken +/** @brief Command description for SelectInput * - * Command: SetToken - * @param token INT16U + * Command: SelectInput + * @param index INT8U */ -#define emberAfFillCommandConfiguration \ - ClusterClusterSetToken(token) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + InputClusterSelectInput(index) emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_TOKEN_COMMAND_ID, "u", token); + ZCL_SELECT_INPUT_COMMAND_ID, "u", index); -/** @brief Command description for ReturnToken +/** @brief Command description for ShowInputStatus * - * Command: ReturnToken - * @param token INT16U + * Command: ShowInputStatus */ -#define emberAfFillCommandConfiguration \ - ClusterClusterReturnToken(token) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + InputClusterShowInputStatus() emberAfFillExternalBuffer(mask, \ \ - ZCL_RETURN_TOKEN_COMMAND_ID, "u", token); + ZCL_SHOW_INPUT_STATUS_COMMAND_ID, "", ); -/** @brief Command description for SetToken +/** @brief Command description for HideInputStatus * - * Command: SetToken - * @param data OCTET_STRING + * Command: HideInputStatus */ -#define emberAfFillCommandConfiguration \ - ClusterClusterSetToken(data) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + InputClusterHideInputStatus() emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_TOKEN_COMMAND_ID, "u", data); + ZCL_HIDE_INPUT_STATUS_COMMAND_ID, "", ); -/** @brief Command description for ReturnToken +/** @brief Command description for RenameInput * - * Command: ReturnToken - * @param data OCTET_STRING + * Command: RenameInput + * @param index INT8U + * @param name CHAR_STRING */ -#define emberAfFillCommandConfiguration \ - ClusterClusterReturnToken(data) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMedia \ + InputClusterRenameInput(index, name) emberAfFillExternalBuffer(mask, \ \ - ZCL_RETURN_TOKEN_COMMAND_ID, "u", data); + ZCL_RENAME_INPUT_COMMAND_ID, "uu", index, name); -/** @brief Command description for LockTokens +/** @brief Command description for Sleep * - * Command: LockTokens + * Command: Sleep */ -#define emberAfFillCommandConfiguration \ - ClusterClusterLockTokens() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandLow \ + PowerClusterSleep() emberAfFillExternalBuffer(mask, \ \ - ZCL_LOCK_TOKENS_COMMAND_ID, "", ); + ZCL_SLEEP_COMMAND_ID, "", ); -/** @brief Command description for ReadTokens +/** @brief Command description for SendKey * - * Command: ReadTokens - * @param token INT16U + * Command: SendKey + * @param keyCode KeypadInputCecKeyCode */ -#define emberAfFillCommandConfiguration \ - ClusterClusterReadTokens(token) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandKeypad \ + InputClusterSendKey(keyCode) emberAfFillExternalBuffer(mask, \ \ - ZCL_READ_TOKENS_COMMAND_ID, "u", token); + ZCL_SEND_KEY_COMMAND_ID, "u", keyCode); -/** @brief Command description for UnlockTokens +/** @brief Command description for SendKeyResponse * - * Command: UnlockTokens - * @param data OCTET_STRING + * Command: SendKeyResponse + * @param status KeypadInputStatus */ -#define emberAfFillCommandConfiguration \ - ClusterClusterUnlockTokens(data) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandKeypad \ + InputClusterSendKeyResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_UNLOCK_TOKENS_COMMAND_ID, "u", data); + ZCL_SEND_KEY_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for stream +/** @brief Command description for LaunchContent * - * Command: stream - * @param channel INT8U - * @param power INT8S - * @param time INT16U + * Command: LaunchContent + * @param autoPlay BOOLEAN */ -#define emberAfFillCommandMFGLIB \ - ClusterClusterstream(channel, power, time) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchContent(autoPlay) emberAfFillExternalBuffer(mask, \ \ - ZCL_STREAM_COMMAND_ID, "uuu", channel, power, time); + ZCL_LAUNCH_CONTENT_COMMAND_ID, "u", autoPlay); -/** @brief Command description for tone +/** @brief Command description for LaunchContentResponse * - * Command: tone - * @param channel INT8U - * @param power INT8S - * @param time INT16U + * Command: LaunchContentResponse + * @param data CHAR_STRING */ -#define emberAfFillCommandMFGLIB \ - ClusterClustertone(channel, power, time) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchContentResponse(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_TONE_COMMAND_ID, "uuu", channel, power, time); + ZCL_LAUNCH_CONTENT_RESPONSE_COMMAND_ID, "u", data); -/** @brief Command description for rxMode +/** @brief Command description for LaunchContent * - * Command: rxMode - * @param channel INT8U - * @param power INT8S - * @param time INT16U + * Command: LaunchContent + * @param data CHAR_STRING */ -#define emberAfFillCommandMFGLIB \ - ClusterClusterrxMode(channel, power, time) emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchContent(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_RX_MODE_COMMAND_ID, "uuu", channel, power, time); + ZCL_LAUNCH_CONTENT_COMMAND_ID, "u", data); -/** @brief Command description for EnableApsLinkKeyAuthorization +/** @brief Command description for LaunchContentResponse * - * Command: EnableApsLinkKeyAuthorization - * @param numberExemptClusters INT8U + * Command: LaunchContentResponse + * @param contentLaunchStatus ContentLaunchStatus */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableApsLinkKeyAuthorization(numberExemptClusters) \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchContentResponse(contentLaunchStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_APS_LINK_KEY_AUTHORIZATION_COMMAND_ID, "u", numberExemptClusters); + ZCL_LAUNCH_CONTENT_RESPONSE_COMMAND_ID, "u", contentLaunchStatus); -/** @brief Command description for ApsLinkKeyAuthorizationQueryResponse +/** @brief Command description for LaunchURL * - * Command: ApsLinkKeyAuthorizationQueryResponse - * @param clusterId CLUSTER_ID + * Command: LaunchURL + * @param contentURL CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterApsLinkKeyAuthorizationQueryResponse(clusterId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchURL(contentURL) emberAfFillExternalBuffer(mask, \ \ - ZCL_APS_LINK_KEY_AUTHORIZATION_QUERY_RESPONSE_COMMAND_ID, "u", clusterId); + ZCL_LAUNCH_URL_COMMAND_ID, "u", contentURL); -/** @brief Command description for EnableApsLinkKeyAuthorization +/** @brief Command description for LaunchURLResponse * - * Command: EnableApsLinkKeyAuthorization - * @param clusterId CLUSTER_ID [] - * @param clusterIdLen int + * Command: LaunchURLResponse + * @param data CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableApsLinkKeyAuthorization(clusterId, clusterIdLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchURLResponse(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_APS_LINK_KEY_AUTHORIZATION_COMMAND_ID, "b", clusterId, clusterIdLen); + ZCL_LAUNCH_URL_RESPONSE_COMMAND_ID, "u", data); -/** @brief Command description for ApsLinkKeyAuthorizationQueryResponse +/** @brief Command description for LaunchURL * - * Command: ApsLinkKeyAuthorizationQueryResponse - * @param apsLinkKeyAuthStatus BOOLEAN + * Command: LaunchURL + * @param displayString CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterApsLinkKeyAuthorizationQueryResponse(apsLinkKeyAuthStatus) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchURL(displayString) emberAfFillExternalBuffer(mask, \ \ - ZCL_APS_LINK_KEY_AUTHORIZATION_QUERY_RESPONSE_COMMAND_ID, "u", apsLinkKeyAuthStatus); + ZCL_LAUNCH_URL_COMMAND_ID, "u", displayString); -/** @brief Command description for DisableApsLinkKeyAuthorization +/** @brief Command description for LaunchURLResponse * - * Command: DisableApsLinkKeyAuthorization - * @param numberExemptClusters INT8U + * Command: LaunchURLResponse + * @param contentLaunchStatus ContentLaunchStatus */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableApsLinkKeyAuthorization(numberExemptClusters) \ +#define emberAfFillCommandContent \ + LauncherClusterLaunchURLResponse(contentLaunchStatus) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_APS_LINK_KEY_AUTHORIZATION_COMMAND_ID, "u", numberExemptClusters); + ZCL_LAUNCH_URL_RESPONSE_COMMAND_ID, "u", contentLaunchStatus); -/** @brief Command description for PoweringOffNotification +/** @brief Command description for SelectOutput * - * Command: PoweringOffNotification - * @param powerNotificationReason WwahPowerNotificationReason + * Command: SelectOutput + * @param index INT8U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterPoweringOffNotification(powerNotificationReason) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAudio \ + OutputClusterSelectOutput(index) emberAfFillExternalBuffer(mask, \ \ - ZCL_POWERING_OFF_NOTIFICATION_COMMAND_ID, "u", powerNotificationReason); + ZCL_SELECT_OUTPUT_COMMAND_ID, "u", index); -/** @brief Command description for DisableApsLinkKeyAuthorization +/** @brief Command description for RenameOutput * - * Command: DisableApsLinkKeyAuthorization - * @param clusterId CLUSTER_ID [] - * @param clusterIdLen int + * Command: RenameOutput + * @param index INT8U + * @param name CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableApsLinkKeyAuthorization(clusterId, clusterIdLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAudio \ + OutputClusterRenameOutput(index, name) emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_APS_LINK_KEY_AUTHORIZATION_COMMAND_ID, "b", clusterId, clusterIdLen); + ZCL_RENAME_OUTPUT_COMMAND_ID, "uu", index, name); -/** @brief Command description for PoweringOffNotification +/** @brief Command description for LaunchApp * - * Command: PoweringOffNotification - * @param manufacturerId INT16U - * @param manufacturerReasonLength INT8U - * @param manufacturerReason INT8U [] - * @param manufacturerReasonLen int + * Command: LaunchApp + * @param data CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterPoweringOffNotification(manufacturerId, manufacturerReasonLength, manufacturerReason, \ - manufacturerReasonLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandApplication \ + LauncherClusterLaunchApp(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_POWERING_OFF_NOTIFICATION_COMMAND_ID, "uub", manufacturerId, manufacturerReasonLength, \ - manufacturerReason, manufacturerReasonLen); + ZCL_LAUNCH_APP_COMMAND_ID, "u", data); -/** @brief Command description for ApsLinkKeyAuthorizationQuery +/** @brief Command description for LaunchAppResponse * - * Command: ApsLinkKeyAuthorizationQuery - * @param clusterId CLUSTER_ID + * Command: LaunchAppResponse + * @param status ApplicationLauncherStatus */ -#define emberAfFillCommandSL \ - Works With All HubsClusterApsLinkKeyAuthorizationQuery(clusterId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandApplication \ + LauncherClusterLaunchAppResponse(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_APS_LINK_KEY_AUTHORIZATION_QUERY_COMMAND_ID, "u", clusterId); + ZCL_LAUNCH_APP_RESPONSE_COMMAND_ID, "u", status); -/** @brief Command description for PoweringOnNotification +/** @brief Command description for LaunchApp * - * Command: PoweringOnNotification - * @param powerNotificationReason WwahPowerNotificationReason - * @param manufacturerId INT16U - * @param manufacturerReasonLength INT8U - * @param manufacturerReason INT8U [] - * @param manufacturerReasonLen int + * Command: LaunchApp + * @param application ApplicationLauncherApp [] + * @param applicationLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterPoweringOnNotification(powerNotificationReason, manufacturerId, manufacturerReasonLength, \ - manufacturerReason, manufacturerReasonLen) \ +#define emberAfFillCommandApplication \ + LauncherClusterLaunchApp(application, applicationLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_POWERING_ON_NOTIFICATION_COMMAND_ID, "uuub", powerNotificationReason, manufacturerId, \ - manufacturerReasonLength, manufacturerReason, manufacturerReasonLen); + ZCL_LAUNCH_APP_COMMAND_ID, "b", application, applicationLen); -/** @brief Command description for RequestNewApsLinkKey +/** @brief Command description for LaunchAppResponse * - * Command: RequestNewApsLinkKey + * Command: LaunchAppResponse + * @param data CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterRequestNewApsLinkKey() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandApplication \ + LauncherClusterLaunchAppResponse(data) emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_NEW_APS_LINK_KEY_COMMAND_ID, "", ); + ZCL_LAUNCH_APP_RESPONSE_COMMAND_ID, "u", data); -/** @brief Command description for ShortAddressChange +/** @brief Command description for ChangeStatus * - * Command: ShortAddressChange - * @param deviceEui64 IEEE_ADDRESS - * @param deviceShort INT16U + * Command: ChangeStatus + * @param status ApplicationBasicStatus */ -#define emberAfFillCommandSL \ - Works With All HubsClusterShortAddressChange(deviceEui64, deviceShort) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandApplication \ + BasicClusterChangeStatus(status) emberAfFillExternalBuffer(mask, \ \ - ZCL_SHORT_ADDRESS_CHANGE_COMMAND_ID, "uu", deviceEui64, deviceShort); + ZCL_CHANGE_STATUS_COMMAND_ID, "u", status); -/** @brief Command description for EnableWwahAppEventRetryAlgorithm +/** @brief Command description for GetSetupPIN * - * Command: EnableWwahAppEventRetryAlgorithm - * @param firstBackoffTimeSeconds INT8U + * Command: GetSetupPIN + * @param tempAccountIdentifier CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahAppEventRetryAlgorithm(firstBackoffTimeSeconds) \ +#define emberAfFillCommandAccount \ + LoginClusterGetSetupPIN(tempAccountIdentifier) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_APP_EVENT_RETRY_ALGORITHM_COMMAND_ID, "u", firstBackoffTimeSeconds); + ZCL_GET_SETUP_PIN_COMMAND_ID, "u", tempAccountIdentifier); -/** @brief Command description for ApsAckEnablementQueryResponse +/** @brief Command description for GetSetupPINResponse * - * Command: ApsAckEnablementQueryResponse - * @param numberExemptClusters INT8U + * Command: GetSetupPINResponse + * @param setupPIN CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterApsAckEnablementQueryResponse(numberExemptClusters) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAccount \ + LoginClusterGetSetupPINResponse(setupPIN) emberAfFillExternalBuffer(mask, \ \ - ZCL_APS_ACK_ENABLEMENT_QUERY_RESPONSE_COMMAND_ID, "u", numberExemptClusters); + ZCL_GET_SETUP_PIN_RESPONSE_COMMAND_ID, "u", setupPIN); -/** @brief Command description for EnableWwahAppEventRetryAlgorithm +/** @brief Command description for Login * - * Command: EnableWwahAppEventRetryAlgorithm - * @param backoffSeqCommonRatio INT8U + * Command: Login + * @param tempAccountIdentifier CHAR_STRING + * @param setupPIN CHAR_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahAppEventRetryAlgorithm(backoffSeqCommonRatio) \ +#define emberAfFillCommandAccount \ + LoginClusterLogin(tempAccountIdentifier, setupPIN) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_APP_EVENT_RETRY_ALGORITHM_COMMAND_ID, "u", backoffSeqCommonRatio); + ZCL_LOGIN_COMMAND_ID, "uu", tempAccountIdentifier, setupPIN); -/** @brief Command description for ApsAckEnablementQueryResponse +/** @brief Command description for Test * - * Command: ApsAckEnablementQueryResponse - * @param clusterId CLUSTER_ID [] - * @param clusterIdLen int + * Command: Test */ -#define emberAfFillCommandSL \ - Works With All HubsClusterApsAckEnablementQueryResponse(clusterId, clusterIdLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTest \ + ClusterClusterTest() emberAfFillExternalBuffer(mask, \ \ - ZCL_APS_ACK_ENABLEMENT_QUERY_RESPONSE_COMMAND_ID, "b", clusterId, clusterIdLen); + ZCL_TEST_COMMAND_ID, "", ); -/** @brief Command description for EnableWwahAppEventRetryAlgorithm +/** @brief Command description for TestSpecificResponse * - * Command: EnableWwahAppEventRetryAlgorithm - * @param maxBackoffTimeSeconds INT32U - * @param maxRedeliveryAttempts INT8U + * Command: TestSpecificResponse + * @param returnValue INT8U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahAppEventRetryAlgorithm(maxBackoffTimeSeconds, maxRedeliveryAttempts) \ +#define emberAfFillCommandTest \ + ClusterClusterTestSpecificResponse(returnValue) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_APP_EVENT_RETRY_ALGORITHM_COMMAND_ID, "uu", maxBackoffTimeSeconds, \ - maxRedeliveryAttempts); + ZCL_TEST_SPECIFIC_RESPONSE_COMMAND_ID, "u", returnValue); -/** @brief Command description for DisableWwahAppEventRetryAlgorithm +/** @brief Command description for TestNotHandled * - * Command: DisableWwahAppEventRetryAlgorithm + * Command: TestNotHandled */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableWwahAppEventRetryAlgorithm() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTest \ + ClusterClusterTestNotHandled() emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_WWAH_APP_EVENT_RETRY_ALGORITHM_COMMAND_ID, "", ); + ZCL_TEST_NOT_HANDLED_COMMAND_ID, "", ); -/** @brief Command description for PowerDescriptorChange +/** @brief Command description for TestSpecific * - * Command: PowerDescriptorChange - * @param currentPowerMode INT32U - * @param availablePowerSources INT32U - * @param currentPowerSource INT32U - * @param currentPowerSourceLevel INT32U + * Command: TestSpecific */ -#define emberAfFillCommandSL \ - Works With All HubsClusterPowerDescriptorChange(currentPowerMode, availablePowerSources, currentPowerSource, \ - currentPowerSourceLevel) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTest \ + ClusterClusterTestSpecific() emberAfFillExternalBuffer(mask, \ \ - ZCL_POWER_DESCRIPTOR_CHANGE_COMMAND_ID, "uuuu", currentPowerMode, availablePowerSources, \ - currentPowerSource, currentPowerSourceLevel); + ZCL_TEST_SPECIFIC_COMMAND_ID, "", ); -/** @brief Command description for RequestTime +/** @brief Command description for TestUnknownCommand * - * Command: RequestTime + * Command: TestUnknownCommand */ -#define emberAfFillCommandSL \ - Works With All HubsClusterRequestTime() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandTest \ + ClusterClusterTestUnknownCommand() emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUEST_TIME_COMMAND_ID, "", ); + ZCL_TEST_UNKNOWN_COMMAND_COMMAND_ID, "", ); -/** @brief Command description for NewDebugReportNotification +/** @brief Command description for GetLastMessage * - * Command: NewDebugReportNotification - * @param debugReportId INT8U - * @param debugReportSize INT32U + * Command: GetLastMessage */ -#define emberAfFillCommandSL \ - Works With All HubsClusterNewDebugReportNotification(debugReportId, debugReportSize) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterGetLastMessage() \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_NEW_DEBUG_REPORT_NOTIFICATION_COMMAND_ID, "uu", debugReportId, debugReportSize); + ZCL_GET_LAST_MESSAGE_COMMAND_ID, "", ); -/** @brief Command description for EnableWwahRejoinAlgorithm +/** @brief Command description for DisplayMessage * - * Command: EnableWwahRejoinAlgorithm - * @param fastRejoinTimeoutSeconds INT16U + * Command: DisplayMessage + * @param messageId INT32U + * @param messageControl MessagingControlMask + * @param startTime UTC_TIME + * @param durationInMinutes INT16U + * @param message CHAR_STRING + * @param optionalExtendedMessageControl MessagingExtendedControlMask */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahRejoinAlgorithm(fastRejoinTimeoutSeconds) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterDisplayMessage(messageId, messageControl, startTime, durationInMinutes, message, \ + optionalExtendedMessageControl) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_REJOIN_ALGORITHM_COMMAND_ID, "u", fastRejoinTimeoutSeconds); + ZCL_DISPLAY_MESSAGE_COMMAND_ID, "uuuuuu", messageId, messageControl, startTime, durationInMinutes, \ + message, optionalExtendedMessageControl); -/** @brief Command description for DebugReportQueryResponse +/** @brief Command description for CancelMessage * - * Command: DebugReportQueryResponse - * @param debugReportId INT8U + * Command: CancelMessage + * @param messageId INT32U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDebugReportQueryResponse(debugReportId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterCancelMessage(messageId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DEBUG_REPORT_QUERY_RESPONSE_COMMAND_ID, "u", debugReportId); + ZCL_CANCEL_MESSAGE_COMMAND_ID, "u", messageId); -/** @brief Command description for EnableWwahRejoinAlgorithm +/** @brief Command description for MessageConfirmation * - * Command: EnableWwahRejoinAlgorithm - * @param durationBetweenRejoinsSeconds INT16U + * Command: MessageConfirmation + * @param messageId INT32U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahRejoinAlgorithm(durationBetweenRejoinsSeconds) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterMessageConfirmation(messageId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_REJOIN_ALGORITHM_COMMAND_ID, "u", durationBetweenRejoinsSeconds); + ZCL_MESSAGE_CONFIRMATION_COMMAND_ID, "u", messageId); -/** @brief Command description for DebugReportQueryResponse +/** @brief Command description for CancelMessage * - * Command: DebugReportQueryResponse - * @param debugReportData INT8U [] - * @param debugReportDataLen int + * Command: CancelMessage + * @param messageControl MessagingControlMask */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDebugReportQueryResponse(debugReportData, debugReportDataLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterCancelMessage(messageControl) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DEBUG_REPORT_QUERY_RESPONSE_COMMAND_ID, "b", debugReportData, debugReportDataLen); + ZCL_CANCEL_MESSAGE_COMMAND_ID, "u", messageControl); -/** @brief Command description for EnableWwahRejoinAlgorithm +/** @brief Command description for MessageConfirmation * - * Command: EnableWwahRejoinAlgorithm - * @param fastRejoinFirstBackoffSeconds INT16U - * @param maxBackoffTimeSeconds INT16U - * @param maxBackoffIterations INT16U + * Command: MessageConfirmation + * @param confirmationTime UTC_TIME + * @param messageConfirmationControl BITMAP8 + * @param messageResponse OCTET_STRING */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahRejoinAlgorithm(fastRejoinFirstBackoffSeconds, maxBackoffTimeSeconds, \ - maxBackoffIterations) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterMessageConfirmation(confirmationTime, messageConfirmationControl, messageResponse) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_REJOIN_ALGORITHM_COMMAND_ID, "uuu", fastRejoinFirstBackoffSeconds, \ - maxBackoffTimeSeconds, maxBackoffIterations); + ZCL_MESSAGE_CONFIRMATION_COMMAND_ID, "uuu", confirmationTime, messageConfirmationControl, \ + messageResponse); -/** @brief Command description for DisableWwahRejoinAlgorithm +/** @brief Command description for DisplayProtectedMessage * - * Command: DisableWwahRejoinAlgorithm + * Command: DisplayProtectedMessage + * @param messageId INT32U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableWwahRejoinAlgorithm() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterDisplayProtectedMessage(messageId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_WWAH_REJOIN_ALGORITHM_COMMAND_ID, "", ); + ZCL_DISPLAY_PROTECTED_MESSAGE_COMMAND_ID, "u", messageId); -/** @brief Command description for TrustCenterForClusterServerQueryResponse +/** @brief Command description for GetMessageCancellation * - * Command: TrustCenterForClusterServerQueryResponse - * @param numberOfClusters INT8U - * @param clusterId CLUSTER_ID [] - * @param clusterIdLen int + * Command: GetMessageCancellation + * @param earliestImplementationTime UTC_TIME */ -#define emberAfFillCommandSL \ - Works With All HubsClusterTrustCenterForClusterServerQueryResponse(numberOfClusters, clusterId, clusterIdLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterGetMessageCancellation(earliestImplementationTime) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_TRUST_CENTER_FOR_CLUSTER_SERVER_QUERY_RESPONSE_COMMAND_ID, "ub", numberOfClusters, \ - clusterId, clusterIdLen); + ZCL_GET_MESSAGE_CANCELLATION_COMMAND_ID, "u", earliestImplementationTime); -/** @brief Command description for SetIasZoneEnrollmentMethod +/** @brief Command description for DisplayProtectedMessage * - * Command: SetIasZoneEnrollmentMethod - * @param enrollmentMode WwahIasZoneEnrollmentMode + * Command: DisplayProtectedMessage + * @param messageControl MessagingControlMask + * @param startTime UTC_TIME + * @param durationInMinutes INT16U + * @param message CHAR_STRING + * @param optionalExtendedMessageControl MessagingExtendedControlMask */ -#define emberAfFillCommandSL \ - Works With All HubsClusterSetIasZoneEnrollmentMethod(enrollmentMode) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterDisplayProtectedMessage(messageControl, startTime, durationInMinutes, message, \ + optionalExtendedMessageControl) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_IAS_ZONE_ENROLLMENT_METHOD_COMMAND_ID, "u", enrollmentMode); + ZCL_DISPLAY_PROTECTED_MESSAGE_COMMAND_ID, "uuuuu", messageControl, startTime, durationInMinutes, \ + message, optionalExtendedMessageControl); -/** @brief Command description for SurveyBeaconsResponse +/** @brief Command description for CancelAllMessages * - * Command: SurveyBeaconsResponse - * @param numberOfBeacons INT8U - * @param beacon WwahBeaconSurvey [] - * @param beaconLen int + * Command: CancelAllMessages + * @param implementationDateTime UTC_TIME */ -#define emberAfFillCommandSL \ - Works With All HubsClusterSurveyBeaconsResponse(numberOfBeacons, beacon, beaconLen) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandMessagingClusterCancelAllMessages(implementationDateTime) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_SURVEY_BEACONS_RESPONSE_COMMAND_ID, "ub", numberOfBeacons, beacon, beaconLen); + ZCL_CANCEL_ALL_MESSAGES_COMMAND_ID, "u", implementationDateTime); -/** @brief Command description for ClearBindingTable +/** @brief Command description for GetAlerts * - * Command: ClearBindingTable + * Command: GetAlerts */ -#define emberAfFillCommandSL \ - Works With All HubsClusterClearBindingTable() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + Events and AlertClusterGetAlerts() emberAfFillExternalBuffer(mask, \ \ - ZCL_CLEAR_BINDING_TABLE_COMMAND_ID, "", ); + ZCL_GET_ALERTS_COMMAND_ID, "", ); -/** @brief Command description for EnablePeriodicRouterCheckIns +/** @brief Command description for GetAlertsResponse * - * Command: EnablePeriodicRouterCheckIns - * @param checkInInterval INT16U + * Command: GetAlertsResponse + * @param alertsCount AlertCount + * @param alertStructures AlertStructure [] + * @param alertStructuresLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnablePeriodicRouterCheckIns(checkInInterval) \ +#define emberAfFillCommandAppliance \ + Events and AlertClusterGetAlertsResponse(alertsCount, alertStructures, alertStructuresLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_PERIODIC_ROUTER_CHECK_INS_COMMAND_ID, "u", checkInInterval); + ZCL_GET_ALERTS_RESPONSE_COMMAND_ID, "ub", alertsCount, alertStructures, alertStructuresLen); -/** @brief Command description for DisablePeriodicRouterCheckIns +/** @brief Command description for AlertsNotification * - * Command: DisablePeriodicRouterCheckIns + * Command: AlertsNotification + * @param alertsCount AlertCount + * @param alertStructures AlertStructure [] + * @param alertStructuresLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisablePeriodicRouterCheckIns() \ +#define emberAfFillCommandAppliance \ + Events and AlertClusterAlertsNotification(alertsCount, alertStructures, alertStructuresLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_PERIODIC_ROUTER_CHECK_INS_COMMAND_ID, "", ); + ZCL_ALERTS_NOTIFICATION_COMMAND_ID, "ub", alertsCount, alertStructures, alertStructuresLen); -/** @brief Command description for SetMacPollFailureWaitTime +/** @brief Command description for EventsNotification * - * Command: SetMacPollFailureWaitTime - * @param waitTime INT8U + * Command: EventsNotification + * @param eventHeader INT8U + * @param eventId EventIdentification */ -#define emberAfFillCommandSL \ - Works With All HubsClusterSetMacPollFailureWaitTime(waitTime) \ +#define emberAfFillCommandAppliance \ + Events and AlertClusterEventsNotification(eventHeader, eventId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_MAC_POLL_FAILURE_WAIT_TIME_COMMAND_ID, "u", waitTime); + ZCL_EVENTS_NOTIFICATION_COMMAND_ID, "uu", eventHeader, eventId); -/** @brief Command description for SetPendingNetworkUpdate +/** @brief Command description for LogNotification * - * Command: SetPendingNetworkUpdate - * @param channel INT8U - * @param panId INT16U + * Command: LogNotification + * @param timeStamp TIME_OF_DAY */ -#define emberAfFillCommandSL \ - Works With All HubsClusterSetPendingNetworkUpdate(channel, panId) \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + StatisticsClusterLogNotification(timeStamp) emberAfFillExternalBuffer(mask, \ \ - ZCL_SET_PENDING_NETWORK_UPDATE_COMMAND_ID, "uu", channel, panId); + ZCL_LOG_NOTIFICATION_COMMAND_ID, "u", timeStamp); -/** @brief Command description for RequireApsAcksOnUnicasts +/** @brief Command description for LogRequest * - * Command: RequireApsAcksOnUnicasts - * @param numberExemptClusters INT8U - * @param clusterId CLUSTER_ID [] - * @param clusterIdLen int + * Command: LogRequest + * @param logId INT32U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterRequireApsAcksOnUnicasts(numberExemptClusters, clusterId, clusterIdLen) emberAfFillExternalBuffer( \ - mask, \ +#define emberAfFillCommandAppliance \ + StatisticsClusterLogRequest(logId) emberAfFillExternalBuffer(mask, \ \ - ZCL_REQUIRE_APS_ACKS_ON_UNICASTS_COMMAND_ID, "ub", numberExemptClusters, clusterId, clusterIdLen); + ZCL_LOG_REQUEST_COMMAND_ID, "u", logId); -/** @brief Command description for RemoveApsAcksOnUnicastsRequirement +/** @brief Command description for LogNotification * - * Command: RemoveApsAcksOnUnicastsRequirement + * Command: LogNotification + * @param logId INT32U + * @param logLength INT32U + * @param logPayload INT8U [] + * @param logPayloadLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterRemoveApsAcksOnUnicastsRequirement() \ +#define emberAfFillCommandAppliance \ + StatisticsClusterLogNotification(logId, logLength, logPayload, logPayloadLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_REMOVE_APS_ACKS_ON_UNICASTS_REQUIREMENT_COMMAND_ID, "", ); + ZCL_LOG_NOTIFICATION_COMMAND_ID, "uub", logId, logLength, logPayload, logPayloadLen); -/** @brief Command description for ApsAckRequirementQuery +/** @brief Command description for LogQueueRequest * - * Command: ApsAckRequirementQuery + * Command: LogQueueRequest */ -#define emberAfFillCommandSL \ - Works With All HubsClusterApsAckRequirementQuery() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + StatisticsClusterLogQueueRequest() emberAfFillExternalBuffer(mask, \ \ - ZCL_APS_ACK_REQUIREMENT_QUERY_COMMAND_ID, "", ); + ZCL_LOG_QUEUE_REQUEST_COMMAND_ID, "", ); -/** @brief Command description for DebugReportQuery +/** @brief Command description for LogResponse * - * Command: DebugReportQuery - * @param debugReportId INT8U + * Command: LogResponse + * @param timeStamp TIME_OF_DAY + * @param logId INT32U + * @param logLength INT32U + * @param logPayload INT8U [] + * @param logPayloadLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDebugReportQuery(debugReportId) \ +#define emberAfFillCommandAppliance \ + StatisticsClusterLogResponse(timeStamp, logId, logLength, logPayload, logPayloadLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DEBUG_REPORT_QUERY_COMMAND_ID, "u", debugReportId); + ZCL_LOG_RESPONSE_COMMAND_ID, "uuub", timeStamp, logId, logLength, logPayload, logPayloadLen); -/** @brief Command description for SurveyBeacons +/** @brief Command description for LogQueueResponse * - * Command: SurveyBeacons - * @param standardBeacons BOOLEAN + * Command: LogQueueResponse + * @param logQueueSize INT8U + * @param logIds INT32U [] + * @param logIdsLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterSurveyBeacons(standardBeacons) \ +#define emberAfFillCommandAppliance \ + StatisticsClusterLogQueueResponse(logQueueSize, logIds, logIdsLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_SURVEY_BEACONS_COMMAND_ID, "u", standardBeacons); + ZCL_LOG_QUEUE_RESPONSE_COMMAND_ID, "ub", logQueueSize, logIds, logIdsLen); -/** @brief Command description for DisableOtaDowngrades +/** @brief Command description for StatisticsAvailable * - * Command: DisableOtaDowngrades + * Command: StatisticsAvailable + * @param logQueueSize INT8U + * @param logIds INT32U [] + * @param logIdsLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableOtaDowngrades() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandAppliance \ + StatisticsClusterStatisticsAvailable(logQueueSize, logIds, logIdsLen) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_OTA_DOWNGRADES_COMMAND_ID, "", ); + ZCL_STATISTICS_AVAILABLE_COMMAND_ID, "ub", logQueueSize, logIds, logIdsLen); -/** @brief Command description for DisableMgmtLeaveWithoutRejoin +/** @brief Command description for GetProfileInfoCommand * - * Command: DisableMgmtLeaveWithoutRejoin + * Command: GetProfileInfoCommand */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableMgmtLeaveWithoutRejoin() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetProfileInfoCommand() emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_MGMT_LEAVE_WITHOUT_REJOIN_COMMAND_ID, "", ); + ZCL_GET_PROFILE_INFO_COMMAND_COMMAND_ID, "", ); -/** @brief Command description for DisableTouchlinkInterpanMessageSupport +/** @brief Command description for GetProfileInfoResponseCommand * - * Command: DisableTouchlinkInterpanMessageSupport + * Command: GetProfileInfoResponseCommand + * @param profileCount INT8U + * @param profileIntervalPeriod ENUM8 + * @param maxNumberOfIntervals INT8U + * @param listOfAttributes INT16U [] + * @param listOfAttributesLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableTouchlinkInterpanMessageSupport() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetProfileInfoResponseCommand(profileCount, profileIntervalPeriod, maxNumberOfIntervals, listOfAttributes, \ + listOfAttributesLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_TOUCHLINK_INTERPAN_MESSAGE_SUPPORT_COMMAND_ID, "", ); + ZCL_GET_PROFILE_INFO_RESPONSE_COMMAND_COMMAND_ID, "uuub", profileCount, profileIntervalPeriod, \ + maxNumberOfIntervals, listOfAttributes, listOfAttributesLen); -/** @brief Command description for EnableWwahParentClassification +/** @brief Command description for GetMeasurementProfileResponseCommand * - * Command: EnableWwahParentClassification + * Command: GetMeasurementProfileResponseCommand + * @param startTime INT32U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahParentClassification() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileResponseCommand(startTime) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_PARENT_CLASSIFICATION_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "u", startTime); -/** @brief Command description for DisableWwahParentClassification +/** @brief Command description for GetMeasurementProfileCommand * - * Command: DisableWwahParentClassification + * Command: GetMeasurementProfileCommand + * @param attributeId INT16U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableWwahParentClassification() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileCommand(attributeId) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_WWAH_PARENT_CLASSIFICATION_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID, "u", attributeId); -/** @brief Command description for EnableTcSecurityOnNtwkKeyRotation +/** @brief Command description for GetMeasurementProfileResponseCommand * - * Command: EnableTcSecurityOnNtwkKeyRotation + * Command: GetMeasurementProfileResponseCommand + * @param status ENUM8 */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableTcSecurityOnNtwkKeyRotation() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileResponseCommand(status) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_TC_SECURITY_ON_NTWK_KEY_ROTATION_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "u", status); -/** @brief Command description for EnableWwahBadParentRecovery +/** @brief Command description for GetMeasurementProfileCommand * - * Command: EnableWwahBadParentRecovery + * Command: GetMeasurementProfileCommand + * @param startTime INT32U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableWwahBadParentRecovery() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileCommand(startTime) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_WWAH_BAD_PARENT_RECOVERY_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID, "u", startTime); -/** @brief Command description for DisableWwahBadParentRecovery +/** @brief Command description for GetMeasurementProfileResponseCommand * - * Command: DisableWwahBadParentRecovery + * Command: GetMeasurementProfileResponseCommand + * @param profileIntervalPeriod ENUM8 */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableWwahBadParentRecovery() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileResponseCommand(profileIntervalPeriod) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_WWAH_BAD_PARENT_RECOVERY_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "u", profileIntervalPeriod); -/** @brief Command description for EnableConfigurationMode +/** @brief Command description for GetMeasurementProfileCommand * - * Command: EnableConfigurationMode + * Command: GetMeasurementProfileCommand + * @param numberOfIntervals ENUM8 */ -#define emberAfFillCommandSL \ - Works With All HubsClusterEnableConfigurationMode() emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileCommand(numberOfIntervals) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_ENABLE_CONFIGURATION_MODE_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID, "u", numberOfIntervals); -/** @brief Command description for DisableConfigurationMode +/** @brief Command description for GetMeasurementProfileResponseCommand * - * Command: DisableConfigurationMode + * Command: GetMeasurementProfileResponseCommand + * @param numberOfIntervalsDelivered INT8U + * @param attributeId INT16U + * @param intervals INT8U [] + * @param intervalsLen int */ -#define emberAfFillCommandSL \ - Works With All HubsClusterDisableConfigurationMode() \ +#define emberAfFillCommandElectrical \ + MeasurementClusterGetMeasurementProfileResponseCommand(numberOfIntervalsDelivered, attributeId, intervals, intervalsLen) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_DISABLE_CONFIGURATION_MODE_COMMAND_ID, "", ); + ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID, "uub", numberOfIntervalsDelivered, \ + attributeId, intervals, intervalsLen); -/** @brief Command description for UseTrustCenterForClusterServer +/** @brief Command description for Bind * - * Command: UseTrustCenterForClusterServer - * @param numberOfClusters INT8U - * @param clusterId CLUSTER_ID [] - * @param clusterIdLen int + * Command: Bind + * @param nodeId NODE_ID + * @param groupId GROUP_ID + * @param endpointId ENDPOINT_NO + * @param clusterId CLUSTER_ID */ -#define emberAfFillCommandSL \ - Works With All HubsClusterUseTrustCenterForClusterServer(numberOfClusters, clusterId, clusterIdLen) emberAfFillExternalBuffer( \ - mask, \ +#define emberAfFillCommandBindingClusterBind(nodeId, groupId, endpointId, clusterId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_USE_TRUST_CENTER_FOR_CLUSTER_SERVER_COMMAND_ID, "ub", numberOfClusters, clusterId, clusterIdLen); + ZCL_BIND_COMMAND_ID, "uuuu", nodeId, groupId, endpointId, clusterId); -/** @brief Command description for TrustCenterForClusterServerQuery +/** @brief Command description for Unbind * - * Command: TrustCenterForClusterServerQuery + * Command: Unbind + * @param nodeId NODE_ID + * @param groupId GROUP_ID + * @param endpointId ENDPOINT_NO + * @param clusterId CLUSTER_ID */ -#define emberAfFillCommandSL \ - Works With All HubsClusterTrustCenterForClusterServerQuery() \ - emberAfFillExternalBuffer(mask, \ +#define emberAfFillCommandBindingClusterUnbind(nodeId, groupId, endpointId, clusterId) \ + emberAfFillExternalBuffer(mask, \ \ - ZCL_TRUST_CENTER_FOR_CLUSTER_SERVER_QUERY_COMMAND_ID, "", ); + ZCL_UNBIND_COMMAND_ID, "uuuu", nodeId, groupId, endpointId, clusterId); -/** @brief Command description for UseTrustCenterForClusterServerResponse +/** @brief Command description for CommandOne * - * Command: UseTrustCenterForClusterServerResponse - * @param status Status - * @param clusterStatusLength INT8U - * @param clusterStatus WwahClusterStatusToUseTC [] - * @param clusterStatusLen int + * Command: CommandOne + * @param argOne INT8U + * @param argOne INT8U */ -#define emberAfFillCommandSL \ - Works With All HubsClusterUseTrustCenterForClusterServerResponse(status, clusterStatusLength, clusterStatus, clusterStatusLen) \ +#define emberAfFillCommandSample \ + Mfg Specific ClusterClusterCommandOne(argOne, argOne) \ emberAfFillExternalBuffer(mask, \ \ - ZCL_USE_TRUST_CENTER_FOR_CLUSTER_SERVER_RESPONSE_COMMAND_ID, "uub", status, clusterStatusLength, \ - clusterStatus, clusterStatusLen); + ZCL_COMMAND_ONE_COMMAND_ID, "uu", argOne, argOne); diff --git a/src/app/common/gen/cluster-id.h b/src/app/common/gen/cluster-id.h index c94fb889d2acc7..f67cfed2984592 100644 --- a/src/app/common/gen/cluster-id.h +++ b/src/app/common/gen/cluster-id.h @@ -52,21 +52,9 @@ static constexpr chip::ClusterId ZCL_ALARM_CLUSTER_ID = 0x0009; // Definitions for cluster: Time static constexpr chip::ClusterId ZCL_TIME_CLUSTER_ID = 0x000A; -// Definitions for cluster: RSSI Location -static constexpr chip::ClusterId ZCL_RSSI_LOCATION_CLUSTER_ID = 0x000B; - // Definitions for cluster: Binary Input (Basic) static constexpr chip::ClusterId ZCL_BINARY_INPUT_BASIC_CLUSTER_ID = 0x000F; -// Definitions for cluster: Commissioning -static constexpr chip::ClusterId ZCL_COMMISSIONING_CLUSTER_ID = 0x0015; - -// Definitions for cluster: Partition -static constexpr chip::ClusterId ZCL_PARTITION_CLUSTER_ID = 0x0016; - -// Definitions for cluster: Over the Air Bootloading -static constexpr chip::ClusterId ZCL_OTA_BOOTLOAD_CLUSTER_ID = 0x0019; - // Definitions for cluster: Power Profile static constexpr chip::ClusterId ZCL_POWER_PROFILE_CLUSTER_ID = 0x001A; @@ -79,12 +67,6 @@ static constexpr chip::ClusterId ZCL_DESCRIPTOR_CLUSTER_ID = 0x001D; // Definitions for cluster: Poll Control static constexpr chip::ClusterId ZCL_POLL_CONTROL_CLUSTER_ID = 0x0020; -// Definitions for cluster: Green Power -static constexpr chip::ClusterId ZCL_GREEN_POWER_CLUSTER_ID = 0x0021; - -// Definitions for cluster: Keep-Alive -static constexpr chip::ClusterId ZCL_KEEPALIVE_CLUSTER_ID = 0x0025; - // Definitions for cluster: Basic static constexpr chip::ClusterId ZCL_BASIC_CLUSTER_ID = 0x0028; @@ -319,81 +301,9 @@ static constexpr chip::ClusterId ZCL_ACCOUNT_LOGIN_CLUSTER_ID = 0x050E; // Definitions for cluster: Test Cluster static constexpr chip::ClusterId ZCL_TEST_CLUSTER_ID = 0x050F; -// Definitions for cluster: Generic Tunnel -static constexpr chip::ClusterId ZCL_GENERIC_TUNNEL_CLUSTER_ID = 0x0600; - -// Definitions for cluster: BACnet Protocol Tunnel -static constexpr chip::ClusterId ZCL_BACNET_PROTOCOL_TUNNEL_CLUSTER_ID = 0x0601; - -// Definitions for cluster: 11073 Protocol Tunnel -static constexpr chip::ClusterId ZCL_11073_PROTOCOL_TUNNEL_CLUSTER_ID = 0x0614; - -// Definitions for cluster: ISO 7816 Protocol Tunnel -static constexpr chip::ClusterId ZCL_ISO7816_PROTOCOL_TUNNEL_CLUSTER_ID = 0x0615; - -// Definitions for cluster: Price -static constexpr chip::ClusterId ZCL_PRICE_CLUSTER_ID = 0x0700; - -// Definitions for cluster: Demand Response and Load Control -static constexpr chip::ClusterId ZCL_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER_ID = 0x0701; - -// Definitions for cluster: Simple Metering -static constexpr chip::ClusterId ZCL_SIMPLE_METERING_CLUSTER_ID = 0x0702; - // Definitions for cluster: Messaging static constexpr chip::ClusterId ZCL_MESSAGING_CLUSTER_ID = 0x0703; -// Definitions for cluster: Tunneling -static constexpr chip::ClusterId ZCL_TUNNELING_CLUSTER_ID = 0x0704; - -// Definitions for cluster: Prepayment -static constexpr chip::ClusterId ZCL_PREPAYMENT_CLUSTER_ID = 0x0705; - -// Definitions for cluster: Energy Management -static constexpr chip::ClusterId ZCL_ENERGY_MANAGEMENT_CLUSTER_ID = 0x0706; - -// Definitions for cluster: Calendar -static constexpr chip::ClusterId ZCL_CALENDAR_CLUSTER_ID = 0x0707; - -// Definitions for cluster: Device Management -static constexpr chip::ClusterId ZCL_DEVICE_MANAGEMENT_CLUSTER_ID = 0x0708; - -// Definitions for cluster: Events -static constexpr chip::ClusterId ZCL_EVENTS_CLUSTER_ID = 0x0709; - -// Definitions for cluster: MDU Pairing -static constexpr chip::ClusterId ZCL_MDU_PAIRING_CLUSTER_ID = 0x070A; - -// Definitions for cluster: Sub-GHz -static constexpr chip::ClusterId ZCL_SUB_GHZ_CLUSTER_ID = 0x070B; - -// Definitions for cluster: Key Establishment -static constexpr chip::ClusterId ZCL_KEY_ESTABLISHMENT_CLUSTER_ID = 0x0800; - -// Definitions for cluster: Information -static constexpr chip::ClusterId ZCL_INFORMATION_CLUSTER_ID = 0x0900; - -// Definitions for cluster: Data Sharing -static constexpr chip::ClusterId ZCL_DATA_SHARING_CLUSTER_ID = 0x0901; - -// Definitions for cluster: Gaming -static constexpr chip::ClusterId ZCL_GAMING_CLUSTER_ID = 0x0902; - -// Definitions for cluster: Data Rate Control -static constexpr chip::ClusterId ZCL_DATA_RATE_CONTROL_CLUSTER_ID = 0x0903; - -// Definitions for cluster: Voice over ZigBee -static constexpr chip::ClusterId ZCL_VOICE_OVER_ZIGBEE_CLUSTER_ID = 0x0904; - -// Definitions for cluster: Chatting -static constexpr chip::ClusterId ZCL_CHATTING_CLUSTER_ID = 0x0905; - -// Definitions for cluster: Payment -static constexpr chip::ClusterId ZCL_PAYMENT_CLUSTER_ID = 0x0A01; - -// Definitions for cluster: Billing -static constexpr chip::ClusterId ZCL_BILLING_CLUSTER_ID = 0x0A02; - // Definitions for cluster: Appliance Identification static constexpr chip::ClusterId ZCL_APPLIANCE_IDENTIFICATION_CLUSTER_ID = 0x0B00; @@ -409,12 +319,6 @@ static constexpr chip::ClusterId ZCL_APPLIANCE_STATISTICS_CLUSTER_ID = 0x0B03; // Definitions for cluster: Electrical Measurement static constexpr chip::ClusterId ZCL_ELECTRICAL_MEASUREMENT_CLUSTER_ID = 0x0B04; -// Definitions for cluster: Diagnostics -static constexpr chip::ClusterId ZCL_DIAGNOSTICS_CLUSTER_ID = 0x0B05; - -// Definitions for cluster: ZLL Commissioning -static constexpr chip::ClusterId ZCL_ZLL_COMMISSIONING_CLUSTER_ID = 0x1000; - // Definitions for cluster: Binding static constexpr chip::ClusterId ZCL_BINDING_CLUSTER_ID = 0xF000; @@ -426,12 +330,3 @@ static constexpr chip::ClusterId ZCL_SAMPLE_MFG_SPECIFIC_CLUSTER_ID = 0xFC00; // Definitions for cluster: Sample Mfg Specific Cluster 2 static constexpr chip::ClusterId ZCL_SAMPLE_MFG_SPECIFIC_CLUSTER_2_ID = 0xFC00; - -// Definitions for cluster: Configuration Cluster -static constexpr chip::ClusterId ZCL_OTA_CONFIGURATION_CLUSTER_ID = 0xFC01; - -// Definitions for cluster: MFGLIB Cluster -static constexpr chip::ClusterId ZCL_MFGLIB_CLUSTER_ID = 0xFC02; - -// Definitions for cluster: SL Works With All Hubs -static constexpr chip::ClusterId ZCL_SL_WWAH_CLUSTER_ID = 0xFC57; diff --git a/src/app/common/gen/command-id.h b/src/app/common/gen/command-id.h index 491fd977877cda..0dbf65e95dccf3 100644 --- a/src/app/common/gen/command-id.h +++ b/src/app/common/gen/command-id.h @@ -117,52 +117,6 @@ #define ZCL_GET_ALARM_COMMAND_ID (0x02) #define ZCL_RESET_ALARM_LOG_COMMAND_ID (0x03) -// Commands for cluster: RSSI Location -#define ZCL_SET_ABSOLUTE_LOCATION_COMMAND_ID (0x00) -#define ZCL_DEVICE_CONFIGURATION_RESPONSE_COMMAND_ID (0x00) -#define ZCL_SET_DEVICE_CONFIGURATION_COMMAND_ID (0x01) -#define ZCL_LOCATION_DATA_RESPONSE_COMMAND_ID (0x01) -#define ZCL_GET_DEVICE_CONFIGURATION_COMMAND_ID (0x02) -#define ZCL_LOCATION_DATA_NOTIFICATION_COMMAND_ID (0x02) -#define ZCL_GET_LOCATION_DATA_COMMAND_ID (0x03) -#define ZCL_COMPACT_LOCATION_DATA_NOTIFICATION_COMMAND_ID (0x03) -#define ZCL_RSSI_RESPONSE_COMMAND_ID (0x04) -#define ZCL_RSSI_PING_COMMAND_ID (0x04) -#define ZCL_SEND_PINGS_COMMAND_ID (0x05) -#define ZCL_RSSI_REQUEST_COMMAND_ID (0x05) -#define ZCL_ANCHOR_NODE_ANNOUNCE_COMMAND_ID (0x06) -#define ZCL_REPORT_RSSI_MEASUREMENTS_COMMAND_ID (0x06) -#define ZCL_REQUEST_OWN_LOCATION_COMMAND_ID (0x07) - -// Commands for cluster: Commissioning -#define ZCL_RESTART_DEVICE_COMMAND_ID (0x00) -#define ZCL_RESTART_DEVICE_RESPONSE_COMMAND_ID (0x00) -#define ZCL_SAVE_STARTUP_PARAMETERS_COMMAND_ID (0x01) -#define ZCL_SAVE_STARTUP_PARAMETERS_RESPONSE_COMMAND_ID (0x01) -#define ZCL_RESTORE_STARTUP_PARAMETERS_COMMAND_ID (0x02) -#define ZCL_RESTORE_STARTUP_PARAMETERS_RESPONSE_COMMAND_ID (0x02) -#define ZCL_RESET_STARTUP_PARAMETERS_COMMAND_ID (0x03) -#define ZCL_RESET_STARTUP_PARAMETERS_RESPONSE_COMMAND_ID (0x03) - -// Commands for cluster: Partition -#define ZCL_TRANSFER_PARTITIONED_FRAME_COMMAND_ID (0x00) -#define ZCL_MULTIPLE_ACK_COMMAND_ID (0x00) -#define ZCL_READ_HANDSHAKE_PARAM_COMMAND_ID (0x01) -#define ZCL_READ_HANDSHAKE_PARAM_RESPONSE_COMMAND_ID (0x01) -#define ZCL_WRITE_HANDSHAKE_PARAM_COMMAND_ID (0x02) - -// Commands for cluster: Over the Air Bootloading -#define ZCL_IMAGE_NOTIFY_COMMAND_ID (0x00) -#define ZCL_QUERY_NEXT_IMAGE_REQUEST_COMMAND_ID (0x01) -#define ZCL_QUERY_NEXT_IMAGE_RESPONSE_COMMAND_ID (0x02) -#define ZCL_IMAGE_BLOCK_REQUEST_COMMAND_ID (0x03) -#define ZCL_IMAGE_PAGE_REQUEST_COMMAND_ID (0x04) -#define ZCL_IMAGE_BLOCK_RESPONSE_COMMAND_ID (0x05) -#define ZCL_UPGRADE_END_REQUEST_COMMAND_ID (0x06) -#define ZCL_UPGRADE_END_RESPONSE_COMMAND_ID (0x07) -#define ZCL_QUERY_SPECIFIC_FILE_REQUEST_COMMAND_ID (0x08) -#define ZCL_QUERY_SPECIFIC_FILE_RESPONSE_COMMAND_ID (0x09) - // Commands for cluster: Power Profile #define ZCL_POWER_PROFILE_REQUEST_COMMAND_ID (0x00) #define ZCL_POWER_PROFILE_NOTIFICATION_COMMAND_ID (0x00) @@ -203,25 +157,6 @@ #define ZCL_SET_LONG_POLL_INTERVAL_COMMAND_ID (0x02) #define ZCL_SET_SHORT_POLL_INTERVAL_COMMAND_ID (0x03) -// Commands for cluster: Green Power -#define ZCL_GP_NOTIFICATION_COMMAND_ID (0x00) -#define ZCL_GP_NOTIFICATION_RESPONSE_COMMAND_ID (0x00) -#define ZCL_GP_PAIRING_SEARCH_COMMAND_ID (0x01) -#define ZCL_GP_PAIRING_COMMAND_ID (0x01) -#define ZCL_GP_PROXY_COMMISSIONING_MODE_COMMAND_ID (0x02) -#define ZCL_GP_TUNNELING_STOP_COMMAND_ID (0x03) -#define ZCL_GP_COMMISSIONING_NOTIFICATION_COMMAND_ID (0x04) -#define ZCL_GP_SINK_COMMISSIONING_MODE_COMMAND_ID (0x05) -#define ZCL_GP_RESPONSE_COMMAND_ID (0x06) -#define ZCL_GP_TRANSLATION_TABLE_UPDATE_COMMAND_ID (0x07) -#define ZCL_GP_TRANSLATION_TABLE_REQUEST_COMMAND_ID (0x08) -#define ZCL_GP_TRANSLATION_TABLE_RESPONSE_COMMAND_ID (0x08) -#define ZCL_GP_PAIRING_CONFIGURATION_COMMAND_ID (0x09) -#define ZCL_GP_SINK_TABLE_REQUEST_COMMAND_ID (0x0A) -#define ZCL_GP_SINK_TABLE_RESPONSE_COMMAND_ID (0x0A) -#define ZCL_GP_PROXY_TABLE_RESPONSE_COMMAND_ID (0x0B) -#define ZCL_GP_PROXY_TABLE_REQUEST_COMMAND_ID (0x0B) - // Commands for cluster: Basic #define ZCL_START_UP_COMMAND_ID (0x00) #define ZCL_MFG_SPECIFIC_PING_COMMAND_ID (0x00) @@ -505,97 +440,6 @@ #define ZCL_TEST_SPECIFIC_COMMAND_ID (0x02) #define ZCL_TEST_UNKNOWN_COMMAND_COMMAND_ID (0x03) -// Commands for cluster: Generic Tunnel -#define ZCL_MATCH_PROTOCOL_ADDRESS_COMMAND_ID (0x00) -#define ZCL_MATCH_PROTOCOL_ADDRESS_RESPONSE_COMMAND_ID (0x00) -#define ZCL_ADVERTISE_PROTOCOL_ADDRESS_COMMAND_ID (0x01) - -// Commands for cluster: BACnet Protocol Tunnel -#define ZCL_TRANSFER_NPDU_COMMAND_ID (0x00) - -// Commands for cluster: 11073 Protocol Tunnel -#define ZCL_TRANSFER_APDU_COMMAND_ID (0x00) -#define ZCL_CONNECT_REQUEST_COMMAND_ID (0x01) -#define ZCL_DISCONNECT_REQUEST_COMMAND_ID (0x02) -#define ZCL_CONNECT_STATUS_NOTIFICATION_COMMAND_ID (0x03) - -// Commands for cluster: ISO 7816 Protocol Tunnel -#define ZCL_TRANSFER_APDU_COMMAND_ID (0x00) -#define ZCL_INSERT_SMART_CARD_COMMAND_ID (0x01) -#define ZCL_EXTRACT_SMART_CARD_COMMAND_ID (0x02) - -// Commands for cluster: Price -#define ZCL_PUBLISH_PRICE_COMMAND_ID (0x00) -#define ZCL_GET_CURRENT_PRICE_COMMAND_ID (0x00) -#define ZCL_PUBLISH_BLOCK_PERIOD_COMMAND_ID (0x01) -#define ZCL_GET_SCHEDULED_PRICES_COMMAND_ID (0x01) -#define ZCL_PUBLISH_CONVERSION_FACTOR_COMMAND_ID (0x02) -#define ZCL_PRICE_ACKNOWLEDGEMENT_COMMAND_ID (0x02) -#define ZCL_PUBLISH_CALORIFIC_VALUE_COMMAND_ID (0x03) -#define ZCL_GET_BLOCK_PERIODS_COMMAND_ID (0x03) -#define ZCL_PUBLISH_TARIFF_INFORMATION_COMMAND_ID (0x04) -#define ZCL_GET_CONVERSION_FACTOR_COMMAND_ID (0x04) -#define ZCL_PUBLISH_PRICE_MATRIX_COMMAND_ID (0x05) -#define ZCL_GET_CALORIFIC_VALUE_COMMAND_ID (0x05) -#define ZCL_PUBLISH_BLOCK_THRESHOLDS_COMMAND_ID (0x06) -#define ZCL_GET_TARIFF_INFORMATION_COMMAND_ID (0x06) -#define ZCL_PUBLISH_CO2_VALUE_COMMAND_ID (0x07) -#define ZCL_GET_PRICE_MATRIX_COMMAND_ID (0x07) -#define ZCL_PUBLISH_TIER_LABELS_COMMAND_ID (0x08) -#define ZCL_GET_BLOCK_THRESHOLDS_COMMAND_ID (0x08) -#define ZCL_PUBLISH_BILLING_PERIOD_COMMAND_ID (0x09) -#define ZCL_GET_CO2_VALUE_COMMAND_ID (0x09) -#define ZCL_PUBLISH_CONSOLIDATED_BILL_COMMAND_ID (0x0A) -#define ZCL_GET_TIER_LABELS_COMMAND_ID (0x0A) -#define ZCL_PUBLISH_CPP_EVENT_COMMAND_ID (0x0B) -#define ZCL_GET_BILLING_PERIOD_COMMAND_ID (0x0B) -#define ZCL_PUBLISH_CREDIT_PAYMENT_COMMAND_ID (0x0C) -#define ZCL_GET_CONSOLIDATED_BILL_COMMAND_ID (0x0C) -#define ZCL_PUBLISH_CURRENCY_CONVERSION_COMMAND_ID (0x0D) -#define ZCL_CPP_EVENT_RESPONSE_COMMAND_ID (0x0D) -#define ZCL_CANCEL_TARIFF_COMMAND_ID (0x0E) -#define ZCL_GET_CREDIT_PAYMENT_COMMAND_ID (0x0E) -#define ZCL_GET_CURRENCY_CONVERSION_COMMAND_COMMAND_ID (0x0F) -#define ZCL_GET_TARIFF_CANCELLATION_COMMAND_ID (0x10) - -// Commands for cluster: Demand Response and Load Control -#define ZCL_LOAD_CONTROL_EVENT_COMMAND_ID (0x00) -#define ZCL_REPORT_EVENT_STATUS_COMMAND_ID (0x00) -#define ZCL_CANCEL_LOAD_CONTROL_EVENT_COMMAND_ID (0x01) -#define ZCL_GET_SCHEDULED_EVENTS_COMMAND_ID (0x01) -#define ZCL_CANCEL_ALL_LOAD_CONTROL_EVENTS_COMMAND_ID (0x02) - -// Commands for cluster: Simple Metering -#define ZCL_GET_PROFILE_RESPONSE_COMMAND_ID (0x00) -#define ZCL_GET_PROFILE_COMMAND_ID (0x00) -#define ZCL_REQUEST_MIRROR_COMMAND_ID (0x01) -#define ZCL_REQUEST_MIRROR_RESPONSE_COMMAND_ID (0x01) -#define ZCL_REMOVE_MIRROR_COMMAND_ID (0x02) -#define ZCL_MIRROR_REMOVED_COMMAND_ID (0x02) -#define ZCL_REQUEST_FAST_POLL_MODE_RESPONSE_COMMAND_ID (0x03) -#define ZCL_REQUEST_FAST_POLL_MODE_COMMAND_ID (0x03) -#define ZCL_SCHEDULE_SNAPSHOT_RESPONSE_COMMAND_ID (0x04) -#define ZCL_SCHEDULE_SNAPSHOT_COMMAND_ID (0x04) -#define ZCL_TAKE_SNAPSHOT_RESPONSE_COMMAND_ID (0x05) -#define ZCL_TAKE_SNAPSHOT_COMMAND_ID (0x05) -#define ZCL_PUBLISH_SNAPSHOT_COMMAND_ID (0x06) -#define ZCL_GET_SNAPSHOT_COMMAND_ID (0x06) -#define ZCL_GET_SAMPLED_DATA_RESPONSE_COMMAND_ID (0x07) -#define ZCL_START_SAMPLING_COMMAND_ID (0x07) -#define ZCL_CONFIGURE_MIRROR_COMMAND_ID (0x08) -#define ZCL_GET_SAMPLED_DATA_COMMAND_ID (0x08) -#define ZCL_CONFIGURE_NOTIFICATION_SCHEME_COMMAND_ID (0x09) -#define ZCL_MIRROR_REPORT_ATTRIBUTE_RESPONSE_COMMAND_ID (0x09) -#define ZCL_CONFIGURE_NOTIFICATION_FLAGS_COMMAND_ID (0x0A) -#define ZCL_RESET_LOAD_LIMIT_COUNTER_COMMAND_ID (0x0A) -#define ZCL_GET_NOTIFIED_MESSAGE_COMMAND_ID (0x0B) -#define ZCL_CHANGE_SUPPLY_COMMAND_ID (0x0B) -#define ZCL_SUPPLY_STATUS_RESPONSE_COMMAND_ID (0x0C) -#define ZCL_LOCAL_CHANGE_SUPPLY_COMMAND_ID (0x0C) -#define ZCL_START_SAMPLING_RESPONSE_COMMAND_ID (0x0D) -#define ZCL_SET_SUPPLY_STATUS_COMMAND_ID (0x0D) -#define ZCL_SET_UNCONTROLLED_FLOW_THRESHOLD_COMMAND_ID (0x0E) - // Commands for cluster: Messaging #define ZCL_DISPLAY_MESSAGE_COMMAND_ID (0x00) #define ZCL_GET_LAST_MESSAGE_COMMAND_ID (0x00) @@ -605,192 +449,6 @@ #define ZCL_GET_MESSAGE_CANCELLATION_COMMAND_ID (0x02) #define ZCL_CANCEL_ALL_MESSAGES_COMMAND_ID (0x03) -// Commands for cluster: Tunneling -#define ZCL_REQUEST_TUNNEL_COMMAND_ID (0x00) -#define ZCL_REQUEST_TUNNEL_RESPONSE_COMMAND_ID (0x00) -#define ZCL_CLOSE_TUNNEL_COMMAND_ID (0x01) -#define ZCL_TRANSFER_DATA_SERVER_TO_CLIENT_COMMAND_ID (0x01) -#define ZCL_TRANSFER_DATA_CLIENT_TO_SERVER_COMMAND_ID (0x02) -#define ZCL_TRANSFER_DATA_ERROR_SERVER_TO_CLIENT_COMMAND_ID (0x02) -#define ZCL_TRANSFER_DATA_ERROR_CLIENT_TO_SERVER_COMMAND_ID (0x03) -#define ZCL_ACK_TRANSFER_DATA_SERVER_TO_CLIENT_COMMAND_ID (0x03) -#define ZCL_ACK_TRANSFER_DATA_CLIENT_TO_SERVER_COMMAND_ID (0x04) -#define ZCL_READY_DATA_SERVER_TO_CLIENT_COMMAND_ID (0x04) -#define ZCL_READY_DATA_CLIENT_TO_SERVER_COMMAND_ID (0x05) -#define ZCL_SUPPORTED_TUNNEL_PROTOCOLS_RESPONSE_COMMAND_ID (0x05) -#define ZCL_GET_SUPPORTED_TUNNEL_PROTOCOLS_COMMAND_ID (0x06) -#define ZCL_TUNNEL_CLOSURE_NOTIFICATION_COMMAND_ID (0x06) - -// Commands for cluster: Prepayment -#define ZCL_SELECT_AVAILABLE_EMERGENCY_CREDIT_COMMAND_ID (0x00) -#define ZCL_PUBLISH_PREPAY_SNAPSHOT_COMMAND_ID (0x01) -#define ZCL_CHANGE_DEBT_COMMAND_ID (0x02) -#define ZCL_CHANGE_PAYMENT_MODE_RESPONSE_COMMAND_ID (0x02) -#define ZCL_EMERGENCY_CREDIT_SETUP_COMMAND_ID (0x03) -#define ZCL_CONSUMER_TOP_UP_RESPONSE_COMMAND_ID (0x03) -#define ZCL_CONSUMER_TOP_UP_COMMAND_ID (0x04) -#define ZCL_CREDIT_ADJUSTMENT_COMMAND_ID (0x05) -#define ZCL_PUBLISH_TOP_UP_LOG_COMMAND_ID (0x05) -#define ZCL_CHANGE_PAYMENT_MODE_COMMAND_ID (0x06) -#define ZCL_PUBLISH_DEBT_LOG_COMMAND_ID (0x06) -#define ZCL_GET_PREPAY_SNAPSHOT_COMMAND_ID (0x07) -#define ZCL_GET_TOP_UP_LOG_COMMAND_ID (0x08) -#define ZCL_SET_LOW_CREDIT_WARNING_LEVEL_COMMAND_ID (0x09) -#define ZCL_GET_DEBT_REPAYMENT_LOG_COMMAND_ID (0x0A) -#define ZCL_SET_MAXIMUM_CREDIT_LIMIT_COMMAND_ID (0x0B) -#define ZCL_SET_OVERALL_DEBT_CAP_COMMAND_ID (0x0C) - -// Commands for cluster: Energy Management -#define ZCL_REPORT_EVENT_STATUS_COMMAND_ID (0x00) -#define ZCL_MANAGE_EVENT_COMMAND_ID (0x00) - -// Commands for cluster: Calendar -#define ZCL_PUBLISH_CALENDAR_COMMAND_ID (0x00) -#define ZCL_GET_CALENDAR_COMMAND_ID (0x00) -#define ZCL_PUBLISH_DAY_PROFILE_COMMAND_ID (0x01) -#define ZCL_GET_DAY_PROFILES_COMMAND_ID (0x01) -#define ZCL_PUBLISH_WEEK_PROFILE_COMMAND_ID (0x02) -#define ZCL_GET_WEEK_PROFILES_COMMAND_ID (0x02) -#define ZCL_PUBLISH_SEASONS_COMMAND_ID (0x03) -#define ZCL_GET_SEASONS_COMMAND_ID (0x03) -#define ZCL_PUBLISH_SPECIAL_DAYS_COMMAND_ID (0x04) -#define ZCL_GET_SPECIAL_DAYS_COMMAND_ID (0x04) -#define ZCL_CANCEL_CALENDAR_COMMAND_ID (0x05) -#define ZCL_GET_CALENDAR_CANCELLATION_COMMAND_ID (0x05) - -// Commands for cluster: Device Management -#define ZCL_GET_CHANGE_OF_TENANCY_COMMAND_ID (0x00) -#define ZCL_PUBLISH_CHANGE_OF_TENANCY_COMMAND_ID (0x00) -#define ZCL_GET_CHANGE_OF_SUPPLIER_COMMAND_ID (0x01) -#define ZCL_PUBLISH_CHANGE_OF_SUPPLIER_COMMAND_ID (0x01) -#define ZCL_REQUEST_NEW_PASSWORD_COMMAND_ID (0x02) -#define ZCL_REQUEST_NEW_PASSWORD_RESPONSE_COMMAND_ID (0x02) -#define ZCL_GET_SITE_ID_COMMAND_ID (0x03) -#define ZCL_UPDATE_SITE_ID_COMMAND_ID (0x03) -#define ZCL_REPORT_EVENT_CONFIGURATION_COMMAND_ID (0x04) -#define ZCL_SET_EVENT_CONFIGURATION_COMMAND_ID (0x04) -#define ZCL_GET_CIN_COMMAND_ID (0x05) -#define ZCL_GET_EVENT_CONFIGURATION_COMMAND_ID (0x05) -#define ZCL_UPDATE_CIN_COMMAND_ID (0x06) - -// Commands for cluster: Events -#define ZCL_GET_EVENT_LOG_COMMAND_ID (0x00) -#define ZCL_PUBLISH_EVENT_COMMAND_ID (0x00) -#define ZCL_CLEAR_EVENT_LOG_REQUEST_COMMAND_ID (0x01) -#define ZCL_PUBLISH_EVENT_LOG_COMMAND_ID (0x01) -#define ZCL_CLEAR_EVENT_LOG_RESPONSE_COMMAND_ID (0x02) - -// Commands for cluster: MDU Pairing -#define ZCL_PAIRING_RESPONSE_COMMAND_ID (0x00) -#define ZCL_PAIRING_REQUEST_COMMAND_ID (0x00) - -// Commands for cluster: Sub-GHz -#define ZCL_SUSPEND_ZCL_MESSAGES_COMMAND_ID (0x00) -#define ZCL_GET_SUSPEND_ZCL_MESSAGES_STATUS_COMMAND_ID (0x00) - -// Commands for cluster: Key Establishment -#define ZCL_INITIATE_KEY_ESTABLISHMENT_REQUEST_COMMAND_ID (0x00) -#define ZCL_INITIATE_KEY_ESTABLISHMENT_RESPONSE_COMMAND_ID (0x00) -#define ZCL_EPHEMERAL_DATA_REQUEST_COMMAND_ID (0x01) -#define ZCL_EPHEMERAL_DATA_RESPONSE_COMMAND_ID (0x01) -#define ZCL_CONFIRM_KEY_DATA_REQUEST_COMMAND_ID (0x02) -#define ZCL_CONFIRM_KEY_DATA_RESPONSE_COMMAND_ID (0x02) -#define ZCL_TERMINATE_KEY_ESTABLISHMENT_COMMAND_ID (0x03) - -// Commands for cluster: Information -#define ZCL_REQUEST_INFORMATION_COMMAND_ID (0x00) -#define ZCL_REQUEST_INFORMATION_RESPONSE_COMMAND_ID (0x00) -#define ZCL_PUSH_INFORMATION_RESPONSE_COMMAND_ID (0x01) -#define ZCL_PUSH_INFORMATION_COMMAND_ID (0x01) -#define ZCL_SEND_PREFERENCE_COMMAND_ID (0x02) -#define ZCL_SEND_PREFERENCE_RESPONSE_COMMAND_ID (0x02) -#define ZCL_REQUEST_PREFERENCE_RESPONSE_COMMAND_ID (0x03) -#define ZCL_SERVER_REQUEST_PREFERENCE_COMMAND_ID (0x03) -#define ZCL_UPDATE_COMMAND_ID (0x04) -#define ZCL_REQUEST_PREFERENCE_CONFIRMATION_COMMAND_ID (0x04) -#define ZCL_DELETE_COMMAND_ID (0x05) -#define ZCL_UPDATE_RESPONSE_COMMAND_ID (0x05) -#define ZCL_CONFIGURE_NODE_DESCRIPTION_COMMAND_ID (0x06) -#define ZCL_DELETE_RESPONSE_COMMAND_ID (0x06) -#define ZCL_CONFIGURE_DELIVERY_ENABLE_COMMAND_ID (0x07) -#define ZCL_CONFIGURE_PUSH_INFORMATION_TIMER_COMMAND_ID (0x08) -#define ZCL_CONFIGURE_SET_ROOT_ID_COMMAND_ID (0x09) - -// Commands for cluster: Data Sharing -#define ZCL_READ_FILE_REQUEST_COMMAND_ID (0x00) -#define ZCL_WRITE_FILE_REQUEST_COMMAND_ID (0x00) -#define ZCL_READ_RECORD_REQUEST_COMMAND_ID (0x01) -#define ZCL_MODIFY_FILE_REQUEST_COMMAND_ID (0x01) -#define ZCL_WRITE_FILE_RESPONSE_COMMAND_ID (0x02) -#define ZCL_MODIFY_RECORD_REQUEST_COMMAND_ID (0x02) -#define ZCL_FILE_TRANSMISSION_COMMAND_ID (0x03) -#define ZCL_RECORD_TRANSMISSION_COMMAND_ID (0x04) - -// Commands for cluster: Gaming -#define ZCL_SEARCH_GAME_COMMAND_ID (0x00) -#define ZCL_GAME_ANNOUNCEMENT_COMMAND_ID (0x00) -#define ZCL_JOIN_GAME_COMMAND_ID (0x01) -#define ZCL_GENERAL_RESPONSE_COMMAND_ID (0x01) -#define ZCL_START_GAME_COMMAND_ID (0x02) -#define ZCL_PAUSE_GAME_COMMAND_ID (0x03) -#define ZCL_RESUME_GAME_COMMAND_ID (0x04) -#define ZCL_QUIT_GAME_COMMAND_ID (0x05) -#define ZCL_END_GAME_COMMAND_ID (0x06) -#define ZCL_START_OVER_COMMAND_ID (0x07) -#define ZCL_ACTION_CONTROL_COMMAND_ID (0x08) -#define ZCL_DOWNLOAD_GAME_COMMAND_ID (0x09) - -// Commands for cluster: Data Rate Control -#define ZCL_PATH_CREATION_COMMAND_ID (0x00) -#define ZCL_DATA_RATE_CONTROL_COMMAND_ID (0x00) -#define ZCL_DATA_RATE_NOTIFICATION_COMMAND_ID (0x01) -#define ZCL_PATH_DELETION_COMMAND_ID (0x02) - -// Commands for cluster: Voice over ZigBee -#define ZCL_ESTABLISHMENT_REQUEST_COMMAND_ID (0x00) -#define ZCL_ESTABLISHMENT_RESPONSE_COMMAND_ID (0x00) -#define ZCL_VOICE_TRANSMISSION_COMMAND_ID (0x01) -#define ZCL_VOICE_TRANSMISSION_RESPONSE_COMMAND_ID (0x01) -#define ZCL_VOICE_TRANSMISSION_COMPLETION_COMMAND_ID (0x02) -#define ZCL_CONTROL_COMMAND_ID (0x02) -#define ZCL_CONTROL_RESPONSE_COMMAND_ID (0x03) - -// Commands for cluster: Chatting -#define ZCL_JOIN_CHAT_REQUEST_COMMAND_ID (0x00) -#define ZCL_START_CHAT_RESPONSE_COMMAND_ID (0x00) -#define ZCL_LEAVE_CHAT_REQUEST_COMMAND_ID (0x01) -#define ZCL_JOIN_CHAT_RESPONSE_COMMAND_ID (0x01) -#define ZCL_SEARCH_CHAT_REQUEST_COMMAND_ID (0x02) -#define ZCL_USER_LEFT_COMMAND_ID (0x02) -#define ZCL_SWITCH_CHAIRMAN_RESPONSE_COMMAND_ID (0x03) -#define ZCL_USER_JOINED_COMMAND_ID (0x03) -#define ZCL_START_CHAT_REQUEST_COMMAND_ID (0x04) -#define ZCL_SEARCH_CHAT_RESPONSE_COMMAND_ID (0x04) -#define ZCL_CHAT_MESSAGE_COMMAND_ID (0x05) -#define ZCL_SWITCH_CHAIRMAN_REQUEST_COMMAND_ID (0x05) -#define ZCL_GET_NODE_INFORMATION_REQUEST_COMMAND_ID (0x06) -#define ZCL_SWITCH_CHAIRMAN_CONFIRM_COMMAND_ID (0x06) -#define ZCL_SWITCH_CHAIRMAN_NOTIFICATION_COMMAND_ID (0x07) -#define ZCL_GET_NODE_INFORMATION_RESPONSE_COMMAND_ID (0x08) - -// Commands for cluster: Payment -#define ZCL_BUY_REQUEST_COMMAND_ID (0x00) -#define ZCL_BUY_CONFIRM_COMMAND_ID (0x00) -#define ZCL_ACCEPT_PAYMENT_COMMAND_ID (0x01) -#define ZCL_RECEIPT_DELIVERY_COMMAND_ID (0x01) -#define ZCL_PAYMENT_CONFIRM_COMMAND_ID (0x02) -#define ZCL_TRANSACTION_END_COMMAND_ID (0x02) - -// Commands for cluster: Billing -#define ZCL_SUBSCRIBE_COMMAND_ID (0x00) -#define ZCL_CHECK_BILL_STATUS_COMMAND_ID (0x00) -#define ZCL_UNSUBSCRIBE_COMMAND_ID (0x01) -#define ZCL_SEND_BILL_RECORD_COMMAND_ID (0x01) -#define ZCL_START_BILLING_SESSION_COMMAND_ID (0x02) -#define ZCL_STOP_BILLING_SESSION_COMMAND_ID (0x03) -#define ZCL_BILL_STATUS_NOTIFICATION_COMMAND_ID (0x04) -#define ZCL_SESSION_KEEP_ALIVE_COMMAND_ID (0x05) - // Commands for cluster: Appliance Events and Alert #define ZCL_GET_ALERTS_COMMAND_ID (0x00) #define ZCL_GET_ALERTS_RESPONSE_COMMAND_ID (0x00) @@ -811,26 +469,6 @@ #define ZCL_GET_MEASUREMENT_PROFILE_RESPONSE_COMMAND_COMMAND_ID (0x01) #define ZCL_GET_MEASUREMENT_PROFILE_COMMAND_COMMAND_ID (0x01) -// Commands for cluster: ZLL Commissioning -#define ZCL_SCAN_REQUEST_COMMAND_ID (0x00) -#define ZCL_SCAN_RESPONSE_COMMAND_ID (0x01) -#define ZCL_DEVICE_INFORMATION_REQUEST_COMMAND_ID (0x02) -#define ZCL_DEVICE_INFORMATION_RESPONSE_COMMAND_ID (0x03) -#define ZCL_IDENTIFY_REQUEST_COMMAND_ID (0x06) -#define ZCL_RESET_TO_FACTORY_NEW_REQUEST_COMMAND_ID (0x07) -#define ZCL_NETWORK_START_REQUEST_COMMAND_ID (0x10) -#define ZCL_NETWORK_START_RESPONSE_COMMAND_ID (0x11) -#define ZCL_NETWORK_JOIN_ROUTER_REQUEST_COMMAND_ID (0x12) -#define ZCL_NETWORK_JOIN_ROUTER_RESPONSE_COMMAND_ID (0x13) -#define ZCL_NETWORK_JOIN_END_DEVICE_REQUEST_COMMAND_ID (0x14) -#define ZCL_NETWORK_JOIN_END_DEVICE_RESPONSE_COMMAND_ID (0x15) -#define ZCL_NETWORK_UPDATE_REQUEST_COMMAND_ID (0x16) -#define ZCL_ENDPOINT_INFORMATION_COMMAND_ID (0x40) -#define ZCL_GET_GROUP_IDENTIFIERS_REQUEST_COMMAND_ID (0x41) -#define ZCL_GET_GROUP_IDENTIFIERS_RESPONSE_COMMAND_ID (0x41) -#define ZCL_GET_ENDPOINT_LIST_REQUEST_COMMAND_ID (0x42) -#define ZCL_GET_ENDPOINT_LIST_RESPONSE_COMMAND_ID (0x42) - // Commands for cluster: Binding #define ZCL_BIND_COMMAND_ID (0x00) #define ZCL_UNBIND_COMMAND_ID (0x01) @@ -840,60 +478,3 @@ // Commands for cluster: Sample Mfg Specific Cluster 2 #define ZCL_COMMAND_TWO_COMMAND_ID (0x00) - -// Commands for cluster: Configuration Cluster -#define ZCL_SET_TOKEN_COMMAND_ID (0x00) -#define ZCL_RETURN_TOKEN_COMMAND_ID (0x00) -#define ZCL_LOCK_TOKENS_COMMAND_ID (0x01) -#define ZCL_READ_TOKENS_COMMAND_ID (0x02) -#define ZCL_UNLOCK_TOKENS_COMMAND_ID (0x03) - -// Commands for cluster: MFGLIB Cluster -#define ZCL_STREAM_COMMAND_ID (0x00) -#define ZCL_TONE_COMMAND_ID (0x01) -#define ZCL_RX_MODE_COMMAND_ID (0x02) - -// Commands for cluster: SL Works With All Hubs -#define ZCL_ENABLE_APS_LINK_KEY_AUTHORIZATION_COMMAND_ID (0x00) -#define ZCL_APS_LINK_KEY_AUTHORIZATION_QUERY_RESPONSE_COMMAND_ID (0x00) -#define ZCL_DISABLE_APS_LINK_KEY_AUTHORIZATION_COMMAND_ID (0x01) -#define ZCL_POWERING_OFF_NOTIFICATION_COMMAND_ID (0x01) -#define ZCL_APS_LINK_KEY_AUTHORIZATION_QUERY_COMMAND_ID (0x02) -#define ZCL_POWERING_ON_NOTIFICATION_COMMAND_ID (0x02) -#define ZCL_REQUEST_NEW_APS_LINK_KEY_COMMAND_ID (0x03) -#define ZCL_SHORT_ADDRESS_CHANGE_COMMAND_ID (0x03) -#define ZCL_ENABLE_WWAH_APP_EVENT_RETRY_ALGORITHM_COMMAND_ID (0x04) -#define ZCL_APS_ACK_ENABLEMENT_QUERY_RESPONSE_COMMAND_ID (0x04) -#define ZCL_DISABLE_WWAH_APP_EVENT_RETRY_ALGORITHM_COMMAND_ID (0x05) -#define ZCL_POWER_DESCRIPTOR_CHANGE_COMMAND_ID (0x05) -#define ZCL_REQUEST_TIME_COMMAND_ID (0x06) -#define ZCL_NEW_DEBUG_REPORT_NOTIFICATION_COMMAND_ID (0x06) -#define ZCL_ENABLE_WWAH_REJOIN_ALGORITHM_COMMAND_ID (0x07) -#define ZCL_DEBUG_REPORT_QUERY_RESPONSE_COMMAND_ID (0x07) -#define ZCL_DISABLE_WWAH_REJOIN_ALGORITHM_COMMAND_ID (0x08) -#define ZCL_TRUST_CENTER_FOR_CLUSTER_SERVER_QUERY_RESPONSE_COMMAND_ID (0x08) -#define ZCL_SET_IAS_ZONE_ENROLLMENT_METHOD_COMMAND_ID (0x09) -#define ZCL_SURVEY_BEACONS_RESPONSE_COMMAND_ID (0x09) -#define ZCL_CLEAR_BINDING_TABLE_COMMAND_ID (0x0A) -#define ZCL_ENABLE_PERIODIC_ROUTER_CHECK_INS_COMMAND_ID (0x0B) -#define ZCL_DISABLE_PERIODIC_ROUTER_CHECK_INS_COMMAND_ID (0x0C) -#define ZCL_SET_MAC_POLL_FAILURE_WAIT_TIME_COMMAND_ID (0x0D) -#define ZCL_SET_PENDING_NETWORK_UPDATE_COMMAND_ID (0x0E) -#define ZCL_REQUIRE_APS_ACKS_ON_UNICASTS_COMMAND_ID (0x0F) -#define ZCL_REMOVE_APS_ACKS_ON_UNICASTS_REQUIREMENT_COMMAND_ID (0x10) -#define ZCL_APS_ACK_REQUIREMENT_QUERY_COMMAND_ID (0x11) -#define ZCL_DEBUG_REPORT_QUERY_COMMAND_ID (0x12) -#define ZCL_SURVEY_BEACONS_COMMAND_ID (0x13) -#define ZCL_DISABLE_OTA_DOWNGRADES_COMMAND_ID (0x14) -#define ZCL_DISABLE_MGMT_LEAVE_WITHOUT_REJOIN_COMMAND_ID (0x15) -#define ZCL_DISABLE_TOUCHLINK_INTERPAN_MESSAGE_SUPPORT_COMMAND_ID (0x16) -#define ZCL_ENABLE_WWAH_PARENT_CLASSIFICATION_COMMAND_ID (0x17) -#define ZCL_DISABLE_WWAH_PARENT_CLASSIFICATION_COMMAND_ID (0x18) -#define ZCL_ENABLE_TC_SECURITY_ON_NTWK_KEY_ROTATION_COMMAND_ID (0x19) -#define ZCL_ENABLE_WWAH_BAD_PARENT_RECOVERY_COMMAND_ID (0x1A) -#define ZCL_DISABLE_WWAH_BAD_PARENT_RECOVERY_COMMAND_ID (0x1B) -#define ZCL_ENABLE_CONFIGURATION_MODE_COMMAND_ID (0x1C) -#define ZCL_DISABLE_CONFIGURATION_MODE_COMMAND_ID (0x1D) -#define ZCL_USE_TRUST_CENTER_FOR_CLUSTER_SERVER_COMMAND_ID (0x1E) -#define ZCL_TRUST_CENTER_FOR_CLUSTER_SERVER_QUERY_COMMAND_ID (0x1F) -#define ZCL_USE_TRUST_CENTER_FOR_CLUSTER_SERVER_RESPONSE_COMMAND_ID (0x9E) diff --git a/src/app/common/gen/enums.h b/src/app/common/gen/enums.h index 544a03bd92d71a..e829df9a9a5d5e 100644 --- a/src/app/common/gen/enums.h +++ b/src/app/common/gen/enums.h @@ -24,22 +24,6 @@ // ZCL enums -// Enum for 11073ConnectRequestConnectControl -enum EmberAf11073ConnectRequestConnectControl : uint8_t -{ - EMBER_ZCL_11073_CONNECT_REQUEST_CONNECT_CONTROL_PREEMPTIBLE = 1, -}; - -// Enum for 11073TunnelConnectionStatus -enum EmberAf11073TunnelConnectionStatus : uint8_t -{ - EMBER_ZCL_11073_TUNNEL_CONNECTION_STATUS_DISCONNECTED = 0, - EMBER_ZCL_11073_TUNNEL_CONNECTION_STATUS_CONNECTED = 1, - EMBER_ZCL_11073_TUNNEL_CONNECTION_STATUS_NOT_AUTHORIZED = 2, - EMBER_ZCL_11073_TUNNEL_CONNECTION_STATUS_RECONNECT_REQUEST = 3, - EMBER_ZCL_11073_TUNNEL_CONNECTION_STATUS_ALREADY_CONNECTED = 4, -}; - // Enum for AlertCountType enum EmberAfAlertCountType : uint8_t { @@ -61,98 +45,6 @@ enum EmberAfAlertStructurePresenceRecovery : uint16_t EMBER_ZCL_ALERT_STRUCTURE_PRESENCE_RECOVERY_PRESENCE = 4096, }; -// Enum for AlternateCostUnit -enum EmberAfAlternateCostUnit : uint8_t -{ - EMBER_ZCL_ALTERNATE_COST_UNIT_KG_OF_CO2_PER_UNIT_OF_MEASURE = 2, -}; - -// Enum for AmiCriticalityLevel -enum EmberAfAmiCriticalityLevel : uint8_t -{ - EMBER_ZCL_AMI_CRITICALITY_LEVEL_RESERVED = 0, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_GREEN = 1, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_1 = 2, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_2 = 3, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_3 = 4, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_4 = 5, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_5 = 6, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_EMERGENCY = 7, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_PLANNED_OUTAGE = 8, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_SERVICE_DISCONNECT = 9, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_UTILITY_DEFINED1 = 10, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_UTILITY_DEFINED2 = 11, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_UTILITY_DEFINED3 = 12, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_UTILITY_DEFINED4 = 13, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_UTILITY_DEFINED5 = 14, - EMBER_ZCL_AMI_CRITICALITY_LEVEL_UTILITY_DEFINED6 = 15, -}; - -// Enum for AmiEventStatus -enum EmberAfAmiEventStatus : uint8_t -{ - EMBER_ZCL_AMI_EVENT_STATUS_LOAD_CONTROL_EVENT_COMMAND_RX = 1, - EMBER_ZCL_AMI_EVENT_STATUS_EVENT_STARTED = 2, - EMBER_ZCL_AMI_EVENT_STATUS_EVENT_COMPLETED = 3, - EMBER_ZCL_AMI_EVENT_STATUS_USER_HAS_CHOOSE_TO_OPT_OUT = 4, - EMBER_ZCL_AMI_EVENT_STATUS_USER_HAS_CHOOSE_TO_OPT_IN = 5, - EMBER_ZCL_AMI_EVENT_STATUS_THE_EVENT_HAS_BEEN_CANCELED = 6, - EMBER_ZCL_AMI_EVENT_STATUS_THE_EVENT_HAS_BEEN_SUPERSEDED = 7, - EMBER_ZCL_AMI_EVENT_STATUS_EVENT_PARTIALLY_COMPLETED_WITH_USER_OPT_OUT = 8, - EMBER_ZCL_AMI_EVENT_STATUS_EVENT_PARTIALLY_COMPLETED_DUE_TO_USER_OPT_IN = 9, - EMBER_ZCL_AMI_EVENT_STATUS_EVENT_COMPLETED_NO_USER_PARTICIPATION_PREVIOUS_OPT_OUT = 10, - EMBER_ZCL_AMI_EVENT_STATUS_INVALID_OPT_OUT = 246, - EMBER_ZCL_AMI_EVENT_STATUS_EVENT_NOT_FOUND = 247, - EMBER_ZCL_AMI_EVENT_STATUS_REJECTED_INVALID_CANCEL_COMMAND = 248, - EMBER_ZCL_AMI_EVENT_STATUS_REJECTED_INVALID_CANCEL_COMMAND_INVALID_EFFECTIVE_TIME = 249, - EMBER_ZCL_AMI_EVENT_STATUS_REJECTED_EVENT_EXPIRED = 251, - EMBER_ZCL_AMI_EVENT_STATUS_REJECTED_INVALID_CANCEL_UNDEFINED_EVENT = 253, - EMBER_ZCL_AMI_EVENT_STATUS_LOAD_CONTROL_EVENT_COMMAND_REJECTED = 254, -}; - -// Enum for AmiGetProfileStatus -enum EmberAfAmiGetProfileStatus : uint8_t -{ - EMBER_ZCL_AMI_GET_PROFILE_STATUS_SUCCESS = 0, - EMBER_ZCL_AMI_GET_PROFILE_STATUS_UNDEFINED_INTERVAL_CHANNEL_REQUESTED = 1, - EMBER_ZCL_AMI_GET_PROFILE_STATUS_INTERVAL_CHANNEL_NOT_SUPPORTED = 2, - EMBER_ZCL_AMI_GET_PROFILE_STATUS_INVALID_END_TIME = 3, - EMBER_ZCL_AMI_GET_PROFILE_STATUS_MORE_PERIODS_REQUESTED_THAN_CAN_BE_RETURNED = 4, - EMBER_ZCL_AMI_GET_PROFILE_STATUS_NO_INTERVALS_AVAILABLE_FOR_THE_REQUESTED_TIME = 5, -}; - -// Enum for AmiIntervalChannel -enum EmberAfAmiIntervalChannel : uint8_t -{ - EMBER_ZCL_AMI_INTERVAL_CHANNEL_CONSUMPTION_DELIVERED = 0, - EMBER_ZCL_AMI_INTERVAL_CHANNEL_CONSUMPTION_RECEIVED = 1, -}; - -// Enum for AmiIntervalPeriod -enum EmberAfAmiIntervalPeriod : uint8_t -{ - EMBER_ZCL_AMI_INTERVAL_PERIOD_DAILY = 0, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES60 = 1, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES30 = 2, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES15 = 3, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES10 = 4, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES7P5 = 5, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES5 = 6, - EMBER_ZCL_AMI_INTERVAL_PERIOD_MINUTES2P5 = 7, -}; - -// Enum for AmiKeyEstablishmentStatus -enum EmberAfAmiKeyEstablishmentStatus : uint8_t -{ - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_SUCCESS = 0, - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_UNKNOWN_ISSUER = 1, - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_BAD_KEY_CONFIRM = 2, - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_BAD_MESSAGE = 3, - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_NO_RESOURCES = 4, - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_UNSUPPORTED_SUITE = 5, - EMBER_ZCL_AMI_KEY_ESTABLISHMENT_STATUS_INVALID_KEY_USAGE = 6, -}; - // Enum for AmiRegistrationState enum EmberAfAmiRegistrationState : uint8_t { @@ -165,39 +57,6 @@ enum EmberAfAmiRegistrationState : uint8_t EMBER_ZCL_AMI_REGISTRATION_STATE_REGISTERATION_NOT_POSSIBLE = 6, }; -// Enum for AmiUnitOfMeasure -enum EmberAfAmiUnitOfMeasure : uint8_t -{ - EMBER_ZCL_AMI_UNIT_OF_MEASURE_KILO_WATT_HOURS = 0, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_CUBIC_METER_PER_HOUR = 1, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_CUBIC_FEET_PER_HOUR = 2, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_CENTUM_CUBIC_FEET_PER_HOUR = 3, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_US_GALLONS_PER_HOUR = 4, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_IMPERIAL_GALLONS_PER_HOUR = 5, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_BT_US_OR_BTU_PER_HOUR = 6, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_LITERS_OR_LITERS_PER_HOUR = 7, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_KPA_GAUGE = 8, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_KPA_ABSOLUTE = 9, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_MCF_OR_MCF_PER_SECOND = 10, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_UNITLESS = 11, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_MJ_OR_MJ_PER_SECOND = 12, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_K_VAR_OR_K_VAR_HOURS = 13, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_KILO_WATT_HOURS_BCD = 128, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_CUBIC_METER_PER_HOUR_BCD = 129, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_CUBIC_FEET_PER_HOUR_BCD = 130, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_CENTUM_CUBIC_FEET_PER_HOUR_BCD = 131, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_US_GALLONS_PER_HOUR_BCD = 132, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_IMPERIAL_GALLONS_PER_HOUR_BCD = 133, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_BT_US_OR_BTU_PER_HOUR_BCD = 134, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_LITERS_OR_LITERS_PER_HOUR_BCD = 135, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_KPA_GUAGE_BCD = 136, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_KPA_ABSOLUTE_BCD = 137, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_MCF_OR_MCF_PER_SECOND_BCD = 138, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_UNITLESS_BCD = 139, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_MJ_OR_MJ_PER_SECOND_BCD = 140, - EMBER_ZCL_AMI_UNIT_OF_MEASURE_K_VAR_OR_K_VAR_HOURS_BCD = 141, -}; - // Enum for AnonymousDataState enum EmberAfAnonymousDataState : uint8_t { @@ -242,13 +101,6 @@ enum EmberAfApplicationLauncherStatus : uint8_t EMBER_ZCL_APPLICATION_LAUNCHER_STATUS_SYSTEM_BUSY = 2, }; -// Enum for AttributeReportingStatus -enum EmberAfAttributeReportingStatus : uint8_t -{ - EMBER_ZCL_ATTRIBUTE_REPORTING_STATUS_PENDING = 0, - EMBER_ZCL_ATTRIBUTE_REPORTING_STATUS_ATTRIBUTE_REPORTING_COMPLETE = 1, -}; - // Enum for AttributeWritePermission enum EmberAfAttributeWritePermission : uint8_t { @@ -301,54 +153,6 @@ enum EmberAfBatterySize : uint8_t EMBER_ZCL_BATTERY_SIZE_UNKNOWN = 255, }; -// Enum for BillingPeriodDurationUnits -enum EmberAfBillingPeriodDurationUnits : uint32_t -{ - EMBER_ZCL_BILLING_PERIOD_DURATION_UNITS_MINUTES = 0, - EMBER_ZCL_BILLING_PERIOD_DURATION_UNITS_DAYS = 4194304, - EMBER_ZCL_BILLING_PERIOD_DURATION_UNITS_WEEKS = 8388608, - EMBER_ZCL_BILLING_PERIOD_DURATION_UNITS_MONTHS = 12582912, -}; - -// Enum for Block -enum EmberAfBlock : uint8_t -{ - EMBER_ZCL_BLOCK_NO_BLOCKS_IN_USE = 0, - EMBER_ZCL_BLOCK_BLOCK1 = 1, - EMBER_ZCL_BLOCK_BLOCK2 = 2, - EMBER_ZCL_BLOCK_BLOCK3 = 3, - EMBER_ZCL_BLOCK_BLOCK4 = 4, - EMBER_ZCL_BLOCK_BLOCK5 = 5, - EMBER_ZCL_BLOCK_BLOCK6 = 6, - EMBER_ZCL_BLOCK_BLOCK7 = 7, - EMBER_ZCL_BLOCK_BLOCK8 = 8, - EMBER_ZCL_BLOCK_BLOCK9 = 9, - EMBER_ZCL_BLOCK_BLOCK10 = 10, - EMBER_ZCL_BLOCK_BLOCK11 = 11, - EMBER_ZCL_BLOCK_BLOCK12 = 12, - EMBER_ZCL_BLOCK_BLOCK13 = 13, - EMBER_ZCL_BLOCK_BLOCK14 = 14, - EMBER_ZCL_BLOCK_BLOCK15 = 15, - EMBER_ZCL_BLOCK_BLOCK16 = 16, -}; - -// Enum for BlockPeriodDurationTypeControl -enum EmberAfBlockPeriodDurationTypeControl : uint8_t -{ - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_CONTROL_START_OF_TIMEBASE = 0, - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_CONTROL_END_OF_TIMEBASE = 16, - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_CONTROL_NOT_SPECIFIED = 32, -}; - -// Enum for BlockPeriodDurationTypeTimebase -enum EmberAfBlockPeriodDurationTypeTimebase : uint8_t -{ - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_TIMEBASE_MINUTES = 0, - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_TIMEBASE_DAYS = 1, - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_TIMEBASE_WEEKS = 2, - EMBER_ZCL_BLOCK_PERIOD_DURATION_TYPE_TIMEBASE_MONTHS = 3, -}; - // Enum for BootReasonType enum EmberAfBootReasonType : uint8_t { @@ -361,39 +165,6 @@ enum EmberAfBootReasonType : uint8_t EMBER_ZCL_BOOT_REASON_TYPE_SOFTWARE_RESET = 6, }; -// Enum for CO2Unit -enum EmberAfCO2Unit : uint8_t -{ - EMBER_ZCL_CO2_UNIT_KILOGRAM_PER_KILOWATT_HOUR = 1, - EMBER_ZCL_CO2_UNIT_KILOGRAM_PER_GALLON_OF_GASOLINE = 2, - EMBER_ZCL_CO2_UNIT_KILOGRAM_PER_THERM_OF_NATURAL_GAS = 3, -}; - -// Enum for CalendarTimeReference -enum EmberAfCalendarTimeReference : uint8_t -{ - EMBER_ZCL_CALENDAR_TIME_REFERENCE_UTC_TIME = 0, - EMBER_ZCL_CALENDAR_TIME_REFERENCE_STANDARD_TIME = 1, - EMBER_ZCL_CALENDAR_TIME_REFERENCE_LOCAL_TIME = 2, -}; - -// Enum for CalendarType -enum EmberAfCalendarType : uint8_t -{ - EMBER_ZCL_CALENDAR_TYPE_DELIVERED_CALENDAR = 0, - EMBER_ZCL_CALENDAR_TYPE_RECEIVED_CALENDAR = 1, - EMBER_ZCL_CALENDAR_TYPE_DELIVERED_AND_RECEIVED_CALENDAR = 2, - EMBER_ZCL_CALENDAR_TYPE_FRIENDLY_CREDIT_CALENDAR = 3, - EMBER_ZCL_CALENDAR_TYPE_AUXILLIARY_LOAD_SWITCH_CALENDAR = 4, -}; - -// Enum for CalorificValueUnit -enum EmberAfCalorificValueUnit : uint8_t -{ - EMBER_ZCL_CALORIFIC_VALUE_UNIT_MEGAJOULE_PER_CUBIC_METER = 1, - EMBER_ZCL_CALORIFIC_VALUE_UNIT_MEGAJOULE_PER_KILOGRAM = 2, -}; - // Enum for CecedSpecificationVersion enum EmberAfCecedSpecificationVersion : uint8_t { @@ -446,36 +217,6 @@ enum EmberAfCommandIdentification : uint8_t EMBER_ZCL_COMMAND_IDENTIFICATION_DISABLE_ENERGY_CONTROL = 11, }; -// Enum for CommissioningStartupControl -enum EmberAfCommissioningStartupControl : uint8_t -{ - EMBER_ZCL_COMMISSIONING_STARTUP_CONTROL_NO_ACTION = 0, - EMBER_ZCL_COMMISSIONING_STARTUP_CONTROL_FORM_NETWORK = 1, - EMBER_ZCL_COMMISSIONING_STARTUP_CONTROL_REJOIN_NETWORK = 2, - EMBER_ZCL_COMMISSIONING_STARTUP_CONTROL_START_FROM_SCRATCH = 3, -}; - -// Enum for CommodityType -enum EmberAfCommodityType : uint8_t -{ - EMBER_ZCL_COMMODITY_TYPE_ELECTRIC_METERING = 0, - EMBER_ZCL_COMMODITY_TYPE_GAS_METERING = 1, - EMBER_ZCL_COMMODITY_TYPE_WATER_METERING = 2, - EMBER_ZCL_COMMODITY_TYPE_THERMAL_METERING = 3, - EMBER_ZCL_COMMODITY_TYPE_PRESSURE_METERING = 4, - EMBER_ZCL_COMMODITY_TYPE_HEAT_METERING = 5, - EMBER_ZCL_COMMODITY_TYPE_COOLING_METERING = 6, - EMBER_ZCL_COMMODITY_TYPE_ELECTRIC_VEHICLE_CHARGING_METERING = 7, - EMBER_ZCL_COMMODITY_TYPE_PV_GENERATION_METERING = 8, - EMBER_ZCL_COMMODITY_TYPE_WIND_TURBINE_GENERATION_METERING = 9, - EMBER_ZCL_COMMODITY_TYPE_WATER_TURBINE_GENERATION_METERING = 10, - EMBER_ZCL_COMMODITY_TYPE_MICRO_GENERATION_METERING = 11, - EMBER_ZCL_COMMODITY_TYPE_SOLAR_HOT_WATER_GENERATION_METERING = 12, - EMBER_ZCL_COMMODITY_TYPE_ELECTRIC_METERING_ELEMENT1 = 13, - EMBER_ZCL_COMMODITY_TYPE_ELECTRIC_METERING_ELEMENT2 = 14, - EMBER_ZCL_COMMODITY_TYPE_ELECTRIC_METERING_ELEMENT3 = 15, -}; - // Enum for ContentLaunchMetricType enum EmberAfContentLaunchMetricType : uint8_t { @@ -514,37 +255,6 @@ enum EmberAfContentLaunchStreamingType : uint8_t EMBER_ZCL_CONTENT_LAUNCH_STREAMING_TYPE_HLS = 1, }; -// Enum for CppEventResponseCppAuth -enum EmberAfCppEventResponseCppAuth : uint8_t -{ - EMBER_ZCL_CPP_EVENT_RESPONSE_CPP_AUTH_ACCEPTED = 1, - EMBER_ZCL_CPP_EVENT_RESPONSE_CPP_AUTH_REJECTED = 2, -}; - -// Enum for CppPriceTier -enum EmberAfCppPriceTier : uint8_t -{ - EMBER_ZCL_CPP_PRICE_TIER_CPP1 = 0, - EMBER_ZCL_CPP_PRICE_TIER_CPP2 = 1, -}; - -// Enum for CreditAdjustmentType -enum EmberAfCreditAdjustmentType : uint8_t -{ - EMBER_ZCL_CREDIT_ADJUSTMENT_TYPE_CREDIT_INCREMENTAL = 0, - EMBER_ZCL_CREDIT_ADJUSTMENT_TYPE_CREDIT_ABSOLUTE = 1, -}; - -// Enum for CreditPaymentStatus -enum EmberAfCreditPaymentStatus : uint8_t -{ - EMBER_ZCL_CREDIT_PAYMENT_STATUS_PENDING = 0, - EMBER_ZCL_CREDIT_PAYMENT_STATUS_RECEIVED_PAID = 1, - EMBER_ZCL_CREDIT_PAYMENT_STATUS_OVERDUE = 2, - EMBER_ZCL_CREDIT_PAYMENT_STATUS_2_PAYMENTS_OVERDUE = 3, - EMBER_ZCL_CREDIT_PAYMENT_STATUS_3_PAYMENTS_OVERDUE = 4, -}; - // Enum for DataQualityId enum EmberAfDataQualityId : uint16_t { @@ -554,35 +264,6 @@ enum EmberAfDataQualityId : uint16_t EMBER_ZCL_DATA_QUALITY_ID_NOT_CERTIFIED_DATA = 3, }; -// Enum for DebtAmountType -enum EmberAfDebtAmountType : uint8_t -{ - EMBER_ZCL_DEBT_AMOUNT_TYPE_TYPE1_ABSOLUTE = 0, - EMBER_ZCL_DEBT_AMOUNT_TYPE_TYPE1_INCREMENTAL = 1, - EMBER_ZCL_DEBT_AMOUNT_TYPE_TYPE2_ABSOLUTE = 2, - EMBER_ZCL_DEBT_AMOUNT_TYPE_TYPE2_INCREMENTAL = 3, - EMBER_ZCL_DEBT_AMOUNT_TYPE_TYPE3_ABSOLUTE = 4, - EMBER_ZCL_DEBT_AMOUNT_TYPE_TYPE3_INCREMENTAL = 5, -}; - -// Enum for DebtRecoveryFrequency -enum EmberAfDebtRecoveryFrequency : uint8_t -{ - EMBER_ZCL_DEBT_RECOVERY_FREQUENCY_PER_HOUR = 0, - EMBER_ZCL_DEBT_RECOVERY_FREQUENCY_PER_DAY = 1, - EMBER_ZCL_DEBT_RECOVERY_FREQUENCY_PER_WEEK = 2, - EMBER_ZCL_DEBT_RECOVERY_FREQUENCY_PER_MONTH = 3, - EMBER_ZCL_DEBT_RECOVERY_FREQUENCY_PER_QUARTER = 4, -}; - -// Enum for DebtRecoveryMethod -enum EmberAfDebtRecoveryMethod : uint8_t -{ - EMBER_ZCL_DEBT_RECOVERY_METHOD_TIME_BASED = 0, - EMBER_ZCL_DEBT_RECOVERY_METHOD_PERCENTAGE_BASED = 1, - EMBER_ZCL_DEBT_RECOVERY_METHOD_CATCH_UP_BASED = 2, -}; - // Enum for DehumidifcationLockout enum EmberAfDehumidifcationLockout : uint8_t { @@ -590,13 +271,6 @@ enum EmberAfDehumidifcationLockout : uint8_t EMBER_ZCL_DEHUMIDIFCATION_LOCKOUT_ALLOWED = 1, }; -// Enum for DeviceInformationRecordSort -enum EmberAfDeviceInformationRecordSort : uint8_t -{ - EMBER_ZCL_DEVICE_INFORMATION_RECORD_SORT_NOT_SORTED = 0, - EMBER_ZCL_DEVICE_INFORMATION_RECORD_SORT_TOP_OF_THE_LIST = 1, -}; - // Enum for DeviceStatus2Structure enum EmberAfDeviceStatus2Structure : uint8_t { @@ -741,37 +415,6 @@ enum EmberAfDoorState : uint8_t EMBER_ZCL_DOOR_STATE_ERROR_UNSPECIFIED = 4, }; -// Enum for ElectricityAlarmGroups -enum EmberAfElectricityAlarmGroups : uint8_t -{ - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_LOW_VOLTAGE_L1 = 16, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_HIGH_VOLTAGE_L1 = 17, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_LOW_VOLTAGE_L2 = 18, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_HIGH_VOLTAGE_L2 = 19, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_LOW_VOLTAGE_L3 = 20, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_HIGH_VOLTAGE_L3 = 21, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_OVER_CURRENT_L1 = 22, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_OVER_CURRENT_L2 = 23, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_OVER_CURRENT_L3 = 24, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_FREQUENCY_TOO_LOW_L1 = 25, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_FREQUENCY_TOO_HIGH_L1 = 26, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_FREQUENCY_TOO_LOW_L2 = 27, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_FREQUENCY_TOO_HIGH_L2 = 28, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_FREQUENCY_TOO_LOW_L3 = 29, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_FREQUENCY_TOO_HIGH_L3 = 30, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_GROUND_FAULT = 31, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_ELECTRIC_TAMPER_DETECT = 32, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_INCORRECT_POLARITY = 33, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_CURRENT_NO_VOLTAGE = 34, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_UNDER_VOLTAGE = 35, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_OVER_VOLTAGE = 36, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_NORMAL_VOLTAGE = 37, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_PF_BELOW_THRESHOLD = 38, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_PF_ABOVE_THRESHOLD = 39, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_TERMINAL_COVER_REMOVED = 40, - EMBER_ZCL_ELECTRICITY_ALARM_GROUPS_TERMINAL_COVER_CLOSED = 41, -}; - // Enum for EnhancedColorMode enum EmberAfEnhancedColorMode : uint8_t { @@ -781,33 +424,6 @@ enum EmberAfEnhancedColorMode : uint8_t EMBER_ZCL_ENHANCED_COLOR_MODE_ENHANCED_CURRENT_HUE_AND_CURRENT_SATURATION = 3, }; -// Enum for EventConfigurationControl -enum EmberAfEventConfigurationControl : uint8_t -{ - EMBER_ZCL_EVENT_CONFIGURATION_CONTROL_APPLY_BY_LIST = 0, - EMBER_ZCL_EVENT_CONFIGURATION_CONTROL_APPLY_BY_EVENT_GROUP = 1, - EMBER_ZCL_EVENT_CONFIGURATION_CONTROL_APPLY_BY_LOG_TYPE = 2, - EMBER_ZCL_EVENT_CONFIGURATION_CONTROL_APPLY_BY_CONFIGURATION_MATCH = 3, -}; - -// Enum for EventConfigurationLogAction -enum EmberAfEventConfigurationLogAction : uint8_t -{ - EMBER_ZCL_EVENT_CONFIGURATION_LOG_ACTION_DO_NOT_LOG = 0, - EMBER_ZCL_EVENT_CONFIGURATION_LOG_ACTION_LOG_AS_TAMPER = 1, - EMBER_ZCL_EVENT_CONFIGURATION_LOG_ACTION_LOG_AS_FAULT = 2, - EMBER_ZCL_EVENT_CONFIGURATION_LOG_ACTION_LOG_AS_GENERAL_EVENT = 3, - EMBER_ZCL_EVENT_CONFIGURATION_LOG_ACTION_LOG_AS_SECURITY_EVENT = 4, - EMBER_ZCL_EVENT_CONFIGURATION_LOG_ACTION_LOG_AS_NETWORK_EVENT = 5, -}; - -// Enum for EventControl -enum EmberAfEventControl : uint8_t -{ - EMBER_ZCL_EVENT_CONTROL_RETRIEVE_MINIMAL_INFORMATION = 0, - EMBER_ZCL_EVENT_CONTROL_RETRIEVE_FULL_INFORMATION = 16, -}; - // Enum for EventId enum EmberAfEventId : uint8_t { @@ -904,194 +520,6 @@ enum EmberAfEventIdentification : uint8_t EMBER_ZCL_EVENT_IDENTIFICATION_WRONG_DATA = 7, }; -// Enum for EventLogId -enum EmberAfEventLogId : uint8_t -{ - EMBER_ZCL_EVENT_LOG_ID_ALL_LOGS = 0, - EMBER_ZCL_EVENT_LOG_ID_TAMPER_LOG = 1, - EMBER_ZCL_EVENT_LOG_ID_FAULT_LOG = 2, - EMBER_ZCL_EVENT_LOG_ID_GENERAL_EVENT_LOG = 3, - EMBER_ZCL_EVENT_LOG_ID_SECURITY_EVENT_LOG = 4, - EMBER_ZCL_EVENT_LOG_ID_NETWORK_EVENT_LOG = 5, - EMBER_ZCL_EVENT_LOG_ID_GBCS_GENERAL_EVENT_LOG = 6, - EMBER_ZCL_EVENT_LOG_ID_GBCS_SECURITY_EVENT_LOG = 7, -}; - -// Enum for EventLogPayloadControl -enum EmberAfEventLogPayloadControl : uint8_t -{ - EMBER_ZCL_EVENT_LOG_PAYLOAD_CONTROL_EVENTS_DO_NOT_CROSS_FRAME_BOUNDARY = 0, - EMBER_ZCL_EVENT_LOG_PAYLOAD_CONTROL_EVENT_CROSSES_FRAME_BOUNDARY = 1, -}; - -// Enum for ExtendedGenericAlarmGroups -enum EmberAfExtendedGenericAlarmGroups : uint8_t -{ - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_MEASUREMENT_SYSTEM_ERROR = 112, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_WATCHDOG_ERROR = 113, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_SUPPLY_DISCONNECT_FAILURE = 114, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_SUPPLY_CONNECT_FAILURE = 115, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_MEASURMENT_SOFTWARE_CHANGED = 116, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_DST_ENABLED = 117, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_DST_DISABLED = 118, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_CLOCK_ADJ_BACKWARD = 119, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_CLOCK_ADJ_FORWARD = 120, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_CLOCK_INVALID = 121, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_COMMUNICATION_ERROR_HAN = 122, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_COMMUNICATION_OK_H_AN = 123, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_METER_FRAUD_ATTEMPT = 124, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_POWER_LOSS = 125, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_UNUSUAL_HAN_TRAFFIC = 126, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_UNEXPECTED_CLOCK_CHANGE = 127, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_COMMS_USING_UNAUTHENTICATED_COMPONENT = 128, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_ERROR_REG_CLEAR = 129, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_ALARM_REG_CLEAR = 130, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_UNEXPECTED_HW_RESET = 131, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_UNEXPECTED_PROGRAM_EXECUTION = 132, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_EVENT_LOG_CLEARED = 133, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_LIMIT_THRESHOLD_EXCEEDED = 134, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_LIMIT_THRESHOLD_OK = 135, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_LIMIT_THRESHOLD_CHANGED = 136, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_MAXIMUM_DEMAND_EXCEEDED = 137, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_PROFILE_CLEARED = 138, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_SAMPLING_BUFFERCLEARED = 139, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_BATTERY_WARNING = 140, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_WRONG_SIGNATURE = 141, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_NO_SIGNATURE = 142, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_UNAUTHORISED_ACTIONFROM_HAN = 143, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_FAST_POLLING_START = 144, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_FAST_POLLING_END = 145, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_METER_REPORTING_INTERVAL_CHANGED = 146, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_DISCONNECT_DUETO_LOAD_LIMIT = 147, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_METER_SUPPLY_STATUS_REGISTER_CHANGED = 148, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_METER_ALARM_STATUS_REGISTER_CHANGED = 149, - EMBER_ZCL_EXTENDED_GENERIC_ALARM_GROUPS_EXTENDED_METER_ALARM_STATUS_REGISTER_CHANGED = 150, -}; - -// Enum for ExtendedNumberOfPriceTiers -enum EmberAfExtendedNumberOfPriceTiers : uint8_t -{ - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_REFER_TO_NUMBER_OF_PRICE_TIERS_FIELD = 0, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS16 = 1, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS17 = 2, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS18 = 3, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS19 = 4, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS20 = 5, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS21 = 6, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS22 = 7, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS23 = 8, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS24 = 9, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS25 = 10, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS26 = 11, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS27 = 12, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS28 = 13, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS29 = 14, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS30 = 15, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS31 = 16, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS32 = 17, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS33 = 18, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS34 = 19, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS35 = 20, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS36 = 21, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS37 = 22, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS38 = 23, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS39 = 24, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS40 = 25, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS41 = 26, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS42 = 27, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS43 = 28, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS44 = 29, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS45 = 30, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS46 = 31, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS47 = 32, - EMBER_ZCL_EXTENDED_NUMBER_OF_PRICE_TIERS_NUMBER_OF_PRICE_TIERS48 = 33, -}; - -// Enum for ExtendedPriceTier -enum EmberAfExtendedPriceTier : uint8_t -{ - EMBER_ZCL_EXTENDED_PRICE_TIER_REFER_TO_PRICE_TIER_FIELD = 0, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER16_PRICE_LABEL = 1, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER17_PRICE_LABEL = 2, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER18_PRICE_LABEL = 3, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER19_PRICE_LABEL = 4, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER20_PRICE_LABEL = 5, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER21_PRICE_LABEL = 6, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER22_PRICE_LABEL = 7, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER23_PRICE_LABEL = 8, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER24_PRICE_LABEL = 9, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER25_PRICE_LABEL = 10, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER26_PRICE_LABEL = 11, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER27_PRICE_LABEL = 12, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER28_PRICE_LABEL = 13, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER29_PRICE_LABEL = 14, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER30_PRICE_LABEL = 15, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER31_PRICE_LABEL = 16, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER32_PRICE_LABEL = 17, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER33_PRICE_LABEL = 18, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER34_PRICE_LABEL = 19, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER35_PRICE_LABEL = 20, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER36_PRICE_LABEL = 21, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER37_PRICE_LABEL = 22, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER38_PRICE_LABEL = 23, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER39_PRICE_LABEL = 24, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER40_PRICE_LABEL = 25, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER41_PRICE_LABEL = 26, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER42_PRICE_LABEL = 27, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER43_PRICE_LABEL = 28, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER44_PRICE_LABEL = 29, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER45_PRICE_LABEL = 30, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER46_PRICE_LABEL = 31, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER47_PRICE_LABEL = 32, - EMBER_ZCL_EXTENDED_PRICE_TIER_TIER48_PRICE_LABEL = 33, -}; - -// Enum for ExtendedRegisterTier -enum EmberAfExtendedRegisterTier : uint8_t -{ - EMBER_ZCL_EXTENDED_REGISTER_TIER_REFER_TO_REGISTER_TIER_FIELD = 0, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER16_SUMMATION_DELIVERED_ATTRIBUTE = 1, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER17_SUMMATION_DELIVERED_ATTRIBUTE = 2, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER18_SUMMATION_DELIVERED_ATTRIBUTE = 3, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER19_SUMMATION_DELIVERED_ATTRIBUTE = 4, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER20_SUMMATION_DELIVERED_ATTRIBUTE = 5, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER21_SUMMATION_DELIVERED_ATTRIBUTE = 6, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER22_SUMMATION_DELIVERED_ATTRIBUTE = 7, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER23_SUMMATION_DELIVERED_ATTRIBUTE = 8, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER24_SUMMATION_DELIVERED_ATTRIBUTE = 9, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER25_SUMMATION_DELIVERED_ATTRIBUTE = 10, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER26_SUMMATION_DELIVERED_ATTRIBUTE = 11, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER27_SUMMATION_DELIVERED_ATTRIBUTE = 12, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER28_SUMMATION_DELIVERED_ATTRIBUTE = 13, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER29_SUMMATION_DELIVERED_ATTRIBUTE = 14, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER30_SUMMATION_DELIVERED_ATTRIBUTE = 15, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER31_SUMMATION_DELIVERED_ATTRIBUTE = 16, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER32_SUMMATION_DELIVERED_ATTRIBUTE = 17, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER33_SUMMATION_DELIVERED_ATTRIBUTE = 18, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER34_SUMMATION_DELIVERED_ATTRIBUTE = 19, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER35_SUMMATION_DELIVERED_ATTRIBUTE = 20, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER36_SUMMATION_DELIVERED_ATTRIBUTE = 21, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER37_SUMMATION_DELIVERED_ATTRIBUTE = 22, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER38_SUMMATION_DELIVERED_ATTRIBUTE = 23, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER39_SUMMATION_DELIVERED_ATTRIBUTE = 24, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER40_SUMMATION_DELIVERED_ATTRIBUTE = 25, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER41_SUMMATION_DELIVERED_ATTRIBUTE = 26, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER42_SUMMATION_DELIVERED_ATTRIBUTE = 27, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER43_SUMMATION_DELIVERED_ATTRIBUTE = 28, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER44_SUMMATION_DELIVERED_ATTRIBUTE = 29, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER45_SUMMATION_DELIVERED_ATTRIBUTE = 30, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER46_SUMMATION_DELIVERED_ATTRIBUTE = 31, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER47_SUMMATION_DELIVERED_ATTRIBUTE = 32, - EMBER_ZCL_EXTENDED_REGISTER_TIER_CURRENT_TIER48_SUMMATION_DELIVERED_ATTRIBUTE = 33, -}; - -// Enum for EzModeCommissioningClusterType -enum EmberAfEzModeCommissioningClusterType : uint8_t -{ - EMBER_ZCL_EZ_MODE_COMMISSIONING_CLUSTER_TYPE_SERVER = 0, - EMBER_ZCL_EZ_MODE_COMMISSIONING_CLUSTER_TYPE_CLIENT = 1, -}; - // Enum for FanMode enum EmberAfFanMode : uint8_t { @@ -1114,16 +542,6 @@ enum EmberAfFanModeSequence : uint8_t EMBER_ZCL_FAN_MODE_SEQUENCE_ON_AUTO = 4, }; -// Enum for GasSpecificAlarmGroups -enum EmberAfGasSpecificAlarmGroups : uint8_t -{ - EMBER_ZCL_GAS_SPECIFIC_ALARM_GROUPS_TILT_TAMPER = 96, - EMBER_ZCL_GAS_SPECIFIC_ALARM_GROUPS_BATTERY_COVER_REMOVED = 97, - EMBER_ZCL_GAS_SPECIFIC_ALARM_GROUPS_BATTERY_COVER_CLOSED = 98, - EMBER_ZCL_GAS_SPECIFIC_ALARM_GROUPS_EXCESS_FLOW = 99, - EMBER_ZCL_GAS_SPECIFIC_ALARM_GROUPS_TILT_TAMPER_ENDED = 100, -}; - // Enum for GeneralCommissioningError enum EmberAfGeneralCommissioningError : uint8_t { @@ -1132,107 +550,6 @@ enum EmberAfGeneralCommissioningError : uint8_t EMBER_ZCL_GENERAL_COMMISSIONING_ERROR_INVALID_AUTHENTICATION = 2, }; -// Enum for GenerationTier -enum EmberAfGenerationTier : uint8_t -{ - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER1_SUMMATION_RECEIVED_ATTRIBUTE = 1, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER2_SUMMATION_RECEIVED_ATTRIBUTE = 2, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER3_SUMMATION_RECEIVED_ATTRIBUTE = 3, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER4_SUMMATION_RECEIVED_ATTRIBUTE = 4, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER5_SUMMATION_RECEIVED_ATTRIBUTE = 5, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER6_SUMMATION_RECEIVED_ATTRIBUTE = 6, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER7_SUMMATION_RECEIVED_ATTRIBUTE = 7, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER8_SUMMATION_RECEIVED_ATTRIBUTE = 8, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER9_SUMMATION_RECEIVED_ATTRIBUTE = 9, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER10_SUMMATION_RECEIVED_ATTRIBUTE = 10, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER11_SUMMATION_RECEIVED_ATTRIBUTE = 11, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER12_SUMMATION_RECEIVED_ATTRIBUTE = 12, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER13_SUMMATION_RECEIVED_ATTRIBUTE = 13, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER14_SUMMATION_RECEIVED_ATTRIBUTE = 14, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER15_SUMMATION_RECEIVED_ATTRIBUTE = 15, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER16_SUMMATION_RECEIVED_ATTRIBUTE = 16, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER17_SUMMATION_RECEIVED_ATTRIBUTE = 17, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER18_SUMMATION_RECEIVED_ATTRIBUTE = 18, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER19_SUMMATION_RECEIVED_ATTRIBUTE = 19, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER20_SUMMATION_RECEIVED_ATTRIBUTE = 20, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER21_SUMMATION_RECEIVED_ATTRIBUTE = 21, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER22_SUMMATION_RECEIVED_ATTRIBUTE = 22, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER23_SUMMATION_RECEIVED_ATTRIBUTE = 23, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER24_SUMMATION_RECEIVED_ATTRIBUTE = 24, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER25_SUMMATION_RECEIVED_ATTRIBUTE = 25, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER26_SUMMATION_RECEIVED_ATTRIBUTE = 26, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER27_SUMMATION_RECEIVED_ATTRIBUTE = 27, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER28_SUMMATION_RECEIVED_ATTRIBUTE = 28, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER29_SUMMATION_RECEIVED_ATTRIBUTE = 29, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER30_SUMMATION_RECEIVED_ATTRIBUTE = 30, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER31_SUMMATION_RECEIVED_ATTRIBUTE = 31, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER32_SUMMATION_RECEIVED_ATTRIBUTE = 32, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER33_SUMMATION_RECEIVED_ATTRIBUTE = 33, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER34_SUMMATION_RECEIVED_ATTRIBUTE = 34, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER35_SUMMATION_RECEIVED_ATTRIBUTE = 35, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER36_SUMMATION_RECEIVED_ATTRIBUTE = 36, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER37_SUMMATION_RECEIVED_ATTRIBUTE = 37, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER38_SUMMATION_RECEIVED_ATTRIBUTE = 38, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER39_SUMMATION_RECEIVED_ATTRIBUTE = 39, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER40_SUMMATION_RECEIVED_ATTRIBUTE = 40, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER41_SUMMATION_RECEIVED_ATTRIBUTE = 41, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER42_SUMMATION_RECEIVED_ATTRIBUTE = 42, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER43_SUMMATION_RECEIVED_ATTRIBUTE = 43, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER44_SUMMATION_RECEIVED_ATTRIBUTE = 44, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER45_SUMMATION_RECEIVED_ATTRIBUTE = 45, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER46_SUMMATION_RECEIVED_ATTRIBUTE = 46, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER47_SUMMATION_RECEIVED_ATTRIBUTE = 47, - EMBER_ZCL_GENERATION_TIER_CURRENT_TIER48_SUMMATION_RECEIVED_ATTRIBUTE = 48, -}; - -// Enum for GenericAlarmGroups -enum EmberAfGenericAlarmGroups : uint8_t -{ - EMBER_ZCL_GENERIC_ALARM_GROUPS_CHECK_METER = 0, - EMBER_ZCL_GENERIC_ALARM_GROUPS_LOW_BATTERY = 1, - EMBER_ZCL_GENERIC_ALARM_GROUPS_TAMPER_DETECT = 2, - EMBER_ZCL_GENERIC_ALARM_GROUPS_LEAK_DETECT = 5, - EMBER_ZCL_GENERIC_ALARM_GROUPS_SERVICE_DISCONNECT = 6, - EMBER_ZCL_GENERIC_ALARM_GROUPS_METER_COVER_REMOVED = 8, - EMBER_ZCL_GENERIC_ALARM_GROUPS_METER_COVER_CLOSED = 9, - EMBER_ZCL_GENERIC_ALARM_GROUPS_STRONG_MAGNETIC_FIELD = 10, - EMBER_ZCL_GENERIC_ALARM_GROUPS_NO_STRONG_MAGNETIC_FIELD = 11, - EMBER_ZCL_GENERIC_ALARM_GROUPS_BATTERY_FAILURE = 12, - EMBER_ZCL_GENERIC_ALARM_GROUPS_PROGRAM_MEMORY_ERROR = 13, - EMBER_ZCL_GENERIC_ALARM_GROUPS_RAM_ERROR = 14, - EMBER_ZCL_GENERIC_ALARM_GROUPS_NV_MEMORY_ERROR = 15, -}; - -// Enum for GenericAlarmGroupsElectricity -enum EmberAfGenericAlarmGroupsElectricity : uint8_t -{ - EMBER_ZCL_GENERIC_ALARM_GROUPS_ELECTRICITY_POWER_FAILURE = 3, - EMBER_ZCL_GENERIC_ALARM_GROUPS_ELECTRICITY_POWER_QUALITY = 4, -}; - -// Enum for GenericAlarmGroupsGas -enum EmberAfGenericAlarmGroupsGas : uint8_t -{ - EMBER_ZCL_GENERIC_ALARM_GROUPS_GAS_LOW_PRESSURE = 4, - EMBER_ZCL_GENERIC_ALARM_GROUPS_GAS_REVERSE_FLOW = 7, -}; - -// Enum for GenericAlarmGroupsHeatCooling -enum EmberAfGenericAlarmGroupsHeatCooling : uint8_t -{ - EMBER_ZCL_GENERIC_ALARM_GROUPS_HEAT_COOLING_TEMPERATURE_SENSOR = 3, - EMBER_ZCL_GENERIC_ALARM_GROUPS_HEAT_COOLING_BURST_DETECT = 4, - EMBER_ZCL_GENERIC_ALARM_GROUPS_HEAT_COOLING_FLOW_SENSOR = 7, -}; - -// Enum for GenericAlarmGroupsWater -enum EmberAfGenericAlarmGroupsWater : uint8_t -{ - EMBER_ZCL_GENERIC_ALARM_GROUPS_WATER_WATER_PIPE_EMPTY = 3, - EMBER_ZCL_GENERIC_ALARM_GROUPS_WATER_WATER_LOW_PRESSURE = 4, - EMBER_ZCL_GENERIC_ALARM_GROUPS_WATER_WATER_REVERSE_FLOW = 7, -}; - // Enum for GenericDeviceClass enum EmberAfGenericDeviceClass : uint8_t { @@ -1265,219 +582,6 @@ enum EmberAfGenericDeviceType : uint8_t EMBER_ZCL_GENERIC_DEVICE_TYPE_UNSPECIFIED = 255, }; -// Enum for GenericFlowPressureAlarmGroups -enum EmberAfGenericFlowPressureAlarmGroups : uint8_t -{ - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_BURST_DETECT = 48, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_PRESSURE_TOO_LOW = 49, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_PRESSURE_TOO_HIGH = 50, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_FLOW_SENSOR_COMMUNICATION_ERROR = 51, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_FLOW_SENSOR_MEASUREMENT_FAULT = 52, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_FLOW_SENSOR_REVERSE_FLOW = 53, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_FLOW_SENSOR_AIR_DETECT = 54, - EMBER_ZCL_GENERIC_FLOW_PRESSURE_ALARM_GROUPS_PIPE_EMPTY = 55, -}; - -// Enum for GpDeviceId -enum EmberAfGpDeviceId : uint8_t -{ - EMBER_ZCL_GP_DEVICE_ID_GP_SIMPLE_GENERIC_ONE_STATE_SWITCH = 0, - EMBER_ZCL_GP_DEVICE_ID_GP_SIMPLE_GENERIC_TWO_STATE_SWITCH = 0, - EMBER_ZCL_GP_DEVICE_ID_GP_ON_OFF_SWITCH = 8, - EMBER_ZCL_GP_DEVICE_ID_GP_LEVEL_CONTROL_SWITCH = 16, - EMBER_ZCL_GP_DEVICE_ID_GP_SIMPLE_SENSOR = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_ADVANCED_GENERIC_ONE_STATE_SWITCH = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_ADVANCED_GENERIC_TWO_STATE_SWITCH = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_COLOR_DIMMER_SWITCH = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_LIGHT_SENSOR = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_OCCPANCY_SENSOR = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_DOOR_LOCK_CONTROLLER = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_TEMPERATURE_SENSOR = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_PRESSURE_SENSOR = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_FLOW_SENSOR = 24, - EMBER_ZCL_GP_DEVICE_ID_GP_INDOOR_ENVIRONMENT_SNESOR = 24, -}; - -// Enum for GpGpdf -enum EmberAfGpGpdf : uint8_t -{ - EMBER_ZCL_GP_GPDF_IDENTIFY = 0, - EMBER_ZCL_GP_GPDF_MATCH_ONLY_ON_GPD_ADDRESS = 2, - EMBER_ZCL_GP_GPDF_RECALL_SCENE0 = 16, - EMBER_ZCL_GP_GPDF_RECALL_SCENE1 = 17, - EMBER_ZCL_GP_GPDF_RECALL_SCENE2 = 18, - EMBER_ZCL_GP_GPDF_RECALL_SCENE3 = 19, - EMBER_ZCL_GP_GPDF_RECALL_SCENE4 = 20, - EMBER_ZCL_GP_GPDF_RECALL_SCENE5 = 21, - EMBER_ZCL_GP_GPDF_RECALL_SCENE6 = 22, - EMBER_ZCL_GP_GPDF_RECALL_SCENE7 = 23, - EMBER_ZCL_GP_GPDF_STORE_SCENE0 = 24, - EMBER_ZCL_GP_GPDF_STORE_SCENE1 = 25, - EMBER_ZCL_GP_GPDF_STORE_SCENE2 = 26, - EMBER_ZCL_GP_GPDF_STORE_SCENE3 = 27, - EMBER_ZCL_GP_GPDF_STORE_SCENE4 = 28, - EMBER_ZCL_GP_GPDF_STORE_SCENE5 = 29, - EMBER_ZCL_GP_GPDF_STORE_SCENE6 = 30, - EMBER_ZCL_GP_GPDF_STORE_SCENE7 = 31, - EMBER_ZCL_GP_GPDF_OFF = 32, - EMBER_ZCL_GP_GPDF_ON = 33, - EMBER_ZCL_GP_GPDF_TOGGLE = 34, - EMBER_ZCL_GP_GPDF_RELEASE = 35, - EMBER_ZCL_GP_GPDF_MOVE_UP = 48, - EMBER_ZCL_GP_GPDF_MOVE_DOWN = 49, - EMBER_ZCL_GP_GPDF_STEP_UP = 50, - EMBER_ZCL_GP_GPDF_STEP_DOWN = 51, - EMBER_ZCL_GP_GPDF_LEVEL_CONTROL_STOP = 52, - EMBER_ZCL_GP_GPDF_MOVE_UP_WITH_ON_OFF = 53, - EMBER_ZCL_GP_GPDF_MOVE_DOWN_WITH_ON_OFF = 54, - EMBER_ZCL_GP_GPDF_STEP_UP_WITH_ON_OFF = 55, - EMBER_ZCL_GP_GPDF_STEP_DOWN_WITH_ON_OFF = 56, - EMBER_ZCL_GP_GPDF_MOVE_HUE_STOP = 64, - EMBER_ZCL_GP_GPDF_MOVE_HUE_UP = 65, - EMBER_ZCL_GP_GPDF_MOVE_HUE_DOWN = 66, - EMBER_ZCL_GP_GPDF_STEP_HUE_UP = 67, - EMBER_ZCL_GP_GPDF_STEP_HUE_DOWN = 68, - EMBER_ZCL_GP_GPDF_MOVE_SATURATION_STOP = 69, - EMBER_ZCL_GP_GPDF_MOVE_SATURATION_UP = 70, - EMBER_ZCL_GP_GPDF_MOVE_SATURATION_DOWN = 71, - EMBER_ZCL_GP_GPDF_STEP_SATURATION_UP = 72, - EMBER_ZCL_GP_GPDF_STEP_SATURATION_DOWN = 73, - EMBER_ZCL_GP_GPDF_MOVE_COLOR = 74, - EMBER_ZCL_GP_GPDF_STEP_COLOR = 75, - EMBER_ZCL_GP_GPDF_LOCK_DOOR = 80, - EMBER_ZCL_GP_GPDF_UNLOCK_DOOR = 81, - EMBER_ZCL_GP_GPDF_PRESS1_OF1 = 96, - EMBER_ZCL_GP_GPDF_RELEASE1_OF1 = 97, - EMBER_ZCL_GP_GPDF_PRESS1_OF2 = 98, - EMBER_ZCL_GP_GPDF_RELEASE1_OF2 = 99, - EMBER_ZCL_GP_GPDF_PRESS2_OF2 = 100, - EMBER_ZCL_GP_GPDF_RELEASE2_OF2 = 101, - EMBER_ZCL_GP_GPDF_SHORT_PRESS1_OF1 = 102, - EMBER_ZCL_GP_GPDF_SHORT_PRESS1_OF2 = 103, - EMBER_ZCL_GP_GPDF_SHORT_PRESS2_OF2 = 104, - EMBER_ZCL_GP_GPDF_8BITS_VECTOR_PRESS = 105, - EMBER_ZCL_GP_GPDF_8BITS_VECTOR_RELEASE = 106, - EMBER_ZCL_GP_GPDF_ATTRIBUTE_REPORTING = 160, - EMBER_ZCL_GP_GPDF_MFR_SP_ATTR_RPTG = 161, - EMBER_ZCL_GP_GPDF_MULTI_CLUSTER_RPTG = 162, - EMBER_ZCL_GP_GPDF_MFR_SP_MULTI_CLUSTER_RPTG = 163, - EMBER_ZCL_GP_GPDF_REQUEST_ATTRIBUTE = 164, - EMBER_ZCL_GP_GPDF_READ_ATTR_RESPONSE = 165, - EMBER_ZCL_GP_GPDF_ZCL_TUNNELING_WITH_PAYLOAD = 166, - EMBER_ZCL_GP_GPDF_COMPACT_ATTRIBUTE_REPORTING = 168, - EMBER_ZCL_GP_GPDF_ANY_GPD_SENSOR_CMD = 175, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD0 = 176, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD1 = 177, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD2 = 178, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD3 = 179, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD4 = 180, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD5 = 181, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD6 = 182, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD7 = 183, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD8 = 184, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD9 = 185, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD_A = 186, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD_B = 187, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD_C = 188, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD_D = 189, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD_E = 190, - EMBER_ZCL_GP_GPDF_MFR_DEF_GPD_CMD_F = 191, - EMBER_ZCL_GP_GPDF_COMMISSIONING = 224, - EMBER_ZCL_GP_GPDF_DECOMMISSIONING = 225, - EMBER_ZCL_GP_GPDF_SUCCESS = 226, - EMBER_ZCL_GP_GPDF_CHANNEL_REQUEST = 227, - EMBER_ZCL_GP_GPDF_APPLICATION_DESCRIPTION = 228, - EMBER_ZCL_GP_GPDF_COMMISSIONING_REPLY = 240, - EMBER_ZCL_GP_GPDF_WRITE_ATTRIBUTES = 241, - EMBER_ZCL_GP_GPDF_READ_ATTRIBUTES = 242, - EMBER_ZCL_GP_GPDF_CHANNEL_CONFIGURATION = 243, - EMBER_ZCL_GP_GPDF_ZCL_TUNNELING = 246, -}; - -// Enum for GpPairingConfigurationAction -enum EmberAfGpPairingConfigurationAction : uint8_t -{ - EMBER_ZCL_GP_PAIRING_CONFIGURATION_ACTION_NO_ACTION = 0, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_ACTION_EXTEND_SINK_TABLE_ENTRY = 1, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_ACTION_REPLACE_SINK_TABLE_ENTRY = 2, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_ACTION_REMOVE_A_PAIRING = 3, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_ACTION_REMOVE_GPD = 4, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_ACTION_APPLICATION_DESCRIPTION = 5, -}; - -// Enum for GpPairingConfigurationOptionCommunicationMode -enum EmberAfGpPairingConfigurationOptionCommunicationMode : uint8_t -{ - EMBER_ZCL_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_UNICAST_FORWARDING = 0, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_GROUPCAST_FORWARDING_TO_D_GROUP_ID = 8, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_GROUPCAST_FORWARDING_TO_PRE_COMMISSIONED = 16, - EMBER_ZCL_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_UNICAST_FORWARDING_LIGHTWEIGHT = 24, -}; - -// Enum for GpPairingOptionsCommunicationMode -enum EmberAfGpPairingOptionsCommunicationMode : uint8_t -{ - EMBER_ZCL_GP_PAIRING_OPTIONS_COMMUNICATION_MODE_FULL_UNICAST_FORWARDING = 0, - EMBER_ZCL_GP_PAIRING_OPTIONS_COMMUNICATION_MODE_GROUPCAST_FORWARDING_TO_D_GROUP_ID = 1, - EMBER_ZCL_GP_PAIRING_OPTIONS_COMMUNICATION_MODE_GROUPCAST_FORWARDING_TO_PRE_COMM_UNIT = 16, - EMBER_ZCL_GP_PAIRING_OPTIONS_COMMUNICATION_MODE_UNICAST_FORWARDING_BY_PROX_SUPPORT = 17, -}; - -// Enum for GpProxyTableRequestOptionsRequestType -enum EmberAfGpProxyTableRequestOptionsRequestType : uint8_t -{ - EMBER_ZCL_GP_PROXY_TABLE_REQUEST_OPTIONS_REQUEST_TYPE_BY_GPD_ID = 0, - EMBER_ZCL_GP_PROXY_TABLE_REQUEST_OPTIONS_REQUEST_TYPE_BY_INDEX = 1, -}; - -// Enum for GpProxyTableResponseStatus -enum EmberAfGpProxyTableResponseStatus : uint8_t -{ - EMBER_ZCL_GP_PROXY_TABLE_RESPONSE_STATUS_SUCCESS = 0, - EMBER_ZCL_GP_PROXY_TABLE_RESPONSE_STATUS_NOT_FOUND = 139, -}; - -// Enum for GpSecurityKeyType -enum EmberAfGpSecurityKeyType : uint8_t -{ - EMBER_ZCL_GP_SECURITY_KEY_TYPE_NONE = 0, - EMBER_ZCL_GP_SECURITY_KEY_TYPE_ZIGBEE_NETWORK_KEY = 1, - EMBER_ZCL_GP_SECURITY_KEY_TYPE_GPD_GROUP_KEY = 2, - EMBER_ZCL_GP_SECURITY_KEY_TYPE_NETWORK_DERIVED_GROUP_KEY = 3, - EMBER_ZCL_GP_SECURITY_KEY_TYPE_INDIVIDIGUAL_GPD_KEY = 4, - EMBER_ZCL_GP_SECURITY_KEY_TYPE_DERIVED_INDIVIDUAL_GPD_KEY = 7, -}; - -// Enum for GpSinkTableRequestOptions -enum EmberAfGpSinkTableRequestOptions : uint8_t -{ - EMBER_ZCL_GP_SINK_TABLE_REQUEST_OPTIONS_REQUEST_TABLE_ENTRIES_BY_GPD_ID = 0, - EMBER_ZCL_GP_SINK_TABLE_REQUEST_OPTIONS_REQUEST_TABLE_ENTRIES_BY_INDEX = 1, -}; - -// Enum for GpSinkTableResponseStatus -enum EmberAfGpSinkTableResponseStatus : uint8_t -{ - EMBER_ZCL_GP_SINK_TABLE_RESPONSE_STATUS_SUCCESS = 0, - EMBER_ZCL_GP_SINK_TABLE_RESPONSE_STATUS_NOT_FOUND = 139, -}; - -// Enum for GpTranslationTableResponseStatus -enum EmberAfGpTranslationTableResponseStatus : uint8_t -{ - EMBER_ZCL_GP_TRANSLATION_TABLE_RESPONSE_STATUS_SUCCESS = 0, - EMBER_ZCL_GP_TRANSLATION_TABLE_RESPONSE_STATUS_NOT_FOUND = 139, -}; - -// Enum for GpTranslationTableUpdateAction -enum EmberAfGpTranslationTableUpdateAction : uint8_t -{ - EMBER_ZCL_GP_TRANSLATION_TABLE_UPDATE_ACTION_ADD_TRANSLATION_TABLE_ENTRY = 0, - EMBER_ZCL_GP_TRANSLATION_TABLE_UPDATE_ACTION_REPLACE_TRANSLATION_TABLE_ENTRY = 8, - EMBER_ZCL_GP_TRANSLATION_TABLE_UPDATE_ACTION_REMOVE_TRANSLATION_TABLE_ENTRY = 16, - EMBER_ZCL_GP_TRANSLATION_TABLE_UPDATE_ACTION_RESERVED = 24, -}; - // Enum for GroupKeySecurityPolicy enum EmberAfGroupKeySecurityPolicy : uint8_t { @@ -1501,13 +605,6 @@ enum EmberAfHardwareFaultType : uint8_t EMBER_ZCL_HARDWARE_FAULT_TYPE_TAMPER_DETECTED = 10, }; -// Enum for HeatAndCoolingSpecificAlarmGroups -enum EmberAfHeatAndCoolingSpecificAlarmGroups : uint8_t -{ - EMBER_ZCL_HEAT_AND_COOLING_SPECIFIC_ALARM_GROUPS_INLET_TEMPERATURE_SENSOR_FAULT = 80, - EMBER_ZCL_HEAT_AND_COOLING_SPECIFIC_ALARM_GROUPS_OUTLET_TEMPERATURE_SENSOR_FAULT = 81, -}; - // Enum for HueDirection enum EmberAfHueDirection : uint8_t { @@ -1663,14 +760,6 @@ enum EmberAfInterfaceType : uint8_t EMBER_ZCL_INTERFACE_TYPE_THREAD = 4, }; -// Enum for KeyIndex -enum EmberAfKeyIndex : uint8_t -{ - EMBER_ZCL_KEY_INDEX_DEVELOPMENT = 0, - EMBER_ZCL_KEY_INDEX_MASTER = 4, - EMBER_ZCL_KEY_INDEX_CERTIFICATION = 15, -}; - // Enum for KeypadInputCecKeyCode enum EmberAfKeypadInputCecKeyCode : uint8_t { @@ -1796,29 +885,6 @@ enum EmberAfLevelStatus : uint8_t EMBER_ZCL_LEVEL_STATUS_ABOVE_TARGET = 2, }; -// Enum for LocationMethod -enum EmberAfLocationMethod : uint8_t -{ - EMBER_ZCL_LOCATION_METHOD_LATERATION = 0, - EMBER_ZCL_LOCATION_METHOD_SIGNPOSTING = 1, - EMBER_ZCL_LOCATION_METHOD_RF_FINGERPRINTING = 2, - EMBER_ZCL_LOCATION_METHOD_OUT_OF_BAND = 3, -}; - -// Enum for ManufacturerSpecificAlarmGroups -enum EmberAfManufacturerSpecificAlarmGroups : uint8_t -{ - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_A = 176, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_B = 177, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_C = 178, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_D = 179, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_E = 180, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_F = 181, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_G = 182, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_H = 183, - EMBER_ZCL_MANUFACTURER_SPECIFIC_ALARM_GROUPS_MANUFACTURER_SPECIFIC_I = 184, -}; - // Enum for MeasurementLightSensorType enum EmberAfMeasurementLightSensorType : uint8_t { @@ -1863,57 +929,6 @@ enum EmberAfMediaPlaybackStatus : uint8_t EMBER_ZCL_MEDIA_PLAYBACK_STATUS_SEEK_OUT_OF_RANGE = 5, }; -// Enum for MessagingControlConfirmation -enum EmberAfMessagingControlConfirmation : uint8_t -{ - EMBER_ZCL_MESSAGING_CONTROL_CONFIRMATION_NOT_REQUIRED = 0, - EMBER_ZCL_MESSAGING_CONTROL_CONFIRMATION_REQUIRED = 128, -}; - -// Enum for MessagingControlEnhancedConfirmation -enum EmberAfMessagingControlEnhancedConfirmation : uint8_t -{ - EMBER_ZCL_MESSAGING_CONTROL_ENHANCED_CONFIRMATION_NOT_REQUIRED = 0, - EMBER_ZCL_MESSAGING_CONTROL_ENHANCED_CONFIRMATION_REQUIRED = 32, -}; - -// Enum for MessagingControlImportance -enum EmberAfMessagingControlImportance : uint8_t -{ - EMBER_ZCL_MESSAGING_CONTROL_IMPORTANCE_LOW = 0, - EMBER_ZCL_MESSAGING_CONTROL_IMPORTANCE_MEDIUM = 4, - EMBER_ZCL_MESSAGING_CONTROL_IMPORTANCE_HIGH = 8, - EMBER_ZCL_MESSAGING_CONTROL_IMPORTANCE_CRITICAL = 12, -}; - -// Enum for MessagingControlTransmission -enum EmberAfMessagingControlTransmission : uint8_t -{ - EMBER_ZCL_MESSAGING_CONTROL_TRANSMISSION_NORMAL = 0, - EMBER_ZCL_MESSAGING_CONTROL_TRANSMISSION_NORMAL_AND_ANONYMOUS = 1, - EMBER_ZCL_MESSAGING_CONTROL_TRANSMISSION_ANONYMOUS = 2, - EMBER_ZCL_MESSAGING_CONTROL_TRANSMISSION_RESERVED = 3, -}; - -// Enum for MeterDeviceType -enum EmberAfMeterDeviceType : uint8_t -{ - EMBER_ZCL_METER_DEVICE_TYPE_ELECTRIC_METER = 0, - EMBER_ZCL_METER_DEVICE_TYPE_GAS_METER = 1, - EMBER_ZCL_METER_DEVICE_TYPE_WATER_METER = 2, - EMBER_ZCL_METER_DEVICE_TYPE_THERMAL_METER = 3, - EMBER_ZCL_METER_DEVICE_TYPE_PRESSURE_METER = 4, - EMBER_ZCL_METER_DEVICE_TYPE_HEAT_METER = 5, - EMBER_ZCL_METER_DEVICE_TYPE_COOLING_METER = 6, - EMBER_ZCL_METER_DEVICE_TYPE_MIRRORED_GAS_METER = 128, - EMBER_ZCL_METER_DEVICE_TYPE_MIRRORED_WATER_METER = 129, - EMBER_ZCL_METER_DEVICE_TYPE_MIRRORED_THERMAL_METER = 130, - EMBER_ZCL_METER_DEVICE_TYPE_MIRRORED_PRESSURE_METER = 131, - EMBER_ZCL_METER_DEVICE_TYPE_MIRRORED_HEAT_METER = 132, - EMBER_ZCL_METER_DEVICE_TYPE_MIRRORED_COOLING_METER = 133, - EMBER_ZCL_METER_DEVICE_TYPE_UNDEFINED_MIRROR_METER = 254, -}; - // Enum for MeterTypeId enum EmberAfMeterTypeId : uint16_t { @@ -1926,203 +941,6 @@ enum EmberAfMeterTypeId : uint16_t EMBER_ZCL_METER_TYPE_ID_GENERIC_METER = 272, }; -// Enum for MeteringAlarmCode -enum EmberAfMeteringAlarmCode : uint8_t -{ - EMBER_ZCL_METERING_ALARM_CODE_CHECK_METER = 0, - EMBER_ZCL_METERING_ALARM_CODE_LOW_BATTERY = 1, - EMBER_ZCL_METERING_ALARM_CODE_TAMPER_DETECT = 2, - EMBER_ZCL_METERING_ALARM_CODE_POWER_FAILURE_PIPE_EMPTY_TEMPERATURE_SENSOR = 3, - EMBER_ZCL_METERING_ALARM_CODE_POWER_QUALITY_LOW_PRESSURE_BURST_DETECT = 4, - EMBER_ZCL_METERING_ALARM_CODE_LEAK_DETECT = 5, - EMBER_ZCL_METERING_ALARM_CODE_SERVICE_DISCONNECT = 6, - EMBER_ZCL_METERING_ALARM_CODE_REVERSE_FLOW_FLOW_SENSOR = 7, - EMBER_ZCL_METERING_ALARM_CODE_METER_COVER_REMOVED = 8, - EMBER_ZCL_METERING_ALARM_CODE_METER_COVER_CLOSED = 9, - EMBER_ZCL_METERING_ALARM_CODE_STRONG_MAGNETIC_FIELD = 10, - EMBER_ZCL_METERING_ALARM_CODE_NO_STRONG_MAGNETIC_FIELD = 11, - EMBER_ZCL_METERING_ALARM_CODE_BATTERY_FAILURE = 12, - EMBER_ZCL_METERING_ALARM_CODE_PROGRAM_MEMORY_ERROR = 13, - EMBER_ZCL_METERING_ALARM_CODE_RAM_ERROR = 14, - EMBER_ZCL_METERING_ALARM_CODE_NV_MEMORY_ERROR = 15, - EMBER_ZCL_METERING_ALARM_CODE_LOW_VOLTAGE_L1 = 16, - EMBER_ZCL_METERING_ALARM_CODE_HIGH_VOLTAGE_L1 = 17, - EMBER_ZCL_METERING_ALARM_CODE_LOW_VOLTAGE_L2 = 18, - EMBER_ZCL_METERING_ALARM_CODE_HIGH_VOLTAGE_L2 = 19, - EMBER_ZCL_METERING_ALARM_CODE_LOW_VOLTAGE_L3 = 20, - EMBER_ZCL_METERING_ALARM_CODE_HIGH_VOLTAGE_L3 = 21, - EMBER_ZCL_METERING_ALARM_CODE_OVER_CURRENT_L1 = 22, - EMBER_ZCL_METERING_ALARM_CODE_OVER_CURRENT_L2 = 23, - EMBER_ZCL_METERING_ALARM_CODE_OVER_CURRENT_L3 = 24, - EMBER_ZCL_METERING_ALARM_CODE_FREQUENCY_TOO_LOW_L1 = 25, - EMBER_ZCL_METERING_ALARM_CODE_FREQUENCY_TOO_HIGH_L1 = 26, - EMBER_ZCL_METERING_ALARM_CODE_FREQUENCY_TOO_LOW_L2 = 27, - EMBER_ZCL_METERING_ALARM_CODE_FREQUENCY_TOO_HIGH_L2 = 28, - EMBER_ZCL_METERING_ALARM_CODE_FREQUENCY_TOO_LOW_L3 = 29, - EMBER_ZCL_METERING_ALARM_CODE_FREQUENCY_TOO_HIGH_L3 = 30, - EMBER_ZCL_METERING_ALARM_CODE_GROUND_FAULT = 31, - EMBER_ZCL_METERING_ALARM_CODE_ELECTRIC_TAMPER_DETECT = 32, - EMBER_ZCL_METERING_ALARM_CODE_INCORRECT_POLARITY = 33, - EMBER_ZCL_METERING_ALARM_CODE_CURRENT_NO_VOLTAGE = 34, - EMBER_ZCL_METERING_ALARM_CODE_UNDER_VOLTAGE = 35, - EMBER_ZCL_METERING_ALARM_CODE_OVER_VOLTAGE = 36, - EMBER_ZCL_METERING_ALARM_CODE_NORMAL_VOLTAGE = 37, - EMBER_ZCL_METERING_ALARM_CODE_PF_BELOW_THRESHOLD = 38, - EMBER_ZCL_METERING_ALARM_CODE_PF_ABOVE_THRESHOLD = 39, - EMBER_ZCL_METERING_ALARM_CODE_TERMINAL_COVER_REMOVED = 40, - EMBER_ZCL_METERING_ALARM_CODE_TERMINAL_COVER_CLOSED = 41, - EMBER_ZCL_METERING_ALARM_CODE_BURST_DETECT = 48, - EMBER_ZCL_METERING_ALARM_CODE_PRESSURE_TOO_LOW = 49, - EMBER_ZCL_METERING_ALARM_CODE_PRESSURE_TOO_HIGH = 50, - EMBER_ZCL_METERING_ALARM_CODE_FLOW_SENSOR_COMMUNICATION_ERROR = 51, - EMBER_ZCL_METERING_ALARM_CODE_FLOW_SENSOR_MEASUREMENT_FAULT = 52, - EMBER_ZCL_METERING_ALARM_CODE_FLOW_SENSOR_REVERSE_FLOW = 53, - EMBER_ZCL_METERING_ALARM_CODE_FLOW_SENSOR_AIR_DETECT = 54, - EMBER_ZCL_METERING_ALARM_CODE_PIPE_EMPTY = 55, - EMBER_ZCL_METERING_ALARM_CODE_INLET_TEMPERATURE_SENSOR_FAULT = 80, - EMBER_ZCL_METERING_ALARM_CODE_OUTLET_TEMPERATURE_SENSOR_FAULT = 81, - EMBER_ZCL_METERING_ALARM_CODE_TILT_TAMPER = 96, - EMBER_ZCL_METERING_ALARM_CODE_BATTERY_COVER_REMOVED = 97, - EMBER_ZCL_METERING_ALARM_CODE_BATTERY_COVER_CLOSED = 98, - EMBER_ZCL_METERING_ALARM_CODE_EXCESS_FLOW = 99, - EMBER_ZCL_METERING_ALARM_CODE_TILT_TAMPER_ENDED = 100, - EMBER_ZCL_METERING_ALARM_CODE_MEASUREMENT_SYSTEM_ERROR = 112, - EMBER_ZCL_METERING_ALARM_CODE_WATCHDOG_ERROR = 113, - EMBER_ZCL_METERING_ALARM_CODE_SUPPLY_DISCONNECT_FAILURE = 114, - EMBER_ZCL_METERING_ALARM_CODE_SUPPLY_CONNECT_FAILURE = 115, - EMBER_ZCL_METERING_ALARM_CODE_MEASURMENT_SOFTWARE_CHANGED = 116, - EMBER_ZCL_METERING_ALARM_CODE_DST_ENABLED = 117, - EMBER_ZCL_METERING_ALARM_CODE_DST_DISABLED = 118, - EMBER_ZCL_METERING_ALARM_CODE_CLOCK_ADJ_BACKWARD = 119, - EMBER_ZCL_METERING_ALARM_CODE_CLOCK_ADJ_FORWARD = 120, - EMBER_ZCL_METERING_ALARM_CODE_CLOCK_INVALID = 121, - EMBER_ZCL_METERING_ALARM_CODE_COMMUNICATION_ERROR_HAN = 122, - EMBER_ZCL_METERING_ALARM_CODE_COMMUNICATION_OK_H_AN = 123, - EMBER_ZCL_METERING_ALARM_CODE_METER_FRAUD_ATTEMPT = 124, - EMBER_ZCL_METERING_ALARM_CODE_POWER_LOSS = 125, - EMBER_ZCL_METERING_ALARM_CODE_UNUSUAL_HAN_TRAFFIC = 126, - EMBER_ZCL_METERING_ALARM_CODE_UNEXPECTED_CLOCK_CHANGE = 127, - EMBER_ZCL_METERING_ALARM_CODE_COMMS_USING_UNAUTHENTICATED_COMPONENT = 128, - EMBER_ZCL_METERING_ALARM_CODE_ERROR_REG_CLEAR = 129, - EMBER_ZCL_METERING_ALARM_CODE_ALARM_REG_CLEAR = 130, - EMBER_ZCL_METERING_ALARM_CODE_UNEXPECTED_HW_RESET = 131, - EMBER_ZCL_METERING_ALARM_CODE_UNEXPECTED_PROGRAM_EXECUTION = 132, - EMBER_ZCL_METERING_ALARM_CODE_EVENT_LOG_CLEARED = 133, - EMBER_ZCL_METERING_ALARM_CODE_LIMIT_THRESHOLD_EXCEEDED = 134, - EMBER_ZCL_METERING_ALARM_CODE_LIMIT_THRESHOLD_OK = 135, - EMBER_ZCL_METERING_ALARM_CODE_LIMIT_THRESHOLD_CHANGED = 136, - EMBER_ZCL_METERING_ALARM_CODE_MAXIMUM_DEMAND_EXCEEDED = 137, - EMBER_ZCL_METERING_ALARM_CODE_PROFILE_CLEARED = 138, - EMBER_ZCL_METERING_ALARM_CODE_SAMPLING_BUFFERCLEARED = 139, - EMBER_ZCL_METERING_ALARM_CODE_BATTERY_WARNING = 140, - EMBER_ZCL_METERING_ALARM_CODE_WRONG_SIGNATURE = 141, - EMBER_ZCL_METERING_ALARM_CODE_NO_SIGNATURE = 142, - EMBER_ZCL_METERING_ALARM_CODE_UNAUTHORISED_ACTIONFROM_HAN = 143, - EMBER_ZCL_METERING_ALARM_CODE_FAST_POLLING_START = 144, - EMBER_ZCL_METERING_ALARM_CODE_FAST_POLLING_END = 145, - EMBER_ZCL_METERING_ALARM_CODE_METER_REPORTING_INTERVAL_CHANGED = 146, - EMBER_ZCL_METERING_ALARM_CODE_DISCONNECT_DUETO_LOAD_LIMIT = 147, - EMBER_ZCL_METERING_ALARM_CODE_METER_SUPPLY_STATUS_REGISTER_CHANGED = 148, - EMBER_ZCL_METERING_ALARM_CODE_METER_ALARM_STATUS_REGISTER_CHANGED = 149, - EMBER_ZCL_METERING_ALARM_CODE_EXTENDED_METER_ALARM_STATUS_REGISTER_CHANGED = 150, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_A = 176, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_B = 177, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_C = 178, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_D = 179, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_E = 180, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_F = 181, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_G = 182, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_H = 183, - EMBER_ZCL_METERING_ALARM_CODE_MANUFACTURER_SPECIFIC_I = 184, -}; - -// Enum for MeteringBlockEnumerations -enum EmberAfMeteringBlockEnumerations : uint8_t -{ - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_NO_BLOCKS_IN_USE = 0, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK1 = 1, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK2 = 2, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK3 = 3, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK4 = 4, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK5 = 5, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK6 = 6, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK7 = 7, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK8 = 8, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK9 = 9, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK10 = 10, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK11 = 11, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK12 = 12, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK13 = 13, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK14 = 14, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK15 = 15, - EMBER_ZCL_METERING_BLOCK_ENUMERATIONS_BLOCK16 = 16, -}; - -// Enum for MeteringConsumptionStatus -enum EmberAfMeteringConsumptionStatus : uint8_t -{ - EMBER_ZCL_METERING_CONSUMPTION_STATUS_LOW_ENERGY_USAGE = 0, - EMBER_ZCL_METERING_CONSUMPTION_STATUS_MEDIUM_ENERGY_USAGE = 1, - EMBER_ZCL_METERING_CONSUMPTION_STATUS_HIGH_ENERGY_USAGE = 2, -}; - -// Enum for MeteringDeviceType -enum EmberAfMeteringDeviceType : uint8_t -{ - EMBER_ZCL_METERING_DEVICE_TYPE_ELECTRIC_METERING = 0, - EMBER_ZCL_METERING_DEVICE_TYPE_GAS_METERING = 1, - EMBER_ZCL_METERING_DEVICE_TYPE_WATER_METERING = 2, - EMBER_ZCL_METERING_DEVICE_TYPE_THERMAL_METERING = 3, - EMBER_ZCL_METERING_DEVICE_TYPE_PRESSURE_METERING = 4, - EMBER_ZCL_METERING_DEVICE_TYPE_HEAT_METERING = 5, - EMBER_ZCL_METERING_DEVICE_TYPE_COOLING_METERING = 6, - EMBER_ZCL_METERING_DEVICE_TYPE_ELECTRIC_VEHICLE_CHARGING_METERING = 7, - EMBER_ZCL_METERING_DEVICE_TYPE_PV_GENERATION_METERING = 8, - EMBER_ZCL_METERING_DEVICE_TYPE_WIND_TURBINE_GENERATION_METERING = 9, - EMBER_ZCL_METERING_DEVICE_TYPE_WATER_TURBINE_GENERATION_METERING = 10, - EMBER_ZCL_METERING_DEVICE_TYPE_MICRO_GENERATION_METERING = 11, - EMBER_ZCL_METERING_DEVICE_TYPE_SOLAR_HOT_WATER_GENERATION_METERING = 12, - EMBER_ZCL_METERING_DEVICE_TYPE_ELECTRIC_METERING_ELEMENT1 = 13, - EMBER_ZCL_METERING_DEVICE_TYPE_ELECTRIC_METERING_ELEMENT2 = 14, - EMBER_ZCL_METERING_DEVICE_TYPE_ELECTRIC_METERING_ELEMENT3 = 15, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_ELECTRIC_METERING = 127, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_GAS_METERING = 128, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_WATER_METERING = 129, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_THERMAL_METERING = 130, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_PRESSURE_METERING = 131, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_HEAT_METERING = 132, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_COOLING_METERING = 133, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_ELECTRIC_VEHICLE_CHARGING_METERING = 134, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_PV_GENERATION_METERING = 135, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_WIND_TURBINE_GENERATION_METERING = 136, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_WATER_TURBINE_GENERATION_METERING = 137, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_MICRO_GENERATION_METERING = 138, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_SOLAR_HOT_WATER_GENERATION_METERING = 139, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_ELECTRIC_METERING_ELEMENT1 = 140, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_ELECTRIC_METERING_ELEMENT2 = 141, - EMBER_ZCL_METERING_DEVICE_TYPE_MIRRORED_ELECTRIC_METERING_ELEMENT3 = 142, - EMBER_ZCL_METERING_DEVICE_TYPE_UNDEFINED_MIRROR_METER = 254, -}; - -// Enum for MeteringSupplyStatus -enum EmberAfMeteringSupplyStatus : uint8_t -{ - EMBER_ZCL_METERING_SUPPLY_STATUS_SUPPLY_OFF = 0, - EMBER_ZCL_METERING_SUPPLY_STATUS_SUPPLY_OFF_ARMED = 1, - EMBER_ZCL_METERING_SUPPLY_STATUS_SUPPLY_ON = 2, -}; - -// Enum for MeteringTemperatureUnitOfMeasure -enum EmberAfMeteringTemperatureUnitOfMeasure : uint8_t -{ - EMBER_ZCL_METERING_TEMPERATURE_UNIT_OF_MEASURE_KELVIN = 0, - EMBER_ZCL_METERING_TEMPERATURE_UNIT_OF_MEASURE_CELSIUS = 1, - EMBER_ZCL_METERING_TEMPERATURE_UNIT_OF_MEASURE_FAHRENHEIT = 2, - EMBER_ZCL_METERING_TEMPERATURE_UNIT_OF_MEASURE_KELVIN_BCD = 128, - EMBER_ZCL_METERING_TEMPERATURE_UNIT_OF_MEASURE_CELSIUS_BCD = 129, - EMBER_ZCL_METERING_TEMPERATURE_UNIT_OF_MEASURE_FAHRENHEIT_BCD = 130, -}; - // Enum for MoveMode enum EmberAfMoveMode : uint8_t { @@ -2181,14 +999,6 @@ enum EmberAfNetworkFaultType : uint8_t EMBER_ZCL_NETWORK_FAULT_TYPE_CONNECTION_FAILED = 3, }; -// Enum for NotificationScheme -enum EmberAfNotificationScheme : uint8_t -{ - EMBER_ZCL_NOTIFICATION_SCHEME_NO_NOTIFICATION_SCHEME_DEFINED = 0, - EMBER_ZCL_NOTIFICATION_SCHEME_PREDEFINED_NOTIFICATION_SCHEME_A = 1, - EMBER_ZCL_NOTIFICATION_SCHEME_PREDEFINED_NOTIFICATION_SCHEME_B = 2, -}; - // Enum for OTAAnnouncementReason enum EmberAfOTAAnnouncementReason : uint8_t { @@ -2259,14 +1069,6 @@ enum EmberAfOperatingMode : uint8_t EMBER_ZCL_OPERATING_MODE_CONFIGURE = 1, }; -// Enum for OriginatingDevice -enum EmberAfOriginatingDevice : uint8_t -{ - EMBER_ZCL_ORIGINATING_DEVICE_ENERGY_SERVICE_INTERFACE = 0, - EMBER_ZCL_ORIGINATING_DEVICE_METER = 1, - EMBER_ZCL_ORIGINATING_DEVICE_IN_HOME_DISPLAY_DEVICE = 2, -}; - // Enum for PHYRateType enum EmberAfPHYRateType : uint8_t { @@ -2282,25 +1084,6 @@ enum EmberAfPHYRateType : uint8_t EMBER_ZCL_PHY_RATE_TYPE_400_G = 9, }; -// Enum for PasswordType -enum EmberAfPasswordType : uint8_t -{ - EMBER_ZCL_PASSWORD_TYPE_PASSWORD1_SERVICE_MENU_ACCESS = 1, - EMBER_ZCL_PASSWORD_TYPE_PASSWORD2_CONSUMER_MENU_ACCESS = 2, - EMBER_ZCL_PASSWORD_TYPE_PASSWORD3 = 3, - EMBER_ZCL_PASSWORD_TYPE_PASSWORD4 = 4, -}; - -// Enum for PaymentDiscountDuration -enum EmberAfPaymentDiscountDuration : uint8_t -{ - EMBER_ZCL_PAYMENT_DISCOUNT_DURATION_CURRENT_BILLING_PERIOD = 0, - EMBER_ZCL_PAYMENT_DISCOUNT_DURATION_CURRENT_CONSOLIDATED_BILL = 1, - EMBER_ZCL_PAYMENT_DISCOUNT_DURATION_ONE_MONTH = 2, - EMBER_ZCL_PAYMENT_DISCOUNT_DURATION_ONE_QUARTER = 3, - EMBER_ZCL_PAYMENT_DISCOUNT_DURATION_ONE_YEAR = 4, -}; - // Enum for PhysicalEnvironment enum EmberAfPhysicalEnvironment : uint8_t { @@ -2337,91 +1120,6 @@ enum EmberAfPowerSource : uint8_t EMBER_ZCL_POWER_SOURCE_BATTERY_BACKUP = 128, }; -// Enum for PrePayGenericAlarmGroup -enum EmberAfPrePayGenericAlarmGroup : uint8_t -{ - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_LOW_CREDIT = 0, - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_NO_CREDIT = 1, - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_CREDIT_EXHAUSTED = 2, - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_EMERGENCY_CREDIT_ENABLED = 3, - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_EMERGENCY_CREDIT_EXHAUSTED = 4, - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_IHD_LOW_CREDIT_WARNING = 5, - EMBER_ZCL_PRE_PAY_GENERIC_ALARM_GROUP_EVENT_LOG_CLEARED = 6, -}; - -// Enum for PrepayEventAlarmGroup -enum EmberAfPrepayEventAlarmGroup : uint8_t -{ - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_PHYSICAL_ATTACK_ON_THE_PREPAY_METER = 32, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_ELECTRONIC_ATTACK_ON_THE_PREPAY_METER = 33, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_DISCOUNT_APPLIED = 34, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_CREDIT_ADJUSTMENT = 35, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_CREDIT_ADJUSTMENT_FAIL = 36, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_DEBT_ADJUSTMENT = 37, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_DEBT_ADJUSTMENT_FAIL = 38, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_MODE_CHANGE = 39, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_TOPUP_CODE_ERROR = 40, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_TOPUP_ALREADY_USED = 41, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_TOPUP_CODE_INVALID = 42, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_FRIENDLY_CREDIT_IN_USE = 43, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_FRIENDLY_CREDIT_PERIOD_END_WARNING = 44, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_FRIENDLY_CREDIT_PERIOD_END = 45, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_ERROR_REG_CLEAR = 48, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_ALARM_REG_CLEAR = 49, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_PREPAY_CLUSTER_NOT_FOUND = 50, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_MODE_CREDIT2_PREPAY = 65, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_MODE_PREPAY2_CREDIT = 66, - EMBER_ZCL_PREPAY_EVENT_ALARM_GROUP_MODE_DEFAULT = 67, -}; - -// Enum for PrepaySnapshotPayloadType -enum EmberAfPrepaySnapshotPayloadType : uint8_t -{ - EMBER_ZCL_PREPAY_SNAPSHOT_PAYLOAD_TYPE_DEBT_CREDIT_STATUS = 0, - EMBER_ZCL_PREPAY_SNAPSHOT_PAYLOAD_TYPE_NOT_USED = 255, -}; - -// Enum for PrepaySwitchAlarmGroup -enum EmberAfPrepaySwitchAlarmGroup : uint8_t -{ - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_SUPPLY_ON = 16, - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_SUPPLY_ARM = 17, - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_SUPPLY_OFF = 18, - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_DISCONNECTION_FAILURE = 19, - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_DISCONNECTED_DUE_TO_TAMPER_DETECTED = 20, - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_DISCONNECTED_DUE_TO_CUT_OFF_VALUE = 21, - EMBER_ZCL_PREPAY_SWITCH_ALARM_GROUP_REMOTE_DISCONNECTED = 22, -}; - -// Enum for PriceControlAcknowledgement -enum EmberAfPriceControlAcknowledgement : uint8_t -{ - EMBER_ZCL_PRICE_CONTROL_ACKNOWLEDGEMENT_NOT_REQUIRED = 0, - EMBER_ZCL_PRICE_CONTROL_ACKNOWLEDGEMENT_REQUIRED = 1, -}; - -// Enum for PriceTier -enum EmberAfPriceTier : uint8_t -{ - EMBER_ZCL_PRICE_TIER_NO_TIER_RELATED = 0, - EMBER_ZCL_PRICE_TIER_TIER1_PRICE_LABEL = 1, - EMBER_ZCL_PRICE_TIER_TIER2_PRICE_LABEL = 2, - EMBER_ZCL_PRICE_TIER_TIER3_PRICE_LABEL = 3, - EMBER_ZCL_PRICE_TIER_TIER4_PRICE_LABEL = 4, - EMBER_ZCL_PRICE_TIER_TIER5_PRICE_LABEL = 5, - EMBER_ZCL_PRICE_TIER_TIER6_PRICE_LABEL = 6, - EMBER_ZCL_PRICE_TIER_TIER7_PRICE_LABEL = 7, - EMBER_ZCL_PRICE_TIER_TIER8_PRICE_LABEL = 8, - EMBER_ZCL_PRICE_TIER_TIER9_PRICE_LABEL = 9, - EMBER_ZCL_PRICE_TIER_TIER10_PRICE_LABEL = 10, - EMBER_ZCL_PRICE_TIER_TIER11_PRICE_LABEL = 11, - EMBER_ZCL_PRICE_TIER_TIER12_PRICE_LABEL = 12, - EMBER_ZCL_PRICE_TIER_TIER13_PRICE_LABEL = 13, - EMBER_ZCL_PRICE_TIER_TIER14_PRICE_LABEL = 14, - EMBER_ZCL_PRICE_TIER_REFER_TO_EXTENDED_PRICE_TIER_FIELD = 15, - EMBER_ZCL_PRICE_TIER_TIER15_PRICE_LABEL = 15, -}; - // Enum for ProductCode enum EmberAfProductCode : uint8_t { @@ -2447,23 +1145,6 @@ enum EmberAfProductTypeId : uint16_t EMBER_ZCL_PRODUCT_TYPE_ID_REFRIGERATOR_FREEZER = 26113, }; -// Enum for ProposedSupplyStatus -enum EmberAfProposedSupplyStatus : uint8_t -{ - EMBER_ZCL_PROPOSED_SUPPLY_STATUS_RESERVED = 0, - EMBER_ZCL_PROPOSED_SUPPLY_STATUS_SUPPLY_OFF_ARMED = 1, - EMBER_ZCL_PROPOSED_SUPPLY_STATUS_SUPPLY_ON = 2, -}; - -// Enum for PublishCppEventCppAuth -enum EmberAfPublishCppEventCppAuth : uint8_t -{ - EMBER_ZCL_PUBLISH_CPP_EVENT_CPP_AUTH_PENDING = 0, - EMBER_ZCL_PUBLISH_CPP_EVENT_CPP_AUTH_ACCEPTED = 1, - EMBER_ZCL_PUBLISH_CPP_EVENT_CPP_AUTH_REJECTED = 2, - EMBER_ZCL_PUBLISH_CPP_EVENT_CPP_AUTH_FORCED = 3, -}; - // Enum for PumpControlMode enum EmberAfPumpControlMode : uint8_t { @@ -2484,24 +1165,6 @@ enum EmberAfPumpOperationMode : uint8_t EMBER_ZCL_PUMP_OPERATION_MODE_LOCAL = 3, }; -// Enum for PushHistoricalMeteringData -enum EmberAfPushHistoricalMeteringData : uint16_t -{ - EMBER_ZCL_PUSH_HISTORICAL_METERING_DATA_DAY = 64, - EMBER_ZCL_PUSH_HISTORICAL_METERING_DATA_WEEK = 128, - EMBER_ZCL_PUSH_HISTORICAL_METERING_DATA_MONTH = 384, - EMBER_ZCL_PUSH_HISTORICAL_METERING_DATA_YEAR = 448, -}; - -// Enum for PushHistoricalPaymentData -enum EmberAfPushHistoricalPaymentData : uint16_t -{ - EMBER_ZCL_PUSH_HISTORICAL_PAYMENT_DATA_DAY = 512, - EMBER_ZCL_PUSH_HISTORICAL_PAYMENT_DATA_WEEK = 1024, - EMBER_ZCL_PUSH_HISTORICAL_PAYMENT_DATA_MONTH = 3072, - EMBER_ZCL_PUSH_HISTORICAL_PAYMENT_DATA_YEAR = 3584, -}; - // Enum for RadioFaultType enum EmberAfRadioFaultType : uint8_t { @@ -2514,28 +1177,6 @@ enum EmberAfRadioFaultType : uint8_t EMBER_ZCL_RADIO_FAULT_TYPE_ETHERNET_FAULT = 6, }; -// Enum for RegisterTier -enum EmberAfRegisterTier : uint8_t -{ - EMBER_ZCL_REGISTER_TIER_NO_TIER_RELATED = 0, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER1_SUMMATION_DELIVERED_ATTRIBUTE = 1, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER2_SUMMATION_DELIVERED_ATTRIBUTE = 2, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER3_SUMMATION_DELIVERED_ATTRIBUTE = 3, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER4_SUMMATION_DELIVERED_ATTRIBUTE = 4, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER5_SUMMATION_DELIVERED_ATTRIBUTE = 5, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER6_SUMMATION_DELIVERED_ATTRIBUTE = 6, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER7_SUMMATION_DELIVERED_ATTRIBUTE = 7, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER8_SUMMATION_DELIVERED_ATTRIBUTE = 8, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER9_SUMMATION_DELIVERED_ATTRIBUTE = 9, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER10_SUMMATION_DELIVERED_ATTRIBUTE = 10, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER11_SUMMATION_DELIVERED_ATTRIBUTE = 11, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER12_SUMMATION_DELIVERED_ATTRIBUTE = 12, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER13_SUMMATION_DELIVERED_ATTRIBUTE = 13, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER14_SUMMATION_DELIVERED_ATTRIBUTE = 14, - EMBER_ZCL_REGISTER_TIER_REFER_TO_EXTENDED_REGISTER_TIER_FIELD = 15, - EMBER_ZCL_REGISTER_TIER_CURRENT_TIER15_SUMMATION_DELIVERED_ATTRIBUTE = 15, -}; - // Enum for RegulatoryLocationType enum EmberAfRegulatoryLocationType : uint8_t { @@ -2567,30 +1208,6 @@ enum EmberAfRemoteEnableFlags : uint8_t EMBER_ZCL_REMOTE_ENABLE_FLAGS_ENABLED_REMOTE_AND_ENERGY_CONTROL = 1, }; -// Enum for RepaymentDebtType -enum EmberAfRepaymentDebtType : uint8_t -{ - EMBER_ZCL_REPAYMENT_DEBT_TYPE_DEBT1 = 0, - EMBER_ZCL_REPAYMENT_DEBT_TYPE_DEBT2 = 1, - EMBER_ZCL_REPAYMENT_DEBT_TYPE_DEBT3 = 2, - EMBER_ZCL_REPAYMENT_DEBT_TYPE_ALL_DEBTS = 255, -}; - -// Enum for ResultType -enum EmberAfResultType : uint8_t -{ - EMBER_ZCL_RESULT_TYPE_ACCEPTED = 0, - EMBER_ZCL_RESULT_TYPE_REJECTED_INVALID_TOP_UP = 1, - EMBER_ZCL_RESULT_TYPE_REJECTED_DUPLICATE_TOP_UP = 2, - EMBER_ZCL_RESULT_TYPE_REJECTED_ERROR = 3, - EMBER_ZCL_RESULT_TYPE_REJECTED_MAX_CREDIT_REACHED = 4, - EMBER_ZCL_RESULT_TYPE_REJECTED_KEYPAD_LOCK = 5, - EMBER_ZCL_RESULT_TYPE_REJECTED_TOP_UP_VALUE_TOO_LARGE = 6, - EMBER_ZCL_RESULT_TYPE_ACCEPTED_SUPPLY_ENABLED = 16, - EMBER_ZCL_RESULT_TYPE_ACCEPTED_SUPPLY_DISABLED = 17, - EMBER_ZCL_RESULT_TYPE_ACCEPTED_SUPPLY_ARMED = 18, -}; - // Enum for RoutingRole enum EmberAfRoutingRole : uint8_t { @@ -2603,12 +1220,6 @@ enum EmberAfRoutingRole : uint8_t EMBER_ZCL_ROUTING_ROLE_LEADER = 6, }; -// Enum for SampleType -enum EmberAfSampleType : uint8_t -{ - EMBER_ZCL_SAMPLE_TYPE_CONSUMPTION_DELIVERED = 0, -}; - // Enum for SaturationMoveMode enum EmberAfSaturationMoveMode : uint8_t { @@ -2650,45 +1261,6 @@ enum EmberAfSetpointAdjustMode : uint8_t EMBER_ZCL_SETPOINT_ADJUST_MODE_HEAT_AND_COOL_SETPOINTS = 2, }; -// Enum for SignatureType -enum EmberAfSignatureType : uint8_t -{ - EMBER_ZCL_SIGNATURE_TYPE_RESERVED = 0, - EMBER_ZCL_SIGNATURE_TYPE_ECDSA = 1, -}; - -// Enum for SnapshotConfirmation -enum EmberAfSnapshotConfirmation : uint8_t -{ - EMBER_ZCL_SNAPSHOT_CONFIRMATION_ACCEPTED = 0, - EMBER_ZCL_SNAPSHOT_CONFIRMATION_SNAPSHOT_CAUSE_NOT_SUPPORTED = 1, -}; - -// Enum for SnapshotPayloadType -enum EmberAfSnapshotPayloadType : uint8_t -{ - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFORMATION_SET_DELIVERED_REGISTERS = 0, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFORMATION_SET_RECEIVED_REGISTERS = 1, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFORMATION_SET_DELIVERED = 2, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFORMATION_SET_RECEIVED = 3, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFORMATION_SET_DELIVERED_REGISTERS_NO_BILLING = 4, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFORMATION_SET_RECEIVED_REGISTER_NO_BILLINGS = 5, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFORMATION_SET_DELIVERED_NO_BILLING = 6, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFORMATION_SET_RECEIVED_NO_BILLING = 7, - EMBER_ZCL_SNAPSHOT_PAYLOAD_TYPE_DATA_UNAVAILABLE = 128, -}; - -// Enum for SnapshotScheduleConfirmation -enum EmberAfSnapshotScheduleConfirmation : uint8_t -{ - EMBER_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ACCEPTED = 0, - EMBER_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_SNAPSHOT_TYPE_NOT_SUPPORTED = 1, - EMBER_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_SNAPSHOT_CAUSE_NOT_SUPPORTED = 2, - EMBER_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_SNAPSHOT_SCHEDULE_NOT_CURRENTLY_AVAILABLE = 3, - EMBER_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_SNAPSHOT_SCHEDULES_NOT_SUPPORTED_BY_DEVICE = 4, - EMBER_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_INSUFFICIENT_SPACE_FOR_SNAPSHOT_SCHEDULE = 5, -}; - // Enum for SquawkLevel enum EmberAfSquawkLevel : uint8_t { @@ -2740,15 +1312,6 @@ enum EmberAfStepMode : uint8_t EMBER_ZCL_STEP_MODE_DOWN = 1, }; -// Enum for SupplyStatus -enum EmberAfSupplyStatus : uint8_t -{ - EMBER_ZCL_SUPPLY_STATUS_SUPPLY_OFF = 0, - EMBER_ZCL_SUPPLY_STATUS_SUPPLY_OFF_ARMED = 1, - EMBER_ZCL_SUPPLY_STATUS_SUPPLY_ON = 2, - EMBER_ZCL_SUPPLY_STATUS_SUPPLY_UNCHANGED = 3, -}; - // Enum for SwitchActions enum EmberAfSwitchActions : uint8_t { @@ -2765,31 +1328,6 @@ enum EmberAfSwitchType : uint8_t EMBER_ZCL_SWITCH_TYPE_MULTI_FUNCTION = 2, }; -// Enum for TariffChargingScheme -enum EmberAfTariffChargingScheme : uint8_t -{ - EMBER_ZCL_TARIFF_CHARGING_SCHEME_TOU_TARIFF = 0, - EMBER_ZCL_TARIFF_CHARGING_SCHEME_BLOCK_TARIFF = 16, - EMBER_ZCL_TARIFF_CHARGING_SCHEME_BLOCK_TOU_TARIFF_WITH_COMMON_THRESHOLDS = 32, - EMBER_ZCL_TARIFF_CHARGING_SCHEME_BLOCK_TOU_TARIFF_WITH_INDIVIDUAL_THRESHOLDS_PER_TIER = 48, -}; - -// Enum for TariffResolutionPeriod -enum EmberAfTariffResolutionPeriod : uint8_t -{ - EMBER_ZCL_TARIFF_RESOLUTION_PERIOD_NOT_DEFINED = 0, - EMBER_ZCL_TARIFF_RESOLUTION_PERIOD_BLOCK_PERIOD = 1, - EMBER_ZCL_TARIFF_RESOLUTION_PERIOD_ONE_DAY = 2, -}; - -// Enum for TariffType -enum EmberAfTariffType : uint8_t -{ - EMBER_ZCL_TARIFF_TYPE_DELIVERED_TARIFF = 0, - EMBER_ZCL_TARIFF_TYPE_RECEIVED_TARIFF = 1, - EMBER_ZCL_TARIFF_TYPE_DELIVERED_AND_RECEIVED_TARIFF = 2, -}; - // Enum for TemperatureDisplayMode enum EmberAfTemperatureDisplayMode : uint8_t { @@ -2835,15 +1373,6 @@ enum EmberAfThermostatSystemMode : uint8_t EMBER_ZCL_THERMOSTAT_SYSTEM_MODE_FAN_ONLY = 7, }; -// Enum for TierBlockMode -enum EmberAfTierBlockMode : uint8_t -{ - EMBER_ZCL_TIER_BLOCK_MODE_ACTIVE_BLOCK = 0, - EMBER_ZCL_TIER_BLOCK_MODE_ACTIVE_BLOCK_PRICE_TIER = 1, - EMBER_ZCL_TIER_BLOCK_MODE_ACTIVE_BLOCK_PRICE_TIER_THRESHOLD = 2, - EMBER_ZCL_TIER_BLOCK_MODE_NOT_USED = 255, -}; - // Enum for TimeEncoding enum EmberAfTimeEncoding : uint8_t { @@ -2851,39 +1380,6 @@ enum EmberAfTimeEncoding : uint8_t EMBER_ZCL_TIME_ENCODING_ABSOLUTE = 64, }; -// Enum for TunnelingProtocolId -enum EmberAfTunnelingProtocolId : uint8_t -{ - EMBER_ZCL_TUNNELING_PROTOCOL_ID_DLMS_COSEM = 0, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_IEC_61107 = 1, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_ANSI_C12 = 2, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_M_BUS = 3, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_SML = 4, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_CLIMATE_TALK = 5, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_GB_HRGP = 6, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_IP_V4 = 7, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_IP_V6 = 8, - EMBER_ZCL_TUNNELING_PROTOCOL_ID_TEST = 199, -}; - -// Enum for TunnelingTransferDataStatus -enum EmberAfTunnelingTransferDataStatus : uint8_t -{ - EMBER_ZCL_TUNNELING_TRANSFER_DATA_STATUS_NO_SUCH_TUNNEL = 0, - EMBER_ZCL_TUNNELING_TRANSFER_DATA_STATUS_WRONG_DEVICE = 1, - EMBER_ZCL_TUNNELING_TRANSFER_DATA_STATUS_DATA_OVERFLOW = 2, -}; - -// Enum for TunnelingTunnelStatus -enum EmberAfTunnelingTunnelStatus : uint8_t -{ - EMBER_ZCL_TUNNELING_TUNNEL_STATUS_SUCCESS = 0, - EMBER_ZCL_TUNNELING_TUNNEL_STATUS_BUSY = 1, - EMBER_ZCL_TUNNELING_TUNNEL_STATUS_NO_MORE_TUNNEL_IDS = 2, - EMBER_ZCL_TUNNELING_TUNNEL_STATUS_PROTOCOL_NOT_SUPPORTED = 3, - EMBER_ZCL_TUNNELING_TUNNEL_STATUS_FLOW_CONTROL_NOT_SUPPORTED = 4, -}; - // Enum for TvChannelErrorType enum EmberAfTvChannelErrorType : uint8_t { @@ -2897,13 +1393,6 @@ enum EmberAfTvChannelLineupInfoType : uint8_t EMBER_ZCL_TV_CHANNEL_LINEUP_INFO_TYPE_MSO = 0, }; -// Enum for WanStatus -enum EmberAfWanStatus : uint8_t -{ - EMBER_ZCL_WAN_STATUS_CONNECTION_TO_WAN_IS_NOT_AVAILABLE = 0, - EMBER_ZCL_WAN_STATUS_CONNECTION_TO_WAN_IS_AVAILABLE = 1, -}; - // Enum for WarningEvent enum EmberAfWarningEvent : uint8_t { @@ -2944,46 +1433,6 @@ enum EmberAfWiFiVersionType : uint8_t EMBER_ZCL_WI_FI_VERSION_TYPE_802__11AX = 5, }; -// Enum for WwahIasZoneEnrollmentMode -enum EmberAfWwahIasZoneEnrollmentMode : uint8_t -{ - EMBER_ZCL_WWAH_IAS_ZONE_ENROLLMENT_MODE_TRIP_TO_PAIR = 0, - EMBER_ZCL_WWAH_IAS_ZONE_ENROLLMENT_MODE_AUTO_ENROLLMENT_RESPONSE = 1, - EMBER_ZCL_WWAH_IAS_ZONE_ENROLLMENT_MODE_REQUEST = 2, -}; - -// Enum for WwahPowerNotificationReason -enum EmberAfWwahPowerNotificationReason : uint8_t -{ - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_UNKNOWN = 0, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_BATTERY = 1, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_BROWNOUT = 2, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_WATCHDOG = 3, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_RESET_PIN = 4, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_MEMORY_HARDWARE_FAULT = 5, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_SOFWARE_EXCEPTION = 6, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_OTA_BOOTLOAD_SUCCESS = 7, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_SOFTWARE_RESET = 8, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_POWER_BUTTON = 9, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_TEMPERATURE = 10, - EMBER_ZCL_WWAH_POWER_NOTIFICATION_REASON_BOOTLOAD_FAILURE = 11, -}; - -// Enum for ZigbeeInformationLogicalType -enum EmberAfZigbeeInformationLogicalType : uint8_t -{ - EMBER_ZCL_ZIGBEE_INFORMATION_LOGICAL_TYPE_COORDINATOR = 0, - EMBER_ZCL_ZIGBEE_INFORMATION_LOGICAL_TYPE_ROUTER = 1, - EMBER_ZCL_ZIGBEE_INFORMATION_LOGICAL_TYPE_END_DEVICE = 2, -}; - -// Enum for ZllStatus -enum EmberAfZllStatus : uint8_t -{ - EMBER_ZCL_ZLL_STATUS_SUCCESS = 0, - EMBER_ZCL_ZLL_STATUS_FAILURE = 1, -}; - #define EMBER_AF_ALARM_MASK_GENERAL_HW_FAULT (1) #define EMBER_AF_ALARM_MASK_GENERAL_HW_FAULT_OFFSET (0) #define EMBER_AF_ALARM_MASK_GENERAL_SW_FAULT (2) @@ -2998,72 +1447,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_ALERT_STRUCTURE_CATEGORY_OFFSET (8) #define EMBER_AF_ALERT_STRUCTURE_PRESENCE_RECOVERY (12288) #define EMBER_AF_ALERT_STRUCTURE_PRESENCE_RECOVERY_OFFSET (12) -#define EMBER_AF_ALTERNATE_COST_TRAILING_DIGIT_TRAILING_DIGIT (240) -#define EMBER_AF_ALTERNATE_COST_TRAILING_DIGIT_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_AMI_CANCEL_CONTROL_TERMINATE_WITH_RANDOMIZATION (1) -#define EMBER_AF_AMI_CANCEL_CONTROL_TERMINATE_WITH_RANDOMIZATION_OFFSET (0) -#define EMBER_AF_AMI_COMMAND_OPTIONS_REQUEST_RX_ON_WHEN_IDLE (1) -#define EMBER_AF_AMI_COMMAND_OPTIONS_REQUEST_RX_ON_WHEN_IDLE_OFFSET (0) -#define EMBER_AF_AMI_DEVICE_CLASS_HVAC_COMPRESSOR_OR_FURNACE (1) -#define EMBER_AF_AMI_DEVICE_CLASS_HVAC_COMPRESSOR_OR_FURNACE_OFFSET (0) -#define EMBER_AF_AMI_DEVICE_CLASS_STRIP_HEAT_BASEBOARD_HEAT (2) -#define EMBER_AF_AMI_DEVICE_CLASS_STRIP_HEAT_BASEBOARD_HEAT_OFFSET (1) -#define EMBER_AF_AMI_DEVICE_CLASS_WATER_HEATER (4) -#define EMBER_AF_AMI_DEVICE_CLASS_WATER_HEATER_OFFSET (2) -#define EMBER_AF_AMI_DEVICE_CLASS_POOL_PUMP_SPA_JACUZZI (8) -#define EMBER_AF_AMI_DEVICE_CLASS_POOL_PUMP_SPA_JACUZZI_OFFSET (3) -#define EMBER_AF_AMI_DEVICE_CLASS_SMART_APPLIANCES (16) -#define EMBER_AF_AMI_DEVICE_CLASS_SMART_APPLIANCES_OFFSET (4) -#define EMBER_AF_AMI_DEVICE_CLASS_IRRIGATION_PUMP (32) -#define EMBER_AF_AMI_DEVICE_CLASS_IRRIGATION_PUMP_OFFSET (5) -#define EMBER_AF_AMI_DEVICE_CLASS_MANAGED_C_AND_I_LOADS (64) -#define EMBER_AF_AMI_DEVICE_CLASS_MANAGED_C_AND_I_LOADS_OFFSET (6) -#define EMBER_AF_AMI_DEVICE_CLASS_SIMPLE_MISC_LOADS (128) -#define EMBER_AF_AMI_DEVICE_CLASS_SIMPLE_MISC_LOADS_OFFSET (7) -#define EMBER_AF_AMI_DEVICE_CLASS_EXTERIOR_LIGHTING (256) -#define EMBER_AF_AMI_DEVICE_CLASS_EXTERIOR_LIGHTING_OFFSET (8) -#define EMBER_AF_AMI_DEVICE_CLASS_INTERIOR_LIGHTING (512) -#define EMBER_AF_AMI_DEVICE_CLASS_INTERIOR_LIGHTING_OFFSET (9) -#define EMBER_AF_AMI_DEVICE_CLASS_ELECTRIC_VEHICLE (1024) -#define EMBER_AF_AMI_DEVICE_CLASS_ELECTRIC_VEHICLE_OFFSET (10) -#define EMBER_AF_AMI_DEVICE_CLASS_GENERATION_SYSTEMS (2048) -#define EMBER_AF_AMI_DEVICE_CLASS_GENERATION_SYSTEMS_OFFSET (11) -#define EMBER_AF_AMI_EVENT_CONTROL_RANDOMIZED_START_TIME (1) -#define EMBER_AF_AMI_EVENT_CONTROL_RANDOMIZED_START_TIME_OFFSET (0) -#define EMBER_AF_AMI_EVENT_CONTROL_RANDOMIZED_END_TIME (2) -#define EMBER_AF_AMI_EVENT_CONTROL_RANDOMIZED_END_TIME_OFFSET (1) -#define EMBER_AF_AMI_METER_STATUS_CHECK_METER (1) -#define EMBER_AF_AMI_METER_STATUS_CHECK_METER_OFFSET (0) -#define EMBER_AF_AMI_METER_STATUS_LOW_BATTERY (2) -#define EMBER_AF_AMI_METER_STATUS_LOW_BATTERY_OFFSET (1) -#define EMBER_AF_AMI_METER_STATUS_TAMPER_DETECT (4) -#define EMBER_AF_AMI_METER_STATUS_TAMPER_DETECT_OFFSET (2) -#define EMBER_AF_AMI_METER_STATUS_POWER_FAILURE (8) -#define EMBER_AF_AMI_METER_STATUS_POWER_FAILURE_OFFSET (3) -#define EMBER_AF_AMI_METER_STATUS_POWER_QUALITY (16) -#define EMBER_AF_AMI_METER_STATUS_POWER_QUALITY_OFFSET (4) -#define EMBER_AF_AMI_METER_STATUS_LEAK_DETECT (32) -#define EMBER_AF_AMI_METER_STATUS_LEAK_DETECT_OFFSET (5) -#define EMBER_AF_AMI_METER_STATUS_SERVICE_DISCONNECT_OPEN (64) -#define EMBER_AF_AMI_METER_STATUS_SERVICE_DISCONNECT_OPEN_OFFSET (6) -#define EMBER_AF_AMI_METER_STATUS_RESERVED (128) -#define EMBER_AF_AMI_METER_STATUS_RESERVED_OFFSET (7) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH1 (1) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH1_OFFSET (0) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH2 (2) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH2_OFFSET (1) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH3 (4) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH3_OFFSET (2) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH4 (8) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH4_OFFSET (3) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH5 (16) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH5_OFFSET (4) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH6 (32) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH6_OFFSET (5) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH7 (64) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH7_OFFSET (6) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH8 (128) -#define EMBER_AF_AUXILIARY_LOAD_SWITCH_STATE_AUXILIARY_SWITCH8_OFFSET (7) #define EMBER_AF_BALLAST_STATUS_NON_OPERATIONAL (1) #define EMBER_AF_BALLAST_STATUS_NON_OPERATIONAL_OFFSET (0) #define EMBER_AF_BALLAST_STATUS_LAMP_NOT_IN_SOCKET (2) @@ -3080,308 +1463,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_BARRIER_CONTROL_SAFETY_STATUS_POSITION_FAILURE_OFFSET (3) #define EMBER_AF_BATTERY_ALARM_MASK_VOLTAGE_TOO_LOW (1) #define EMBER_AF_BATTERY_ALARM_MASK_VOLTAGE_TOO_LOW_OFFSET (0) -#define EMBER_AF_BILL_TRAILING_DIGIT_TRAILING_DIGIT (240) -#define EMBER_AF_BILL_TRAILING_DIGIT_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_BILLING_PERIOD_DURATION_DURATION (4194303) -#define EMBER_AF_BILLING_PERIOD_DURATION_DURATION_OFFSET (0) -#define EMBER_AF_BILLING_PERIOD_DURATION_UNITS (12582912) -#define EMBER_AF_BILLING_PERIOD_DURATION_UNITS_OFFSET (22) -#define EMBER_AF_BILLING_PERIOD_DURATION_TYPE_TIMEBASE (15) -#define EMBER_AF_BILLING_PERIOD_DURATION_TYPE_TIMEBASE_OFFSET (0) -#define EMBER_AF_BILLING_PERIOD_DURATION_TYPE_CONTROL (240) -#define EMBER_AF_BILLING_PERIOD_DURATION_TYPE_CONTROL_OFFSET (4) -#define EMBER_AF_BLOCK_PERIOD_CONTROL_PRICE_ACKNOWLEDGEMENT_REQUIREMENT (1) -#define EMBER_AF_BLOCK_PERIOD_CONTROL_PRICE_ACKNOWLEDGEMENT_REQUIREMENT_OFFSET (0) -#define EMBER_AF_BLOCK_PERIOD_CONTROL_REPEATING_BLOCK (2) -#define EMBER_AF_BLOCK_PERIOD_CONTROL_REPEATING_BLOCK_OFFSET (1) -#define EMBER_AF_BLOCK_PERIOD_DURATION_TYPE_TIMEBASE (15) -#define EMBER_AF_BLOCK_PERIOD_DURATION_TYPE_TIMEBASE_OFFSET (0) -#define EMBER_AF_BLOCK_PERIOD_DURATION_TYPE_CONTROL (240) -#define EMBER_AF_BLOCK_PERIOD_DURATION_TYPE_CONTROL_OFFSET (4) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER1 (2) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER1_OFFSET (1) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER2 (4) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER2_OFFSET (2) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER3 (8) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER3_OFFSET (3) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER4 (16) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER4_OFFSET (4) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER5 (32) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER5_OFFSET (5) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER6 (64) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER6_OFFSET (6) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER7 (128) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER7_OFFSET (7) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER8 (256) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER8_OFFSET (8) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER9 (512) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER9_OFFSET (9) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER10 (1024) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER10_OFFSET (10) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER11 (2048) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER11_OFFSET (11) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER12 (4096) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER12_OFFSET (12) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER13 (8192) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER13_OFFSET (13) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER14 (16384) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER14_OFFSET (14) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER15 (32768) -#define EMBER_AF_BLOCK_THRESHOLD_MASK_TIER15_OFFSET (15) -#define EMBER_AF_BLOCK_THRESHOLD_SUB_PAYLOAD_CONTROL_APPLY_TO_ALL_TOU_TIERS_OR_WHEN_BLOCK_ONLY_CHARGING (1) -#define EMBER_AF_BLOCK_THRESHOLD_SUB_PAYLOAD_CONTROL_APPLY_TO_ALL_TOU_TIERS_OR_WHEN_BLOCK_ONLY_CHARGING_OFFSET (0) -#define EMBER_AF_CO2_TRAILING_DIGIT_TRAILING_DIGIT (240) -#define EMBER_AF_CO2_TRAILING_DIGIT_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_CALORIFIC_VALUE_TRAILING_DIGIT_TRAILING_DIGIT (240) -#define EMBER_AF_CALORIFIC_VALUE_TRAILING_DIGIT_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_CHANNEL_MASK_CHANNEL0 (1) -#define EMBER_AF_CHANNEL_MASK_CHANNEL0_OFFSET (0) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL0 (1) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL0_OFFSET (0) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL27 (1) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL27_OFFSET (0) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL35 (1) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL35_OFFSET (0) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL0 (1) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL0_OFFSET (0) -#define EMBER_AF_CHANNEL_MASK_CHANNEL1 (2) -#define EMBER_AF_CHANNEL_MASK_CHANNEL1_OFFSET (1) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL1 (2) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL1_OFFSET (1) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL28 (2) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL28_OFFSET (1) -#define EMBER_AF_CHANNEL_MASK_853_CHANNEL36 (2) -#define EMBER_AF_CHANNEL_MASK_853_CHANNEL36_OFFSET (1) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL1 (2) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL1_OFFSET (1) -#define EMBER_AF_CHANNEL_MASK_CHANNEL2 (4) -#define EMBER_AF_CHANNEL_MASK_CHANNEL2_OFFSET (2) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL2 (4) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL2_OFFSET (2) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL29 (4) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL29_OFFSET (2) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL37 (4) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL37_OFFSET (2) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL2 (4) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL2_OFFSET (2) -#define EMBER_AF_CHANNEL_MASK_CHANNEL3 (8) -#define EMBER_AF_CHANNEL_MASK_CHANNEL3_OFFSET (3) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL3 (8) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL3_OFFSET (3) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL30 (8) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL30_OFFSET (3) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL38 (8) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL38_OFFSET (3) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL3 (8) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL3_OFFSET (3) -#define EMBER_AF_CHANNEL_MASK_CHANNEL4 (16) -#define EMBER_AF_CHANNEL_MASK_CHANNEL4_OFFSET (4) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL4 (16) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL4_OFFSET (4) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL31 (16) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL31_OFFSET (4) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL39 (16) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL39_OFFSET (4) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL4 (16) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL4_OFFSET (4) -#define EMBER_AF_CHANNEL_MASK_CHANNEL5 (32) -#define EMBER_AF_CHANNEL_MASK_CHANNEL5_OFFSET (5) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL5 (32) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL5_OFFSET (5) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL32 (32) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL32_OFFSET (5) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL40 (32) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL40_OFFSET (5) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL5 (32) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL5_OFFSET (5) -#define EMBER_AF_CHANNEL_MASK_CHANNEL6 (64) -#define EMBER_AF_CHANNEL_MASK_CHANNEL6_OFFSET (6) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL6 (64) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL6_OFFSET (6) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL33 (64) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL33_OFFSET (6) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL41 (64) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL41_OFFSET (6) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL6 (64) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL6_OFFSET (6) -#define EMBER_AF_CHANNEL_MASK_CHANNEL7 (128) -#define EMBER_AF_CHANNEL_MASK_CHANNEL7_OFFSET (7) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL7 (128) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL7_OFFSET (7) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL34 (128) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL34_OFFSET (7) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL42 (128) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL42_OFFSET (7) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL7 (128) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL7_OFFSET (7) -#define EMBER_AF_CHANNEL_MASK_CHANNEL8 (256) -#define EMBER_AF_CHANNEL_MASK_CHANNEL8_OFFSET (8) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL8 (256) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL8_OFFSET (8) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL62 (256) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL62_OFFSET (8) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL43 (256) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL43_OFFSET (8) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL8 (256) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL8_OFFSET (8) -#define EMBER_AF_CHANNEL_MASK_CHANNEL9 (512) -#define EMBER_AF_CHANNEL_MASK_CHANNEL9_OFFSET (9) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL9 (512) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL9_OFFSET (9) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL44 (512) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL44_OFFSET (9) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL9 (512) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL9_OFFSET (9) -#define EMBER_AF_CHANNEL_MASK_CHANNEL10 (1024) -#define EMBER_AF_CHANNEL_MASK_CHANNEL10_OFFSET (10) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL10 (1024) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL10_OFFSET (10) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL45 (1024) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL45_OFFSET (10) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL10 (1024) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL10_OFFSET (10) -#define EMBER_AF_CHANNEL_MASK_CHANNEL11 (2048) -#define EMBER_AF_CHANNEL_MASK_CHANNEL11_OFFSET (11) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL11 (2048) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL11_OFFSET (11) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL46 (2048) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL46_OFFSET (11) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL11 (2048) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL11_OFFSET (11) -#define EMBER_AF_CHANNEL_MASK_CHANNEL12 (4096) -#define EMBER_AF_CHANNEL_MASK_CHANNEL12_OFFSET (12) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL12 (4096) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL12_OFFSET (12) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL47 (4096) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL47_OFFSET (12) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL12 (4096) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL12_OFFSET (12) -#define EMBER_AF_CHANNEL_MASK_CHANNEL13 (8192) -#define EMBER_AF_CHANNEL_MASK_CHANNEL13_OFFSET (13) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL13 (8192) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL13_OFFSET (13) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL48 (8192) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL48_OFFSET (13) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL13 (8192) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL13_OFFSET (13) -#define EMBER_AF_CHANNEL_MASK_CHANNEL14 (16384) -#define EMBER_AF_CHANNEL_MASK_CHANNEL14_OFFSET (14) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL14 (16384) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL14_OFFSET (14) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL49 (16384) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL49_OFFSET (14) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL14 (16384) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL14_OFFSET (14) -#define EMBER_AF_CHANNEL_MASK_CHANNEL15 (32768) -#define EMBER_AF_CHANNEL_MASK_CHANNEL15_OFFSET (15) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL15 (32768) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL15_OFFSET (15) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL50 (32768) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL50_OFFSET (15) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL15 (32768) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL15_OFFSET (15) -#define EMBER_AF_CHANNEL_MASK_CHANNEL16 (65536) -#define EMBER_AF_CHANNEL_MASK_CHANNEL16_OFFSET (16) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL16 (65536) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL16_OFFSET (16) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL51 (65536) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL51_OFFSET (16) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL16 (65536) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL16_OFFSET (16) -#define EMBER_AF_CHANNEL_MASK_CHANNEL17 (131072) -#define EMBER_AF_CHANNEL_MASK_CHANNEL17_OFFSET (17) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL17 (131072) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL17_OFFSET (17) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL52 (131072) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL52_OFFSET (17) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL17 (131072) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL17_OFFSET (17) -#define EMBER_AF_CHANNEL_MASK_CHANNEL18 (262144) -#define EMBER_AF_CHANNEL_MASK_CHANNEL18_OFFSET (18) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL18 (262144) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL18_OFFSET (18) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL53 (262144) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL53_OFFSET (18) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL18 (262144) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL18_OFFSET (18) -#define EMBER_AF_CHANNEL_MASK_CHANNEL19 (524288) -#define EMBER_AF_CHANNEL_MASK_CHANNEL19_OFFSET (19) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL19 (524288) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL19_OFFSET (19) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL54 (524288) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL54_OFFSET (19) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL19 (524288) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL19_OFFSET (19) -#define EMBER_AF_CHANNEL_MASK_CHANNEL20 (1048576) -#define EMBER_AF_CHANNEL_MASK_CHANNEL20_OFFSET (20) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL20 (1048576) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL20_OFFSET (20) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL55 (1048576) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL55_OFFSET (20) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL20 (1048576) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL20_OFFSET (20) -#define EMBER_AF_CHANNEL_MASK_CHANNEL21 (2097152) -#define EMBER_AF_CHANNEL_MASK_CHANNEL21_OFFSET (21) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL21 (2097152) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL21_OFFSET (21) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL56 (2097152) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL56_OFFSET (21) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL21 (2097152) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL21_OFFSET (21) -#define EMBER_AF_CHANNEL_MASK_CHANNEL22 (4194304) -#define EMBER_AF_CHANNEL_MASK_CHANNEL22_OFFSET (22) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL22 (4194304) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL22_OFFSET (22) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL57 (4194304) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL57_OFFSET (22) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL22 (4194304) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL22_OFFSET (22) -#define EMBER_AF_CHANNEL_MASK_CHANNEL23 (8388608) -#define EMBER_AF_CHANNEL_MASK_CHANNEL23_OFFSET (23) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL23 (8388608) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL23_OFFSET (23) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL58 (8388608) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL58_OFFSET (23) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL23 (8388608) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL23_OFFSET (23) -#define EMBER_AF_CHANNEL_MASK_CHANNEL24 (16777216) -#define EMBER_AF_CHANNEL_MASK_CHANNEL24_OFFSET (24) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL24 (16777216) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL24_OFFSET (24) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL59 (16777216) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL59_OFFSET (24) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL24 (16777216) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL24_OFFSET (24) -#define EMBER_AF_CHANNEL_MASK_CHANNEL25 (33554432) -#define EMBER_AF_CHANNEL_MASK_CHANNEL25_OFFSET (25) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL25 (33554432) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL25_OFFSET (25) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL60 (33554432) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL60_OFFSET (25) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL25 (33554432) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL25_OFFSET (25) -#define EMBER_AF_CHANNEL_MASK_CHANNEL26 (67108864) -#define EMBER_AF_CHANNEL_MASK_CHANNEL26_OFFSET (26) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL26 (67108864) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL26_OFFSET (26) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL61 (67108864) -#define EMBER_AF_CHANNEL_MASK_863_CHANNEL61_OFFSET (26) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL26 (67108864) -#define EMBER_AF_CHANNEL_MASK_915_CHANNEL26_OFFSET (26) -#define EMBER_AF_CHANNEL_MASK_PAGE (4160749568) -#define EMBER_AF_CHANNEL_MASK_PAGE_OFFSET (27) -#define EMBER_AF_CLEARED_EVENTS_LOGS_ALL_LOGS_CLEARED (1) -#define EMBER_AF_CLEARED_EVENTS_LOGS_ALL_LOGS_CLEARED_OFFSET (0) -#define EMBER_AF_CLEARED_EVENTS_LOGS_TAMPER_LOG_CLEARED (2) -#define EMBER_AF_CLEARED_EVENTS_LOGS_TAMPER_LOG_CLEARED_OFFSET (1) -#define EMBER_AF_CLEARED_EVENTS_LOGS_FAULT_LOG_CLEARED (4) -#define EMBER_AF_CLEARED_EVENTS_LOGS_FAULT_LOG_CLEARED_OFFSET (2) -#define EMBER_AF_CLEARED_EVENTS_LOGS_GENERAL_EVENT_LOG_CLEARED (8) -#define EMBER_AF_CLEARED_EVENTS_LOGS_GENERAL_EVENT_LOG_CLEARED_OFFSET (3) -#define EMBER_AF_CLEARED_EVENTS_LOGS_SECURITY_EVENT_LOG_CLEARED (16) -#define EMBER_AF_CLEARED_EVENTS_LOGS_SECURITY_EVENT_LOG_CLEARED_OFFSET (4) -#define EMBER_AF_CLEARED_EVENTS_LOGS_NETWORK_EVENT_LOG_CLEARED (32) -#define EMBER_AF_CLEARED_EVENTS_LOGS_NETWORK_EVENT_LOG_CLEARED_OFFSET (5) #define EMBER_AF_COLOR_CAPABILITIES_HUE_SATURATION_SUPPORTED (1) #define EMBER_AF_COLOR_CAPABILITIES_HUE_SATURATION_SUPPORTED_OFFSET (0) #define EMBER_AF_COLOR_CAPABILITIES_ENHANCED_HUE_SUPPORTED (2) @@ -3400,44 +1481,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_TIME_OFFSET (2) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_START_HUE (8) #define EMBER_AF_COLOR_LOOP_UPDATE_FLAGS_UPDATE_START_HUE_OFFSET (3) -#define EMBER_AF_CONVERSION_FACTOR_TRAILING_DIGIT_TRAILING_DIGIT (240) -#define EMBER_AF_CONVERSION_FACTOR_TRAILING_DIGIT_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_CREDIT_STATUS_CREDIT_OK (1) -#define EMBER_AF_CREDIT_STATUS_CREDIT_OK_OFFSET (0) -#define EMBER_AF_CREDIT_STATUS_LOW_CREDIT (2) -#define EMBER_AF_CREDIT_STATUS_LOW_CREDIT_OFFSET (1) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_ENABLED (4) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_ENABLED_OFFSET (2) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_AVAILABLE (8) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_AVAILABLE_OFFSET (3) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_SELECTED (16) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_SELECTED_OFFSET (4) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_IN_USE (32) -#define EMBER_AF_CREDIT_STATUS_EMERGENCY_CREDIT_IN_USE_OFFSET (5) -#define EMBER_AF_CREDIT_STATUS_CREDIT_EXHAUSTED (64) -#define EMBER_AF_CREDIT_STATUS_CREDIT_EXHAUSTED_OFFSET (6) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CLEAR_BILLING_INFO (1) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CLEAR_BILLING_INFO_OFFSET (0) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CONVERT_BILLING_INFO_USING_NEW_CURRENCY (2) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CONVERT_BILLING_INFO_USING_NEW_CURRENCY_OFFSET (1) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CLEAR_OLD_CONSUMPTION_DATA (4) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CLEAR_OLD_CONSUMPTION_DATA_OFFSET (2) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CONVERT_OLD_CONSUMPTION_DATA_USING_NEW_CURRENCY (8) -#define EMBER_AF_CURRENCY_CHANGE_CONTROL_CONVERT_OLD_CONSUMPTION_DATA_USING_NEW_CURRENCY_OFFSET (3) -#define EMBER_AF_CURRENT_EVENT_STATUS_RANDOMIZED_START_TIME (1) -#define EMBER_AF_CURRENT_EVENT_STATUS_RANDOMIZED_START_TIME_OFFSET (0) -#define EMBER_AF_CURRENT_EVENT_STATUS_RANDOMIZED_DURATION (2) -#define EMBER_AF_CURRENT_EVENT_STATUS_RANDOMIZED_DURATION_OFFSET (1) -#define EMBER_AF_CURRENT_EVENT_STATUS_EXTENDED_BITS_PRESENT (4) -#define EMBER_AF_CURRENT_EVENT_STATUS_EXTENDED_BITS_PRESENT_OFFSET (2) -#define EMBER_AF_CURRENT_EVENT_STATUS_EVENT_ACTIVE (8) -#define EMBER_AF_CURRENT_EVENT_STATUS_EVENT_ACTIVE_OFFSET (3) -#define EMBER_AF_CURRENT_EVENT_STATUS_DEVICE_PARTICIPATING_IN_EVENT (16) -#define EMBER_AF_CURRENT_EVENT_STATUS_DEVICE_PARTICIPATING_IN_EVENT_OFFSET (4) -#define EMBER_AF_CURRENT_EVENT_STATUS_REDUCING_LOAD (32) -#define EMBER_AF_CURRENT_EVENT_STATUS_REDUCING_LOAD_OFFSET (5) -#define EMBER_AF_CURRENT_EVENT_STATUS_ON_AT_END_OF_EVENT (64) -#define EMBER_AF_CURRENT_EVENT_STATUS_ON_AT_END_OF_EVENT_OFFSET (6) #define EMBER_AF_DAY_OF_WEEK_SUNDAY (1) #define EMBER_AF_DAY_OF_WEEK_SUNDAY_OFFSET (0) #define EMBER_AF_DAY_OF_WEEK_MONDAY (2) @@ -3478,444 +1521,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_ENERGY_FORMATTING_NUMBER_OF_DIGITS_TO_THE_LEFT_OF_THE_DECIMAL_POINT_OFFSET (3) #define EMBER_AF_ENERGY_FORMATTING_SUPPRESS_LEADING_ZEROS (128) #define EMBER_AF_ENERGY_FORMATTING_SUPPRESS_LEADING_ZEROS_OFFSET (7) -#define EMBER_AF_EVENT_ACTION_CONTROL_REPORT_EVENT_TO_HAN_DEVICES (1) -#define EMBER_AF_EVENT_ACTION_CONTROL_REPORT_EVENT_TO_HAN_DEVICES_OFFSET (0) -#define EMBER_AF_EVENT_ACTION_CONTROL_REPORT_EVENT_TO_WAN (2) -#define EMBER_AF_EVENT_ACTION_CONTROL_REPORT_EVENT_TO_WAN_OFFSET (1) -#define EMBER_AF_EVENT_CONFIGURATION_LOG_ACTION (7) -#define EMBER_AF_EVENT_CONFIGURATION_LOG_ACTION_OFFSET (0) -#define EMBER_AF_EVENT_CONFIGURATION_PUSH_EVENT_TO_WAN (8) -#define EMBER_AF_EVENT_CONFIGURATION_PUSH_EVENT_TO_WAN_OFFSET (3) -#define EMBER_AF_EVENT_CONFIGURATION_PUSH_EVENT_TO_HAN (16) -#define EMBER_AF_EVENT_CONFIGURATION_PUSH_EVENT_TO_HAN_OFFSET (4) -#define EMBER_AF_EVENT_CONFIGURATION_RAISE_ALARM_ZIG_BEE (32) -#define EMBER_AF_EVENT_CONFIGURATION_RAISE_ALARM_ZIG_BEE_OFFSET (5) -#define EMBER_AF_EVENT_CONFIGURATION_RAISE_ALARM_PHYSICAL (64) -#define EMBER_AF_EVENT_CONFIGURATION_RAISE_ALARM_PHYSICAL_OFFSET (6) -#define EMBER_AF_EVENT_CONTROL_LOG_ID_LOG_ID (15) -#define EMBER_AF_EVENT_CONTROL_LOG_ID_LOG_ID_OFFSET (0) -#define EMBER_AF_EVENT_CONTROL_LOG_ID_EVENT_CONTROL (240) -#define EMBER_AF_EVENT_CONTROL_LOG_ID_EVENT_CONTROL_OFFSET (4) -#define EMBER_AF_FRIENDLY_CREDIT_FRIENDLY_CREDIT_ENABLED (1) -#define EMBER_AF_FRIENDLY_CREDIT_FRIENDLY_CREDIT_ENABLED_OFFSET (0) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_NEW_OTA_FIRMWARE (1) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_NEW_OTA_FIRMWARE_OFFSET (0) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CBKE_UPDATE_REQUEST (2) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CBKE_UPDATE_REQUEST_OFFSET (1) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_TIME_SYNC (4) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_TIME_SYNC_OFFSET (2) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_STAY_AWAKE_REQUEST_HAN (16) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_STAY_AWAKE_REQUEST_HAN_OFFSET (4) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_STAY_AWAKE_REQUEST_WAN (32) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_STAY_AWAKE_REQUEST_WAN_OFFSET (5) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET (448) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET_OFFSET (6) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET (3584) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET_OFFSET (9) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER (4096) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER_OFFSET (12) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_ALL_STATIC_DATA_METERING_CLUSTER (8192) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_ALL_STATIC_DATA_METERING_CLUSTER_OFFSET (13) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER (16384) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER_OFFSET (14) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_NETWORK_KEY_ACTIVE (32768) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_NETWORK_KEY_ACTIVE_OFFSET (15) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_DISPLAY_MESSAGE (65536) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_DISPLAY_MESSAGE_OFFSET (16) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CANCEL_ALL_MESSAGES (131072) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CANCEL_ALL_MESSAGES_OFFSET (17) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CHANGE_SUPPLY (262144) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CHANGE_SUPPLY_OFFSET (18) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_LOCAL_CHANGE_SUPPLY (524288) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_LOCAL_CHANGE_SUPPLY_OFFSET (19) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_SET_UNCONTROLLED_FLOW_THRESHOLD (1048576) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_SET_UNCONTROLLED_FLOW_THRESHOLD_OFFSET (20) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_TUNNEL_MESSAGE_PENDING (2097152) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_TUNNEL_MESSAGE_PENDING_OFFSET (21) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_GET_SNAPSHOT (4194304) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_GET_SNAPSHOT_OFFSET (22) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_GET_SAMPLED_DATA (8388608) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_GET_SAMPLED_DATA_OFFSET (23) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE (16777216) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE_OFFSET (24) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_ENERGY_SCAN_PENDING (33554432) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_ENERGY_SCAN_PENDING_OFFSET (25) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CHANNEL_CHANGE_PENDING (67108864) -#define EMBER_AF_FUNCTIONAL_NOTIFICATION_FLAGS_CHANNEL_CHANGE_PENDING_OFFSET (26) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_ABSOLUTE_ONLY (1) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_ABSOLUTE_ONLY_OFFSET (0) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_RECALCULATE (2) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_RECALCULATE_OFFSET (1) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_BROADCAST (4) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_BROADCAST_OFFSET (2) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_BROADCAST_RESPONSE (8) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_BROADCAST_RESPONSE_OFFSET (3) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_COMPACT_RESPONSE (16) -#define EMBER_AF_GET_LOCATION_DATA_FLAGS_COMPACT_RESPONSE_OFFSET (4) -#define EMBER_AF_GP_APPLICATION_INFORMATION_MANUFACTURE_ID_PRESENT (1) -#define EMBER_AF_GP_APPLICATION_INFORMATION_MANUFACTURE_ID_PRESENT_OFFSET (0) -#define EMBER_AF_GP_APPLICATION_INFORMATION_MODEL_ID_PRESENT (2) -#define EMBER_AF_GP_APPLICATION_INFORMATION_MODEL_ID_PRESENT_OFFSET (1) -#define EMBER_AF_GP_APPLICATION_INFORMATION_GPD_COMMANDS_PRESENT (4) -#define EMBER_AF_GP_APPLICATION_INFORMATION_GPD_COMMANDS_PRESENT_OFFSET (2) -#define EMBER_AF_GP_APPLICATION_INFORMATION_CLUSTER_LIST_PRESENT (8) -#define EMBER_AF_GP_APPLICATION_INFORMATION_CLUSTER_LIST_PRESENT_OFFSET (3) -#define EMBER_AF_GP_APPLICATION_INFORMATION_SWITCH_INFORMATION_PRESENT (16) -#define EMBER_AF_GP_APPLICATION_INFORMATION_SWITCH_INFORMATION_PRESENT_OFFSET (4) -#define EMBER_AF_GP_APPLICATION_INFORMATION_APPLICATION_DESCRIPTION_PRESENT (32) -#define EMBER_AF_GP_APPLICATION_INFORMATION_APPLICATION_DESCRIPTION_PRESENT_OFFSET (5) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_RX_AFTER_TX (8) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_RX_AFTER_TX_OFFSET (3) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_SECURITY_LEVEL (48) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_SECURITY_LEVEL_OFFSET (4) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_SECURITY_KEY_TYPE (448) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_SECURITY_KEY_TYPE_OFFSET (6) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_SECURITY_PROCESSING_FAILED (512) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_SECURITY_PROCESSING_FAILED_OFFSET (9) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_BIDIRECTIONAL_CAPABILITY (1024) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_BIDIRECTIONAL_CAPABILITY_OFFSET (10) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_PROXY_INFO_PRESENT (2048) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_PROXY_INFO_PRESENT_OFFSET (11) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_RESERVED (61440) -#define EMBER_AF_GP_COMMISSIONING_NOTIFICATION_OPTION_RESERVED_OFFSET (12) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_MASK (31) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_MASK_OFFSET (0) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_OPERATIONAL_CHANNEL (15) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_OPERATIONAL_CHANNEL_OFFSET (0) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_BASIC (16) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_BASIC_OFFSET (4) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_RESERVED (224) -#define EMBER_AF_GP_GPD_CHANNEL_CONFIGURATION_CHANNEL_RESERVED_OFFSET (5) -#define EMBER_AF_GP_GPD_CHANNEL_REQUEST_CHANNEL_TOGGLING_BEHAVIOUR_RX_CHANNEL_NEXT_ATTEMPT (15) -#define EMBER_AF_GP_GPD_CHANNEL_REQUEST_CHANNEL_TOGGLING_BEHAVIOUR_RX_CHANNEL_NEXT_ATTEMPT_OFFSET (0) -#define EMBER_AF_GP_GPD_CHANNEL_REQUEST_CHANNEL_TOGGLING_BEHAVIOUR_RX_CHANNEL_SECOND_NEXT_ATTEMPT (240) -#define EMBER_AF_GP_GPD_CHANNEL_REQUEST_CHANNEL_TOGGLING_BEHAVIOUR_RX_CHANNEL_SECOND_NEXT_ATTEMPT_OFFSET (4) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_SECURITY_LEVEL_CAPABILITIES (3) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_SECURITY_LEVEL_CAPABILITIES_OFFSET (0) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_KEY_TYPE (28) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_KEY_TYPE_OFFSET (2) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_GPD_KEY_PRESENT (32) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_GPD_KEY_PRESENT_OFFSET (5) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_GPD_KEY_ENCRYPTION (64) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_GPD_KEY_ENCRYPTION_OFFSET (6) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_GPD_OUTGOING_COUNTER_PRESENT (128) -#define EMBER_AF_GP_GPD_COMMISSIONING_EXTENDED_OPTIONS_GPD_OUTGOING_COUNTER_PRESENT_OFFSET (7) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_MAC_SEQ_NUM_CAP (1) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_MAC_SEQ_NUM_CAP_OFFSET (0) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_RX_ON_CAP (2) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_RX_ON_CAP_OFFSET (1) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_APPLICATION_INFORMATION_PRESENT (4) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_APPLICATION_INFORMATION_PRESENT_OFFSET (2) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_RESERVED (8) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_RESERVED_OFFSET (3) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_PAN_ID_REQUEST (16) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_PAN_ID_REQUEST_OFFSET (4) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_GP_SECURITY_KEY_REQUEST (32) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_GP_SECURITY_KEY_REQUEST_OFFSET (5) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_FIXED_LOCATION (64) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_FIXED_LOCATION_OFFSET (6) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_EXTENDED_OPTIONS_FIELD (128) -#define EMBER_AF_GP_GPD_COMMISSIONING_OPTIONS_EXTENDED_OPTIONS_FIELD_OFFSET (7) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_PAN_ID_PRESENT (1) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_PAN_ID_PRESENT_OFFSET (0) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_GPD_SECURITY_KEY_PRESENT (2) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_GPD_SECURITY_KEY_PRESENT_OFFSET (1) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_GPDKEY_ENCRYPTION (4) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_GPDKEY_ENCRYPTION_OFFSET (2) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_SECURITY_LEVEL (24) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_SECURITY_LEVEL_OFFSET (3) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_KEY_TYPE (224) -#define EMBER_AF_GP_GPD_COMMISSIONING_REPLY_OPTIONS_KEY_TYPE_OFFSET (5) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GP_FEATURE (1) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GP_FEATURE_OFFSET (0) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_DIRECT_COMMUNICATION (2) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_DIRECT_COMMUNICATION_OFFSET (1) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_DERIVED_GROUPCAST_COMMUNICATION (4) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_DERIVED_GROUPCAST_COMMUNICATION_OFFSET (2) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PRE_COMMISSIONED_GROUPCAST_COMMUNICATION (8) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PRE_COMMISSIONED_GROUPCAST_COMMUNICATION_OFFSET (3) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_FULL_UNICAST_COMMUNICATION (16) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_FULL_UNICAST_COMMUNICATION_OFFSET (4) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_LIGHTWEIGHT_UNICAST_COMMUNICATION (32) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_LIGHTWEIGHT_UNICAST_COMMUNICATION_OFFSET (5) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PROXIMITY_BIDIRECTIONAL_COMMUNICATION (64) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PROXIMITY_BIDIRECTIONAL_COMMUNICATION_OFFSET (6) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_MULTIHOP_BIDIRECTIONAL_COMMUNICATION (128) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_MULTIHOP_BIDIRECTIONAL_COMMUNICATION_OFFSET (7) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PROXY_TABLE_MAINTAINANCE (256) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PROXY_TABLE_MAINTAINANCE_OFFSET (8) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PROXIMITY_COMMUNICATION (512) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_PROXIMITY_COMMUNICATION_OFFSET (9) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_MULTIHOP_COMMUNICATION (1024) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_MULTIHOP_COMMUNICATION_OFFSET (10) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_CT_BASED_COMMISSIONING (2048) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_CT_BASED_COMMISSIONING_OFFSET (11) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_MAINTAINANCE_GPDF (4096) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_MAINTAINANCE_GPDF_OFFSET (12) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL0_IN_OPERATION (8192) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL0_IN_OPERATION_OFFSET (13) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL1_IN_OPERATION (16384) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL1_IN_OPERATION_OFFSET (14) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL2_IN_OPERATION (32768) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL2_IN_OPERATION_OFFSET (15) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL3_IN_OPERATION (65536) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_SECURITY_LEVEL3_IN_OPERATION_OFFSET (16) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_SINK_TABLE_BASED_GROUPCAST_FORWARDING (131072) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_SINK_TABLE_BASED_GROUPCAST_FORWARDING_OFFSET (17) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_TRANSLATION_TABLE (262144) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_TRANSLATION_TABLE_OFFSET (18) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_IEEE_ADDRESS (524288) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_GPD_IEEE_ADDRESS_OFFSET (19) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_COMPACT_ATTRIBUTE_REPORTING (1048576) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_COMPACT_ATTRIBUTE_REPORTING_OFFSET (20) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_RESERVED (14680064) -#define EMBER_AF_GP_GPS_FUNCTIONALITY_RESERVED_OFFSET (21) -#define EMBER_AF_GP_NOTIFICATION_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_NOTIFICATION_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_NOTIFICATION_OPTION_ALSO_UNICAST (8) -#define EMBER_AF_GP_NOTIFICATION_OPTION_ALSO_UNICAST_OFFSET (3) -#define EMBER_AF_GP_NOTIFICATION_OPTION_ALSO_DERIVED_GROUP (16) -#define EMBER_AF_GP_NOTIFICATION_OPTION_ALSO_DERIVED_GROUP_OFFSET (4) -#define EMBER_AF_GP_NOTIFICATION_OPTION_ALSO_COMMISSIONED_GROUP (32) -#define EMBER_AF_GP_NOTIFICATION_OPTION_ALSO_COMMISSIONED_GROUP_OFFSET (5) -#define EMBER_AF_GP_NOTIFICATION_OPTION_SECURITY_LEVEL (192) -#define EMBER_AF_GP_NOTIFICATION_OPTION_SECURITY_LEVEL_OFFSET (6) -#define EMBER_AF_GP_NOTIFICATION_OPTION_SECURITY_KEY_TYPE (1792) -#define EMBER_AF_GP_NOTIFICATION_OPTION_SECURITY_KEY_TYPE_OFFSET (8) -#define EMBER_AF_GP_NOTIFICATION_OPTION_RX_AFTER_TX (2048) -#define EMBER_AF_GP_NOTIFICATION_OPTION_RX_AFTER_TX_OFFSET (11) -#define EMBER_AF_GP_NOTIFICATION_OPTION_GP_TX_QUEUE_FULL (4096) -#define EMBER_AF_GP_NOTIFICATION_OPTION_GP_TX_QUEUE_FULL_OFFSET (12) -#define EMBER_AF_GP_NOTIFICATION_OPTION_BIDIRECTIONAL_CAPABILITY (8192) -#define EMBER_AF_GP_NOTIFICATION_OPTION_BIDIRECTIONAL_CAPABILITY_OFFSET (13) -#define EMBER_AF_GP_NOTIFICATION_OPTION_PROXY_INFO_PRESENT (16384) -#define EMBER_AF_GP_NOTIFICATION_OPTION_PROXY_INFO_PRESENT_OFFSET (14) -#define EMBER_AF_GP_NOTIFICATION_OPTION_RESERVED (32768) -#define EMBER_AF_GP_NOTIFICATION_OPTION_RESERVED_OFFSET (15) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_FIRST_TO_FORWARD (8) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_FIRST_TO_FORWARD_OFFSET (3) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_NO_PAIRING (16) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_NO_PAIRING_OFFSET (4) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_RESERVED (224) -#define EMBER_AF_GP_NOTIFICATION_RESPONSE_OPTION_RESERVED_OFFSET (5) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_ACTIONS_ACTION (7) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_ACTIONS_ACTION_OFFSET (0) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_ACTIONS_SEND_GP_PAIRING (8) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_ACTIONS_SEND_GP_PAIRING_OFFSET (3) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_ACTIONS_RESERVED (240) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_ACTIONS_RESERVED_OFFSET (4) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE (24) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_OFFSET (3) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_SEQUENCE_NUMBER_CAPABILITIES (32) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_SEQUENCE_NUMBER_CAPABILITIES_OFFSET (5) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_RX_ON_CAPABILITY (64) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_RX_ON_CAPABILITY_OFFSET (6) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_FIXED_LOCATION (128) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_FIXED_LOCATION_OFFSET (7) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_ASSIGNED_ALIAS (256) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_ASSIGNED_ALIAS_OFFSET (8) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_SECURITY_USE (512) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_SECURITY_USE_OFFSET (9) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_APPLICATION_INFORMATION_PRESENT (1024) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_APPLICATION_INFORMATION_PRESENT_OFFSET (10) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_RESERVED (63488) -#define EMBER_AF_GP_PAIRING_CONFIGURATION_OPTION_RESERVED_OFFSET (11) -#define EMBER_AF_GP_PAIRING_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_PAIRING_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_PAIRING_OPTION_ADD_SINK (8) -#define EMBER_AF_GP_PAIRING_OPTION_ADD_SINK_OFFSET (3) -#define EMBER_AF_GP_PAIRING_OPTION_REMOVE_GPD (16) -#define EMBER_AF_GP_PAIRING_OPTION_REMOVE_GPD_OFFSET (4) -#define EMBER_AF_GP_PAIRING_OPTION_COMMUNICATION_MODE (96) -#define EMBER_AF_GP_PAIRING_OPTION_COMMUNICATION_MODE_OFFSET (5) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_FIXED (128) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_FIXED_OFFSET (7) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_MAC_SEQUENCE_NUMBER_CAPABILITIES (256) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_MAC_SEQUENCE_NUMBER_CAPABILITIES_OFFSET (8) -#define EMBER_AF_GP_PAIRING_OPTION_SECURITY_LEVEL (1536) -#define EMBER_AF_GP_PAIRING_OPTION_SECURITY_LEVEL_OFFSET (9) -#define EMBER_AF_GP_PAIRING_OPTION_SECURITY_KEY_TYPE (14336) -#define EMBER_AF_GP_PAIRING_OPTION_SECURITY_KEY_TYPE_OFFSET (11) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_SECURITY_FRAME_COUNTER_PRESENT (16384) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_SECURITY_FRAME_COUNTER_PRESENT_OFFSET (14) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_SECURITY_KEY_PRESENT (32768) -#define EMBER_AF_GP_PAIRING_OPTION_GPD_SECURITY_KEY_PRESENT_OFFSET (15) -#define EMBER_AF_GP_PAIRING_OPTION_ASSIGNED_ALIAS_PRESENT (65536) -#define EMBER_AF_GP_PAIRING_OPTION_ASSIGNED_ALIAS_PRESENT_OFFSET (16) -#define EMBER_AF_GP_PAIRING_OPTION_GROUPCAST_RADIUS_PRESENT (131072) -#define EMBER_AF_GP_PAIRING_OPTION_GROUPCAST_RADIUS_PRESENT_OFFSET (17) -#define EMBER_AF_GP_PAIRING_OPTION_RESERVED (16515072) -#define EMBER_AF_GP_PAIRING_OPTION_RESERVED_OFFSET (18) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_UNICAST_SINKS (8) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_UNICAST_SINKS_OFFSET (3) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_DERIVED_GROUPCAST_SINKS (16) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_DERIVED_GROUPCAST_SINKS_OFFSET (4) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_COMMISSIONED_GROUPCAST_SINKS (32) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_COMMISSIONED_GROUPCAST_SINKS_OFFSET (5) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_GPD_SECURITY_FRAME_COUNTER (64) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_GPD_SECURITY_FRAME_COUNTER_OFFSET (6) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_GPD_SECURITY_KEY (128) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_REQUEST_GPD_SECURITY_KEY_OFFSET (7) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_RESERVED (65280) -#define EMBER_AF_GP_PAIRING_SEARCH_OPTION_RESERVED_OFFSET (8) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_EXIT_MODE_ON_COMMISSIONING_WINDOW_EXPIRATION (2) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_EXIT_MODE_ON_COMMISSIONING_WINDOW_EXPIRATION_OFFSET (1) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_EXIT_MODE_ON_FIRST_PAIRING_SUCCESS (4) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_EXIT_MODE_ON_FIRST_PAIRING_SUCCESS_OFFSET (2) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_EXIT_MODE_ON_GP_PROXY_COMMISSIONING_MODE_EXIT (8) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_EXIT_MODE_ON_GP_PROXY_COMMISSIONING_MODE_EXIT_OFFSET (3) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_ACTION (1) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_ACTION_OFFSET (0) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_COMMISSIONING_WINDOW_PRESENT (2) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_COMMISSIONING_WINDOW_PRESENT_OFFSET (1) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_EXIT_MODE (12) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_EXIT_MODE_OFFSET (2) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_CHANNEL_PRESENT (16) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_CHANNEL_PRESENT_OFFSET (4) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_UNICAST_COMMUNICATION (32) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_UNICAST_COMMUNICATION_OFFSET (5) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_RESERVED (192) -#define EMBER_AF_GP_PROXY_COMMISSIONING_MODE_OPTION_RESERVED_OFFSET (6) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_APPLICATION_ID (7) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_ENTRY_ACTIVE (8) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_ENTRY_ACTIVE_OFFSET (3) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_ENTRY_VALID (16) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_ENTRY_VALID_OFFSET (4) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_SEQUENCE_NUMBER_CAP (32) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_SEQUENCE_NUMBER_CAP_OFFSET (5) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_LIGHTWEIGHT_UNICAST_GPS (64) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_LIGHTWEIGHT_UNICAST_GPS_OFFSET (6) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_DERIVED_GROUP_GPS (128) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_DERIVED_GROUP_GPS_OFFSET (7) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_COMMISIONED_GROUP_GPS (256) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_COMMISIONED_GROUP_GPS_OFFSET (8) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_FIRST_TO_FORWARD (512) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_FIRST_TO_FORWARD_OFFSET (9) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_IN_RANGE (1024) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_IN_RANGE_OFFSET (10) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_GPD_FIXED (2048) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_GPD_FIXED_OFFSET (11) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_HAS_ALL_UNICAST_ROUTES (4096) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_HAS_ALL_UNICAST_ROUTES_OFFSET (12) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_ASSIGNED_ALIAS (8192) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_ASSIGNED_ALIAS_OFFSET (13) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_SECURITY_USE (16384) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_SECURITY_USE_OFFSET (14) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_EXTENSION (32768) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_EXTENSION_OFFSET (15) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_FULL_UNICAST_GPS (65536) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_OPTIONS_FULL_UNICAST_GPS_OFFSET (16) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_LEVEL (3) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_LEVEL_OFFSET (0) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_KEY_TYPE (28) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_KEY_TYPE_OFFSET (2) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_SECURITY_OPTIONS_RESERVED (224) -#define EMBER_AF_GP_PROXY_TABLE_ENTRY_SECURITY_OPTIONS_RESERVED_OFFSET (5) -#define EMBER_AF_GP_PROXY_TABLE_REQUEST_OPTIONS_APPLICATION_ID (7) -#define EMBER_AF_GP_PROXY_TABLE_REQUEST_OPTIONS_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_PROXY_TABLE_REQUEST_OPTIONS_REQUEST_TYPE (24) -#define EMBER_AF_GP_PROXY_TABLE_REQUEST_OPTIONS_REQUEST_TYPE_OFFSET (3) -#define EMBER_AF_GP_PROXY_TABLE_REQUEST_OPTIONS_RESERVED (224) -#define EMBER_AF_GP_PROXY_TABLE_REQUEST_OPTIONS_RESERVED_OFFSET (5) -#define EMBER_AF_GP_RESPONSE_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_RESPONSE_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_RESPONSE_OPTION_TRANSMIT_ON_END_POINT_MATCH (8) -#define EMBER_AF_GP_RESPONSE_OPTION_TRANSMIT_ON_END_POINT_MATCH_OFFSET (3) -#define EMBER_AF_GP_RESPONSE_OPTION_RESERVED (240) -#define EMBER_AF_GP_RESPONSE_OPTION_RESERVED_OFFSET (4) -#define EMBER_AF_GP_RESPONSE_TEMP_MASTER_TX_CHANNEL_TRANSMIT_CHANNEL (15) -#define EMBER_AF_GP_RESPONSE_TEMP_MASTER_TX_CHANNEL_TRANSMIT_CHANNEL_OFFSET (0) -#define EMBER_AF_GP_RESPONSE_TEMP_MASTER_TX_CHANNEL_RESERVED (240) -#define EMBER_AF_GP_RESPONSE_TEMP_MASTER_TX_CHANNEL_RESERVED_OFFSET (4) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_ON_COMMISSIONING_WINDOW_EXPIRATION (1) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_ON_COMMISSIONING_WINDOW_EXPIRATION_OFFSET (0) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_ON_FIRST_PAIRING_SUCCESS (2) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_ON_FIRST_PAIRING_SUCCESS_OFFSET (1) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_ON_GP_PROXY_COMMISSIONING_MODE_EXIT (4) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_ON_GP_PROXY_COMMISSIONING_MODE_EXIT_OFFSET (2) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_RESERVED (248) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_EXIT_MODE_RESERVED_OFFSET (3) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_ACTION (1) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_ACTION_OFFSET (0) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_INVOLVE_GPM_IN_SECURITY (2) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_INVOLVE_GPM_IN_SECURITY_OFFSET (1) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_INVOLVE_GPM_IN_PAIRING (4) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_INVOLVE_GPM_IN_PAIRING_OFFSET (2) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_INVOLVE_PROXIES (8) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_INVOLVE_PROXIES_OFFSET (3) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_RESERVED (240) -#define EMBER_AF_GP_SINK_COMMISSIONING_MODE_OPTIONS_RESERVED_OFFSET (4) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_APPLICATION_ID (7) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_COMMUNICATION_MODE (24) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_COMMUNICATION_MODE_OFFSET (3) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_SEQUENCE_NUM_CAPABILITIES (32) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_SEQUENCE_NUM_CAPABILITIES_OFFSET (5) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_RX_ON_CAPABILITY (64) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_RX_ON_CAPABILITY_OFFSET (6) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_FIXED_LOCATION (128) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_FIXED_LOCATION_OFFSET (7) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_ASSIGNED_ALIAS (256) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_ASSIGNED_ALIAS_OFFSET (8) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_SECURITY_USE (512) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_SECURITY_USE_OFFSET (9) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_RESERVED (64512) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_OPTIONS_RESERVED_OFFSET (10) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_LEVEL (3) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_LEVEL_OFFSET (0) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_KEY_TYPE (28) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_SECURITY_OPTIONS_SECURITY_KEY_TYPE_OFFSET (2) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_SECURITY_OPTIONS_RESERVED (224) -#define EMBER_AF_GP_SINK_TABLE_ENTRY_SECURITY_OPTIONS_RESERVED_OFFSET (5) -#define EMBER_AF_GP_SINK_TABLE_REQUEST_OPTIONS_APPLICATION_ID (7) -#define EMBER_AF_GP_SINK_TABLE_REQUEST_OPTIONS_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_SINK_TABLE_REQUEST_OPTIONS_REQUEST_TYPE (24) -#define EMBER_AF_GP_SINK_TABLE_REQUEST_OPTIONS_REQUEST_TYPE_OFFSET (3) -#define EMBER_AF_GP_SINK_TABLE_REQUEST_OPTIONS_RESERVED (224) -#define EMBER_AF_GP_SINK_TABLE_REQUEST_OPTIONS_RESERVED_OFFSET (5) -#define EMBER_AF_GP_TRANSLATION_TABLE_RESPONSE_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_TRANSLATION_TABLE_RESPONSE_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_TRANSLATION_TABLE_RESPONSE_OPTION_ADDITIONAL_INFORMATION_BLOCK_PRESENT (8) -#define EMBER_AF_GP_TRANSLATION_TABLE_RESPONSE_OPTION_ADDITIONAL_INFORMATION_BLOCK_PRESENT_OFFSET (3) -#define EMBER_AF_GP_TRANSLATION_TABLE_RESPONSE_OPTION_RESERVED (240) -#define EMBER_AF_GP_TRANSLATION_TABLE_RESPONSE_OPTION_RESERVED_OFFSET (4) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_GPD_ID (1) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_GPD_ID_OFFSET (0) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_CMD_ID (2) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_CMD_ID_OFFSET (1) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_PAYLOAD (4) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_PAYLOAD_OFFSET (2) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_ZB_ENDPOINT (8) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_ZB_ENDPOINT_OFFSET (3) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_ADDITIONAL_INFO_BLOCK (16) -#define EMBER_AF_GP_TRANSLATION_TABLE_SCAN_LEVEL_ADDITIONAL_INFO_BLOCK_OFFSET (4) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_ACTION (24) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_ACTION_OFFSET (3) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_NUMBER_OF_TRANSLATIONS (224) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_NUMBER_OF_TRANSLATIONS_OFFSET (5) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_ADDITIONAL_INFORMATION_BLOCK_PRESENT (256) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_ADDITIONAL_INFORMATION_BLOCK_PRESENT_OFFSET (8) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_RESERVED (65024) -#define EMBER_AF_GP_TRANSLATION_TABLE_UPDATE_OPTION_RESERVED_OFFSET (9) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_APPLICATION_ID (7) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_APPLICATION_ID_OFFSET (0) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_ALSO_DERIVED_GROUP (8) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_ALSO_DERIVED_GROUP_OFFSET (3) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_ALSO_COMMISSIONED_GROUP (16) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_ALSO_COMMISSIONED_GROUP_OFFSET (4) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_RESERVED (224) -#define EMBER_AF_GP_TUNNELING_STOP_OPTION_RESERVED_OFFSET (5) #define EMBER_AF_IAS_ZONE_STATUS_ALARM1 (1) #define EMBER_AF_IAS_ZONE_STATUS_ALARM1_OFFSET (0) #define EMBER_AF_IAS_ZONE_STATUS_ALARM2 (2) @@ -3936,190 +1541,18 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_IAS_ZONE_STATUS_TEST_OFFSET (8) #define EMBER_AF_IAS_ZONE_STATUS_BATTERY_DEFECT (512) #define EMBER_AF_IAS_ZONE_STATUS_BATTERY_DEFECT_OFFSET (9) -#define EMBER_AF_KEY_BITMASK_DEVELOPMENT (1) -#define EMBER_AF_KEY_BITMASK_DEVELOPMENT_OFFSET (0) -#define EMBER_AF_KEY_BITMASK_MASTER (16) -#define EMBER_AF_KEY_BITMASK_MASTER_OFFSET (4) -#define EMBER_AF_KEY_BITMASK_CERTIFICATION (32768) -#define EMBER_AF_KEY_BITMASK_CERTIFICATION_OFFSET (15) #define EMBER_AF_LAMP_ALARM_MODE_LAMP_BURN_HOURS (1) #define EMBER_AF_LAMP_ALARM_MODE_LAMP_BURN_HOURS_OFFSET (0) -#define EMBER_AF_LOAD_CONTROL_STATE_RELAY_OPEN_OR_CONSUMPTION_INTERUPTED (1) -#define EMBER_AF_LOAD_CONTROL_STATE_RELAY_OPEN_OR_CONSUMPTION_INTERUPTED_OFFSET (0) -#define EMBER_AF_LOAD_CONTROL_STATE_EVENT_IN_PROGRESS (2) -#define EMBER_AF_LOAD_CONTROL_STATE_EVENT_IN_PROGRESS_OFFSET (1) -#define EMBER_AF_LOAD_CONTROL_STATE_POWER_STABILIZING (4) -#define EMBER_AF_LOAD_CONTROL_STATE_POWER_STABILIZING_OFFSET (2) -#define EMBER_AF_LOAD_CONTROL_STATE_OTHER_LOAD_REDUCTION (8) -#define EMBER_AF_LOAD_CONTROL_STATE_OTHER_LOAD_REDUCTION_OFFSET (3) -#define EMBER_AF_LOAD_CONTROL_STATE_CURRENT_FLOW_OR_CONSUMING_COMMODITY (16) -#define EMBER_AF_LOAD_CONTROL_STATE_CURRENT_FLOW_OR_CONSUMING_COMMODITY_OFFSET (4) -#define EMBER_AF_LOAD_CONTROL_STATE_LOAD_CALL (32) -#define EMBER_AF_LOAD_CONTROL_STATE_LOAD_CALL_OFFSET (5) -#define EMBER_AF_LOCATION_TYPE_ABSOLUTE (1) -#define EMBER_AF_LOCATION_TYPE_ABSOLUTE_OFFSET (0) -#define EMBER_AF_LOCATION_TYPE_2_D (2) -#define EMBER_AF_LOCATION_TYPE_2_D_OFFSET (1) -#define EMBER_AF_LOCATION_TYPE_COORDINATE_SYSTEM (12) -#define EMBER_AF_LOCATION_TYPE_COORDINATE_SYSTEM_OFFSET (2) #define EMBER_AF_MAINS_ALARM_MASK_VOLTAGE_TOO_LOW (1) #define EMBER_AF_MAINS_ALARM_MASK_VOLTAGE_TOO_LOW_OFFSET (0) #define EMBER_AF_MAINS_ALARM_MASK_VOLTAGE_TOO_HIGH (2) #define EMBER_AF_MAINS_ALARM_MASK_VOLTAGE_TOO_HIGH_OFFSET (1) #define EMBER_AF_MAINS_ALARM_MASK_MAINS_POWER_SUPPLY_LOST (4) #define EMBER_AF_MAINS_ALARM_MASK_MAINS_POWER_SUPPLY_LOST_OFFSET (2) -#define EMBER_AF_MESSAGING_CONFIRMATION_CONTROL_NO_RETURNED (1) -#define EMBER_AF_MESSAGING_CONFIRMATION_CONTROL_NO_RETURNED_OFFSET (0) -#define EMBER_AF_MESSAGING_CONFIRMATION_CONTROL_YES_RETURNED (2) -#define EMBER_AF_MESSAGING_CONFIRMATION_CONTROL_YES_RETURNED_OFFSET (1) -#define EMBER_AF_MESSAGING_CONTROL_MASK_TRANS_MECHANISM (3) -#define EMBER_AF_MESSAGING_CONTROL_MASK_TRANS_MECHANISM_OFFSET (0) -#define EMBER_AF_MESSAGING_CONTROL_MASK_MESSAGE_URGENCY (12) -#define EMBER_AF_MESSAGING_CONTROL_MASK_MESSAGE_URGENCY_OFFSET (2) -#define EMBER_AF_MESSAGING_CONTROL_MASK_ENHANCED_CONFIRMATION_REQUEST (32) -#define EMBER_AF_MESSAGING_CONTROL_MASK_ENHANCED_CONFIRMATION_REQUEST_OFFSET (5) -#define EMBER_AF_MESSAGING_CONTROL_MASK_MESSAGE_CONFIRMATION (128) -#define EMBER_AF_MESSAGING_CONTROL_MASK_MESSAGE_CONFIRMATION_OFFSET (7) -#define EMBER_AF_MESSAGING_EXTENDED_CONTROL_MASK_MESSAGE_CONFIRMATION_STATUS (1) -#define EMBER_AF_MESSAGING_EXTENDED_CONTROL_MASK_MESSAGE_CONFIRMATION_STATUS_OFFSET (0) -#define EMBER_AF_METERING_EXTENDED_STATUS_METER_COVER_REMOVED (1) -#define EMBER_AF_METERING_EXTENDED_STATUS_METER_COVER_REMOVED_OFFSET (0) -#define EMBER_AF_METERING_EXTENDED_STATUS_STRONG_MAGNETIC_FIELD_DETECTED (2) -#define EMBER_AF_METERING_EXTENDED_STATUS_STRONG_MAGNETIC_FIELD_DETECTED_OFFSET (1) -#define EMBER_AF_METERING_EXTENDED_STATUS_BATTERY_FAILURE (4) -#define EMBER_AF_METERING_EXTENDED_STATUS_BATTERY_FAILURE_OFFSET (2) -#define EMBER_AF_METERING_EXTENDED_STATUS_PROGRAM_MEMORY_ERROR (8) -#define EMBER_AF_METERING_EXTENDED_STATUS_PROGRAM_MEMORY_ERROR_OFFSET (3) -#define EMBER_AF_METERING_EXTENDED_STATUS_RAM_ERROR (16) -#define EMBER_AF_METERING_EXTENDED_STATUS_RAM_ERROR_OFFSET (4) -#define EMBER_AF_METERING_EXTENDED_STATUS_NV_MEMORY_ERROR (32) -#define EMBER_AF_METERING_EXTENDED_STATUS_NV_MEMORY_ERROR_OFFSET (5) -#define EMBER_AF_METERING_EXTENDED_STATUS_MEASUREMENT_SYSTEM_ERROR (64) -#define EMBER_AF_METERING_EXTENDED_STATUS_MEASUREMENT_SYSTEM_ERROR_OFFSET (6) -#define EMBER_AF_METERING_EXTENDED_STATUS_WATCHDOG_ERROR (128) -#define EMBER_AF_METERING_EXTENDED_STATUS_WATCHDOG_ERROR_OFFSET (7) -#define EMBER_AF_METERING_EXTENDED_STATUS_SUPPLY_DISCONNECT_FAILURE (256) -#define EMBER_AF_METERING_EXTENDED_STATUS_SUPPLY_DISCONNECT_FAILURE_OFFSET (8) -#define EMBER_AF_METERING_EXTENDED_STATUS_SUPPLY_CONNECT_FAILURE (512) -#define EMBER_AF_METERING_EXTENDED_STATUS_SUPPLY_CONNECT_FAILURE_OFFSET (9) -#define EMBER_AF_METERING_EXTENDED_STATUS_MEASUREMENT_SW_CHANGED_TAMPERED (1024) -#define EMBER_AF_METERING_EXTENDED_STATUS_MEASUREMENT_SW_CHANGED_TAMPERED_OFFSET (10) -#define EMBER_AF_METERING_EXTENDED_STATUS_CLOCK_INVALID (2048) -#define EMBER_AF_METERING_EXTENDED_STATUS_CLOCK_INVALID_OFFSET (11) -#define EMBER_AF_METERING_EXTENDED_STATUS_TEMPERATURE_EXCEEDED (4096) -#define EMBER_AF_METERING_EXTENDED_STATUS_TEMPERATURE_EXCEEDED_OFFSET (12) -#define EMBER_AF_METERING_EXTENDED_STATUS_MOISTURE_DETECTED (8192) -#define EMBER_AF_METERING_EXTENDED_STATUS_MOISTURE_DETECTED_OFFSET (13) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_TERMINAL_COVER_REMOVED (16777216) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_TERMINAL_COVER_REMOVED_OFFSET (24) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_INCORRECT_POLARITY (33554432) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_INCORRECT_POLARITY_OFFSET (25) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_CURRENT_WITH_NO_VOLTAGE (67108864) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_CURRENT_WITH_NO_VOLTAGE_OFFSET (26) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_LIMIT_THRESHOLD_EXCEEDED (134217728) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_LIMIT_THRESHOLD_EXCEEDED_OFFSET (27) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_UNDER_VOLTAGE (268435456) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_UNDER_VOLTAGE_OFFSET (28) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_OVER_VOLTAGE (536870912) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_OVER_VOLTAGE_OFFSET (29) -#define EMBER_AF_METERING_EXTENDED_STATUS_GAS_METER_BATTERY_COVER_REMOVED (16777216) -#define EMBER_AF_METERING_EXTENDED_STATUS_GAS_METER_BATTERY_COVER_REMOVED_OFFSET (24) -#define EMBER_AF_METERING_EXTENDED_STATUS_GAS_METER_TILT_TAMPER (33554432) -#define EMBER_AF_METERING_EXTENDED_STATUS_GAS_METER_TILT_TAMPER_OFFSET (25) -#define EMBER_AF_METERING_EXTENDED_STATUS_GAS_METER_EXCESS_FLOW (67108864) -#define EMBER_AF_METERING_EXTENDED_STATUS_GAS_METER_EXCESS_FLOW_OFFSET (26) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVER_POWER (1073741824) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVER_POWER_OFFSET (30) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVER_VOLTAGE (2147483648) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVER_VOLTAGE_OFFSET (31) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_REMOTE_LOAD_CONTROL (3221225472) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_REMOTE_LOAD_CONTROL_OFFSET (30) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_BY_OTHER_REMOTE_COMMAND (4294967296) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_BY_OTHER_REMOTE_COMMAND_OFFSET (32) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVERHEATING_SHORT_CIRCUIT \ - (5368709120) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVERHEATING_SHORT_CIRCUIT_OFFSET \ - (30) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVERHEATING_OTHER (6442450944) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_SERVICE_DISCONNECTION_REASON_OFF_DUE_TO_OVERHEATING_OTHER_OFFSET (31) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_BI_DIRECTIONAL_OPERATION (17179869184) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_BI_DIRECTIONAL_OPERATION_OFFSET (34) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_ACTIVE_POWER_RECEIVED (34359738368) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_ACTIVE_POWER_RECEIVED_OFFSET (35) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_MODE_OF_OPERATION (68719476736) -#define EMBER_AF_METERING_EXTENDED_STATUS_ELECTRICITY_METER_MODE_OF_OPERATION_OFFSET (36) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_CHECK_METER (1) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_CHECK_METER_OFFSET (0) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_LOW_BATTERY (2) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_LOW_BATTERY_OFFSET (1) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_TAMPER_DETECT (4) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_TAMPER_DETECT_OFFSET (2) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_POWER_FAILURE (8) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_POWER_FAILURE_OFFSET (3) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_POWER_QUALITY (16) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_POWER_QUALITY_OFFSET (4) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_LEAK_DETECT (32) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_LEAK_DETECT_OFFSET (5) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_SERVICE_DISCONNECT_OPEN (64) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_SERVICE_DISCONNECT_OPEN_OFFSET (6) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_RESERVED (128) -#define EMBER_AF_METERING_STATUS_ELECTRICITY_RESERVED_OFFSET (7) -#define EMBER_AF_METERING_STATUS_GAS_CHECK_METER (1) -#define EMBER_AF_METERING_STATUS_GAS_CHECK_METER_OFFSET (0) -#define EMBER_AF_METERING_STATUS_GAS_LOW_BATTERY (2) -#define EMBER_AF_METERING_STATUS_GAS_LOW_BATTERY_OFFSET (1) -#define EMBER_AF_METERING_STATUS_GAS_TAMPER_DETECT (4) -#define EMBER_AF_METERING_STATUS_GAS_TAMPER_DETECT_OFFSET (2) -#define EMBER_AF_METERING_STATUS_GAS_NOT_DEFINED (8) -#define EMBER_AF_METERING_STATUS_GAS_NOT_DEFINED_OFFSET (3) -#define EMBER_AF_METERING_STATUS_GAS_LOW_PRESSURE (16) -#define EMBER_AF_METERING_STATUS_GAS_LOW_PRESSURE_OFFSET (4) -#define EMBER_AF_METERING_STATUS_GAS_LEAK_DETECT (32) -#define EMBER_AF_METERING_STATUS_GAS_LEAK_DETECT_OFFSET (5) -#define EMBER_AF_METERING_STATUS_GAS_SERVICE_DISCONNECT (64) -#define EMBER_AF_METERING_STATUS_GAS_SERVICE_DISCONNECT_OFFSET (6) -#define EMBER_AF_METERING_STATUS_GAS_REVERSE_FLOW (128) -#define EMBER_AF_METERING_STATUS_GAS_REVERSE_FLOW_OFFSET (7) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_CHECK_METER (1) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_CHECK_METER_OFFSET (0) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_LOW_BATTERY (2) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_LOW_BATTERY_OFFSET (1) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_TAMPER_DETECT (4) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_TAMPER_DETECT_OFFSET (2) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_TEMPERATURE_SENSOR (8) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_TEMPERATURE_SENSOR_OFFSET (3) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_BURST_DETECT (16) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_BURST_DETECT_OFFSET (4) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_LEAK_DETECT (32) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_LEAK_DETECT_OFFSET (5) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_SERVICE_DISCONNECT (64) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_SERVICE_DISCONNECT_OFFSET (6) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_FLOW_SENSOR (128) -#define EMBER_AF_METERING_STATUS_HEAT_AND_COOLING_FLOW_SENSOR_OFFSET (7) -#define EMBER_AF_METERING_STATUS_WATER_CHECK_METER (1) -#define EMBER_AF_METERING_STATUS_WATER_CHECK_METER_OFFSET (0) -#define EMBER_AF_METERING_STATUS_WATER_LOW_BATTERY (2) -#define EMBER_AF_METERING_STATUS_WATER_LOW_BATTERY_OFFSET (1) -#define EMBER_AF_METERING_STATUS_WATER_TAMPER_DETECT (4) -#define EMBER_AF_METERING_STATUS_WATER_TAMPER_DETECT_OFFSET (2) -#define EMBER_AF_METERING_STATUS_WATER_PIPE_EMPTY (8) -#define EMBER_AF_METERING_STATUS_WATER_PIPE_EMPTY_OFFSET (3) -#define EMBER_AF_METERING_STATUS_WATER_LOW_PRESSURE (16) -#define EMBER_AF_METERING_STATUS_WATER_LOW_PRESSURE_OFFSET (4) -#define EMBER_AF_METERING_STATUS_WATER_LEAK_DETECT (32) -#define EMBER_AF_METERING_STATUS_WATER_LEAK_DETECT_OFFSET (5) -#define EMBER_AF_METERING_STATUS_WATER_SERVICE_DISCONNECT (64) -#define EMBER_AF_METERING_STATUS_WATER_SERVICE_DISCONNECT_OFFSET (6) -#define EMBER_AF_METERING_STATUS_WATER_REVERSE_FLOW (128) -#define EMBER_AF_METERING_STATUS_WATER_REVERSE_FLOW_OFFSET (7) #define EMBER_AF_MODE_FOR_SEQUENCE_HEAT_SETPOINT_FIELD_PRESENT (1) #define EMBER_AF_MODE_FOR_SEQUENCE_HEAT_SETPOINT_FIELD_PRESENT_OFFSET (0) #define EMBER_AF_MODE_FOR_SEQUENCE_COOL_SETPOINT_FIELD_PRESENT (2) #define EMBER_AF_MODE_FOR_SEQUENCE_COOL_SETPOINT_FIELD_PRESENT_OFFSET (1) -#define EMBER_AF_NUMBER_OF_EVENTS_LOG_PAYLOAD_CONTROL_LOG_PAYLOAD_CONTROL (15) -#define EMBER_AF_NUMBER_OF_EVENTS_LOG_PAYLOAD_CONTROL_LOG_PAYLOAD_CONTROL_OFFSET (0) -#define EMBER_AF_NUMBER_OF_EVENTS_LOG_PAYLOAD_CONTROL_NUMBER_OF_EVENTS (240) -#define EMBER_AF_NUMBER_OF_EVENTS_LOG_PAYLOAD_CONTROL_NUMBER_OF_EVENTS_OFFSET (4) #define EMBER_AF_OCCUPANCY_OCCUPIED (1) #define EMBER_AF_OCCUPANCY_OCCUPIED_OFFSET (0) #define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_PIR (1) @@ -4130,120 +1563,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_OCCUPANCY_SENSOR_TYPE_BITMAP_PHYSICAL_CONTACT_OFFSET (2) #define EMBER_AF_ON_OFF_CONTROL_ACCEPT_ONLY_WHEN_ON (1) #define EMBER_AF_ON_OFF_CONTROL_ACCEPT_ONLY_WHEN_ON_OFFSET (0) -#define EMBER_AF_ORIGINATOR_ID_SUPPLY_CONTROL_BITS_ACKNOWLEDGE_REQUIRED (1) -#define EMBER_AF_ORIGINATOR_ID_SUPPLY_CONTROL_BITS_ACKNOWLEDGE_REQUIRED_OFFSET (0) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_DISCONNECTION_ENABLED (1) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_DISCONNECTION_ENABLED_OFFSET (0) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_PREPAYMENT_ENABLED (2) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_PREPAYMENT_ENABLED_OFFSET (1) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_CREDIT_MANAGEMENT_ENABLED (4) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_CREDIT_MANAGEMENT_ENABLED_OFFSET (2) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_CREDIT_DISPLAY_ENABLED (16) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_CREDIT_DISPLAY_ENABLED_OFFSET (4) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_ACCOUNT_BASE (64) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_ACCOUNT_BASE_OFFSET (6) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_CONTACTOR_FITTED (128) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_CONTACTOR_FITTED_OFFSET (7) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_STANDING_CHARGE_CONFIGURATION (256) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_STANDING_CHARGE_CONFIGURATION_OFFSET (8) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_EMERGENCY_STANDING_CHARGE_CONFIGURATION (512) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_EMERGENCY_STANDING_CHARGE_CONFIGURATION_OFFSET (9) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_DEBT_CONFIGURATION (1024) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_DEBT_CONFIGURATION_OFFSET (10) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_EMERGENCY_DEBT_CONFIGURATION (2048) -#define EMBER_AF_PAYMENT_CONTROL_CONFIGURATION_EMERGENCY_DEBT_CONFIGURATION_OFFSET (11) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_GENERAL (1) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_GENERAL_OFFSET (0) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_TARIFF_INFORMATION (8) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_TARIFF_INFORMATION_OFFSET (3) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_PRICE_MATRIX (16) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_PRICE_MATRIX_OFFSET (4) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_MANUALLY_TRIGGERED_FROM_CLIENT (1024) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_MANUALLY_TRIGGERED_FROM_CLIENT_OFFSET (10) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_TENANCY (4096) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_TENANCY_OFFSET (12) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_SUPPLIER (8192) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_SUPPLIER_OFFSET (13) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_METER_MODE (16384) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_CHANGE_OF_METER_MODE_OFFSET (14) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_TOP_UP_ADDITION (262144) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_TOP_UP_ADDITION_OFFSET (18) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_DEBT_CREDIT_ADDITION (524288) -#define EMBER_AF_PREPAY_SNAPSHOT_PAYLOAD_CAUSE_DEBT_CREDIT_ADDITION_OFFSET (19) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_LOW_CREDIT_WARNING (1) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_LOW_CREDIT_WARNING_OFFSET (0) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_TOP_UP_CODE_ERROR (2) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_TOP_UP_CODE_ERROR_OFFSET (1) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_TOP_UP_CODE_ALREADY_USED (4) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_TOP_UP_CODE_ALREADY_USED_OFFSET (2) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_TOP_UP_CODE_INVALID (8) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_TOP_UP_CODE_INVALID_OFFSET (3) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_FRIENDLY_CREDIT_IN_USE (16) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_FRIENDLY_CREDIT_IN_USE_OFFSET (4) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_FRIENDLY_CREDIT_PERIOD_END_WARNING (32) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_FRIENDLY_CREDIT_PERIOD_END_WARNING_OFFSET (5) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_EC_AVAILABLE (64) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_EC_AVAILABLE_OFFSET (6) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_UNAUTHORISED_ENERGY_USE (128) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_UNAUTHORISED_ENERGY_USE_OFFSET (7) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_DISCONNECTED_SUPPLY_DUE_TO_CREDIT (256) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_DISCONNECTED_SUPPLY_DUE_TO_CREDIT_OFFSET (8) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_DISCONNECTED_SUPPLY_DUE_TO_TAMPER (512) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_DISCONNECTED_SUPPLY_DUE_TO_TAMPER_OFFSET (9) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_DISCONNECTED_SUPPLY_DUE_TO_HES (1024) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_DISCONNECTED_SUPPLY_DUE_TO_HES_OFFSET (10) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_PHYSICAL_ATTACK (2048) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_PHYSICAL_ATTACK_OFFSET (11) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_ELECTRONIC_ATTACK (4096) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_ELECTRONIC_ATTACK_OFFSET (12) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_MANUFACTURE_ALARM_CODE_A (8192) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_MANUFACTURE_ALARM_CODE_A_OFFSET (13) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_MANUFACTURE_ALARM_CODE_B (16384) -#define EMBER_AF_PREPAYMENT_ALARM_STATUS_MANUFACTURE_ALARM_CODE_B_OFFSET (14) -#define EMBER_AF_PRICE_CONTROL_MASK_PRICE_ACKNOWLEDGEMENT_REQUIRED (1) -#define EMBER_AF_PRICE_CONTROL_MASK_PRICE_ACKNOWLEDGEMENT_REQUIRED_OFFSET (0) -#define EMBER_AF_PRICE_CONTROL_MASK_TOTAL_TIERS_EXCEEDS15 (2) -#define EMBER_AF_PRICE_CONTROL_MASK_TOTAL_TIERS_EXCEEDS15_OFFSET (1) -#define EMBER_AF_PRICE_MATRIX_SUB_PAYLOAD_CONTROL_TOU_BASED (1) -#define EMBER_AF_PRICE_MATRIX_SUB_PAYLOAD_CONTROL_TOU_BASED_OFFSET (0) -#define EMBER_AF_PRICE_NUMBER_OF_PRICE_TIERS_AND_REGISTER_TIER_REGISTER_TIER (15) -#define EMBER_AF_PRICE_NUMBER_OF_PRICE_TIERS_AND_REGISTER_TIER_REGISTER_TIER_OFFSET (0) -#define EMBER_AF_PRICE_NUMBER_OF_PRICE_TIERS_AND_REGISTER_TIER_NUMBER_OF_PRICE_TIERS (240) -#define EMBER_AF_PRICE_NUMBER_OF_PRICE_TIERS_AND_REGISTER_TIER_NUMBER_OF_PRICE_TIERS_OFFSET (4) -#define EMBER_AF_PRICE_TRAILING_DIGIT_TRAILING_DIGIT (240) -#define EMBER_AF_PRICE_TRAILING_DIGIT_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_PRICE_TRAILING_DIGIT_AND_PRICE_TIER_PRICE_TIER (15) -#define EMBER_AF_PRICE_TRAILING_DIGIT_AND_PRICE_TIER_PRICE_TIER_OFFSET (0) -#define EMBER_AF_PRICE_TRAILING_DIGIT_AND_PRICE_TIER_TRAILING_DIGIT (240) -#define EMBER_AF_PRICE_TRAILING_DIGIT_AND_PRICE_TIER_TRAILING_DIGIT_OFFSET (4) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_PRE_SNAPSHOTS (1) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_PRE_SNAPSHOTS_OFFSET (0) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_POST_SNAPSHOTS (2) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_POST_SNAPSHOTS_OFFSET (1) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_RESET_CREDIT_REGISTER (4) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_RESET_CREDIT_REGISTER_OFFSET (2) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_RESET_DEBIT_REGISTER (8) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_RESET_DEBIT_REGISTER_OFFSET (3) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_RESET_BILLING_PERIOD (16) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_RESET_BILLING_PERIOD_OFFSET (4) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_TARIFF_PLAN (32) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_TARIFF_PLAN_OFFSET (5) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_STANDING_CHARGE (64) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_STANDING_CHARGE_OFFSET (6) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_BLOCK_HISTORICAL_LOAD_PROFILE_INFORMATION (128) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_BLOCK_HISTORICAL_LOAD_PROFILE_INFORMATION_OFFSET (7) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_HISTORICAL_LOAD_PROFILE_INFORMATION (256) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_HISTORICAL_LOAD_PROFILE_INFORMATION_OFFSET (8) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_IHD_DATA_CONSUMER (512) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_IHD_DATA_CONSUMER_OFFSET (9) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_IHD_DATA_SUPPLIER (1024) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_IHD_DATA_SUPPLIER_OFFSET (10) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_METER_CONNECTOR_STATE_ON_OFF_ARMED (6144) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_METER_CONNECTOR_STATE_ON_OFF_ARMED_OFFSET (11) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_TRANSACTION_LOG (8192) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_TRANSACTION_LOG_OFFSET (13) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_PREPAYMENT_LOG (16384) -#define EMBER_AF_PROPOSED_CHANGE_CONTROL_CLEAR_PREPAYMENT_LOG_OFFSET (14) #define EMBER_AF_PUMP_ALARM_MASK_SUPPLY_VOLTAGE_LOW (1) #define EMBER_AF_PUMP_ALARM_MASK_SUPPLY_VOLTAGE_LOW_OFFSET (0) #define EMBER_AF_PUMP_ALARM_MASK_SUPPLY_VOLTAGE_HIGH (2) @@ -4300,20 +1619,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_REMOTE_ENABLE_FLAGS_AND_DEVICE_STATUS2_REMOTE_ENABLE_FLAGS_OFFSET (0) #define EMBER_AF_REMOTE_ENABLE_FLAGS_AND_DEVICE_STATUS2_DEVICE_STATUS2_STRUCTURE (240) #define EMBER_AF_REMOTE_ENABLE_FLAGS_AND_DEVICE_STATUS2_DEVICE_STATUS2_STRUCTURE_OFFSET (4) -#define EMBER_AF_RESET_OPTIONS_RESET_CURRENT (1) -#define EMBER_AF_RESET_OPTIONS_RESET_CURRENT_OFFSET (0) -#define EMBER_AF_RESET_OPTIONS_RESET_ALL (2) -#define EMBER_AF_RESET_OPTIONS_RESET_ALL_OFFSET (1) -#define EMBER_AF_RESET_OPTIONS_ERASE_INDEX (4) -#define EMBER_AF_RESET_OPTIONS_ERASE_INDEX_OFFSET (2) -#define EMBER_AF_RESTART_OPTIONS_START_MODE1 (1) -#define EMBER_AF_RESTART_OPTIONS_START_MODE1_OFFSET (0) -#define EMBER_AF_RESTART_OPTIONS_STARTUP_MODE2 (2) -#define EMBER_AF_RESTART_OPTIONS_STARTUP_MODE2_OFFSET (1) -#define EMBER_AF_RESTART_OPTIONS_STARTUP_MODE3 (4) -#define EMBER_AF_RESTART_OPTIONS_STARTUP_MODE3_OFFSET (2) -#define EMBER_AF_RESTART_OPTIONS_IMMEDIATE (8) -#define EMBER_AF_RESTART_OPTIONS_IMMEDIATE_OFFSET (3) #define EMBER_AF_SCENES_COPY_MODE_COPY_ALL_SCENES (1) #define EMBER_AF_SCENES_COPY_MODE_COPY_ALL_SCENES_OFFSET (0) #define EMBER_AF_SECURITY_TYPE_UNENCRYPTED (1) @@ -4334,42 +1639,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_SHADE_CLOSURE_STATUS_OPENING_OFFSET (2) #define EMBER_AF_SHADE_CLOSURE_STATUS_MOTOR_OPENING (8) #define EMBER_AF_SHADE_CLOSURE_STATUS_MOTOR_OPENING_OFFSET (3) -#define EMBER_AF_SNAPSHOT_CAUSE_GENERAL (1) -#define EMBER_AF_SNAPSHOT_CAUSE_GENERAL_OFFSET (0) -#define EMBER_AF_SNAPSHOT_CAUSE_END_OF_BILLING_PERIOD (2) -#define EMBER_AF_SNAPSHOT_CAUSE_END_OF_BILLING_PERIOD_OFFSET (1) -#define EMBER_AF_SNAPSHOT_CAUSE_END_OF_BLOCK_PERIOD (4) -#define EMBER_AF_SNAPSHOT_CAUSE_END_OF_BLOCK_PERIOD_OFFSET (2) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_TARIFF_INFORMATION (8) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_TARIFF_INFORMATION_OFFSET (3) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_PRICE_MATRIX (16) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_PRICE_MATRIX_OFFSET (4) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_BLOCK_THRESHOLDS (32) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_BLOCK_THRESHOLDS_OFFSET (5) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_CV (64) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_CV_OFFSET (6) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_CF (128) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_CF_OFFSET (7) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_CALENDAR (256) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_CALENDAR_OFFSET (8) -#define EMBER_AF_SNAPSHOT_CAUSE_CRITICAL_PEAK_PRICING (512) -#define EMBER_AF_SNAPSHOT_CAUSE_CRITICAL_PEAK_PRICING_OFFSET (9) -#define EMBER_AF_SNAPSHOT_CAUSE_MANUALLY_TRIGGERED_FROM_CLIENT (1024) -#define EMBER_AF_SNAPSHOT_CAUSE_MANUALLY_TRIGGERED_FROM_CLIENT_OFFSET (10) -#define EMBER_AF_SNAPSHOT_CAUSE_END_OF_RESOLVE_PERIOD (2048) -#define EMBER_AF_SNAPSHOT_CAUSE_END_OF_RESOLVE_PERIOD_OFFSET (11) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_TENANCY (4096) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_TENANCY_OFFSET (12) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_SUPPLIER (8192) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_SUPPLIER_OFFSET (13) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_MODE (16384) -#define EMBER_AF_SNAPSHOT_CAUSE_CHANGE_OF_MODE_OFFSET (14) -#define EMBER_AF_SNAPSHOT_CAUSE_DEBT_PAYMENT (32768) -#define EMBER_AF_SNAPSHOT_CAUSE_DEBT_PAYMENT_OFFSET (15) -#define EMBER_AF_SNAPSHOT_CAUSE_SCHEDULED_SNAPSHOT (65536) -#define EMBER_AF_SNAPSHOT_CAUSE_SCHEDULED_SNAPSHOT_OFFSET (16) -#define EMBER_AF_SNAPSHOT_CAUSE_OTA_FIRMWARE_DOWNLOAD (131072) -#define EMBER_AF_SNAPSHOT_CAUSE_OTA_FIRMWARE_DOWNLOAD_OFFSET (17) #define EMBER_AF_SQUAWK_INFO_MODE (240) #define EMBER_AF_SQUAWK_INFO_MODE_OFFSET (4) #define EMBER_AF_SQUAWK_INFO_STROBE (8) @@ -4382,12 +1651,6 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_START_TIME_TIME_ENCODING_OFFSET (6) #define EMBER_AF_START_TIME_HOURS (65280) #define EMBER_AF_START_TIME_HOURS_OFFSET (8) -#define EMBER_AF_SUPPLY_CONTROL_BITS_ACKNOWLEDGE_REQUIRED (1) -#define EMBER_AF_SUPPLY_CONTROL_BITS_ACKNOWLEDGE_REQUIRED_OFFSET (0) -#define EMBER_AF_TARIFF_TYPE_CHARGING_SCHEME_TARIFF_TYPE (15) -#define EMBER_AF_TARIFF_TYPE_CHARGING_SCHEME_TARIFF_TYPE_OFFSET (0) -#define EMBER_AF_TARIFF_TYPE_CHARGING_SCHEME_TARIFF_CHARGING_SCHEME (240) -#define EMBER_AF_TARIFF_TYPE_CHARGING_SCHEME_TARIFF_CHARGING_SCHEME_OFFSET (4) #define EMBER_AF_THERMOSTAT_ALARM_MASK_INITIALIZATION_FAILURE (1) #define EMBER_AF_THERMOSTAT_ALARM_MASK_INITIALIZATION_FAILURE_OFFSET (0) #define EMBER_AF_THERMOSTAT_ALARM_MASK_HARDWARE_FAILURE (2) @@ -4430,17 +1693,3 @@ enum EmberAfZllStatus : uint8_t #define EMBER_AF_WARNING_INFO_STROBE_OFFSET (2) #define EMBER_AF_WARNING_INFO_SIREN_LEVEL (3) #define EMBER_AF_WARNING_INFO_SIREN_LEVEL_OFFSET (0) -#define EMBER_AF_ZIGBEE_INFORMATION_LOGICAL_TYPE (3) -#define EMBER_AF_ZIGBEE_INFORMATION_LOGICAL_TYPE_OFFSET (0) -#define EMBER_AF_ZIGBEE_INFORMATION_RX_ON_WHEN_IDLE (4) -#define EMBER_AF_ZIGBEE_INFORMATION_RX_ON_WHEN_IDLE_OFFSET (2) -#define EMBER_AF_ZLL_INFORMATION_FACTORY_NEW (1) -#define EMBER_AF_ZLL_INFORMATION_FACTORY_NEW_OFFSET (0) -#define EMBER_AF_ZLL_INFORMATION_ADDRESS_ASSIGNMENT (2) -#define EMBER_AF_ZLL_INFORMATION_ADDRESS_ASSIGNMENT_OFFSET (1) -#define EMBER_AF_ZLL_INFORMATION_TOUCH_LINK_INITIATOR (16) -#define EMBER_AF_ZLL_INFORMATION_TOUCH_LINK_INITIATOR_OFFSET (4) -#define EMBER_AF_ZLL_INFORMATION_TOUCH_LINK_PRIORITY_REQUEST (32) -#define EMBER_AF_ZLL_INFORMATION_TOUCH_LINK_PRIORITY_REQUEST_OFFSET (5) -#define EMBER_AF_ZLL_INFORMATION_PROFILE_INTEROP (128) -#define EMBER_AF_ZLL_INFORMATION_PROFILE_INTEROP_OFFSET (7) diff --git a/src/app/common/gen/print-cluster.h b/src/app/common/gen/print-cluster.h index 0dd077c81b7b48..4571b6ed236756 100644 --- a/src/app/common/gen/print-cluster.h +++ b/src/app/common/gen/print-cluster.h @@ -84,36 +84,12 @@ #define CHIP_PRINTCLUSTER_TIME_CLUSTER #endif -#if defined(ZCL_USING_RSSI_LOCATION_CLUSTER_SERVER) || defined(ZCL_USING_RSSI_LOCATION_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_RSSI_LOCATION_CLUSTER { ZCL_RSSI_LOCATION_CLUSTER_ID, 11, "RSSI Location" }, -#else -#define CHIP_PRINTCLUSTER_RSSI_LOCATION_CLUSTER -#endif - #if defined(ZCL_USING_BINARY_INPUT_BASIC_CLUSTER_SERVER) || defined(ZCL_USING_BINARY_INPUT_BASIC_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_BINARY_INPUT_BASIC_CLUSTER { ZCL_BINARY_INPUT_BASIC_CLUSTER_ID, 15, "Binary Input (Basic)" }, #else #define CHIP_PRINTCLUSTER_BINARY_INPUT_BASIC_CLUSTER #endif -#if defined(ZCL_USING_COMMISSIONING_CLUSTER_SERVER) || defined(ZCL_USING_COMMISSIONING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_COMMISSIONING_CLUSTER { ZCL_COMMISSIONING_CLUSTER_ID, 21, "Commissioning" }, -#else -#define CHIP_PRINTCLUSTER_COMMISSIONING_CLUSTER -#endif - -#if defined(ZCL_USING_PARTITION_CLUSTER_SERVER) || defined(ZCL_USING_PARTITION_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_PARTITION_CLUSTER { ZCL_PARTITION_CLUSTER_ID, 22, "Partition" }, -#else -#define CHIP_PRINTCLUSTER_PARTITION_CLUSTER -#endif - -#if defined(ZCL_USING_OTA_BOOTLOAD_CLUSTER_SERVER) || defined(ZCL_USING_OTA_BOOTLOAD_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_OTA_BOOTLOAD_CLUSTER { ZCL_OTA_BOOTLOAD_CLUSTER_ID, 25, "Over the Air Bootloading" }, -#else -#define CHIP_PRINTCLUSTER_OTA_BOOTLOAD_CLUSTER -#endif - #if defined(ZCL_USING_POWER_PROFILE_CLUSTER_SERVER) || defined(ZCL_USING_POWER_PROFILE_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_POWER_PROFILE_CLUSTER { ZCL_POWER_PROFILE_CLUSTER_ID, 26, "Power Profile" }, #else @@ -138,18 +114,6 @@ #define CHIP_PRINTCLUSTER_POLL_CONTROL_CLUSTER #endif -#if defined(ZCL_USING_GREEN_POWER_CLUSTER_SERVER) || defined(ZCL_USING_GREEN_POWER_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_GREEN_POWER_CLUSTER { ZCL_GREEN_POWER_CLUSTER_ID, 33, "Green Power" }, -#else -#define CHIP_PRINTCLUSTER_GREEN_POWER_CLUSTER -#endif - -#if defined(ZCL_USING_KEEPALIVE_CLUSTER_SERVER) || defined(ZCL_USING_KEEPALIVE_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_KEEPALIVE_CLUSTER { ZCL_KEEPALIVE_CLUSTER_ID, 37, "Keep-Alive" }, -#else -#define CHIP_PRINTCLUSTER_KEEPALIVE_CLUSTER -#endif - #if defined(ZCL_USING_BASIC_CLUSTER_SERVER) || defined(ZCL_USING_BASIC_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_BASIC_CLUSTER { ZCL_BASIC_CLUSTER_ID, 40, "Basic" }, #else @@ -685,158 +649,12 @@ #define CHIP_PRINTCLUSTER_TEST_CLUSTER #endif -#if defined(ZCL_USING_GENERIC_TUNNEL_CLUSTER_SERVER) || defined(ZCL_USING_GENERIC_TUNNEL_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_GENERIC_TUNNEL_CLUSTER { ZCL_GENERIC_TUNNEL_CLUSTER_ID, 1536, "Generic Tunnel" }, -#else -#define CHIP_PRINTCLUSTER_GENERIC_TUNNEL_CLUSTER -#endif - -#if defined(ZCL_USING_BACNET_PROTOCOL_TUNNEL_CLUSTER_SERVER) || defined(ZCL_USING_BACNET_PROTOCOL_TUNNEL_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_BACNET_PROTOCOL_TUNNEL_CLUSTER { ZCL_BACNET_PROTOCOL_TUNNEL_CLUSTER_ID, 1537, "BACnet Protocol Tunnel" }, -#else -#define CHIP_PRINTCLUSTER_BACNET_PROTOCOL_TUNNEL_CLUSTER -#endif - -#if defined(ZCL_USING_11073_PROTOCOL_TUNNEL_CLUSTER_SERVER) || defined(ZCL_USING_11073_PROTOCOL_TUNNEL_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_11073_PROTOCOL_TUNNEL_CLUSTER { ZCL_11073_PROTOCOL_TUNNEL_CLUSTER_ID, 1556, "11073 Protocol Tunnel" }, -#else -#define CHIP_PRINTCLUSTER_11073_PROTOCOL_TUNNEL_CLUSTER -#endif - -#if defined(ZCL_USING_ISO7816_PROTOCOL_TUNNEL_CLUSTER_SERVER) || defined(ZCL_USING_ISO7816_PROTOCOL_TUNNEL_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_ISO7816_PROTOCOL_TUNNEL_CLUSTER \ - { ZCL_ISO7816_PROTOCOL_TUNNEL_CLUSTER_ID, 1557, "ISO 7816 Protocol Tunnel" }, -#else -#define CHIP_PRINTCLUSTER_ISO7816_PROTOCOL_TUNNEL_CLUSTER -#endif - -#if defined(ZCL_USING_PRICE_CLUSTER_SERVER) || defined(ZCL_USING_PRICE_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_PRICE_CLUSTER { ZCL_PRICE_CLUSTER_ID, 1792, "Price" }, -#else -#define CHIP_PRINTCLUSTER_PRICE_CLUSTER -#endif - -#if defined(ZCL_USING_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER_SERVER) || defined(ZCL_USING_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER \ - { ZCL_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER_ID, 1793, "Demand Response and Load Control" }, -#else -#define CHIP_PRINTCLUSTER_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER -#endif - -#if defined(ZCL_USING_SIMPLE_METERING_CLUSTER_SERVER) || defined(ZCL_USING_SIMPLE_METERING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_SIMPLE_METERING_CLUSTER { ZCL_SIMPLE_METERING_CLUSTER_ID, 1794, "Simple Metering" }, -#else -#define CHIP_PRINTCLUSTER_SIMPLE_METERING_CLUSTER -#endif - #if defined(ZCL_USING_MESSAGING_CLUSTER_SERVER) || defined(ZCL_USING_MESSAGING_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_MESSAGING_CLUSTER { ZCL_MESSAGING_CLUSTER_ID, 1795, "Messaging" }, #else #define CHIP_PRINTCLUSTER_MESSAGING_CLUSTER #endif -#if defined(ZCL_USING_TUNNELING_CLUSTER_SERVER) || defined(ZCL_USING_TUNNELING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_TUNNELING_CLUSTER { ZCL_TUNNELING_CLUSTER_ID, 1796, "Tunneling" }, -#else -#define CHIP_PRINTCLUSTER_TUNNELING_CLUSTER -#endif - -#if defined(ZCL_USING_PREPAYMENT_CLUSTER_SERVER) || defined(ZCL_USING_PREPAYMENT_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_PREPAYMENT_CLUSTER { ZCL_PREPAYMENT_CLUSTER_ID, 1797, "Prepayment" }, -#else -#define CHIP_PRINTCLUSTER_PREPAYMENT_CLUSTER -#endif - -#if defined(ZCL_USING_ENERGY_MANAGEMENT_CLUSTER_SERVER) || defined(ZCL_USING_ENERGY_MANAGEMENT_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_ENERGY_MANAGEMENT_CLUSTER { ZCL_ENERGY_MANAGEMENT_CLUSTER_ID, 1798, "Energy Management" }, -#else -#define CHIP_PRINTCLUSTER_ENERGY_MANAGEMENT_CLUSTER -#endif - -#if defined(ZCL_USING_CALENDAR_CLUSTER_SERVER) || defined(ZCL_USING_CALENDAR_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_CALENDAR_CLUSTER { ZCL_CALENDAR_CLUSTER_ID, 1799, "Calendar" }, -#else -#define CHIP_PRINTCLUSTER_CALENDAR_CLUSTER -#endif - -#if defined(ZCL_USING_DEVICE_MANAGEMENT_CLUSTER_SERVER) || defined(ZCL_USING_DEVICE_MANAGEMENT_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_DEVICE_MANAGEMENT_CLUSTER { ZCL_DEVICE_MANAGEMENT_CLUSTER_ID, 1800, "Device Management" }, -#else -#define CHIP_PRINTCLUSTER_DEVICE_MANAGEMENT_CLUSTER -#endif - -#if defined(ZCL_USING_EVENTS_CLUSTER_SERVER) || defined(ZCL_USING_EVENTS_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_EVENTS_CLUSTER { ZCL_EVENTS_CLUSTER_ID, 1801, "Events" }, -#else -#define CHIP_PRINTCLUSTER_EVENTS_CLUSTER -#endif - -#if defined(ZCL_USING_MDU_PAIRING_CLUSTER_SERVER) || defined(ZCL_USING_MDU_PAIRING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_MDU_PAIRING_CLUSTER { ZCL_MDU_PAIRING_CLUSTER_ID, 1802, "MDU Pairing" }, -#else -#define CHIP_PRINTCLUSTER_MDU_PAIRING_CLUSTER -#endif - -#if defined(ZCL_USING_SUB_GHZ_CLUSTER_SERVER) || defined(ZCL_USING_SUB_GHZ_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_SUB_GHZ_CLUSTER { ZCL_SUB_GHZ_CLUSTER_ID, 1803, "Sub-GHz" }, -#else -#define CHIP_PRINTCLUSTER_SUB_GHZ_CLUSTER -#endif - -#if defined(ZCL_USING_KEY_ESTABLISHMENT_CLUSTER_SERVER) || defined(ZCL_USING_KEY_ESTABLISHMENT_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_KEY_ESTABLISHMENT_CLUSTER { ZCL_KEY_ESTABLISHMENT_CLUSTER_ID, 2048, "Key Establishment" }, -#else -#define CHIP_PRINTCLUSTER_KEY_ESTABLISHMENT_CLUSTER -#endif - -#if defined(ZCL_USING_INFORMATION_CLUSTER_SERVER) || defined(ZCL_USING_INFORMATION_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_INFORMATION_CLUSTER { ZCL_INFORMATION_CLUSTER_ID, 2304, "Information" }, -#else -#define CHIP_PRINTCLUSTER_INFORMATION_CLUSTER -#endif - -#if defined(ZCL_USING_DATA_SHARING_CLUSTER_SERVER) || defined(ZCL_USING_DATA_SHARING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_DATA_SHARING_CLUSTER { ZCL_DATA_SHARING_CLUSTER_ID, 2305, "Data Sharing" }, -#else -#define CHIP_PRINTCLUSTER_DATA_SHARING_CLUSTER -#endif - -#if defined(ZCL_USING_GAMING_CLUSTER_SERVER) || defined(ZCL_USING_GAMING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_GAMING_CLUSTER { ZCL_GAMING_CLUSTER_ID, 2306, "Gaming" }, -#else -#define CHIP_PRINTCLUSTER_GAMING_CLUSTER -#endif - -#if defined(ZCL_USING_DATA_RATE_CONTROL_CLUSTER_SERVER) || defined(ZCL_USING_DATA_RATE_CONTROL_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_DATA_RATE_CONTROL_CLUSTER { ZCL_DATA_RATE_CONTROL_CLUSTER_ID, 2307, "Data Rate Control" }, -#else -#define CHIP_PRINTCLUSTER_DATA_RATE_CONTROL_CLUSTER -#endif - -#if defined(ZCL_USING_VOICE_OVER_ZIGBEE_CLUSTER_SERVER) || defined(ZCL_USING_VOICE_OVER_ZIGBEE_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_VOICE_OVER_ZIGBEE_CLUSTER { ZCL_VOICE_OVER_ZIGBEE_CLUSTER_ID, 2308, "Voice over ZigBee" }, -#else -#define CHIP_PRINTCLUSTER_VOICE_OVER_ZIGBEE_CLUSTER -#endif - -#if defined(ZCL_USING_CHATTING_CLUSTER_SERVER) || defined(ZCL_USING_CHATTING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_CHATTING_CLUSTER { ZCL_CHATTING_CLUSTER_ID, 2309, "Chatting" }, -#else -#define CHIP_PRINTCLUSTER_CHATTING_CLUSTER -#endif - -#if defined(ZCL_USING_PAYMENT_CLUSTER_SERVER) || defined(ZCL_USING_PAYMENT_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_PAYMENT_CLUSTER { ZCL_PAYMENT_CLUSTER_ID, 2561, "Payment" }, -#else -#define CHIP_PRINTCLUSTER_PAYMENT_CLUSTER -#endif - -#if defined(ZCL_USING_BILLING_CLUSTER_SERVER) || defined(ZCL_USING_BILLING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_BILLING_CLUSTER { ZCL_BILLING_CLUSTER_ID, 2562, "Billing" }, -#else -#define CHIP_PRINTCLUSTER_BILLING_CLUSTER -#endif - #if defined(ZCL_USING_APPLIANCE_IDENTIFICATION_CLUSTER_SERVER) || defined(ZCL_USING_APPLIANCE_IDENTIFICATION_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_APPLIANCE_IDENTIFICATION_CLUSTER \ { ZCL_APPLIANCE_IDENTIFICATION_CLUSTER_ID, 2816, "Appliance Identification" }, @@ -869,18 +687,6 @@ #define CHIP_PRINTCLUSTER_ELECTRICAL_MEASUREMENT_CLUSTER #endif -#if defined(ZCL_USING_DIAGNOSTICS_CLUSTER_SERVER) || defined(ZCL_USING_DIAGNOSTICS_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_DIAGNOSTICS_CLUSTER { ZCL_DIAGNOSTICS_CLUSTER_ID, 2821, "Diagnostics" }, -#else -#define CHIP_PRINTCLUSTER_DIAGNOSTICS_CLUSTER -#endif - -#if defined(ZCL_USING_ZLL_COMMISSIONING_CLUSTER_SERVER) || defined(ZCL_USING_ZLL_COMMISSIONING_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_ZLL_COMMISSIONING_CLUSTER { ZCL_ZLL_COMMISSIONING_CLUSTER_ID, 4096, "ZLL Commissioning" }, -#else -#define CHIP_PRINTCLUSTER_ZLL_COMMISSIONING_CLUSTER -#endif - #if defined(ZCL_USING_BINDING_CLUSTER_SERVER) || defined(ZCL_USING_BINDING_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_BINDING_CLUSTER { ZCL_BINDING_CLUSTER_ID, 61440, "Binding" }, #else @@ -906,24 +712,6 @@ #define CHIP_PRINTCLUSTER_SAMPLE_MFG_SPECIFIC_CLUSTER_2 #endif -#if defined(ZCL_USING_OTA_CONFIGURATION_CLUSTER_SERVER) || defined(ZCL_USING_OTA_CONFIGURATION_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_OTA_CONFIGURATION_CLUSTER { ZCL_OTA_CONFIGURATION_CLUSTER_ID, 64513, "Configuration Cluster" }, -#else -#define CHIP_PRINTCLUSTER_OTA_CONFIGURATION_CLUSTER -#endif - -#if defined(ZCL_USING_MFGLIB_CLUSTER_SERVER) || defined(ZCL_USING_MFGLIB_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_MFGLIB_CLUSTER { ZCL_MFGLIB_CLUSTER_ID, 64514, "MFGLIB Cluster" }, -#else -#define CHIP_PRINTCLUSTER_MFGLIB_CLUSTER -#endif - -#if defined(ZCL_USING_SL_WWAH_CLUSTER_SERVER) || defined(ZCL_USING_SL_WWAH_CLUSTER_CLIENT) -#define CHIP_PRINTCLUSTER_SL_WWAH_CLUSTER { ZCL_SL_WWAH_CLUSTER_ID, 64599, "SL Works With All Hubs" }, -#else -#define CHIP_PRINTCLUSTER_SL_WWAH_CLUSTER -#endif - #define CLUSTER_IDS_TO_NAMES \ CHIP_PRINTCLUSTER_POWER_CONFIG_CLUSTER \ CHIP_PRINTCLUSTER_DEVICE_TEMP_CLUSTER \ @@ -935,17 +723,11 @@ CHIP_PRINTCLUSTER_LEVEL_CONTROL_CLUSTER \ CHIP_PRINTCLUSTER_ALARM_CLUSTER \ CHIP_PRINTCLUSTER_TIME_CLUSTER \ - CHIP_PRINTCLUSTER_RSSI_LOCATION_CLUSTER \ CHIP_PRINTCLUSTER_BINARY_INPUT_BASIC_CLUSTER \ - CHIP_PRINTCLUSTER_COMMISSIONING_CLUSTER \ - CHIP_PRINTCLUSTER_PARTITION_CLUSTER \ - CHIP_PRINTCLUSTER_OTA_BOOTLOAD_CLUSTER \ CHIP_PRINTCLUSTER_POWER_PROFILE_CLUSTER \ CHIP_PRINTCLUSTER_APPLIANCE_CONTROL_CLUSTER \ CHIP_PRINTCLUSTER_DESCRIPTOR_CLUSTER \ CHIP_PRINTCLUSTER_POLL_CONTROL_CLUSTER \ - CHIP_PRINTCLUSTER_GREEN_POWER_CLUSTER \ - CHIP_PRINTCLUSTER_KEEPALIVE_CLUSTER \ CHIP_PRINTCLUSTER_BASIC_CLUSTER \ CHIP_PRINTCLUSTER_OTA_SERVER_CLUSTER \ CHIP_PRINTCLUSTER_OTA_CLIENT_CLUSTER \ @@ -1024,44 +806,15 @@ CHIP_PRINTCLUSTER_APPLICATION_BASIC_CLUSTER \ CHIP_PRINTCLUSTER_ACCOUNT_LOGIN_CLUSTER \ CHIP_PRINTCLUSTER_TEST_CLUSTER \ - CHIP_PRINTCLUSTER_GENERIC_TUNNEL_CLUSTER \ - CHIP_PRINTCLUSTER_BACNET_PROTOCOL_TUNNEL_CLUSTER \ - CHIP_PRINTCLUSTER_11073_PROTOCOL_TUNNEL_CLUSTER \ - CHIP_PRINTCLUSTER_ISO7816_PROTOCOL_TUNNEL_CLUSTER \ - CHIP_PRINTCLUSTER_PRICE_CLUSTER \ - CHIP_PRINTCLUSTER_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER \ - CHIP_PRINTCLUSTER_SIMPLE_METERING_CLUSTER \ CHIP_PRINTCLUSTER_MESSAGING_CLUSTER \ - CHIP_PRINTCLUSTER_TUNNELING_CLUSTER \ - CHIP_PRINTCLUSTER_PREPAYMENT_CLUSTER \ - CHIP_PRINTCLUSTER_ENERGY_MANAGEMENT_CLUSTER \ - CHIP_PRINTCLUSTER_CALENDAR_CLUSTER \ - CHIP_PRINTCLUSTER_DEVICE_MANAGEMENT_CLUSTER \ - CHIP_PRINTCLUSTER_EVENTS_CLUSTER \ - CHIP_PRINTCLUSTER_MDU_PAIRING_CLUSTER \ - CHIP_PRINTCLUSTER_SUB_GHZ_CLUSTER \ - CHIP_PRINTCLUSTER_KEY_ESTABLISHMENT_CLUSTER \ - CHIP_PRINTCLUSTER_INFORMATION_CLUSTER \ - CHIP_PRINTCLUSTER_DATA_SHARING_CLUSTER \ - CHIP_PRINTCLUSTER_GAMING_CLUSTER \ - CHIP_PRINTCLUSTER_DATA_RATE_CONTROL_CLUSTER \ - CHIP_PRINTCLUSTER_VOICE_OVER_ZIGBEE_CLUSTER \ - CHIP_PRINTCLUSTER_CHATTING_CLUSTER \ - CHIP_PRINTCLUSTER_PAYMENT_CLUSTER \ - CHIP_PRINTCLUSTER_BILLING_CLUSTER \ CHIP_PRINTCLUSTER_APPLIANCE_IDENTIFICATION_CLUSTER \ CHIP_PRINTCLUSTER_METER_IDENTIFICATION_CLUSTER \ CHIP_PRINTCLUSTER_APPLIANCE_EVENTS_AND_ALERT_CLUSTER \ CHIP_PRINTCLUSTER_APPLIANCE_STATISTICS_CLUSTER \ CHIP_PRINTCLUSTER_ELECTRICAL_MEASUREMENT_CLUSTER \ - CHIP_PRINTCLUSTER_DIAGNOSTICS_CLUSTER \ - CHIP_PRINTCLUSTER_ZLL_COMMISSIONING_CLUSTER \ CHIP_PRINTCLUSTER_BINDING_CLUSTER \ CHIP_PRINTCLUSTER_GROUP_KEY_MANAGEMENT_CLUSTER \ CHIP_PRINTCLUSTER_SAMPLE_MFG_SPECIFIC_CLUSTER \ - CHIP_PRINTCLUSTER_SAMPLE_MFG_SPECIFIC_CLUSTER_2 \ - CHIP_PRINTCLUSTER_OTA_CONFIGURATION_CLUSTER \ - CHIP_PRINTCLUSTER_MFGLIB_CLUSTER \ - CHIP_PRINTCLUSTER_SL_WWAH_CLUSTER + CHIP_PRINTCLUSTER_SAMPLE_MFG_SPECIFIC_CLUSTER_2 #define MAX_CLUSTER_NAME_LENGTH 52 diff --git a/src/controller/data_model/gen/CHIPClientCallbacks.cpp b/src/controller/data_model/gen/CHIPClientCallbacks.cpp index 49752b1f185c40..e7b92b5f91e72a 100644 --- a/src/controller/data_model/gen/CHIPClientCallbacks.cpp +++ b/src/controller/data_model/gen/CHIPClientCallbacks.cpp @@ -530,9 +530,9 @@ bool emberAfReadAttributesResponseCallback(ClusterId clusterId, uint8_t * messag chip::ClusterId data[count]; for (size_t i = 0; i < count; i++) { - CHECK_MESSAGE_LENGTH(2); - data[i] = emberAfGetInt16u(message, 0, 2); - message += 2; + CHECK_MESSAGE_LENGTH(4); + data[i] = emberAfGetInt32u(message, 0, 4); + message += 4; } Callback::Callback * cb = @@ -545,9 +545,9 @@ bool emberAfReadAttributesResponseCallback(ClusterId clusterId, uint8_t * messag chip::ClusterId data[count]; for (size_t i = 0; i < count; i++) { - CHECK_MESSAGE_LENGTH(2); - data[i] = emberAfGetInt16u(message, 0, 2); - message += 2; + CHECK_MESSAGE_LENGTH(4); + data[i] = emberAfGetInt32u(message, 0, 4); + message += 4; } Callback::Callback * cb = @@ -555,14 +555,14 @@ bool emberAfReadAttributesResponseCallback(ClusterId clusterId, uint8_t * messag cb->mCall(cb->mContext, count, data); break; } - case 0x0003: // ENDPOINT_ID + case 0x0003: // ENDPOINT_NO { chip::EndpointId data[count]; for (size_t i = 0; i < count; i++) { - CHECK_MESSAGE_LENGTH(1); - data[i] = emberAfGetInt8u(message, 0, 1); - message += 1; + CHECK_MESSAGE_LENGTH(2); + data[i] = emberAfGetInt16u(message, 0, 2); + message += 2; } Callback::Callback * cb = diff --git a/src/controller/data_model/gen/CHIPClusters.cpp b/src/controller/data_model/gen/CHIPClusters.cpp index 72a09dbfd979b7..bd57e8ff08159f 100644 --- a/src/controller/data_model/gen/CHIPClusters.cpp +++ b/src/controller/data_model/gen/CHIPClusters.cpp @@ -882,7 +882,7 @@ CHIP_ERROR BindingCluster::Bind(Callback::Cancelable * onSuccessCallback, Callba SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), nodeId)); // groupId: groupId SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), groupId)); - // endpointId: endpointId + // endpointId: endpointNo SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), endpointId)); // clusterId: clusterId SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), clusterId)); @@ -930,7 +930,7 @@ CHIP_ERROR BindingCluster::Unbind(Callback::Cancelable * onSuccessCallback, Call SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), nodeId)); // groupId: groupId SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), groupId)); - // endpointId: endpointId + // endpointId: endpointNo SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), endpointId)); // clusterId: clusterId SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), clusterId)); diff --git a/src/controller/data_model/gen/IMClusterCommandHandler.cpp b/src/controller/data_model/gen/IMClusterCommandHandler.cpp index 72b99e739fa64d..4c8bd0510c391d 100644 --- a/src/controller/data_model/gen/IMClusterCommandHandler.cpp +++ b/src/controller/data_model/gen/IMClusterCommandHandler.cpp @@ -124,7 +124,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_ACCOUNT_LOGIN_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_ACCOUNT_LOGIN_CLUSTER_ID); return; } } @@ -238,7 +238,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_APPLICATION_LAUNCHER_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_APPLICATION_LAUNCHER_CLUSTER_ID); return; } } @@ -417,7 +417,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_CONTENT_LAUNCH_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_CONTENT_LAUNCH_CLUSTER_ID); return; } } @@ -1944,7 +1944,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_DOOR_LOCK_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_DOOR_LOCK_CLUSTER_ID); return; } } @@ -2188,7 +2188,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID); return; } } @@ -2500,7 +2500,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_GROUPS_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_GROUPS_CLUSTER_ID); return; } } @@ -2608,7 +2608,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_IDENTIFY_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_IDENTIFY_CLUSTER_ID); return; } } @@ -2716,7 +2716,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_KEYPAD_INPUT_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_KEYPAD_INPUT_CLUSTER_ID); return; } } @@ -3414,7 +3414,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_MEDIA_PLAYBACK_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_MEDIA_PLAYBACK_CLUSTER_ID); return; } } @@ -3993,7 +3993,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID); return; } } @@ -4198,7 +4198,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID); return; } } @@ -4473,7 +4473,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID); return; } @@ -4946,7 +4946,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_SCENES_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_SCENES_CLUSTER_ID); return; } } @@ -5059,7 +5059,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_TV_CHANNEL_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_TV_CHANNEL_CLUSTER_ID); return; } } @@ -5173,7 +5173,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_TARGET_NAVIGATOR_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_TARGET_NAVIGATOR_CLUSTER_ID); return; } } @@ -5281,7 +5281,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::UnsupportedCommand); - ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_TEST_CLUSTER_ID); + ChipLogError(Zcl, "Unknown command %" PRIx32 " for cluster %" PRIx32, aCommandId, ZCL_TEST_CLUSTER_ID); return; } } @@ -5309,8 +5309,8 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId, chip::TLV::TLVReader & aReader, Command * apCommandObj) { - ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8, aClusterId, aCommandId, - aEndPointId); + ChipLogDetail(Zcl, "Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16, aClusterId, + aCommandId, aEndPointId); Compatibility::SetupEmberAfObjects(apCommandObj, aClusterId, aCommandId, aEndPointId); TLV::TLVType dataTlvType; SuccessOrExit(aReader.EnterContainer(dataTlvType)); @@ -5372,7 +5372,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC (chip::app::CommandPathFlags::kEndpointIdValid) }; apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound, Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand); - ChipLogError(Zcl, "Unknown cluster %" PRIx16, aClusterId); + ChipLogError(Zcl, "Unknown cluster %" PRIx32, aClusterId); break; } exit: diff --git a/src/controller/data_model/gen/attribute-size.cpp b/src/controller/data_model/gen/attribute-size.cpp index fd86a35c2ee60f..2de85f537275b0 100644 --- a/src/controller/data_model/gen/attribute-size.cpp +++ b/src/controller/data_model/gen/attribute-size.cpp @@ -102,7 +102,7 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut uint32_t totalSize = kSizeLengthInBytes + (entryCount * entryLength); if (!chip::CanCastTo(totalSize)) { - ChipLogError(Zcl, "Cluster 0x%04x: Size of attribute 0x%02x is too large.", clusterId, attributeId); + ChipLogError(Zcl, "Cluster %" PRIx32 ": Size of attribute %" PRIx32 " is too large.", clusterId, attributeId); return 0; } diff --git a/src/controller/java/gen/CHIPClusters-JNI.cpp b/src/controller/java/gen/CHIPClusters-JNI.cpp index 1535366159c755..760e987a0c894d 100644 --- a/src/controller/java/gen/CHIPClusters-JNI.cpp +++ b/src/controller/java/gen/CHIPClusters-JNI.cpp @@ -5615,7 +5615,7 @@ JNI_METHOD(jlong, BindingCluster, initWithDevice)(JNIEnv * env, jobject self, jl } JNI_METHOD(void, BindingCluster, bind) -(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jlong nodeId, jint groupId, jint endpointId, jint clusterId) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jlong nodeId, jint groupId, jint endpointId, jlong clusterId) { StackLockGuard lock(JniReferences::GetInstance().GetStackLock()); CHIP_ERROR err = CHIP_NO_ERROR; @@ -5661,7 +5661,7 @@ JNI_METHOD(void, BindingCluster, bind) } } JNI_METHOD(void, BindingCluster, unbind) -(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jlong nodeId, jint groupId, jint endpointId, jint clusterId) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jlong nodeId, jint groupId, jint endpointId, jlong clusterId) { StackLockGuard lock(JniReferences::GetInstance().GetStackLock()); CHIP_ERROR err = CHIP_NO_ERROR; @@ -10563,7 +10563,7 @@ JNI_METHOD(jlong, ScenesCluster, initWithDevice)(JNIEnv * env, jobject self, jlo JNI_METHOD(void, ScenesCluster, addScene) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jint groupId, jint sceneId, jint transitionTime, jstring sceneName, - jint clusterId, jint length, jint value) + jlong clusterId, jint length, jint value) { StackLockGuard lock(JniReferences::GetInstance().GetStackLock()); CHIP_ERROR err = CHIP_NO_ERROR; diff --git a/src/controller/java/gen/ChipClusters.java b/src/controller/java/gen/ChipClusters.java index 1f69c557fcb68c..cbca0f60345350 100644 --- a/src/controller/java/gen/ChipClusters.java +++ b/src/controller/java/gen/ChipClusters.java @@ -208,12 +208,12 @@ public BindingCluster(long devicePtr, int endpointId) { public native long initWithDevice(long devicePtr, int endpointId); public void bind( - DefaultClusterCallback callback, long nodeId, int groupId, int endpointId, int clusterId) { + DefaultClusterCallback callback, long nodeId, int groupId, int endpointId, long clusterId) { bind(chipClusterPtr, callback, nodeId, groupId, endpointId, clusterId); } public void unbind( - DefaultClusterCallback callback, long nodeId, int groupId, int endpointId, int clusterId) { + DefaultClusterCallback callback, long nodeId, int groupId, int endpointId, long clusterId) { unbind(chipClusterPtr, callback, nodeId, groupId, endpointId, clusterId); } @@ -223,7 +223,7 @@ private native void bind( long nodeId, int groupId, int endpointId, - int clusterId); + long clusterId); private native void unbind( long chipClusterPtr, @@ -231,7 +231,7 @@ private native void unbind( long nodeId, int groupId, int endpointId, - int clusterId); + long clusterId); } public static class BridgedDeviceBasicCluster extends BaseChipCluster { @@ -1979,7 +1979,7 @@ public void addScene( int sceneId, int transitionTime, String sceneName, - int clusterId, + long clusterId, int length, int value) { addScene( @@ -2026,7 +2026,7 @@ private native void addScene( int sceneId, int transitionTime, String sceneName, - int clusterId, + long clusterId, int length, int value); diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index 10c971e7eb35b6..8e1b8bcfd4f0a1 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -3553,10 +3553,10 @@ def InitLib(self, chipLib): self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_ClusterRevision.restype = ctypes.c_uint32 # Cluster Binding # Cluster Binding Command Bind - self._chipLib.chip_ime_AppendCommand_Binding_Bind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Binding_Bind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_Binding_Bind.restype = ctypes.c_uint32 # Cluster Binding Command Unbind - self._chipLib.chip_ime_AppendCommand_Binding_Unbind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Binding_Unbind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_Binding_Unbind.restype = ctypes.c_uint32 # Cluster Binding ReadAttribute ClusterRevision self._chipLib.chip_ime_ReadAttribute_Binding_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] @@ -4376,7 +4376,7 @@ def InitLib(self, chipLib): self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster Scenes # Cluster Scenes Command AddScene - self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.restype = ctypes.c_uint32 # Cluster Scenes Command GetSceneMembership self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] diff --git a/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.h b/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.h index 74d3f0c743b87c..f3f07e14e9022d 100644 --- a/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.h +++ b/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.h @@ -35,7 +35,7 @@ NS_ASSUME_NONNULL_BEGIN @interface CHIPCluster : NSObject - (nullable instancetype)initWithDevice:(CHIPDevice *)device - endpoint:(uint8_t)endpoint + endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -185,13 +185,13 @@ NS_ASSUME_NONNULL_BEGIN - (void)bind:(uint64_t)nodeId groupId:(uint16_t)groupId - endpointId:(uint8_t)endpointId - clusterId:(uint16_t)clusterId + endpointId:(uint16_t)endpointId + clusterId:(uint32_t)clusterId responseHandler:(ResponseHandler)responseHandler; - (void)unbind:(uint64_t)nodeId groupId:(uint16_t)groupId - endpointId:(uint8_t)endpointId - clusterId:(uint16_t)clusterId + endpointId:(uint16_t)endpointId + clusterId:(uint32_t)clusterId responseHandler:(ResponseHandler)responseHandler; - (void)readAttributeClusterRevisionWithResponseHandler:(ResponseHandler)responseHandler; @@ -900,7 +900,7 @@ NS_ASSUME_NONNULL_BEGIN sceneId:(uint8_t)sceneId transitionTime:(uint16_t)transitionTime sceneName:(NSString *)sceneName - clusterId:(uint16_t)clusterId + clusterId:(uint32_t)clusterId length:(uint8_t)length value:(uint8_t)value responseHandler:(ResponseHandler)responseHandler; diff --git a/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.mm b/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.mm index f72bcabb602136..f60458d8450a9a 100644 --- a/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.mm +++ b/src/darwin/Framework/CHIP/gen/CHIPClustersObjc.mm @@ -2859,7 +2859,7 @@ static void CallbackFn(void * context, uint16_t count, chip::ClusterId * entries if (callback && callback->mQueue) { id values[count]; for (uint16_t i = 0; i < count; i++) { - values[i] = [NSNumber numberWithUnsignedShort:entries[i]]; + values[i] = [NSNumber numberWithUnsignedLong:entries[i]]; } id array = [NSArray arrayWithObjects:values count:count]; @@ -2894,7 +2894,7 @@ static void CallbackFn(void * context, uint16_t count, chip::ClusterId * entries if (callback && callback->mQueue) { id values[count]; for (uint16_t i = 0; i < count; i++) { - values[i] = [NSNumber numberWithUnsignedShort:entries[i]]; + values[i] = [NSNumber numberWithUnsignedLong:entries[i]]; } id array = [NSArray arrayWithObjects:values count:count]; @@ -2929,7 +2929,7 @@ static void CallbackFn(void * context, uint16_t count, chip::EndpointId * entrie if (callback && callback->mQueue) { id values[count]; for (uint16_t i = 0; i < count; i++) { - values[i] = [NSNumber numberWithUnsignedChar:entries[i]]; + values[i] = [NSNumber numberWithUnsignedShort:entries[i]]; } id array = [NSArray arrayWithObjects:values count:count]; @@ -5352,8 +5352,8 @@ @implementation CHIPBinding - (void)bind:(uint64_t)nodeId groupId:(uint16_t)groupId - endpointId:(uint8_t)endpointId - clusterId:(uint16_t)clusterId + endpointId:(uint16_t)endpointId + clusterId:(uint32_t)clusterId responseHandler:(ResponseHandler)responseHandler { CHIPDefaultSuccessCallbackBridge * onSuccess = new CHIPDefaultSuccessCallbackBridge(responseHandler, [self callbackQueue]); @@ -5382,8 +5382,8 @@ - (void)bind:(uint64_t)nodeId } - (void)unbind:(uint64_t)nodeId groupId:(uint16_t)groupId - endpointId:(uint8_t)endpointId - clusterId:(uint16_t)clusterId + endpointId:(uint16_t)endpointId + clusterId:(uint32_t)clusterId responseHandler:(ResponseHandler)responseHandler { CHIPDefaultSuccessCallbackBridge * onSuccess = new CHIPDefaultSuccessCallbackBridge(responseHandler, [self callbackQueue]); @@ -13338,7 +13338,7 @@ - (void)addScene:(uint16_t)groupId sceneId:(uint8_t)sceneId transitionTime:(uint16_t)transitionTime sceneName:(NSString *)sceneName - clusterId:(uint16_t)clusterId + clusterId:(uint32_t)clusterId length:(uint8_t)length value:(uint8_t)value responseHandler:(ResponseHandler)responseHandler From 6f61954e7f39c5698a68ff601ebb3527682d75fa Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 24 Jun 2021 11:45:41 +0000 Subject: [PATCH 3/3] Restyled by clang-format --- src/app/decoder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/decoder.cpp b/src/app/decoder.cpp index 34b3162067aa7a..3fd6d414ce52ff 100644 --- a/src/app/decoder.cpp +++ b/src/app/decoder.cpp @@ -59,7 +59,8 @@ uint16_t extractApsFrame(uint8_t * buffer, uint16_t buf_length, EmberApsFrame * void printApsFrame(EmberApsFrame * frame) { ChipLogProgress(Zcl, - "\n clusterID %" PRIx32 ", sourceEndpoint %d, destinationEndPoint %d, options %d, groupID %d, " + "\n clusterID %" PRIx32 + ", sourceEndpoint %d, destinationEndPoint %d, options %d, groupID %d, " "sequence %d, radius %d\n", frame, frame->clusterId, frame->sourceEndpoint, frame->destinationEndpoint, frame->options, frame->groupId, frame->sequence, frame->radius);