Skip to content

Commit

Permalink
Adding ReplacementProductList in resource monitoring (#27877)
Browse files Browse the repository at this point in the history
Adding the replacement product list array in the resource monitoring
cluster.

Fixes issue #27571

Code generation ran with zap_regen_all.py
  • Loading branch information
cliffamzn authored and pull[bot] committed Sep 29, 2023
1 parent 4cbee7c commit 3824883
Show file tree
Hide file tree
Showing 23 changed files with 6,644 additions and 273 deletions.
156 changes: 156 additions & 0 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2555,11 +2555,24 @@ server cluster HepaFilterMonitoring = 113 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2585,11 +2598,24 @@ server cluster ActivatedCarbonFilterMonitoring = 114 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2615,11 +2641,24 @@ server cluster CeramicFilterMonitoring = 115 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2645,11 +2684,24 @@ server cluster ElectrostaticFilterMonitoring = 116 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2675,11 +2727,24 @@ server cluster UvFilterMonitoring = 117 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2705,11 +2770,24 @@ server cluster IonizingFilterMonitoring = 118 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2735,11 +2813,24 @@ server cluster ZeoliteFilterMonitoring = 119 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2765,11 +2856,24 @@ server cluster OzoneFilterMonitoring = 120 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2795,11 +2899,24 @@ server cluster WaterTankMonitoring = 121 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2825,11 +2942,24 @@ server cluster FuelTankMonitoring = 122 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2855,11 +2985,24 @@ server cluster InkCartridgeMonitoring = 123 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand All @@ -2885,11 +3028,24 @@ server cluster TonerCartridgeMonitoring = 124 {
kDown = 1;
}

enum ProductIdentifierTypeEnum : ENUM8 {
kUPC = 0;
kGTIN8 = 1;
kEAN = 2;
kGTIN14 = 3;
kOEM = 4;
}

bitmap Feature : BITMAP32 {
kCondition = 0x1;
kWarning = 0x2;
}

struct ReplacementProductStruct {
ProductIdentifierTypeEnum productIdentifierType = 0;
char_string<20> productIdentifierValue = 1;
}

readonly attribute percent condition = 0;
readonly attribute DegradationDirectionEnum degradationDirection = 1;
readonly attribute ChangeIndicationEnum changeIndication = 2;
Expand Down
Loading

0 comments on commit 3824883

Please sign in to comment.