Skip to content

Commit c19e215

Browse files
committed
Almost finished
1 parent 9d01de8 commit c19e215

File tree

4 files changed

+63
-4
lines changed

4 files changed

+63
-4
lines changed
817 KB
Loading
834 KB
Loading
261 KB
Loading

content/hardware/03.nano/boards/nano-matter/tutorials/open-thread-border-router/content.md

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,69 @@ idf.py -p /dev/ttyACM0 flash monitor
224224

225225
![Flashing process](assets/esp-flash-2.gif)
226226

227-
### The CHIP Tool: Linux Computer
227+
***Do not run the `idf.py set-target esp32s3` command again to avoid overriding the customized configurations.***
228228

229-
## Testing the OTBR
229+
### CHIP Tool
230230

231-
## Setup
231+
**CHIP Tool** is a command-line tool used for *commissioning*, *controlling*, and *managing* **Matter** devices within a Matter network.
232+
233+
Due to its high demand for storage space and computational power it must be executed on a separate, more powerful device, such as a Unix laptop (macOS or Linux), that is connected to the same Wi-Fi network.
234+
235+
This third device will handle the complex tasks required by CHIP Tool, while the Nano ESP32 acts as the Matter Controller in the network.
236+
237+
#### Configure the CHIP Tool
238+
239+
- On a Linux system, clone the CHIP Tool repository:
240+
241+
```bash
242+
git clone --recurse-submodules https://github.com/project-chip/connectedhomeip.git
243+
```
244+
245+
- Install prerequisites:
246+
247+
Before building, you must install a few OS specific dependencies.
248+
249+
```bash
250+
sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-dev \
251+
libglib2.0-dev libavahi-client-dev ninja-build python3-venv python3-dev \
252+
python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev \
253+
default-jre
254+
```
255+
256+
- Open a command prompt in the `connectedhomeip` directory and run the following command:
257+
258+
```bash
259+
cd connectedhomeip
260+
scripts/examples/gn_build_example.sh examples/chip-tool out/debug
261+
```
262+
263+
![CHIP Tool environment set](assets/out-debug.png)
264+
- To check if the CHIP Tool runs correctly, execute the following command:
265+
266+
```bash
267+
./out/debug/chip-tool
268+
```
269+
As a result, the CHIP Tool starts and prints all available commands.
270+
271+
![Environment test](assets/run-test.png)
272+
273+
## The Use Case: Smart Outlet
274+
275+
This section provides an example of commissioning and communication over Matter between an end-device node and the OTBR.
276+
277+
### Setup
278+
279+
- **OTBR**: Arduino Nano ESP32 + Arduino Nano Matter
280+
- **CHIP Tool**: running on a Linux PC (with Bluetooth capabilities)
281+
- **End-device**: Arduino Nano Matter or other boards compatible with the Silabs Arduino core
282+
283+
![image]()
284+
285+
### End-device Configuration
286+
287+
As the *end-device* we are going to use an Arduino Nano Matter configured as **Smart Outlet**.
288+
289+
- Make sure you have the Silicon Labs boards package installed in the Arduino IDE 2.
290+
291+
![Silicon Labs board package](assets/silabs-pckg.png)
232292

233-
## The Use Case: Smart Outlet

0 commit comments

Comments
 (0)