Skip to content

Commit

Permalink
TM cluster camelcase attributes (#10974)
Browse files Browse the repository at this point in the history
* camel case attributes

* update TM tests

* zap generated files
  • Loading branch information
janusheide authored and pull[bot] committed Jan 12, 2022
1 parent 16f2ad2 commit 4150484
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_TM_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ config:
tests:
- label: "read the mandatory attribute: MeasuredValue"
command: "readAttribute"
attribute: "measured value"
attribute: "MeasuredValue"
response:
constraints:
type: int16

- label: "read the mandatory attribute: MinMeasuredValue"
disabled: true
command: "readAttribute"
attribute: "min measured value"
attribute: "MinMeasuredValue"
response:
constraints:
type: int16
Expand All @@ -39,7 +39,7 @@ tests:
- label: "read the mandatory attribute: MaxMeasuredValue"
disabled: true
command: "readAttribute"
attribute: "max measured value"
attribute: "MaxMeasuredValue"
response:
constraints:
type: int16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ limitations under the License.
<define>TEMP_MEASUREMENT_CLUSTER</define>
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<attribute side="server" code="0x0000" define="TEMP_MEASURED_VALUE" type="INT16S" min="0x954d" max="0x7fff" writable="false" optional="false">measured value</attribute>
<attribute side="server" code="0x0001" define="TEMP_MIN_MEASURED_VALUE" type="INT16S" min="0x954d" max="0x7ffe" writable="false" default="0x8000" optional="false">min measured value</attribute>
<attribute side="server" code="0x0002" define="TEMP_MAX_MEASURED_VALUE" type="INT16S" min="0x954e" max="0x7fff" writable="false" default="0x8000" optional="false">max measured value</attribute>
<attribute side="server" code="0x0003" define="TEMP_TOLERANCE" type="INT16U" min="0" max="0x8000" writable="false" default="0" optional="true">tolerance</attribute>
<attribute side="server" code="0x0000" define="TEMP_MEASURED_VALUE" type="INT16S" min="0x954d" max="0x7fff" writable="false" optional="false">MeasuredValue</attribute>
<attribute side="server" code="0x0001" define="TEMP_MIN_MEASURED_VALUE" type="INT16S" min="0x954d" max="0x7ffe" writable="false" default="0x8000" optional="false">MinMeasuredValue</attribute>
<attribute side="server" code="0x0002" define="TEMP_MAX_MEASURED_VALUE" type="INT16S" min="0x954e" max="0x7fff" writable="false" default="0x8000" optional="false">MaxMeasuredValue</attribute>
<attribute side="server" code="0x0003" define="TEMP_TOLERANCE" type="INT16U" min="0" max="0x8000" writable="false" default="0" optional="true">Tolerance</attribute>
</cluster>
</configurator>

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

6 changes: 3 additions & 3 deletions zzz_generated/pump-app/zap-generated/endpoint_config.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.

6 changes: 3 additions & 3 deletions zzz_generated/thermostat/zap-generated/endpoint_config.h

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

6 changes: 3 additions & 3 deletions zzz_generated/tv-casting-app/zap-generated/endpoint_config.h

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

0 comments on commit 4150484

Please sign in to comment.