From 5c4e3b465f3510f550fddec0b2f102efa9984469 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 24 Jan 2022 12:38:24 -0500 Subject: [PATCH] Fix the cluster association for the NetworkCommissioningFeature enum. (#13845) Without that, the enum is not being code-generated. --- .../zap-templates/zcl/data-model/chip/commissioning.xml | 1 + .../app-common/app-common/zap-generated/cluster-objects.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/app/zap-templates/zcl/data-model/chip/commissioning.xml b/src/app/zap-templates/zcl/data-model/chip/commissioning.xml index d798e1d9c47c09..aad3590293fbfe 100644 --- a/src/app/zap-templates/zcl/data-model/chip/commissioning.xml +++ b/src/app/zap-templates/zcl/data-model/chip/commissioning.xml @@ -143,6 +143,7 @@ limitations under the License. + 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 515a7f826cc605..7b106d73f87dad 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 @@ -10096,6 +10096,14 @@ enum class WiFiBand : uint8_t k60g = 0x04, }; +// Bitmap for NetworkCommissioningFeature +enum class NetworkCommissioningFeature : uint32_t +{ + kWiFiNetworkInterface = 0x1, + kThreadNetworkInterface = 0x2, + kEthernetNetworkInterface = 0x4, +}; + namespace Structs { namespace NetworkInfo { enum class Fields