-
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
Bring LevelControl cluster and its tests into conformance with the spec and the test spec #21312
Conversation
* rename misspelled parameters: optionMask -> optionsMask, optionOverride->optionsOverride * add missing optional parameters to the command variants `WithOnOnff` The discrepancy with the spec stemmed from the old version of the level control being used, the version included previously appeared to track "zcl6-errata-14-0129-15" as opposed to ZCL9 Fixes project-chip#21294
* rename parameters in YAML test specs to follow spec * `WithOnOff` variants of the commands take the same options as the regular variants of the commands
PR #21312: Size comparison from 661cb82 to fcda326 Increases (22 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
Decreases (6 builds for cc13x2_26x2, linux)
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
PR #21312: Size comparison from 8c18775 to df27236 Increases (19 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, nrfconnect, p6, telink)
Decreases (4 builds for cc13x2_26x2, telink)
Full report (30 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, mbed, nrfconnect, p6, telink)
|
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.
Please make sure an issue is filed to generally align this cluster with the spec (naming, etc), with the "spec" label. There are various spec mismatches in the bits this PR does not touch, but we should do that in a separate PR to avoid scope creep.
Filed #21377 per request to track outstanding LevelControl open issues. |
…ec and the test spec (#21312) * Bring Level Control cluster in line with the spec * rename misspelled parameters: optionMask -> optionsMask, optionOverride->optionsOverride * add missing parameters to the command variants `WithOnOnff` The discrepancy with the spec stemmed from the old version of the level control being used, the version included previously appeared to track "zcl6-errata-14-0129-15" as opposed to ZCL9 Fixes #21294 Co-authored-by: Justin Wood <woody@apple.com>
…ec and the test spec (#21312) (#21379) * Bring Level Control cluster in line with the spec * rename misspelled parameters: optionMask -> optionsMask, optionOverride->optionsOverride * add missing parameters to the command variants `WithOnOnff` The discrepancy with the spec stemmed from the old version of the level control being used, the version included previously appeared to track "zcl6-errata-14-0129-15" as opposed to ZCL9 Fixes #21294 Co-authored-by: Justin Wood <woody@apple.com> Co-authored-by: Robert Szewczyk <szewczyk@google.com>
…ec and the test spec (project-chip#21312) * Bring Level Control cluster in line with the spec * rename misspelled parameters: optionMask -> optionsMask, optionOverride->optionsOverride * add missing parameters to the command variants `WithOnOnff` The discrepancy with the spec stemmed from the old version of the level control being used, the version included previously appeared to track "zcl6-errata-14-0129-15" as opposed to ZCL9 Fixes project-chip#21294 Co-authored-by: Justin Wood <woody@apple.com>
Problem
optionsMask
andoptionsOverride
instead of the mor* e antiquated termsoptionMask
andoptionOverride
(those terms existed in an old version ZCL) in the LevelControl cluster. While the parameter naming has no impact on the functionality of the code or on interop, it does affect the certification testing and associated test plans.optionsMask
andoptionsOverride
parameters in the variants of commands*WithOnOff
Change overview
The meaningful changes are:
general.xml
-- modify the commands definitionlevelcontrol.cpp
-- in*WithOnOff
variants of commands, pass theoptionsMask
andoptionsOverride
rather than fill in defaultsTesting
fix #21294