Skip to content

Commit

Permalink
Update to new spec names for command list attributes. (project-chip#1…
Browse files Browse the repository at this point in the history
…6456)

Fixes project-chip#16451

This PR was generated by installing the git-extras package and then running:

    git sed -f g ServerGeneratedCommandList GeneratedCommandList
    git sed -f g ClientGeneratedCommandList AcceptedCommandList
    git sed -f g serverGeneratedCommandList generatedCommandList
    git sed -f g clientGeneratedCommandList acceptedCommandList
    git sed -f g serverGeneratedCommands generatedCommands
    git sed -f g clientGeneratedCommands acceptedCommands
    git sed -f g CLIENT_GENERATED_COMMAND_LIST ACCEPTED_COMMAND_LIST
    git sed -f g SERVER_GENERATED_COMMAND_LIST GENERATED_COMMAND_LIST
  • Loading branch information
bzbarsky-apple authored Mar 21, 2022
1 parent 193b4d0 commit 821ca4a
Show file tree
Hide file tree
Showing 108 changed files with 23,103 additions and 24,999 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8457,7 +8457,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -8472,7 +8472,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -21073,7 +21073,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -21088,7 +21088,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5073,7 +5073,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -5088,7 +5088,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5789,7 +5789,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -5804,7 +5804,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down
40 changes: 20 additions & 20 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ client cluster ApplicationBasic = 1293 {
readonly attribute ApplicationStatusEnum status = 5;
readonly attribute char_string<32> applicationVersion = 6;
readonly attribute vendor_id allowedVendorList[] = 7;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;
}
Expand All @@ -49,8 +49,8 @@ server cluster ApplicationBasic = 1293 {
readonly attribute ApplicationStatusEnum status = 5;
readonly attribute char_string<32> applicationVersion = 6;
readonly attribute vendor_id allowedVendorList[] = 7;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;
}
Expand Down Expand Up @@ -265,8 +265,8 @@ client cluster ContentLauncher = 1290 {

readonly attribute CHAR_STRING acceptHeader[] = 0;
attribute bitmap32 supportedStreamingProtocols = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -367,8 +367,8 @@ server cluster ContentLauncher = 1290 {

readonly attribute CHAR_STRING acceptHeader[] = 0;
attribute bitmap32 supportedStreamingProtocols = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -429,8 +429,8 @@ client cluster GeneralCommissioning = 48 {
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute RegulatoryLocationType regulatoryConfig = 2;
readonly attribute RegulatoryLocationType locationCapability = 3;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
Expand Down Expand Up @@ -476,8 +476,8 @@ server cluster GeneralCommissioning = 48 {
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute RegulatoryLocationType regulatoryConfig = 2;
readonly attribute RegulatoryLocationType locationCapability = 3;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
Expand Down Expand Up @@ -802,8 +802,8 @@ client cluster KeypadInput = 1289 {
kNumberKeys = 0x4;
}

readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -920,8 +920,8 @@ server cluster KeypadInput = 1289 {
kNumberKeys = 0x4;
}

readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -1646,8 +1646,8 @@ client cluster TargetNavigator = 1285 {

readonly attribute TargetInfo targetList[] = 0;
readonly attribute int8u currentTarget = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -1678,8 +1678,8 @@ server cluster TargetNavigator = 1285 {

readonly attribute TargetInfo targetList[] = 0;
readonly attribute int8u currentTarget = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down
20 changes: 10 additions & 10 deletions examples/placeholder/linux/apps/app1/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -837,7 +837,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -3006,7 +3006,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -3021,7 +3021,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -3121,7 +3121,7 @@
],
"attributes": [
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -3136,7 +3136,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -3274,7 +3274,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -3289,7 +3289,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -3491,7 +3491,7 @@
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
Expand All @@ -3506,7 +3506,7 @@
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
Expand Down
40 changes: 20 additions & 20 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ client cluster ApplicationBasic = 1293 {
readonly attribute ApplicationStatusEnum status = 5;
readonly attribute char_string<32> applicationVersion = 6;
readonly attribute vendor_id allowedVendorList[] = 7;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;
}
Expand All @@ -37,8 +37,8 @@ server cluster ApplicationBasic = 1293 {
readonly attribute ApplicationStatusEnum status = 5;
readonly attribute char_string<32> applicationVersion = 6;
readonly attribute vendor_id allowedVendorList[] = 7;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;
}
Expand Down Expand Up @@ -253,8 +253,8 @@ client cluster ContentLauncher = 1290 {

readonly attribute CHAR_STRING acceptHeader[] = 0;
attribute bitmap32 supportedStreamingProtocols = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -355,8 +355,8 @@ server cluster ContentLauncher = 1290 {

readonly attribute CHAR_STRING acceptHeader[] = 0;
attribute bitmap32 supportedStreamingProtocols = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -417,8 +417,8 @@ client cluster GeneralCommissioning = 48 {
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute RegulatoryLocationType regulatoryConfig = 2;
readonly attribute RegulatoryLocationType locationCapability = 3;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
Expand Down Expand Up @@ -464,8 +464,8 @@ server cluster GeneralCommissioning = 48 {
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute RegulatoryLocationType regulatoryConfig = 2;
readonly attribute RegulatoryLocationType locationCapability = 3;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
Expand Down Expand Up @@ -790,8 +790,8 @@ client cluster KeypadInput = 1289 {
kNumberKeys = 0x4;
}

readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -908,8 +908,8 @@ server cluster KeypadInput = 1289 {
kNumberKeys = 0x4;
}

readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -1583,8 +1583,8 @@ client cluster TargetNavigator = 1285 {

readonly attribute TargetInfo targetList[] = 0;
readonly attribute int8u currentTarget = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -1615,8 +1615,8 @@ server cluster TargetNavigator = 1285 {

readonly attribute TargetInfo targetList[] = 0;
readonly attribute int8u currentTarget = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute command_id generatedCommandList[] = 65528;
readonly global attribute command_id acceptedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute int16u clusterRevision = 65533;

Expand Down
Loading

0 comments on commit 821ca4a

Please sign in to comment.