espressif / esp-thread-br

Espressif Thread Border Router SDK
Apache License 2.0
114 stars 25 forks source link

How do I auto start thread network? (TZ-1081) #89

Closed Danimal4326 closed 2 months ago

Danimal4326 commented 3 months ago

I have CONFIG_OPENTHREAD_BR_AUTO_START enabled and after a reboot, wifi connects automatically, but I still need to run the following commands via cli to start the thread network:

ifconfig up
thread start
Danimal4326 commented 3 months ago

I did some more debugging and it seems example_wifi_sta_do_connect is waiting for a IPV6 address but it never receives one.

zwx1995esp commented 3 months ago

Hi, could you please share the code base you used? Maybe the commit hash and branch namd of idf and the esp-thread-br repo are very useful to understand what happens. Also did you try the recommended version related to our docs?

Danimal4326 commented 3 months ago

I'm using the HEAD of main for esp-thread-br and tag: v5.3 for esp-idf

chshu commented 2 months ago

@Danimal4326 If you still have the issue, could you double check the Wi-Fi SSID and Password are correct? Could you share the whole booting logs?

chshu commented 2 months ago

@Danimal4326 Please reopen if you have any follow up questions.