Skip to content

Commit

Permalink
Test added Dec 26 (#24208)
Browse files Browse the repository at this point in the history
* Modified test
TC-ACL-2.4
TC-ACL-2.7
TC-ACL-2.9

* Auto generated files

* Restyled by clang-format

* Removed SWTCH-3.1

* Autogenerated files

* Disabled TC-ACL-2.4 in Darwin Json

* Auto generated files

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Aug 24, 2023
1 parent 566edc2 commit 1021219
Show file tree
Hide file tree
Showing 36 changed files with 9,461 additions and 6,176 deletions.
5 changes: 4 additions & 1 deletion examples/darwin-framework-tool/templates/tests/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"Test_TC_G_2_1",
"Test_TC_FLABEL_2_1",
"Test_TC_TSTAT_2_1",
"Test_TC_TSTAT_2_2"
"Test_TC_TSTAT_2_2",
"Test_TC_ACL_2_4",
"Test_TC_ACL_2_7",
"Test_TC_ACL_2_9"
]
}
8 changes: 7 additions & 1 deletion examples/placeholder/linux/apps/app1/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
"Test_TC_PSCFG_3_1_Simulated",
"Test_TC_RH_3_1_Simulated",
"Test_TC_SWTCH_3_1_Simulated",
"Test_TC_WNCV_5_1_Simulated"
"Test_TC_WNCV_5_1_Simulated",
"Test_TC_LCFG_3_1_Simulated",
"Test_TC_LUNIT_1_1_Simulated",
"Test_TC_LUNIT_2_1_Simulated",
"Test_TC_OCC_2_2_Simulated",
"Test_TC_OCC_2_4_Simulated",
"Test_TC_ULABEL_3_1_Simulated"
],
"collection": ["Test"]
}
122 changes: 112 additions & 10 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.

struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
Expand Down Expand Up @@ -555,6 +560,52 @@ server cluster BasicInformation = 40 {
readonly attribute int16u clusterRevision = 65533;
}

client cluster LocalizationConfiguration = 43 {
attribute char_string<35> activeLocale = 0;
readonly attribute CHAR_STRING supportedLocales[] = 1;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

server cluster LocalizationConfiguration = 43 {
attribute char_string<35> activeLocale = 0;
readonly attribute CHAR_STRING supportedLocales[] = 1;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

client cluster UnitLocalization = 45 {
enum TempUnit : ENUM8 {
kFahrenheit = 0;
kCelsius = 1;
kKelvin = 2;
}

bitmap UnitLocalizationFeature : BITMAP32 {
kTemperatureUnit = 0x1;
}

attribute TempUnit temperatureUnit = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

server cluster UnitLocalization = 45 {
enum TempUnit : ENUM8 {
kFahrenheit = 0;
kCelsius = 1;
kKelvin = 2;
}

bitmap UnitLocalizationFeature : BITMAP32 {
kTemperatureUnit = 0x1;
}

attribute TempUnit temperatureUnit = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

server cluster PowerSourceConfiguration = 46 {
readonly attribute INT8U sources[] = 0;
readonly attribute bitmap32 featureMap = 65532;
Expand Down Expand Up @@ -1454,25 +1505,21 @@ server cluster OperationalCredentials = 62 {
}

client cluster FixedLabel = 64 {
struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

readonly attribute LabelStruct labelList[] = 0;
readonly attribute int16u clusterRevision = 65533;
}

server cluster FixedLabel = 64 {
struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

readonly attribute LabelStruct labelList[] = 0;
readonly attribute int16u clusterRevision = 65533;
}

server cluster UserLabel = 65 {
attribute access(write: manage) LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

server cluster BooleanState = 69 {
info event StateChange = 0 {
boolean stateValue = 0;
Expand Down Expand Up @@ -2088,6 +2135,23 @@ server cluster RelativeHumidityMeasurement = 1029 {
readonly attribute int16u clusterRevision = 65533;
}

server cluster OccupancySensing = 1030 {
readonly attribute bitmap8 occupancy = 0;
readonly attribute enum8 occupancySensorType = 1;
readonly attribute bitmap8 occupancySensorTypeBitmap = 2;
attribute access(write: manage) int16u pirOccupiedToUnoccupiedDelay = 16;
attribute access(write: manage) int16u pirUnoccupiedToOccupiedDelay = 17;
attribute access(write: manage) int8u pirUnoccupiedToOccupiedThreshold = 18;
attribute access(write: manage) int16u ultrasonicOccupiedToUnoccupiedDelay = 32;
attribute access(write: manage) int16u ultrasonicUnoccupiedToOccupiedDelay = 33;
attribute access(write: manage) int8u ultrasonicUnoccupiedToOccupiedThreshold = 34;
attribute access(write: manage) int16u physicalContactOccupiedToUnoccupiedDelay = 48;
attribute access(write: manage) int16u physicalContactUnoccupiedToOccupiedDelay = 49;
attribute access(write: manage) int8u physicalContactUnoccupiedToOccupiedThreshold = 50;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

client cluster TargetNavigator = 1285 {
enum TargetNavigatorStatusEnum : ENUM8 {
kSuccess = 0;
Expand Down Expand Up @@ -3076,6 +3140,8 @@ endpoint 0 {
endpoint 1 {
device type anonymousEndpointType = 258, version 1;
binding cluster OnOff;
binding cluster LocalizationConfiguration;
binding cluster UnitLocalization;
binding cluster FixedLabel;

server cluster Identify {
Expand Down Expand Up @@ -3138,11 +3204,30 @@ endpoint 1 {
ram attribute clusterRevision default = 1;
}

server cluster LocalizationConfiguration {
ram attribute activeLocale;
callback attribute supportedLocales;
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}

server cluster UnitLocalization {
ram attribute temperatureUnit;
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}

server cluster FixedLabel {
callback attribute labelList;
ram attribute clusterRevision default = 1;
}

server cluster UserLabel {
callback attribute labelList;
ram attribute featureMap;
callback attribute clusterRevision default = 1;
}

server cluster ColorControl {
ram attribute currentX default = 0x616B;
ram attribute currentY default = 0x607D;
Expand All @@ -3152,6 +3237,23 @@ endpoint 1 {
ram attribute featureMap;
ram attribute clusterRevision default = 5;
}

server cluster OccupancySensing {
ram attribute occupancy;
ram attribute occupancySensorType;
ram attribute occupancySensorTypeBitmap;
ram attribute pirOccupiedToUnoccupiedDelay;
ram attribute pirUnoccupiedToOccupiedDelay;
ram attribute pirUnoccupiedToOccupiedThreshold default = 1;
ram attribute ultrasonicOccupiedToUnoccupiedDelay;
ram attribute ultrasonicUnoccupiedToOccupiedDelay;
ram attribute ultrasonicUnoccupiedToOccupiedThreshold default = 1;
ram attribute physicalContactOccupiedToUnoccupiedDelay;
ram attribute physicalContactUnoccupiedToOccupiedDelay;
ram attribute physicalContactUnoccupiedToOccupiedThreshold default = 1;
ram attribute featureMap;
callback attribute clusterRevision default = 3;
}
}


Loading

0 comments on commit 1021219

Please sign in to comment.