Skip to content

Commit 7cca7f0

Browse files
committed
Remove common chip-device-ctrl example
Remove the outdated chip-device-ctrl example and refer to the Python controller REPL documentation.
1 parent deb4f1e commit 7cca7f0

File tree

3 files changed

+6
-41
lines changed

3 files changed

+6
-41
lines changed

examples/lighting-app/infineon/cyw30739/README.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -190,19 +190,7 @@ Put the CYW30739 in to the recovery mode before running the flash script.
190190
[Openthread_border_router](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/openthread_border_router_pi.md)
191191
for more information on how to setup a border router on a raspberryPi.
192192

193-
- You can provision and control the Chip device using the python controller,
194-
Chip tool standalone, Android or iOS app
193+
- You can provision and control the device using the Python controller REPL,
194+
chip-tool standalone, Android or iOS app
195195

196196
[Python Controller](https://github.com/project-chip/connectedhomeip/blob/master/src/controller/python/README.md)
197-
198-
Here is an example with the Python controller:
199-
200-
```bash
201-
$ chip-device-ctrl
202-
chip-device-ctrl > connect -ble 3840 20202021 1234
203-
chip-device-ctrl > zcl NetworkCommissioning AddThreadNetwork 1234 0 0 operationalDataset=hex:0e080000000000000000000300000b35060004001fffe00208dead00beef00cafe0708fddead00beef000005108e11d8ea8ffaa875713699f59e8807e0030a4f70656e5468726561640102c2980410edc641eb63b100b87e90a9980959befc0c0402a0fff8 breadcrumb=0 timeoutMs=1000
204-
chip-device-ctrl > zcl NetworkCommissioning EnableNetwork 1234 0 0 networkID=hex:dead00beef00cafe breadcrumb=0 timeoutMs=1000
205-
chip-device-ctrl > close-ble
206-
chip-device-ctrl > resolve 1234
207-
chip-device-ctrl > zcl OnOff Toggle 1234 1 0
208-
```

examples/lighting-app/python/README.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,6 @@ cd examples/lighting-app/python
3232
python lighting.py
3333
```
3434

35-
Control the Python lighting matter device:
35+
Control the Python lighting matter device using the Python controller REPL:
3636

37-
```shell
38-
source ./out/python_env/bin/activate
39-
40-
chip-device-ctrl
41-
42-
chip-device-ctrl > connect -ble 3840 20202021 12344321
43-
chip-device-ctrl > zcl NetworkCommissioning AddOrUpdateWiFiNetwork 12344321 0 0 ssid=str:YOUR_SSID credentials=str:YOUR_PASSWORD breadcrumb=0
44-
chip-device-ctrl > zcl NetworkCommissioning ConnectNetwork 12344321 0 0 networkID=str:YOUR_SSID breadcrumb=0
45-
chip-device-ctrl > close-ble
46-
chip-device-ctrl > resolve 5544332211 1 (pass appropriate fabric ID and node ID, you can get this from get-fabricid)
47-
chip-device-ctrl > zcl OnOff Toggle 12344321 1 0
48-
```
37+
[Python Controller](https://github.com/project-chip/connectedhomeip/blob/master/src/controller/python/README.md)

examples/lock-app/infineon/cyw30739/README.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -190,19 +190,7 @@ Put the CYW30739 in to the recovery mode before running the flash script.
190190
[Openthread_border_router](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/openthread_border_router_pi.md)
191191
for more information on how to setup a border router on a raspberryPi.
192192

193-
- You can provision and control the Chip device using the python controller,
194-
Chip tool standalone, Android or iOS app
193+
- You can provision and control the device using the Python controller REPL,
194+
chip-tool standalone, Android or iOS app
195195

196196
[Python Controller](https://github.com/project-chip/connectedhomeip/blob/master/src/controller/python/README.md)
197-
198-
Here is an example with the Python controller:
199-
200-
```bash
201-
$ chip-device-ctrl
202-
chip-device-ctrl > connect -ble 3840 20202021 1234
203-
chip-device-ctrl > zcl NetworkCommissioning AddThreadNetwork 1234 0 0 operationalDataset=hex:0e080000000000000000000300000b35060004001fffe00208dead00beef00cafe0708fddead00beef000005108e11d8ea8ffaa875713699f59e8807e0030a4f70656e5468726561640102c2980410edc641eb63b100b87e90a9980959befc0c0402a0fff8 breadcrumb=0 timeoutMs=1000
204-
chip-device-ctrl > zcl NetworkCommissioning EnableNetwork 1234 0 0 networkID=hex:dead00beef00cafe breadcrumb=0 timeoutMs=1000
205-
chip-device-ctrl > close-ble
206-
chip-device-ctrl > resolve 1234
207-
chip-device-ctrl > zcl OnOff Toggle 1234 1 0
208-
```

0 commit comments

Comments
 (0)