我在使用mqtt在接受处理后发布消息时,mqtt接受消息不定时的出现接受发布有延时的情况、mqtt断开重连,有时会出现wifi:bcn_
timout,ap_probe_send_start,WiFi也会有断开的情况,这是wifi断开时的logCode:
Select all
I (710643) wifi:bcn_timout,ap_probe_send_startW (715733) TRANSPORT_BASE: Poll timeout or error, errno=Connection already in progress, fd=54, timeout_ms=10000E (715733) MQTT_CLIENT: Writing didn't complete in specified timeout: errno=119I (715733) USER_MQTT: MQTT_EVENT_ERRORI (715743) USER_MQTT: Last errno string (Success)E (715743) MQTT_CLIENT: Error to resend dataI (715753) USER_MQTT: MQTT_EVENT_DISCONNECTEDE (715753) MQTT_CLIENT: Client has startedW (725783) TRANSPORT_BASE: Poll timeout or error, errno=Connection already in progress, fd=-1, timeout_ms=10000E (725783) MQTT_CLIENT: Writing didn't complete in specified timeout: errno=119I (725783) USER_MQTT: MQTT_EVENT_ERRORI (725793) USER_MQTT: Last errno string (Success)E (725793) MQTT_CLIENT: Error sending pingE (725803) MQTT_CLIENT: Can't send ping, disconnectedI (725803) USER_MQTT: MQTT_EVENT_DISCONNECTEDE (725813) MQTT_CLIENT: Client has startedI (727373) wifi:bcn_timout,ap_probe_send_startI (735823) USER_MQTT: Other event id:7I (736893) wifi:bcn_timout,ap_probe_send_startI (739393) wifi:ap_probe_send over, resett wifi status to disassocI (739393) wifi:state: run -> init (c800)I (739393) wifi:pm stop, total sleep time: 16178413 us / 735831852 usW (739393) wifi:idxI (739403) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1E (739413) TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54I (739413) wifi station: retry to connect to the APE (739413) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=119I (739433) USER_MQTT: MQTT_EVENT_ERRORE (739433) USER_MQTT: Last error captured as transport's socket errno: 0x71I (739443) USER_MQTT: Last errno string (Software caused connection abort)E (739453) MQTT_CLIENT: esp_mqtt_connect: mqtt_message_receive() returned -1E (739453) MQTT_CLIENT: MQTT connect failedfree heap size: 187676 bytesI (739463) USER_MQTT: MQTT_EVENT_DISCONNECTEDE (739473) MQTT_CLIENT: Client has startedI (740073) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1I (740073) wifi:state: init -> auth (b0)I (740093) wifi:state: auth -> assoc (0)I (740133) wifi:state: assoc -> run (10)I (740283) wifi:connected with ICkey-GC-Tmp, aid = 1, channel 6, BW20, bssid = f0:5c:19:84:d2:82I (740283) wifi:security: WPA2-PSK, phy: bgn, rssi: -79I (740383) wifi:pm start, type: 1I (740383) wifi:AP's beacon interval = 102400 us, DTIM period = 1W (740453) wifi:idx:0 (ifx:0, f0:5c:19:84:d2:82), tid:0, ssn:2, winSize:64W (740703) wifi:idx:1 (ifx:0, f0:5c:19:84:d2:82), tid:7, ssn:0, winSize:64I (741693) esp_netif_handlers: sta ip: 10.8.85.154, mask: 255.255.255.0, gw: 10.8.85.254I (741693) wifi station: got ip:10.8.85.154I (749483) USER_MQTT: Other event id:7I (749633) USER_MQTT: MQTT_EVENT_CONNECTEDI (749633) USER_MQTT: sent subscribe successful, msg_id=65052I (749673) USER_MQTT: MQTT_EVENT_SUBSCRIBED, msg_id=12091I (749683) USER_MQTT: sent publish successful, msg_id=3348I (749703) USER_MQTT: MQTT_EVENT_SUBSCRIBED, msg_id=65052I (749703) USER_MQTT: sent publish successful, msg_id=522I (749733) USER_MQTT: MQTT_EVENT_PUBLISHED, msg_id=3348I (749753) USER_MQTT: MQTT_EVENT_PUBLISHED, msg_id=522
请问这是什么问题导致的呢