Skip to content
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

BR not auto connects to wifi if network is lost. (TZ-1426) #114

Open
3 tasks done
donoo opened this issue Dec 28, 2024 · 2 comments
Open
3 tasks done

BR not auto connects to wifi if network is lost. (TZ-1426) #114

donoo opened this issue Dec 28, 2024 · 2 comments

Comments

@donoo
Copy link

donoo commented Dec 28, 2024

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

when wifi is lost due to some reason. Thread Border router does not come online. Need to manually restart to connect it back to wifi network.

Actual behavior (suspected bug)

It should automatically connect to wifi when network is again available.

Error logs or terminal output

No response

Steps to reproduce the behavior

  1. Start the Thread Broder router.
  2. Check if it is available in WIFI network in your WIFI router.
  3. After that turn off the wifi router.
  4. Wait for 5-10 minutes
  5. Turn on the wifi router again.
  6. Check for the Thread Border router in the network.

Project release version

openthread-esp32/9d7f2d69f5-005c5cefc; esp32h2; 2024-12-22 15:13:57 UTC

System architecture

other (details in Additional context)

Operating system

Windows

Operating system version

Windows 11

Shell

PowerShell

Additional context

I have used following document to build the border router : https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/index.html

I m using single board mentioned here

@github-actions github-actions bot changed the title BR not auto connects to wifi if network is lost. BR not auto connects to wifi if network is lost. (TZ-1426) Dec 28, 2024
@chshu
Copy link
Collaborator

chshu commented Dec 31, 2024

@donoo Please refer to the logic here: example_handler_on_wifi_disconnect, and add a similar code in your application.

We will enhance the br example to support the wifi reconnection.

@donoo
Copy link
Author

donoo commented Dec 31, 2024

@chshu Thanks for you reply. If possible, can you specify which file I need to update?

I m newbee in esp32 stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants