Skip to content

Commit

Permalink
Turn off the Basic Information Reachable attribute in examples.
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 project-chip#18083
  • Loading branch information
bzbarsky-apple committed May 2, 2023
1 parent 7be1954 commit 6086cab
Showing 51 changed files with 172 additions and 209 deletions.
Original file line number Diff line number Diff line change
@@ -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;
@@ -4680,7 +4679,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;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
@@ -16,19 +16,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl-with-test-extensions.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data with some extensions"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
@@ -1466,7 +1466,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
2 changes: 0 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
@@ -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;
@@ -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;
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": [
{
@@ -783,7 +783,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -7625,5 +7625,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
@@ -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;
@@ -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;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
@@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -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
@@ -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;
@@ -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;
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": [
{
@@ -790,7 +790,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -7614,5 +7614,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
@@ -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;
@@ -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;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 92,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
@@ -1508,7 +1508,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -9556,5 +9556,6 @@
"endpointVersion": 1,
"deviceIdentifier": 15
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
@@ -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;
@@ -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;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 95,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
@@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -8343,4 +8343,4 @@
}
],
"log": []
}
}
Original file line number Diff line number Diff line change
@@ -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;
@@ -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;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 95,
"featureLevel": 96,
"creator": "zap",
"keyValuePairs": [
{
@@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -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
@@ -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;
@@ -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;
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": [
{
@@ -1460,7 +1460,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -7041,7 +7041,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
@@ -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
@@ -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;
@@ -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;
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": [
{
@@ -1572,7 +1572,7 @@
"mfgCode": null,
"side": "server",
"type": "boolean",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
Original file line number Diff line number Diff line change
@@ -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;
@@ -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;
Loading

0 comments on commit 6086cab

Please sign in to comment.