Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed May 23, 2024
1 parent 7ecb131 commit 9d175ca
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/guides/python_chip_controller_building.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,6 @@ device commissioning procedure to configure the device with a Wi-Fi interface.
devCtrl.SetWiFiCredentials('TESTSSID', 'P455W4RD')
```

### `CommissionIP(<ip address>: str, <setup pin code>: int, <nodeid>: int)`

Commission a device using IP address directly.

The Node ID will be used by controller to distinguish multiple devices. This
does not match the spec and will be removed later. The nodeid will not be
persisted by controller / device.

### `ConnectBLE(<discriminator>: int, <setup pin code>: int, <nodeid>: int)`

Do key exchange and establish a secure session between controller and device
Expand Down Expand Up @@ -401,15 +393,15 @@ MoveWithOnOff(

### `ReadAttribute(<nodeid>: int, [(<endpoint id>: int, Clusters.<cluster>.Attributes.<attribute>)])`

Read the value of ZCL attribute. For example:
Read the value of an attribute. For example:

```python
await devCtrl.ReadAttribute(1234, [(0, Clusters.BasicInformation.Attributes.VendorName)])
```

### `WriteAttribute(<nodeid>: int, [(<endpointid>: int, Clusters.<cluster>.Attributes.<attribute>(value=<attribute value>))])`

Write the value to a ZCL attribute. For example:
Write a value to an attribute. For example:

```python
await devCtrl.WriteAttribute(1234, [(1, Clusters.UnitTesting.Attributes.Int8u(value=1))])
Expand Down

0 comments on commit 9d175ca

Please sign in to comment.