Page 1 of 1

[wifi lost ip] IDF-4.3 Beta1, Wifi disconnected during the transmission

Posted: Fri Mar 12, 2021 2:23 am
by JonathanChen
Hi
In our code ,we enable BLE and WIFI(lwip tcp).
The codes works with esp-idf Release 3.3.4. And it works well;
This days we try to modify the code with esp-idf Release 4.3-beta1.

And we found some strange logs during the tcp transmission;

Code: Select all

09:43:16.994 I (67329600) wifi:bcn_timout,ap_probe_send_start
09:43:19.525 I (67332101) wifi:ap_probe_send over, resett wifi status to disassoc
I (67332102) wifi:state: run -> init (c800)
I (67332103) wifi:pm stop, total sleep time: 15813687183 us / 18464540877 us

W (67332108) wifi:<ba-del>idx
I (67332111) wifi:new:<6,0>, old:<6,1>, ap:<255,255>, sta:<6,1>, prof:1
[0;32mI (67332122) ECG_WIFI: WIFI_EVENT_STA_DISCONNECTED=1[0m
And from the router log:

Code: Select all

69	1st day 17:57:04	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
68	1st day 17:57:04	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
67	1st day 17:57:04	DHCP	INFO	DHCPS:Send OFFER with ip 192.168.2.100
66	1st day 17:57:04	DHCP	INFO	DHCPS:Recv DISCOVER from FC:F5:C4:22:0E:98
65	1st day 17:45:32	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
64	1st day 17:45:32	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
63	1st day 16:46:41	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
62	1st day 16:46:41	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
61	1st day 15:48:31	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
60	1st day 15:48:31	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
59	1st day 14:50:24	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
58	1st day 14:50:24	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
57	1st day 13:52:17	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
56	1st day 13:52:17	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
55	1st day 12:54:08	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
54	1st day 12:54:08	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
53	1st day 12:54:08	DHCP	INFO	DHCPS:Send OFFER with ip 192.168.2.100
52	1st day 12:54:08	DHCP	INFO	DHCPS:Recv DISCOVER from FC:F5:C4:22:0E:98
51	1st day 12:49:46	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
50	1st day 12:49:46	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
49	1st day 11:50:33	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
48	1st day 11:50:33	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
47	1st day 10:51:20	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
46	1st day 10:51:20	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
45	1st day 09:52:09	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
44	1st day 09:52:09	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
43	1st day 08:52:56	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
42	1st day 08:52:56	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
41	1st day 07:53:43	DHCP	INFO	DHCPS:Send ACK to 192.168.2.100
40	1st day 07:53:43	DHCP	INFO	DHCPS:Recv REQUEST from FC:F5:C4:22:0E:98
192.168.2.100 is esp32's ip,the time of router logs is power on time.