-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/door lock cluster phase 1 (#12989)
* Added support for all server-side attributes except those marked as 'nice-to-have'. 1. ZAP generator extended to generate pre attribute change callback for Door Lock cluster. 2. Door Lock cluster defines list of attribute change callbacks to be implemented by user and proxies pre attribute change request to the user app. * Added pre-change trap for all unhandled cluster attributes * Update autogenerated files * Fixed restyled-io notes * Fixed CR note (invalid usage of language attribute string) * Fixed CR notes * Fixed return values for pre-attribute change callbacks to make Darwin tests pass. * 1. Fixed bug in DoorLockServer methods: wrong type was used for processing attribute setters' retcode. 2. Implemented empty DoorLockServer methods to set appropriate attributes in the same manner. * Fixed build issue on Infineon: substituted printf type modificators on portable ones from inttypes.h (to prevent printf size mismatch on different platforms) * Fixed arguments in DoorState and LockState accessors * Used chip::to_underlying instead of static_cast for Door Lock enum parameters * Fix CR note: added size sanity checks for all cluster attributes
- Loading branch information
Showing
5 changed files
with
347 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.