Skip to content

Network Recovery Feature ESP32 Example #38554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Se-JimYao
Copy link

@Se-JimYao Se-JimYao commented Apr 24, 2025

This is the example to implement the device Network Recovery feature defined in Matter 1.5.
This example only support ESP32-C6 over Wi-Fi .

This example demonstrates the Matter Lighting application on ESP platforms.
Please setup ESP-IDF and CHIP Environment and refer building and commissioning guides to get started.

Usage

How to build: (First time, should run ./scripts/tools/zap_regen_all.py)

  1. cd examples/lighting-app/esp32/
  2. idf.py set-targe esp32c6 build

How to run:

  1. Flash the image to ESP32-C6
  2. Commission the ESP32-C6 by chip-tool ( built it by this link. Linux chip-tool network recovery feature example #38421)
    ./chip-tool pairing ble-wifi node-id ssid password setup-pin-code discriminator
  3. After the ESP32-C6 commsion to the WiFi network, power off the WiFi router. Then the ESP32-C6 will satrt to advertise the networ recovery information by BLE in 10 seconds later.
  4. About how to recovery the network, please read the guide in Linux chip-tool network recovery feature example #38421.

Testing

Referent link: #38421

Base on ESP32C6 lighting-app WiFi example.
Don't forget to Don't forget to run ./scriptors/tools/zap_regen_all.py script before compiling it.
@Se-JimYao Se-JimYao requested a review from a team as a code owner April 24, 2025 03:21
@CLAassistant
Copy link

CLAassistant commented Apr 24, 2025

CLA assistant check
All committers have signed the CLA.

@mergify mergify bot removed the conflict label May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants