Skip to content

Commit

Permalink
[python] Introduce GetClusterInfoById (#8749)
Browse files Browse the repository at this point in the history
* [python] Introduce GetClusterInfoById

* Run Codegen
  • Loading branch information
erjiaqing authored Aug 5, 2021
1 parent 7f21452 commit d2d11f4
Show file tree
Hide file tree
Showing 5 changed files with 2,856 additions and 1,498 deletions.
3 changes: 3 additions & 0 deletions src/controller/python/chip/ChipDeviceCtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ def GetFabricId(self):
else:
raise self._ChipStack.ErrorToException(res)

def GetClusterHandler(self):
return self._Cluster

def ZCLSend(self, cluster, command, nodeid, endpoint, groupid, args, blocking=False):
device = c_void_p(None)
# We should really use pychip_GetConnectedDeviceByNodeId and do the
Expand Down
Loading

0 comments on commit d2d11f4

Please sign in to comment.