完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
版本: esp32 idf v4.4
ssid和密码都是正确的,大部分情况下能够连接上wifi,但有时连接不上,失败reason,有时是 14,有时是 25, 有人遇到过没有? 把所有日志全打开后的打印如下: E (34011) ESP32: Failed to connect to:qinglan1 ,reason:14,retry to connect to the AP:2. I (34019) ESP32: connect to the AP fail D (34125) wifi:rsn valid: gcipher=1 ucipher=3 akm=5 D (34125) wifi:find the 7c:da:c3:13:dc:25 in blacklist. D (34225) wifi:rsn valid: gcipher=1 ucipher=3 akm=5 D (34226) wifi:find the 7c:da:c3:13:dc:25 in blacklist. D (34251) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (34251) wifi:perform scan: ss_state=0x9, chan<1,0>, dur<0,120> V (34252) wifi:change: chan<1,0>, dur<0,240> V (34255) wifi:ht20 freq=2412, chan=1 V (34259) wifi:enter start op, arg=0x3f800b79 V (34262) wifi:scan operation: state=0x3, chan<1,0>, arg=0x3f800b79, status=0 V (34269) wifi:scan specific ssid=qinglan1 V (34273) wifi:start max timer D (34516) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (34517) wifi:perform scan: ss_state=0x9, chan<2,0>, dur<0,120> V (34517) wifi:change: chan<2,0>, dur<0,240> V (34520) wifi:ht20 freq=2417, chan=2 V (34524) wifi:enter start op, arg=0x3f800b79 V (34527) wifi:scan operation: state=0x3, chan<2,0>, arg=0x3f800b79, status=0 V (34534) wifi:scan specific ssid=qinglan1 V (34539) wifi:start max timer D (34781) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (34782) wifi:perform scan: ss_state=0x9, chan<3,0>, dur<0,120> V (34782) wifi:change: chan<3,0>, dur<0,240> V (34785) wifi:ht20 freq=2422, chan=3 V (34789) wifi:enter start op, arg=0x3f800b79 V (34793) wifi:scan operation: state=0x3, chan<3,0>, arg=0x3f800b79, status=0 V (34800) wifi:scan specific ssid=qinglan1 V (34804) wifi:start max timer D (35046) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (35047) wifi:perform scan: ss_state=0x9, chan<4,0>, dur<0,120> V (35047) wifi:change: chan<4,0>, dur<0,240> V (35050) wifi:ht20 freq=2427, chan=4 V (35054) wifi:enter start op, arg=0x3f800b79 V (35058) wifi:scan operation: state=0x3, chan<4,0>, arg=0x3f800b79, status=0 V (35065) wifi:scan specific ssid=qinglan1 V (35069) wifi:start max timer D (35311) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (35312) wifi:perform scan: ss_state=0x9, chan<5,0>, dur<0,120> V (35313) wifi:change: chan<5,0>, dur<0,240> V (35315) wifi:ht20 freq=2432, chan=5 V (35319) wifi:enter start op, arg=0x3f800b79 V (35323) wifi:scan operation: state=0x3, chan<5,0>, arg=0x3f800b79, status=0 V (35330) wifi:scan specific ssid=qinglan1 V (35334) wifi:start max timer D (35576) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (35577) wifi:perform scan: ss_state=0x9, chan<6,0>, dur<0,120> V (35578) wifi:change: chan<6,0>, dur<0,240> V (35581) wifi:ht20 freq=2437, chan=6 V (35584) wifi:enter start op, arg=0x3f800b79 V (35588) wifi:scan operation: state=0x3, chan<6,0>, arg=0x3f800b79, status=0 V (35595) wifi:scan specific ssid=qinglan1 V (35599) wifi:start max timer D (35842) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (35843) wifi:perform scan: ss_state=0x9, chan<7,0>, dur<0,120> V (35843) wifi:change: chan<7,0>, dur<0,240> V (35846) wifi:ht20 freq=2442, chan=7 V (35850) wifi:enter start op, arg=0x3f800b79 V (35854) wifi:scan operation: state=0x3, chan<7,0>, arg=0x3f800b79, status=0 V (35861) wifi:scan specific ssid=qinglan1 V (35865) wifi:start max timer D (36107) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (36108) wifi:perform scan: ss_state=0x9, chan<9,0>, dur<0,120> V (36109) wifi:change: chan<9,0>, dur<0,240> V (36111) wifi:ht20 freq=2452, chan=9 V (36115) wifi:enter start op, arg=0x3f800b79 V (36119) wifi:scan operation: state=0x3, chan<9,0>, arg=0x3f800b79, status=0 V (36126) wifi:scan specific ssid=qinglan1 V (36130) wifi:start max timer D (36372) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (36373) wifi:perform scan: ss_state=0x9, chan<10,0>, dur<0,120> V (36374) wifi:change: chan<10,0>, dur<0,240> V (36377) wifi:ht20 freq=2457, chan=10 V (36381) wifi:enter start op, arg=0x3f800b79 V (36384) wifi:scan operation: state=0x3, chan<10,0>, arg=0x3f800b79, status=0 V (36391) wifi:scan specific ssid=qinglan1 V (36396) wifi:start max timer E (36636) ESP32: Failed connect to because wifi not connected. E (36636) ESP32: [ 2.3 ] Connect to bserver failed. D (36638) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (36642) wifi:perform scan: ss_state=0x9, chan<11,0>, dur<0,120> V (36648) wifi:change: chan<11,0>, dur<0,240> V (36652) wifi:ht20 freq=2462, chan=11 V (36656) wifi:enter start op, arg=0x3f800b79 V (36659) wifi:scan operation: state=0x3, chan<11,0>, arg=0x3f800b79, status=0 V (36666) wifi:scan specific ssid=qinglan1 V (36671) wifi:start max timer D (36913) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (36914) wifi:perform scan: ss_state=0x9, chan<12,0>, dur<360,360> V (36915) wifi:change: chan<12,0>, dur<0,240> V (36918) wifi:ht20 freq=2467, chan=12 V (36922) wifi:enter start op, arg=0x3f800b79 V (36925) wifi:scan operation: state=0x3, chan<12,0>, arg=0x3f800b79, status=0 V (36932) wifi:passive scan, listen only V (36936) wifi:start max timer D (37179) wifi:scan end: arg=0x0, status=0, ss_state=0x3 D (37179) wifi:perform scan: ss_state=0x9, chan<13,0>, dur<360,360> V (37180) wifi:change: chan<13,0>, dur<0,240> V (37183) wifi:ht20 freq=2472, chan=13 V (37187) wifi:enter start op, arg=0x3f800b79 V (37191) wifi:scan operation: state=0x3, chan<13,0>, arg=0x3f800b79, status=0 V (37198) wifi:passive scan, listen only V (37201) wifi:start max timer D (37444) wifi:scan end: arg=0x0, status=0, ss_state=0x3 V (37445) wifi:back home chan=<8,0>, current chan=<13,0> V (37445) wifi:ht20 freq=2447, chan=8 D (37447) wifi:filter: set rx policy=4 D (37450) wifi:first chan=1 V (37453) wifi:scan_done: arg=0x0, status=0, cur_time=32931286, scan_id=128, scan state=0 V (37461) wifi:call scan_done cb, arg=0x0 D (37464) wifi:handoff_cb: status=0 V (37468) wifi:there is only one ap in blacklist now, release it! D (37473) wifi:clear blacklist D (37476) wifi:clear rc list D (37479) wifi:clear blacklist D (37481) wifi:send disconnect event D (37485) wifi:connect status 1 -> 3 D (37488) wifi:disable connect timer D (37491) wifi:clear scan ap list D (37495) event: running post WIFI_EVENT:5 with handler 0x4017b8e4 and context 0x3ffd3b84 on loop 0x3ffb77c8 D (37504) esp_netif_handlers: esp_netif action disconnected with netif0x3ffd39c4 from event_id=5 D (37513) esp_netif_lwip: check: remote, if=0x3ffd39c4 fn=0x40179344 D (37520) esp_netif_lwip: esp_netif_down_api esp_netif:0x3ffd39c4 D (37526) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffd39c4 D (37533) esp_netif_lwip: if0x3ffd39c4 start ip lost tmr: no need start because netif=0x3ffd3a24 interval=120 ip=0 D (37543) esp_netif_lwip: check: local, if=0x3ffd39c4 fn=0x40179d8c D (37550) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffd39c4 V (37557) esp_netif_objects: esp_netif_next_unsafe 0x0 V (37562) esp_netif_lwip: esp_netif_is_netif_up esp_netif:0x3ffd39c4 V (37568) esp_netif_objects: esp_netif_next_unsafe 0x3ffd39c4 D (37574) esp_netif_lwip: call api in lwip: ret=0x0, give sem D (37580) event: running post WIFI_EVENT:5 with handler 0x400dd010 and context 0x3ffd3bfc on loop 0x3ffb77c8 I (38591) ESP32: Waiting registered. E (38591) ESP32: [ 2.3 ] Connect to voip server[:80] failed. E (39637) ESP32: Failed connect to because wifi not connected. E (39637) ESP32: [ 2.3 ] Connect to bserver failed. V (42590) esp_adapter: thread sem get: sem=0x3ffe0e98 D (42590) wifi:Start wifi disconnect D (42590) wifi:connect status 3 -> 0 D (42590) wifi:filter: set rx policy=8 V (42594) esp_adapter: thread sem get: sem=0x3ffe0e98 D (42599) wifi:Start wifi connect D (42602) wifi:connect status 0 -> 0 D (42605) wifi:connect chan=0 D (42608) wifi:first chan=8 D (42611) wifi:connect status 0 -> 1 D (42614) wifi:filter: set rx policy=3 D (42617) wifi:clear scan ap list D (42620) wifi:start scan: type=0x50f, priority=2, cb=0x401b6300, arg=0x0, ss_state=0x1, time=38099051, index=0 V (42630) wifi:inter_channel_timeout: arg=0x0, ss_state=0x1 D (42636) wifi:perform scan: ss_state=0x9, chan<8,0>, dur<0,120> E (42638) ESP32: Failed connect to because wifi not connected. V (42642) wifi:E (42648) ESP32: [ 2.3 ] Connect to bserver failed. change: chan<8,0>, dur<0,240> V (42657) wifi:enter start op, arg=0x3f800b79 V (42661) wifi:scan operation: state=0x3, chan<8,0>, arg=0x3f800b79, status=0 V (42668) wifi:scan specific ssid=qinglan1 V (42673) wifi:start max timer D (42677) wifi:rsn valid: gcipher=1 ucipher=3 akm=5 D (42681) wpa: rsn_ie - hexdump(len=26): D (42684) wpa: 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f D (42690) wpa: ac 02 01 00 00 0f ac 02 0c 00 D (42694) wifi:profile match: ss_state=0x7 V (42698) wifi:update scan history ssid=qinglan1, channel=8 D (42704) wifi:scan end: arg=0x0, status=0, ss_state=0x7 D (42708) wifi:find first mathched ssid, scan done V (42713) wifi:back home chan=<8,0>, current chan=<8,0> D (42718) wifi:filter: set rx policy=4 D (42721) wifi:first chan=1 V (42724) wifi:scan_done: arg=0x0, status=0, cur_time=38202360, scan_id=128, scan state=0 V (42732) wifi:call scan_done cb, arg=0x0 D (42735) wifi:handoff_cb: status=0 V (42739) wifi:best bss has set. D (42741) wifi:ap found, mac=7c:da:c3:13:dc:25 V (42746) wifi:bssid=7c:da:c3:13:dc:25, LR=0 D (42750) wifi:new_bss=0x3f8015a8, cur_bss=0x0, new_chan=<8,0>, cur_chan=8 D (42756) wifi:filter: set rx policy=5 I (42760) wifi<8,0>, old:<8,0>, ap:<255,255>, sta:<8,0>, prof:1 D (42766) wifi:connect_op: status=0, auth=5, cipher=3 D (42771) wifi:auth mode is not none D (42774) wifi:connect_bss: auth=1, reconnect=0 I (42778) wifi:state: init -> auth (b0) D (42783) wifi:start 1s AUTH timer D (42785) wifi:clear scan ap list E (42790) ESP32: Failed to connect to:qinglan1 ,reason:205,retry to connect to the AP:3. I (42797) ESP32: connect to the AP fail D (42797) wifi:recv auth: seq=2, status=0 I (42805) wifi:state: auth -> assoc (0) D (42810) wifi:restart connect 1s timer for assoc D (42858) wifi:recv assoc: type=0x10 D (42859) wifi:filter: set rx policy=6 I (42860) wifi:state: assoc -> run (10) D (42860) wifi:start 10s connect timer for 4 way handshake D (42894) wifi:recv deauth, reason=0xe I (42895) wifi:state: run -> init (ec0) D (42895) wifi:recv deauth/disassoc, stop beacon/connect timer D (42896) wifi:connect status 1 -> 2 D (42899) wifi:add bssid 7c:da:c3:13:dc:25 to blacklist, cnt=0 D (42905) wifi:stop CSA timer D (42908) wifi:remove 7c:da:c3:13:dc:25 from rc list I (42912) wifi<8,0>, old:<8,0>, ap:<255,255>, sta:<8,0>, prof:1 D (42918) wifi:filter: set rx policy=8 D (42922) wifi:sta leave D (42924) wifi:stop CSA timer D (42927) wifi:remove 00:00:00:00:00:00 from rc list I (42932) wifi<8,0>, old:<8,0>, ap:<255,255>, sta:<8,0>, prof:1 D (42938) wifi:filter: set rx policy=8 D (42941) wifi:Send disconnect event, reason=14, AP number=0 D (42947) event: running post WIFI_EVENT:5 with handler 0x4017b8e4 and context 0x3ffd3b84 on loop 0x3ffb77c8 D (42956) esp_netif_handlers: esp_netif action disconnected with netif0x3ffd39c4 from event_id=5 D (42965) esp_netif_lwip: check: remote, if=0x3ffd39c4 fn=0x40179344 D (42972) esp_netif_lwip: esp_netif_down_api esp_netif:0x3ffd39c4 D (42978) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffd39c4 D (42985) esp_netif_lwip: if0x3ffd39c4 start ip lost tmr: no need start because netif=0x3ffd3a24 interval=120 ip=0 D (42995) esp_netif_lwip: check: local, if=0x3ffd39c4 fn=0x40179d8c D (43002) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffd39c4 V (43009) esp_netif_objects: esp_netif_next_unsafe 0x0 V (43014) esp_netif_lwip: esp_netif_is_netif_up esp_netif:0x3ffd39c4 V (43020) esp_netif_objects: esp_netif_next_unsafe 0x3ffd39c4 D (43026) esp_netif_lwip: call api in lwip: ret=0x0, give sem D (43032) event: running post WIFI_EVENT:5 with handler 0x400dd010 and context 0x3ffd3bfc on loop 0x3ffb77c8 I (43591) ESP32: Waiting registered. E (43591) ESP32: [ 2.3 ] Connect to voip server[:80] failed. E (45655) ESP32: Failed connect to because wifi not connected. E (45655) ESP32: [ 2.3 ] Connect to bserver failed. V (48042) esp_adapter: thread sem get: sem=0x3ffe0e98 D (48042) wifi:Start wifi disconnect D (48042) wifi:connect status 2 -> 0 D (48042) wifi:filter: set rx policy=8 V (48046) esp_adapter: thread sem get: sem=0x3ffe0e98 D (48051) wifi:Start wifi connect D (48054) wifi:connect status 0 -> 0 D (48057) wifi:connect chan=0 D (48060) wifi:first chan=8 D (48063) wifi:connect status 0 -> 1 D (48066) wifi:filter: set rx policy=3 D (48069) wifi:clear scan ap list D (48072) wifi:start scan: type=0x50f, priority=2, cb=0x401b6300, arg=0x0, ss_state=0x1, time=43551049, index=0 V (48082) wifi:inter_channel_timeout: arg=0x0, ss_state=0x1 D (48088) wifi:perform scan: ss_state=0x9, chan<8,0>, dur<0,120> V (48094) wifi:change: chan<8,0>, dur<0,240> V (48097) wifi:enter start op, arg=0x3f800b79 V (48101) wifi:scan operation: state=0x3, chan<8,0>, arg=0x3f800b79, status=0 V (48108) wifi:scan specific ssid=qinglan1 V (48113) wifi:start max timer E (48115) ESP32: Failed to connect to:qinglan1 ,reason:14,retry to connect to the AP:4. D (48122) wifi:I (48124) ESP32: connect to the AP fail |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
321 浏览 0 评论
1178 浏览 1 评论
586浏览 6评论
483浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
468浏览 5评论
467浏览 4评论
442浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-27 03:37 , Processed in 0.962096 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号