connectedhomeip
connectedhomeip copied to clipboard
[app] Implement deferred attribute persister
Fast-changing attributes with NVM storage, such as CurrentLevel of the LevelControl cluster, may result in rapid flash wearout using the default attribute persister which stores all values immediately. Implement a helper adapter class for the attribute persistence interface to defer writes of selected attributes.
Use the new class in nRF Connect lighting-app for verification. Fixes #23222.