|
1 | 1 | # Table of Contents
|
2 | 2 |
|
3 |
| -- [chip.ChipDeviceCtrl](#chip.ChipDeviceCtrl) |
4 |
| - - [CommissionableNode](#chip.ChipDeviceCtrl.CommissionableNode) |
5 |
| - - [Commission](#chip.ChipDeviceCtrl.CommissionableNode.Commission) |
6 |
| - - [DeviceProxyWrapper](#chip.ChipDeviceCtrl.DeviceProxyWrapper) |
7 |
| - - [ChipDeviceControllerBase](#chip.ChipDeviceCtrl.ChipDeviceControllerBase) |
8 |
| - - [Shutdown](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.Shutdown) |
9 |
| - - [ShutdownAll](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ShutdownAll) |
10 |
| - - [ExpireSessions](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ExpireSessions) |
11 |
| - - [DiscoverCommissionableNodes](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodes) |
12 |
| - - [DiscoverCommissionableNodesLongDiscriminator](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesLongDiscriminator) |
13 |
| - - [DiscoverCommissionableNodesShortDiscriminator](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesShortDiscriminator) |
14 |
| - - [DiscoverCommissionableNodesVendor](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesVendor) |
15 |
| - - [DiscoverCommissionableNodesDeviceType](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesDeviceType) |
16 |
| - - [DiscoverCommissionableNodesCommissioningEnabled](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesCommissioningEnabled) |
17 |
| - - [PrintDiscoveredDevices](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.PrintDiscoveredDevices) |
18 |
| - - [DiscoverAllCommissioning](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverAllCommissioning) |
19 |
| - - [OpenCommissioningWindow](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.OpenCommissioningWindow) |
20 |
| - - [GetFabricIdInternal](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetFabricIdInternal) |
21 |
| - - [GetNodeIdInternal](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetNodeIdInternal) |
22 |
| - - [GetConnectedDeviceSync](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetConnectedDeviceSync) |
23 |
| - - [ComputeRoundTripTimeout](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ComputeRoundTripTimeout) |
24 |
| - - [GetRemoteSessionParameters](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetRemoteSessionParameters) |
25 |
| - - [TestOnlySendBatchCommands](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.TestOnlySendBatchCommands) |
26 |
| - - [TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke) |
27 |
| - - [SendCommand](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.SendCommand) |
28 |
| - - [SendBatchCommands](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.SendBatchCommands) |
29 |
| - - [SendGroupCommand](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.SendGroupCommand) |
30 |
| - - [WriteAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.WriteAttribute) |
31 |
| - - [WriteGroupAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.WriteGroupAttribute) |
32 |
| - - [Read](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.Read) |
33 |
| - - [ReadAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ReadAttribute) |
34 |
| - - [ReadEvent](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ReadEvent) |
35 |
| - - [ZCLSend](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLSend) |
36 |
| - - [ZCLReadAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLReadAttribute) |
37 |
| - - [ZCLWriteAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLWriteAttribute) |
38 |
| - - [ZCLSubscribeAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLSubscribeAttribute) |
39 |
| - - [InitGroupTestingData](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.InitGroupTestingData) |
40 |
| - - [ChipDeviceController](#chip.ChipDeviceCtrl.ChipDeviceController) |
41 |
| - - [Commission](#chip.ChipDeviceCtrl.ChipDeviceController.Commission) |
42 |
| - - [CommissionThread](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionThread) |
43 |
| - - [CommissionWiFi](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionWiFi) |
44 |
| - - [SetWiFiCredentials](#chip.ChipDeviceCtrl.ChipDeviceController.SetWiFiCredentials) |
45 |
| - - [SetThreadOperationalDataset](#chip.ChipDeviceCtrl.ChipDeviceController.SetThreadOperationalDataset) |
46 |
| - - [ResetCommissioningParameters](#chip.ChipDeviceCtrl.ChipDeviceController.ResetCommissioningParameters) |
47 |
| - - [SetTimeZone](#chip.ChipDeviceCtrl.ChipDeviceController.SetTimeZone) |
48 |
| - - [SetDSTOffset](#chip.ChipDeviceCtrl.ChipDeviceController.SetDSTOffset) |
49 |
| - - [SetDefaultNTP](#chip.ChipDeviceCtrl.ChipDeviceController.SetDefaultNTP) |
50 |
| - - [SetTrustedTimeSource](#chip.ChipDeviceCtrl.ChipDeviceController.SetTrustedTimeSource) |
51 |
| - - [SetCheckMatchingFabric](#chip.ChipDeviceCtrl.ChipDeviceController.SetCheckMatchingFabric) |
52 |
| - - [GetFabricCheckResult](#chip.ChipDeviceCtrl.ChipDeviceController.GetFabricCheckResult) |
53 |
| - - [CommissionOnNetwork](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionOnNetwork) |
54 |
| - - [CommissionWithCode](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionWithCode) |
55 |
| - - [CommissionIP](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionIP) |
56 |
| - - [IssueNOCChain](#chip.ChipDeviceCtrl.ChipDeviceController.IssueNOCChain) |
57 |
| - - [BareChipDeviceController](#chip.ChipDeviceCtrl.BareChipDeviceController) |
58 |
| - - [\_\_init\_\_](#chip.ChipDeviceCtrl.BareChipDeviceController.__init__) |
| 3 | +- [Table of Contents](#table-of-contents) |
| 4 | +- [chip.ChipDeviceCtrl](#chipchipdevicectrl) |
| 5 | + - [CommissionableNode](#commissionablenode) |
| 6 | + - [Commission](#commission) |
| 7 | + - [DeviceProxyWrapper](#deviceproxywrapper) |
| 8 | + - [ChipDeviceControllerBase](#chipdevicecontrollerbase) |
| 9 | + - [Shutdown](#shutdown) |
| 10 | + - [ShutdownAll](#shutdownall) |
| 11 | + - [ExpireSessions](#expiresessions) |
| 12 | + - [DiscoverCommissionableNodes](#discovercommissionablenodes) |
| 13 | + - [DiscoverCommissionableNodesLongDiscriminator](#discovercommissionablenodeslongdiscriminator) |
| 14 | + - [DiscoverCommissionableNodesShortDiscriminator](#discovercommissionablenodesshortdiscriminator) |
| 15 | + - [DiscoverCommissionableNodesVendor](#discovercommissionablenodesvendor) |
| 16 | + - [DiscoverCommissionableNodesDeviceType](#discovercommissionablenodesdevicetype) |
| 17 | + - [DiscoverCommissionableNodesCommissioningEnabled](#discovercommissionablenodescommissioningenabled) |
| 18 | + - [PrintDiscoveredDevices](#printdiscovereddevices) |
| 19 | + - [DiscoverAllCommissioning](#discoverallcommissioning) |
| 20 | + - [OpenCommissioningWindow](#opencommissioningwindow) |
| 21 | + - [GetFabricIdInternal](#getfabricidinternal) |
| 22 | + - [GetNodeIdInternal](#getnodeidinternal) |
| 23 | + - [GetConnectedDeviceSync](#getconnecteddevicesync) |
| 24 | + - [ComputeRoundTripTimeout](#computeroundtriptimeout) |
| 25 | + - [GetRemoteSessionParameters](#getremotesessionparameters) |
| 26 | + - [TestOnlySendBatchCommands](#testonlysendbatchcommands) |
| 27 | + - [TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke](#testonlysendcommandtimedrequestflagwithnotimedinvoke) |
| 28 | + - [SendCommand](#sendcommand) |
| 29 | + - [SendBatchCommands](#sendbatchcommands) |
| 30 | + - [SendGroupCommand](#sendgroupcommand) |
| 31 | + - [WriteAttribute](#writeattribute) |
| 32 | + - [WriteGroupAttribute](#writegroupattribute) |
| 33 | + - [Read](#read) |
| 34 | + - [ReadAttribute](#readattribute) |
| 35 | + - [ReadEvent](#readevent) |
| 36 | + - [ZCLSend](#zclsend) |
| 37 | + - [ZCLReadAttribute](#zclreadattribute) |
| 38 | + - [ZCLWriteAttribute](#zclwriteattribute) |
| 39 | + - [ZCLSubscribeAttribute](#zclsubscribeattribute) |
| 40 | + - [InitGroupTestingData](#initgrouptestingdata) |
| 41 | + - [ChipDeviceController](#chipdevicecontroller) |
| 42 | + - [Commission](#commission-1) |
| 43 | + - [CommissionThread](#commissionthread) |
| 44 | + - [CommissionWiFi](#commissionwifi) |
| 45 | + - [SetWiFiCredentials](#setwificredentials) |
| 46 | + - [SetThreadOperationalDataset](#setthreadoperationaldataset) |
| 47 | + - [ResetCommissioningParameters](#resetcommissioningparameters) |
| 48 | + - [SetTimeZone](#settimezone) |
| 49 | + - [SetDSTOffset](#setdstoffset) |
| 50 | + - [SetDefaultNTP](#setdefaultntp) |
| 51 | + - [SetTrustedTimeSource](#settrustedtimesource) |
| 52 | + - [SetCheckMatchingFabric](#setcheckmatchingfabric) |
| 53 | + - [GetFabricCheckResult](#getfabriccheckresult) |
| 54 | + - [CommissionOnNetwork](#commissiononnetwork) |
| 55 | + - [CommissionWithCode](#commissionwithcode) |
| 56 | + - [CommissionIP](#commissionip) |
| 57 | + - [IssueNOCChain](#issuenocchain) |
| 58 | + - [BareChipDeviceController](#barechipdevicecontroller) |
| 59 | + - [\_\_init\_\_](#__init__) |
59 | 60 |
|
60 | 61 | <a id="chip.ChipDeviceCtrl"></a>
|
61 | 62 |
|
@@ -94,7 +95,7 @@ class DeviceProxyWrapper()
|
94 | 95 |
|
95 | 96 | Encapsulates a pointer to OperationalDeviceProxy on the c++ side that needs to
|
96 | 97 | be freed when DeviceProxyWrapper goes out of scope. There is a potential issue
|
97 |
| -where if this is copied around that a double free will occure, but how this is |
| 98 | +where if this is copied around that a double free will occur, but how this is |
98 | 99 | used today that is not an issue that needs to be accounted for and it will
|
99 | 100 | become very apparent if that happens.
|
100 | 101 |
|
@@ -379,8 +380,8 @@ async def SendCommand(nodeid: int,
|
379 | 380 |
|
380 | 381 | Send a cluster-object encapsulated command to a node and get returned a future
|
381 | 382 | that can be awaited upon to receive the response. If a valid responseType is
|
382 |
| -passed in, that will be used to deserialize the object. If not, the type will be |
383 |
| -automatically deduced from the metadata received over the wire. |
| 383 | +passed in, that will be used to de-serialize the object. If not, the type will |
| 384 | +be automatically deduced from the metadata received over the wire. |
384 | 385 |
|
385 | 386 | timedWriteTimeoutMs: Timeout for a timed invoke request. Omit or set to 'None'
|
386 | 387 | to indicate a non-timed request. interactionTimeoutMs: Overall timeout for the
|
@@ -488,7 +489,7 @@ to the XYZ attribute on the test cluster to endpoint 1
|
488 | 489 |
|
489 | 490 | **Returns**:
|
490 | 491 |
|
491 |
| -- [AttributeStatus] (list - one for each pth) |
| 492 | +- [AttributeStatus] (list - one for each path) |
492 | 493 |
|
493 | 494 | <a id="chip.ChipDeviceCtrl.ChipDeviceControllerBase.WriteGroupAttribute"></a>
|
494 | 495 |
|
@@ -663,15 +664,16 @@ sent.
|
663 | 664 | SubscriptionTransaction. This is used to set a callback function, which is a
|
664 | 665 | callable of type Callable[[TypedAttributePath, SubscriptionTransaction],
|
665 | 666 | None] Get the attribute value from the change path using GetAttribute on the
|
666 |
| - SubscriptionTransasction You can await changes in the main loop using a |
| 667 | + SubscriptionTransaction You can await changes in the main loop using a |
667 | 668 | trigger mechanism from the callback. ex. queue.SimpleQueue
|
668 | 669 |
|
669 |
| -- read request: AsyncReadTransation.ReadResponse.attributes. This is of type |
| 670 | +- read request: AsyncReadTransaction.ReadResponse.attributes. This is of type |
670 | 671 | AttributeCache.attributeCache (Attribute.py), which is a dict mapping
|
671 | 672 | endpoints to a list of Cluster (ClusterObjects.py) classes (dict[int,
|
672 |
| - List[Cluster]]) Access as ret[endpoint_id][<cluster class>][<Attribute |
673 |
| - class>] Ex. To access the OnTime attribute from the OnOff cluster on EP 1 |
674 |
| - ret[1][clusters.onoff][Clusters.OnOff.Attributes.OnTime] |
| 673 | + List[Cluster]]) Access as |
| 674 | + returned_object[endpoint_id][<Cluster class>][<Attribute class>] Ex. To |
| 675 | + access the OnTime attribute from the OnOff cluster on endpoint 1 |
| 676 | + ret[1][Clusters.OnOff][Clusters.OnOff.Attributes.OnTime] |
675 | 677 |
|
676 | 678 | **Raises**:
|
677 | 679 |
|
@@ -940,7 +942,7 @@ Set the DefaultNTP to set during commissioning
|
940 | 942 | def SetTrustedTimeSource(nodeId: int, endpoint: int)
|
941 | 943 | ```
|
942 | 944 |
|
943 |
| -Set the trusetd time source nodeId to set during commissioning. This must be a |
| 945 | +Set the trusted time source nodeId to set during commissioning. This must be a |
944 | 946 | node on the commissioner fabric.
|
945 | 947 |
|
946 | 948 | <a id="chip.ChipDeviceCtrl.ChipDeviceController.SetCheckMatchingFabric"></a>
|
@@ -1052,7 +1054,7 @@ def __init__(operationalKey: p256keypair.P256Keypair,
|
1052 | 1054 | name: str = None)
|
1053 | 1055 | ```
|
1054 | 1056 |
|
1055 |
| -Creates a controller without autocommissioner. |
| 1057 | +Creates a controller without AutoCommissioner. |
1056 | 1058 |
|
1057 | 1059 | The allocated controller uses the noc, icac, rcac and ipk instead of the
|
1058 | 1060 | default, random generated certificates / keys. Which is suitable for creating a
|
|
0 commit comments