ESP32自带的station例程为什么会定时自动初始化?

guduzhe
Posts: 10
Joined: Wed Sep 27, 2023 2:32 am

ESP32自带的station例程为什么会定时自动初始化?

Postby guduzhe » Wed Sep 27, 2023 2:37 am

[10:04:16.808]收←◆I (82437128) wifi:state: run -> init (c0)
I (82437128) wifi:pm stop, total sleep time: 117012027 us / 120031277 us

I (82437128) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[0;31mE (82437138) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 54[0m
[0;31mE (82437138) mqtt_client: Poll read error: 119, aborting connection[0m
I (82437148) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[0;32mI (82437148) MQTT_EXAMPLE: MQTT_EVENT_DISCONNECTED[0m
I (82437158) wifi:state: init -> auth (b0)
[0;32mI (82437138) MQTT_EXAMPLE: retry to connect to the AP[0m
[0;32mI (82437168) MQTT_EXAMPLE: connect to the AP fail[0m
I (82437168) wifi:state: auth -> assoc (0)
I (82437188) wifi:state: assoc -> run (10)
I (82437198) wifi:connected with EESP123456, aid = 6, channel 6, BW20, bssid = 4e:1d:96:d8:a5:5e
I (82437208) wifi:security: WPA2-PSK, phy: bgn, rssi: -29
I (82437208) wifi:pm start, type: 1

I (82437228) wifi:AP's beacon interval = 102400 us, DTIM period = 3

这是串口的数据,第一行显示wifi:state: run -> init (c0),是例程自动进入初始化的,而且定时执行一次,请问在哪关闭?

Who is online

Users browsing this forum: No registered users and 91 guests