-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Ember] Fix endpoint bitmask initialization. Fix EmberAfEndpointOptions bitmap values. #38168
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
Conversation
…ns bitmap values.
|
PR #38168: Size comparison from 97ffa50 to 5187fdf Full report (53 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from 97ffa50 to 472db3d Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from 1560a87 to 6324275 Full report (70 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from a44fbcf to ecdbdeb Full report (46 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, nrfconnect, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from a44fbcf to 4378f05 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from 3cc17d5 to ed82fd2 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from 3cc17d5 to 0ba624b Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
|
PR #38168: Size comparison from 542888b to be1a5e4 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
|
PR #38168: Size comparison from 542888b to 374cd22 Full report (3 builds for cc32xx, stm32)
|
|
PR #38168: Size comparison from c6da026 to ccdba6d Full report (74 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…ns bitmap values. (project-chip#38168) * [Ember] Fix endpoint bitmask initialization. Fix EmberAfEndpointOptions bitmap values. * Remove isTree. Only use isFlat to determine compositon. * + * Fix breaking build. * Fix breaking build. * Restyled by clang-format * apply review suggestion * IsTreeCompositionForEndpoint: Return false for invalid endpoints * BridgedNode is also full-family. Add documentation * Update src/app/util/attribute-storage.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/app/util/attribute-storage.cpp Co-authored-by: Boris Zbarsky <[email protected]> --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
…ns bitmap values. (project-chip#38168) * [Ember] Fix endpoint bitmask initialization. Fix EmberAfEndpointOptions bitmap values. * Remove isTree. Only use isFlat to determine compositon. * + * Fix breaking build. * Fix breaking build. * Restyled by clang-format * apply review suggestion * IsTreeCompositionForEndpoint: Return false for invalid endpoints * BridgedNode is also full-family. Add documentation * Update src/app/util/attribute-storage.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/app/util/attribute-storage.cpp Co-authored-by: Boris Zbarsky <[email protected]> --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
Changes -
0x02(isFlatComposition) is a subset of0x03(isTreeComposition). The fix is to discard0x03and use onlyisFlatCompositionto determine composition - flat (true) or tree (false).Testing
Tested with oven device from PR: #38108
src/python_testing/TC_DeviceBasicComposition.py on oven device.
Testing