diff --git a/examples/all-clusters-app/ameba/README.md b/examples/all-clusters-app/ameba/README.md index 214fec4186eddf..ee57479ba79628 100644 --- a/examples/all-clusters-app/ameba/README.md +++ b/examples/all-clusters-app/ameba/README.md @@ -89,7 +89,6 @@ to be On or Off. $ ./chip-tool onoff on 1 $ ./chip-tool onoff off 1 - ## Running RPC Console - Connect a USB-TTL adapter as shown below @@ -99,7 +98,6 @@ to be On or Off. A18 RX GND GND - * Build the [chip-rpc console](https://github.com/project-chip/connectedhomeip/tree/master/examples/common/pigweed/rpc_console) @@ -110,20 +108,16 @@ to be On or Off. $ pip3 install out/debug/chip_rpc_console_wheels/*.whl - - Launch the chip-rpc console after resetting Ameba board $ chip-console --device /dev/tty -b 115200 - * Get and Set lighting directly using the RPC console python rpcs.chip.rpc.Lighting.Get() rpcs.chip.rpc.Lighting.Set(on=True, level=128, color=protos.chip.rpc.LightingColor(hue=5, saturation=5)) - - ## Running Matter Shell - Matter Shell is enabled whenever RPC is disabled. @@ -135,7 +129,6 @@ to be On or Off. - Open the USB-TTL serial port and type `help` to view the available commands - ## Binding and Controlling a Lighting Device - This example shows how to bind a Switch Device to a Lighting Device and @@ -148,13 +141,11 @@ to be On or Off. $ ./chip-tool pairing ble-wifi 1 20202021 3840 $ ./chip-tool pairing ble-wifi 2 20202021 3840 - -- After successful commissioning, configure the ACL in the lighting device to +* After successful commissioning, configure the ACL in the lighting device to allow access from switch device and chip-tool. $ ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1], "targets": null }]' 2 0 - - Bind the lighting device to the switch device. $ ./chip-tool binding write binding '[{"fabricIndex": 1, "node":2, "endpoint":1, "cluster":6}]' 1 1 diff --git a/examples/light-switch-app/ameba/README.md b/examples/light-switch-app/ameba/README.md index 579ce3c27d9e26..5415051c9daa64 100644 --- a/examples/light-switch-app/ameba/README.md +++ b/examples/light-switch-app/ameba/README.md @@ -88,7 +88,6 @@ to be On or Off. $ ./chip-tool onoff on 1 $ ./chip-tool onoff off 1 - ## Running RPC Console - Connect a USB-TTL adapter as shown below @@ -98,7 +97,6 @@ to be On or Off. A18 RX GND GND - * Build the [chip-rpc console](https://github.com/project-chip/connectedhomeip/tree/master/examples/common/pigweed/rpc_console) @@ -109,20 +107,16 @@ to be On or Off. $ pip3 install out/debug/chip_rpc_console_wheels/*.whl - - Launch the chip-rpc console after resetting Ameba board $ chip-console --device /dev/tty -b 115200 - * Get and Set lighting directly using the RPC console python rpcs.chip.rpc.Lighting.Get() rpcs.chip.rpc.Lighting.Set(on=True, level=128, color=protos.chip.rpc.LightingColor(hue=5, saturation=5)) - - ## Running Matter Shell - Matter Shell is enabled whenever RPC is disabled. @@ -134,7 +128,6 @@ to be On or Off. - Open the USB-TTL serial port and type `help` to view the available commands - ## Binding and Controlling a Lighting Device - This example shows how to bind a Switch Device to a Lighting Device and @@ -147,13 +140,11 @@ to be On or Off. $ ./chip-tool pairing ble-wifi 1 20202021 3840 $ ./chip-tool pairing ble-wifi 2 20202021 3840 - -- After successful commissioning, configure the ACL in the lighting device to +* After successful commissioning, configure the ACL in the lighting device to allow access from switch device and chip-tool. $ ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1], "targets": null }]' 2 0 - - Bind the lighting device to the switch device. $ ./chip-tool binding write binding '[{"fabricIndex": 1, "node":2, "endpoint":1, "cluster":6}]' 1 1