From ca8c123f809a22d43ab2081382db6d5ca682cf6c Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 23 Jun 2021 18:19:08 +0200 Subject: [PATCH] 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