File tree 3 files changed +6
-41
lines changed
lock-app/infineon/cyw30739
3 files changed +6
-41
lines changed Original file line number Diff line number Diff line change @@ -190,19 +190,7 @@ Put the CYW30739 in to the recovery mode before running the flash script.
190
190
[Openthread_border_router](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/openthread_border_router_pi.md)
191
191
for more information on how to setup a border router on a raspberryPi.
192
192
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
195
195
196
196
[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
- ` ` `
Original file line number Diff line number Diff line change @@ -32,17 +32,6 @@ cd examples/lighting-app/python
32
32
python lighting.py
33
33
```
34
34
35
- Control the Python lighting matter device:
35
+ Control the Python lighting matter device using the Python controller REPL :
36
36
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 )
Original file line number Diff line number Diff line change @@ -190,19 +190,7 @@ Put the CYW30739 in to the recovery mode before running the flash script.
190
190
[Openthread_border_router](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/openthread_border_router_pi.md)
191
191
for more information on how to setup a border router on a raspberryPi.
192
192
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
195
195
196
196
[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
- ` ` `
You can’t perform that action at this time.
0 commit comments