You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move ::WriteAttribute validation inside Interaction Model Write Handling (project-chip#37322)
* Move write validity inside the write handler rather than requesting the datamodel provider to perform the checks
* Restyle
* A bit of code cleanup and reuse, to minimize flash impact
* Restyle
* Drop the mPreviousSuccessPath, making objects smaller and saving yet another small amount of flash
* Cleanup some includes
* Restyle
* Remove obsolete tests from codgen, as we do not do more validation now
* Test write interaction passes
* Test write passes
* Slight clarity of code update
* Fix comment
* Manual check for last written saves 16 bytes of flash on QPG.
* Status success is 2 bytes smaller in code generation than CHIP_NO_ERROR
* Not using endpoint finder saves flash
* Clean up code. We now save flash
* More flash savings by reusing the server cluster finder
* Update src/app/data-model-provider/MetadataLookup.cpp
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Update src/app/data-model-provider/MetadataLookup.h
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Update src/app/data-model-provider/Provider.h
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Update src/app/data-model-provider/MetadataLookup.h
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Updated comment
* Hoist "writing" log up in processing, to preserve similar functionality
* Code clarity updates
* Fix includes and update the code AGAIN because it does seem we use more flash
* Fix unsupported write on global attributes
* Fix includes
* Update src/app/WriteHandler.cpp
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Post merge cleanup
* Fix merge error
---------
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
0 commit comments