Skip to content

Commit

Permalink
[examples] Enabled FeatureMap on all clusters for pump-app and pump-c…
Browse files Browse the repository at this point in the history
…ontroller-app (project-chip#16764)

* * Updated the pump-app.zap and pump-controller-app.zap files to inlcude FeatureMap on all clusters

* * Re-ran the zap_regen_app.py tool

* * Re-ran the zap_regen_all.py tool

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and andrei-menzopol committed Apr 14, 2022
1 parent 5c8cfa7 commit ff683f4
Show file tree
Hide file tree
Showing 6 changed files with 1,266 additions and 675 deletions.
24 changes: 24 additions & 0 deletions examples/pump-app/pump-common/pump-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ server cluster AccessControl = 31 {
attribute AccessControlEntry acl[] = 0;
attribute ExtensionEntry extension[] = 1;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -84,6 +85,7 @@ server cluster AdministratorCommissioning = 60 {
readonly attribute int8u windowStatus = 0;
readonly attribute fabric_idx adminFabricIndex = 1;
readonly attribute int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct OpenCommissioningWindowRequest {
Expand Down Expand Up @@ -137,6 +139,7 @@ server cluster Basic = 40 {
attribute boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -150,6 +153,7 @@ server cluster Descriptor = 29 {
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
readonly attribute ENDPOINT_NO partsList[] = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -173,6 +177,7 @@ server cluster DiagnosticLogs = 50 {
kBdx = 1;
}

readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
Expand All @@ -193,6 +198,7 @@ server cluster DiagnosticLogs = 50 {

server cluster FixedLabel = 64 {
readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -201,6 +207,7 @@ client cluster FlowMeasurement = 1028 {
readonly attribute nullable int16u minMeasuredValue = 1;
readonly attribute nullable int16u maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -209,6 +216,7 @@ server cluster FlowMeasurement = 1028 {
readonly attribute nullable int16u minMeasuredValue = 1;
readonly attribute nullable int16u maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down Expand Up @@ -358,6 +366,7 @@ server cluster GeneralDiagnostics = 51 {
readonly attribute ENUM8 activeHardwareFaults[] = 5;
readonly attribute ENUM8 activeRadioFaults[] = 6;
readonly attribute ENUM8 activeNetworkFaults[] = 7;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down Expand Up @@ -395,6 +404,7 @@ server cluster GroupKeyManagement = 63 {
readonly attribute GroupInfoMapStruct groupTable[] = 1;
readonly attribute int16u maxGroupsPerFabric = 2;
readonly attribute int16u maxGroupKeysPerFabric = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct KeySetWriteRequest {
Expand Down Expand Up @@ -429,6 +439,7 @@ server cluster GroupKeyManagement = 63 {

server cluster Groups = 4 {
readonly attribute bitmap8 nameSupport = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct AddGroupRequest {
Expand Down Expand Up @@ -507,6 +518,7 @@ server cluster Identify = 3 {

attribute int16u identifyTime = 0;
readonly attribute enum8 identifyType = 1;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct IdentifyRequest {
Expand Down Expand Up @@ -558,6 +570,7 @@ server cluster LevelControl = 8 {
attribute nullable int16u offTransitionTime = 19;
attribute nullable int8u defaultMoveRate = 20;
attribute nullable int8u startUpCurrentLevel = 16384;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct MoveToLevelRequest {
Expand Down Expand Up @@ -616,6 +629,7 @@ server cluster LevelControl = 8 {
server cluster LocalizationConfiguration = 43 {
attribute char_string<35> activeLocale = 1;
readonly attribute CHAR_STRING supportedLocales[] = 2;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down Expand Up @@ -866,6 +880,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
readonly attribute boolean updatePossible = 1;
readonly attribute OTAUpdateStateEnum updateState = 2;
readonly attribute nullable int8u updateStateProgress = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct AnnounceOtaProviderRequest {
Expand Down Expand Up @@ -917,6 +932,7 @@ server cluster OnOff = 6 {
attribute int16u onTime = 16385;
attribute int16u offWaitTime = 16386;
attribute nullable OnOffStartUpOnOff startUpOnOff = 16387;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct OffWithEffectRequest {
Expand Down Expand Up @@ -973,6 +989,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
readonly attribute fabric_idx currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct AttestationRequestRequest {
Expand Down Expand Up @@ -1061,6 +1078,7 @@ client cluster PressureMeasurement = 1027 {
readonly attribute nullable int16s maxScaledValue = 18;
readonly attribute int16u scaledTolerance = 19;
readonly attribute int8s scale = 20;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -1078,6 +1096,7 @@ server cluster PressureMeasurement = 1027 {
readonly attribute nullable int16s maxScaledValue = 18;
readonly attribute int16u scaledTolerance = 19;
readonly attribute int8s scale = 20;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down Expand Up @@ -1205,6 +1224,7 @@ server cluster Scenes = 5 {
readonly attribute int16u currentGroup = 2;
readonly attribute boolean sceneValid = 3;
readonly attribute bitmap8 nameSupport = 4;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct AddSceneRequest {
Expand Down Expand Up @@ -1321,6 +1341,7 @@ client cluster TemperatureMeasurement = 1026 {
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -1329,6 +1350,7 @@ server cluster TemperatureMeasurement = 1026 {
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down Expand Up @@ -1509,6 +1531,7 @@ server cluster TimeFormatLocalization = 44 {
attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand All @@ -1530,6 +1553,7 @@ server cluster UnitLocalization = 45 {

server cluster UserLabel = 65 {
attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down
Loading

0 comments on commit ff683f4

Please sign in to comment.