Skip to content

Commit

Permalink
fix the CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed Jul 31, 2024
1 parent 68c15fc commit 25b26ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 5 additions & 4 deletions examples/thread-br-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ guides to get started.

---

- [OpenThread Border Router DevKit Board](#openthread-border-router-board)
- [OpenThread Border Router DevKit Board](#openthread-border-router-devkit-board)
- [OpenThread RCP](#openthread-rcp)
- [OpenThread CLI](#openthread-cli)
- [Setup Thread Network](#setup-thread-network)
- [Commissioning Thread End Devices](#commissioning-thread-end-devices)

---

### Thread Border Router Board
### OpenThread Border Router Devkit Board

The ESP Thread border router board provides an integrated module of an ESP32-S3 and an ESP32-H2.

Expand Down Expand Up @@ -63,7 +63,7 @@ Detached
Done
```

### Setup/Join Thread Network
### Setup Thread Network

You can send SetActiveDatasetRequest command to the Thread BR after commissioning it as a
Matter-Over-Wi-Fi device to setup the Thread network or join an existing Thread network.
Expand All @@ -72,11 +72,12 @@ Matter-Over-Wi-Fi device to setup the Thread network or join an existing Thread
./chip-tool pairing ble-wifi 1 <ssid> <password> 20202021 3840
./chip-tool generalcommissioning arm-fail-safe 180 1 1 0
./chip-tool threadborderroutermanagement set-active-dataset-request hex:<dataset-tlvs> 1 1 1
./chip-tool generalcommissioning commissioning-complete 1 0
```

The Thread BR with enable the Thread network interface and start Thread network after it receives
SetActiveDatasetRequest command. And after the Thread BR sets up or join a Thread network, it will
send the success response and disarm the fail safe timer.
send the success response.

### Commissioning Thread End Devices

Expand Down
4 changes: 1 addition & 3 deletions examples/thread-br-app/esp32/create_ota_image.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/usr/bin/env python3

import os
import sys
import argparse
import pathlib
import shutil
import struct

FILETAG_RCP_VERSION = 0
Expand Down Expand Up @@ -38,7 +36,7 @@ def append_flash_args(fout, flash_args_path):
with open(flash_args_path, 'r') as f:
# skip first line
next(f)
partition_info_list = [l.split() for l in f]
partition_info_list = [line.split() for line in f]
for offset, partition_file in partition_info_list:
offset = int(offset, 0)
if partition_file.find('bootloader') >= 0:
Expand Down

0 comments on commit 25b26ee

Please sign in to comment.