Skip to content

Commit

Permalink
Enable COTA feature (#19815)
Browse files Browse the repository at this point in the history
* Enable the COTA feature for TC_DL tests

* Update auto-generated files
  • Loading branch information
Morozov-5F authored Jun 21, 2022
1 parent 597a710 commit e5b77e4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
4 changes: 3 additions & 1 deletion examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,7 @@ server cluster DoorLock = 257 {
attribute access(write: manage) boolean enablePrivacyModeButton = 43;
attribute access(write: administer) int8u wrongCodeEntryLimit = 48;
attribute access(write: administer) int8u userCodeTemporaryDisableTime = 49;
attribute access(write: administer) boolean requirePINforRemoteOperation = 51;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -2187,7 +2188,8 @@ endpoint 1 {
ram attribute enablePrivacyModeButton;
ram attribute wrongCodeEntryLimit default = 3;
ram attribute userCodeTemporaryDisableTime default = 10;
ram attribute featureMap default = 0x133;
ram attribute requirePINforRemoteOperation;
ram attribute featureMap default = 0x1B3;
ram attribute clusterRevision default = 6;
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/lock-app/lock-common/lock-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -7850,7 +7850,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -7934,7 +7934,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x133",
"defaultValue": "0x1B3",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def AllTests(chip_tool: str):

if name.startswith('TV_') or name.startswith('Test_TC_MC_'):
target = TestTarget.TV
elif name.startswith('DL_'):
elif name.startswith('DL_') or name.startswith('Test_TC_DL_'):
target = TestTarget.LOCK
elif name.startswith('OTA_'):
target = TestTarget.OTA
Expand Down
6 changes: 6 additions & 0 deletions zzz_generated/lock-app/zap-generated/access.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions zzz_generated/lock-app/zap-generated/endpoint_config.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e5b77e4

Please sign in to comment.