Currently we are working on stable esp-idf 4.2 version, "Merge branch 'bugfix/ppp_deinit_failure_v4.2' into 'release/v4.2'" for our project.
As of now we are facing some issue of Wifi disconnect issue after esp_restart(); as normally it used to work fine with the lower version but facing issue after porting with our application with 4.2 release version.
After esp_restart(); our device get reboot but further it won't connect with Wifi, we need to manually reset the device to connect it with Wifi.
For better understanding i have attach the logs after restart which are coming internally from wifi components. Would you please let us know if anything is missing or any changes need to do in menuconfig which can fix this issue.
Debug Logs in which issue observed :
[2021-06-21 13:25:51.099] I (2650039) wifi:state: run -> init (0)
[2021-06-21 13:25:51.099] I (2650039) wifi:pm stop, total sleep time: 2261045237 us / 2646044124 us
[2021-06-21 13:25:51.099]
[2021-06-21 13:25:51.099] I (2650039) wifi<10,0>, old:<10,0>, ap:<255,255>, sta:<10,0>, prof:1
[2021-06-21 13:25:51.099] W (2650039) wifi:hmac tx: stop, discard
[2021-06-21 13:25:51.099] W (2650049) wifi:hmac tx: stop, discard
[2021-06-21 13:25:51.099] I event_manager: 295: SYSTEM_EVENT_STA_DISCONNECTED]
[2021-06-21 13:25:51.099]
Debug logs of Lower version in which device used to get reboot smoothly:
[2021-06-24 19:24:35.702]
[2021-06-24 19:24:45.853] I (4751906) wifi: state: run -> init (0)
[2021-06-24 19:24:45.853] I (4751906) wifi: pm stop, total sleep time: 4302754254 us / 4785137200 us
[2021-06-24 19:24:45.853]
[2021-06-24 19:24:45.853] I (4751906) wifi: n:10 0, o:10 0, ap:255 255, sta:10 0, prof:1
[2021-06-24 19:24:45.853] E middleware_service: 138: Middleware : Connection Lost
[2021-06-24 19:24:45.853]
[2021-06-24 19:24:45.853] I (4751926) wifi: flush txq
[2021-06-24 19:24:45.853] I (4751926) wifi: stop sw txq
[2021-06-24 19:24:45.853] I (4751926) wifi: lmac stop hw txq
[2021-06-24 19:24:45.853] ets Jun 8 2016 00:22:57
[2021-06-24 19:24:45.853]
[2021-06-24 19:24:45.853] rst:0xc (SW_CPU_RESET),boot:0x16 (SPI_FAST_FLASH_BOOT)
[2021-06-24 19:24:45.853] configsip: 0, SPIWP:0xee
[2021-06-24 19:24:45.853] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[2021-06-24 19:24:45.853] mode:DIO, clock div:2
[2021-06-24 19:24:45.853] load:0x3fff0018,len:4
(WIFI) STA get disconnect after esp_restart() is used.
-
- Posts: 6
- Joined: Fri May 08, 2020 7:18 am
Who is online
Users browsing this forum: Google [Bot], kapucin22 and 123 guests