Skip to content

Commit

Permalink
Enabling Basic Information Cluster in the ota-provider app (#14765)
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha-rajendran authored and pull[bot] committed Dec 12, 2023
1 parent 874a1cc commit ce78f6f
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,43 @@ server cluster AccessControl = 31 {
readonly global attribute int16u clusterRevision = 65533;
}

server cluster Basic = 40 {
critical event StartUp = 0 {
INT32U softwareVersion = 0;
}

critical event ShutDown = 1 {
}

info event Leave = 2 {
}

info event ReachableChanged = 3 {
boolean reachableNewValue = 0;
}

readonly attribute int16u dataModelRevision = 0;
readonly attribute char_string<32> vendorName = 1;
readonly attribute vendor_id vendorID = 2;
readonly attribute char_string<32> productName = 3;
readonly attribute int16u productID = 4;
attribute char_string<32> nodeLabel = 5;
attribute char_string<2> location = 6;
readonly attribute int16u hardwareVersion = 7;
readonly attribute char_string<64> hardwareVersionString = 8;
readonly attribute int32u softwareVersion = 9;
readonly attribute char_string<64> softwareVersionString = 10;
readonly attribute char_string<16> manufacturingDate = 11;
readonly attribute char_string<32> partNumber = 12;
readonly attribute long_char_string<256> productURL = 13;
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly global attribute int16u clusterRevision = 65533;
}

server cluster FixedLabel = 64 {
readonly attribute LabelStruct labelList[] = 0;
readonly global attribute int16u clusterRevision = 65533;
Expand Down Expand Up @@ -523,6 +560,7 @@ server cluster UserLabel = 65 {
endpoint 0 {
binding cluster AccessControl;
server cluster AccessControl;
server cluster Basic;
server cluster FixedLabel;
server cluster GeneralCommissioning;
server cluster LocalizationConfiguration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -864,11 +864,11 @@
"mfgCode": null,
"define": "BASIC_CLUSTER",
"side": "server",
"enabled": 0,
"enabled": 1,
"commands": [],
"attributes": [
{
"name": "DataModelRevision",
"name": "InteractionModelVersion",
"code": 0,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -1629,7 +1629,7 @@
"reportableChange": 0
},
{
"name": "BasicCommissioningInfo",
"name": "BasicCommissioningInfoList",
"code": 1,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -4251,4 +4251,4 @@
}
],
"log": []
}
}

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

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

84 changes: 70 additions & 14 deletions zzz_generated/ota-provider-app/zap-generated/endpoint_config.h

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

6 changes: 6 additions & 0 deletions zzz_generated/ota-provider-app/zap-generated/gen_config.h

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

0 comments on commit ce78f6f

Please sign in to comment.