-
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 target endpoint to CommissioningWindowOpener
#34425
Add target endpoint to CommissioningWindowOpener
#34425
Conversation
CommissioningWindowOpener
PR #34425: Size comparison from 19a774a to 60dad48 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
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.
Previous #33799 is pending on whether to add the Endpoint parameter to the OpenCommissioningWindow API. This parameter is currently already part of the CommissioningWindowPasscodeParams. I believe we should avoid hardcoding it to kRootEndpointId in the SDK, particularly since the application can now set this Endpoint parameter via the public API.
Co-authored-by: Yufeng Wang <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
badd7f4
to
477bf13
Compare
PR #34425: Size comparison from c4a25e6 to 477bf13 Full report (65 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, mbed, nxp, qpg, stm32, telink, tizen)
|
* Add target endpoint id to commissioning window opener params Co-authored-by: Yufeng Wang <[email protected]> * Set endpoint id in fabric-admin app * Set root endpoint id by default in commissioning window params Co-authored-by: Boris Zbarsky <[email protected]> --------- Co-authored-by: Yufeng Wang <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
* Add target endpoint id to commissioning window opener params Co-authored-by: Yufeng Wang <[email protected]> * Set endpoint id in fabric-admin app * Set root endpoint id by default in commissioning window params Co-authored-by: Boris Zbarsky <[email protected]> --------- Co-authored-by: Yufeng Wang <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
Revives #33799 after the params API refactor.
I'm not sure if this PR needs to be strictly blocked on the issue raised in https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/9354 since this is just adding the endpoint parameter for
CommissioningWindowOpener
to target when sending out ACC (AdminCommissioningCluster
) commands instead of always sending to root as being done currently, but I'll follow the conversation there to ensure if this needs to be gated by specific feature bits.The behavior of restricting endpoint ID to root in server handling of ACC command has been intentionally left out since that's definitely not spec-compliant as discussed here. Please correct my understanding if that's not the case or if there needs to be a different requirement for it.
For context: The 2-way Eco-to-Eco Fabric sync has a use case of a fabric-admin containing fabric-bridge as one of its connected devices. The requirement is to be able to direct the OCW command at a specific endpoint of the bridge [
(bridgeNodeId, bridgedEndpointId)
] which will then be expected to be translated and forwarded to the relevant bridged node [(bridgedNodeId, rootOrAccEndpointId)
] by the bridge.Fixes #33798