diff --git a/how-to/chip-tool-commission-and-control.rst b/how-to/chip-tool-commission-and-control.rst index c4ece670..9f768e0e 100644 --- a/how-to/chip-tool-commission-and-control.rst +++ b/how-to/chip-tool-commission-and-control.rst @@ -73,7 +73,7 @@ Commission .. code:: shell - sudo chip-tool pairing onnetwork 110 20202021 + chip-tool pairing onnetwork 110 20202021 where: @@ -116,7 +116,7 @@ Commission .. code:: shell - sudo chip-tool pairing ble-thread 110 hex:0e08...f7f8 20202021 3840 + chip-tool pairing ble-thread 110 hex:0e08...f7f8 20202021 3840 where: @@ -134,7 +134,7 @@ Toggle: .. code:: shell - sudo chip-tool onoff toggle 110 1 + chip-tool onoff toggle 110 1 where: diff --git a/how-to/matter-and-thread-on-ubuntu.md b/how-to/matter-and-thread-on-ubuntu.md index dc762184..19fce1b7 100644 --- a/how-to/matter-and-thread-on-ubuntu.md +++ b/how-to/matter-and-thread-on-ubuntu.md @@ -130,7 +130,7 @@ sudo openthread-border-router.ot-ctl dataset active -x Now, pair the Thread device over BLE: ```bash -sudo chip-tool pairing ble-thread 110 hex: 20202021 3840 +chip-tool pairing ble-thread 110 hex: 20202021 3840 ``` where: - `110` is the assigned node ID for the app. @@ -147,13 +147,13 @@ If it didn't work, it may be because it has taken too long to reach this step an There are a few ways to control the device. The `toggle` command is stateless and the simplest: ```bash -sudo chip-tool onoff toggle 110 1 +chip-tool onoff toggle 110 1 ``` To turn on and off: ```bash -sudo chip-tool onoff on 110 1 -sudo chip-tool onoff off 110 1 +chip-tool onoff on 110 1 +chip-tool onoff off 110 1 ``` diff --git a/tutorial/pi-gpio-commander.md b/tutorial/pi-gpio-commander.md index 832ede73..b160009e 100644 --- a/tutorial/pi-gpio-commander.md +++ b/tutorial/pi-gpio-commander.md @@ -227,7 +227,7 @@ Assuming the Pi and PC are connected to the same network, we should be able to c To pair: ```bash -sudo chip-tool pairing onnetwork 110 20202021 +chip-tool pairing onnetwork 110 20202021 ``` where: - `110` is the node id being assigned to this device @@ -241,7 +241,7 @@ we should be able to discover the Border Router via DNS-SD. Pair the Thread device over Bluetooth LE ```bash -sudo chip-tool pairing ble-thread 110 hex: 20202021 3840 +chip-tool pairing ble-thread 110 hex: 20202021 3840 ``` where: - `110` is the assigned node ID for the app. @@ -260,7 +260,7 @@ If this doesn't work, it may be because it has taken too long to reach this step ## Control There are a few ways to control the device. The `toggle` command is stateless and simplest. ``` -sudo chip-tool onoff toggle 110 1 +chip-tool onoff toggle 110 1 ```