-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Chef: Add APIs to provide deviceType info on Endpoints. Make chef static temperature levels (temperature control cluster) endpoint agnostic. #38142
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
…on initialization in attribute storage.
PR #38142: Size comparison from 4616f83 to dc03344 Full report (86 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #38142: Size comparison from 4616f83 to e528154 Increases above 0.2%:
Full report (83 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #38142: Size comparison from 0e08ff1 to 2bb9099 Full report (11 builds for cc13x4_26x4, cc32xx, qpg, stm32, tizen)
|
PR #38142: Size comparison from 0e08ff1 to cdb5c3b Full report (42 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, psoc6, qpg, stm32, telink, tizen)
|
PR #38142: Size comparison from 0e08ff1 to c348009 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #38142: Size comparison from 0e08ff1 to dd544d4 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
examples/chef/common/clusters/temperature-control/static-supported-temperature-levels.cpp
Outdated
Show resolved
Hide resolved
PR #38142: Size comparison from 9dafec6 to b204b5e Full report (86 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Relevant code is no longer in this PR.
fast tracking chef-only fixes |
PR #38142: Size comparison from 625d0e7 to 7336521 Full report (86 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #38142: Size comparison from da0c5ad to b0dd140 Full report (86 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
{ | ||
if (EndpointHasDeviceType(ep.id, deviceTypeId)) | ||
{ | ||
endpoints.Append(ep.id); |
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.
Post-merge review because #38364 noticed this:
- we ignore CHIP_ERROR return here
- Append requires a capacity reserve otherwise it does not work
return false; | ||
} | ||
|
||
DataModel::ListBuilder<EndpointId> DeviceTypes::GetAllEndpointsHavingDeviceType(DeviceTypeId deviceTypeId) |
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.
post merge review, also fixed in followup: this should return the data, not a builder.
Summary -
Testing
Tested with oven device from PR: #38108
src/python_testing/TC_DeviceBasicComposition.py on oven device.