-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Mode Select Cluster #10752
Add Mode Select Cluster #10752
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should probably be some tests being added here, no? As in a YAML that exercises this cluster in the all-clusters-app.
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml
Outdated
Show resolved
Hide resolved
43edcab
to
1191a17
Compare
Size increase report for "nrfconnect-example-build" from 685e556
Full report output
|
Size increase report for "esp32-example-build" from 685e556
Full report output
|
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
PR #10752: Size comparison from 685e556 to da07da1 Increases above 1.0% from 685e556 to da07da1:
20 builds (for efr32, k32w, linux, p6, qpg, telink)
3 builds (for mbed)
12 builds (for esp32, nrfconnect)
|
1191a17
to
144f541
Compare
src/app/clusters/mode-select-server/heap-based-supported-modes-manager.h
Outdated
Show resolved
Hide resolved
/rebase |
/rebase |
e0302c5
to
dadfecf
Compare
/rebase |
e6ba4ca
to
16ff354
Compare
/rebase |
Changes to be committed: modified: examples/chip-tool/templates/tests.js new file: src/app/tests/suites/TestModeSelectCluster.yaml new file: src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml modified: src/app/zap-templates/zcl/zcl.json modified: src/app/zap_cluster_list.py modified: src/darwin/Framework/CHIP/templates/tests.js
c2e003d
to
f90440e
Compare
project-chip#10752 added a generated line based on a template that project-chip#10942 had removed.
project-chip#10752 added a generated line based on a template that project-chip#10942 had removed.
*Problem
Implementation for Mode Select Cluster is missing.
Speicification for the Mode Select Cluster can be found at
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/ModeSelect.adoc
*Change overview
Add the the implementation for the mode select cluster's server.
Add SupportedOptionsManager to help initializing the supported options
and retriving the options.
Changes the all-cluster-all and chip-tool's zap files to include the
mode select cluster.
Problem
Add the implementation for Mode Select Cluster. The specification for
Mode Select Cluster can be found at https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/ModeSelect.adoc
Change overview
Testing
How was this tested? (at least one bullet point required)
Manually tested with chip-tool built on MacOs. Tested by issuing the read command and the "change-to-mode" command, and verified that all the attributes can be read, and "change-to-mode" correctly changes the "current-mode" attribute.
./scripts/test/test_suites.sh
passed on a iOS machine.