Skip to content

Commit

Permalink
Align naming in Pressure Measurement cluster XML with the spec. (proj…
Browse files Browse the repository at this point in the history
…ect-chip#24390)

* Align naming in Pressure Measurement cluster XML with the spec.

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored and David Lechner committed Mar 22, 2023
1 parent f1586f2 commit c3ee2c5
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3078,7 +3078,7 @@ server cluster TemperatureMeasurement = 1026 {

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2476,7 +2476,7 @@ server cluster TemperatureMeasurement = 1026 {

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ server cluster UserLabel = 65 {

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
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 @@ -2086,7 +2086,7 @@ server cluster TemperatureMeasurement = 1026 {

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
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 @@ -2063,7 +2063,7 @@ server cluster TemperatureMeasurement = 1026 {

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
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 @@ -1212,7 +1212,7 @@ server cluster TemperatureMeasurement = 1026 {

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ client cluster TemperatureMeasurement = 1026 {

client cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ limitations under the License.

<bitmap name="PressureFeature" type="BITMAP32">
<cluster code="0x0403"/>
<field name="EXT" mask="0x1"/>
<field name="Extended" mask="0x1"/>
</bitmap>
</configurator>
2 changes: 1 addition & 1 deletion src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -3434,7 +3434,7 @@ client cluster TemperatureMeasurement = 1026 {

client cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
kExtended = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
Expand Down
9 changes: 9 additions & 0 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5320,6 +5320,9 @@
- WPAPersonal
- WPA2Personal
- WPA3Personal
PressureMeasurement:
PressureFeature:
- Extended
deprecated:
clusters:
- OtaSoftwareUpdateProvider
Expand Down Expand Up @@ -5428,6 +5431,9 @@
- WpaPersonal
- Wpa2Personal
- Wpa3Personal
PressureMeasurement:
PressureFeature:
- EXT
apis:
- Timed Invoke for server to client commands
- Deprecated global attribute names
Expand Down Expand Up @@ -5603,3 +5609,6 @@
WPAPersonal: WpaPersonal
WPA2Personal: Wpa2Personal
WPA3Personal: Wpa3Personal
PressureMeasurement:
PressureFeature:
Extended: EXT
5 changes: 4 additions & 1 deletion src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

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.

4 changes: 2 additions & 2 deletions zzz_generated/app-common/app-common/zap-generated/enums.h

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

0 comments on commit c3ee2c5

Please sign in to comment.