From 3a617aa821e7c84093ab17313d6ce02d3ec32219 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 23 Dec 2021 13:28:49 -0500 Subject: [PATCH] Use the right types for Target fields in ACL cluster. (#13202) --- .../zcl/data-model/chip/access-control-cluster.xml | 6 +++--- .../app-common/app-common/zap-generated/af-structs.h | 6 +++--- .../app-common/app-common/zap-generated/cluster-objects.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml index c111973ef8716a..fe997a4c3cda39 100644 --- a/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml @@ -35,9 +35,9 @@ limitations under the License. - - - + + + diff --git a/zzz_generated/app-common/app-common/zap-generated/af-structs.h b/zzz_generated/app-common/app-common/zap-generated/af-structs.h index 20c6b0cc467237..7a0630ee166f04 100644 --- a/zzz_generated/app-common/app-common/zap-generated/af-structs.h +++ b/zzz_generated/app-common/app-common/zap-generated/af-structs.h @@ -149,9 +149,9 @@ typedef struct _ApplicationEP // Struct for Target typedef struct _Target { - uint32_t Cluster; - uint16_t Endpoint; - uint32_t DeviceType; + chip::ClusterId Cluster; + chip::EndpointId Endpoint; + chip::DeviceTypeId DeviceType; } Target; // Struct for AccessControlEntry diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h index fa448dc9587174..68dbb06fdeb066 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h @@ -6384,9 +6384,9 @@ enum class Fields struct Type { public: - DataModel::Nullable cluster; - DataModel::Nullable endpoint; - DataModel::Nullable deviceType; + DataModel::Nullable cluster; + DataModel::Nullable endpoint; + DataModel::Nullable deviceType; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; CHIP_ERROR Decode(TLV::TLVReader & reader);