-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-Deduce Invoke Response Type (#10933)
* Auto-Deduce Invoke Response Type This modifies the existing ChipDeviceController.SendCommand() Python API to automatically deduce the cluster object type associated with the response and automatically return that to the caller after successfully deserializing the TLV into that object. This avoids callers having to explicitly pass in an object, making it that much easier to use. Tests: Tested using cluster_objects.py, as well as manually sending/receiving commands at the Python shell. * Fix test case * Restyle Co-authored-by: Song Guo <[email protected]>
- Loading branch information
Showing
8 changed files
with
2,341 additions
and
1,909 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
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.