Skip to content

Commit

Permalink
Fix spacing and zap regen - make endpoints nicer to read
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed May 4, 2022
1 parent 8f79c5e commit f9d466f
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3758,7 +3758,6 @@ server cluster WindowCovering = 258 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -4040,6 +4039,7 @@ endpoint 0 {
ram attribute clusterRevision default = 2;
}
}

endpoint 1 {

server cluster Identify {
Expand Down Expand Up @@ -4599,6 +4599,7 @@ endpoint 1 {
ram attribute clusterRevision default = 3;
}
}

endpoint 2 {

server cluster Groups {
Expand Down Expand Up @@ -4631,6 +4632,7 @@ endpoint 2 {
ram attribute clusterRevision default = 3;
}
}

endpoint 65534 {

server cluster NetworkCommissioning {
Expand Down
2 changes: 1 addition & 1 deletion examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {
binding cluster AccessControl;

Expand Down Expand Up @@ -1371,6 +1370,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {

server cluster OnOff {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -1912,6 +1911,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster Identify;
binding cluster Scenes;
Expand Down
2 changes: 1 addition & 1 deletion examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -1900,6 +1899,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {

server cluster Identify {
Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -2056,6 +2055,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {

server cluster Identify {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ server cluster OperationalCredentials = 62 {
}



endpoint 0 {
binding cluster DiagnosticLogs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ server cluster UserLabel = 65 {
}



endpoint 0 {
binding cluster AccessControl;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,6 @@ server cluster UserLabel = 65 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,6 @@ server cluster WindowCovering = 258 {
}



endpoint 0 {
binding cluster OnOff;
binding cluster GeneralCommissioning;
Expand Down Expand Up @@ -2926,6 +2925,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster OnOff;

Expand Down
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,6 @@ server cluster WindowCovering = 258 {
}



endpoint 0 {
binding cluster OnOff;
binding cluster GeneralCommissioning;
Expand Down Expand Up @@ -2926,6 +2925,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster OnOff;

Expand Down
2 changes: 1 addition & 1 deletion examples/pump-app/pump-common/pump-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1567,7 +1567,6 @@ server cluster UserLabel = 65 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -1826,6 +1825,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster TemperatureMeasurement;
binding cluster PressureMeasurement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,6 @@ server cluster UserLabel = 65 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -1549,6 +1548,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster OnOff;
binding cluster PumpConfigurationAndControl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {

server cluster Descriptor {
Expand Down Expand Up @@ -910,6 +909,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {

server cluster Descriptor {
Expand Down
2 changes: 1 addition & 1 deletion examples/thermostat/thermostat-common/thermostat.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {

server cluster Identify {
Expand Down Expand Up @@ -1618,6 +1617,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster Identify;

Expand Down
6 changes: 5 additions & 1 deletion examples/tv-app/tv-common/tv-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {
binding cluster Binding;
binding cluster GeneralCommissioning;
Expand Down Expand Up @@ -2258,6 +2257,7 @@ endpoint 0 {
ram attribute clusterRevision default = 2;
}
}

endpoint 1 {

server cluster OnOff {
Expand Down Expand Up @@ -2322,6 +2322,7 @@ endpoint 1 {
ram attribute clusterRevision default = 1;
}
}

endpoint 2 {

server cluster OnOff {
Expand Down Expand Up @@ -2363,6 +2364,7 @@ endpoint 2 {
ram attribute clusterRevision default = 1;
}
}

endpoint 3 {

server cluster Descriptor {
Expand Down Expand Up @@ -2407,6 +2409,7 @@ endpoint 3 {
ram attribute clusterRevision default = 1;
}
}

endpoint 4 {

server cluster Descriptor {
Expand Down Expand Up @@ -2435,6 +2438,7 @@ endpoint 4 {
ram attribute clusterRevision default = 1;
}
}

endpoint 5 {

server cluster Descriptor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,6 @@ server cluster WiFiNetworkDiagnostics = 54 {
}



endpoint 0 {

server cluster Descriptor {
Expand Down Expand Up @@ -2425,6 +2424,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {
binding cluster OnOff;
binding cluster LevelControl;
Expand Down Expand Up @@ -2564,6 +2564,7 @@ endpoint 1 {
ram attribute clusterRevision default = 1;
}
}

endpoint 2 {

server cluster OnOff {
Expand Down
3 changes: 2 additions & 1 deletion examples/window-app/common/window-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,6 @@ server cluster WindowCovering = 258 {
}



endpoint 0 {
binding cluster OtaSoftwareUpdateProvider;

Expand Down Expand Up @@ -1671,6 +1670,7 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}
}

endpoint 1 {

server cluster Identify {
Expand Down Expand Up @@ -1710,6 +1710,7 @@ endpoint 1 {
ram attribute clusterRevision default = 5;
}
}

endpoint 2 {

server cluster Descriptor {
Expand Down
3 changes: 1 addition & 2 deletions src/app/zap-templates/templates/app/MatterIDL.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@
}

{{/all_user_clusters}}


{{#user_endpoints}}

endpoint {{endpointId}} {
{{#user_clusters}}
{{#if enabled}}
Expand Down
1 change: 0 additions & 1 deletion src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -4261,7 +4261,6 @@ client cluster WindowCovering = 258 {
}



endpoint 1 {
binding cluster Identify;
binding cluster Groups;
Expand Down

0 comments on commit f9d466f

Please sign in to comment.