Skip to content

Commit

Permalink
Turn off the Basic Information Reachable attribute in examples. (#26331)
Browse files Browse the repository at this point in the history
This is really only meant to be used for Bridged Device Basic Information, not
the Basic Information cluster.

Fixes #18083
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Jun 2, 2023
1 parent ff57cb6 commit 2560220
Show file tree
Hide file tree
Showing 51 changed files with 165 additions and 202 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute ProductAppearanceStruct productAppearance = 20;
Expand Down Expand Up @@ -4647,7 +4646,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
callback attribute productAppearance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down
2 changes: 0 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1660,7 +1659,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
callback attribute generatedCommandList;
Expand Down
7 changes: 4 additions & 3 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -783,7 +783,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -7625,5 +7625,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1518,7 +1517,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -8785,5 +8785,6 @@
"endpointVersion": 1,
"deviceIdentifier": 21
}
]
],
"log": []
}
2 changes: 0 additions & 2 deletions examples/dynamic-bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1661,7 +1660,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
callback attribute generatedCommandList;
Expand Down
7 changes: 4 additions & 3 deletions examples/dynamic-bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -790,7 +790,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -7614,5 +7614,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -2151,7 +2150,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1508,7 +1508,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -9334,5 +9334,6 @@
"endpointVersion": 1,
"deviceIdentifier": 15
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1897,7 +1896,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 95,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -8343,4 +8343,4 @@
}
],
"log": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1806,7 +1805,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 95,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -8343,4 +8343,4 @@
}
],
"log": []
}
}
2 changes: 0 additions & 2 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1993,7 +1992,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
9 changes: 5 additions & 4 deletions examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -7041,7 +7041,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down Expand Up @@ -8341,5 +8341,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
]
],
"log": []
}
2 changes: 0 additions & 2 deletions examples/lighting-app/qpg/zap/light.matter
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1758,7 +1757,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
callback attribute generatedCommandList;
Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/qpg/zap/light.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1572,7 +1572,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1698,7 +1697,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 95,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1444,7 +1444,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ server cluster BasicInformation = 40 {
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
attribute access(write: manage) boolean localConfigDisabled = 16;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly attribute CapabilityMinimaStruct capabilityMinima = 19;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -1788,7 +1787,6 @@ endpoint 0 {
callback attribute productLabel;
callback attribute serialNumber;
persist attribute localConfigDisabled default = 0;
ram attribute reachable default = 1;
callback attribute uniqueID;
callback attribute capabilityMinima;
ram attribute featureMap default = 0;
Expand Down
Loading

0 comments on commit 2560220

Please sign in to comment.