8000 [Closures] Refactor StepTarget and Step Commands MainState Validation check. · Issue #39832 · project-chip/connectedhomeip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Closures] Refactor StepTarget and Step Commands MainState Validation check. #39832
Open
@sabollim-silabs

Description

@sabollim-silabs

StepTarget and Step commands of closure dimension cluster have check for valid state based on MainState Enum, but as Mainstate Enum is from closure control cluster, we should create an interface between them and perform this check in Server code.

As of now the check is happening in application.
If this command is received while the MainState attribute in [ref_ClosureControlCluster] is currently either in Disengaged, Protected, Calibrating, SetupRequired or Error, then a status code of INVALID_IN_STATE shall be returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0