-
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
Decouple InitDataModelHandler from libCHIP #36725
base: master
Are you sure you want to change the base?
Conversation
PR #36725: Size comparison from 38ad07d to 2ed8dfb Full report (64 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 38ad07d to 96b12a6 Full report (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 6063e23 to 4565faf Full report (51 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 6063e23 to 982676b Full report (19 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
|
PR #36725: Size comparison from c2739ca to 5385f19 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from c2739ca to 5a8af59 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 41a9dea to d27a5e1 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
This reverts commit 5a8af59.
PR #36725: Size comparison from 41a9dea to bb22e12 Full report (54 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 41a9dea to b735528 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 41a9dea to ca96081 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36725: Size comparison from 41a9dea to 0b32b5b Full report (69 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 #36725: Size comparison from 41a9dea to 266a107 Full report (3 builds for cc32xx, stm32)
|
PR #36725: Size comparison from 41a9dea to f382d72 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Decouple Server.cpp from the Ember-specific concept of InitDataModelHandler, the logic should be transitioned to the startup of CodegenDataModelHandler. This approach would ensure that Server.cpp remains generic, adhering to Matter's modular architecture.
Step 1: Refactor InitDataModelHandler
Move the InitDataModelHandler logic into CodegenDataModelHandler implementation, ensuring it is self-contained and called during the application's data model initialization.
Step 2: Modify Server::Init
Update the Server::Init method to call CodegenDataModelHandler::Init instead of InitDataModelHandler.
Fixes #36660