完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我有一个带有 ESP32-S2 的新项目板,它运行良好。我可以对其进行编程,它通过 SPI 连接到 LCD 一切都很好,但是当我运行 wifiMulti 时,它报告 SSID 但由于原因 2 AUTH_TIMEOUT 继续断开连接。
我在 Saola 开发板上运行了相同的代码并且它起作用了。所以我期待芯片中的某些东西有所不同。可能与 menuconfig 设置不同有关。 我还怀疑我的天线没有优化,但 SSID 扫描显示 Saola 模块之间只有大约 -2dB 的差异。 我正在使用 VS 代码和 PlatformIO。我也有 ESP-IDF 运行是 VS 代码但不熟悉。 边际天线性能会是造成这种情况的原因吗?这是调试输出。 代码:全选 16:27:25.127 > [ 13350][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: amusementconnect 16:27:25.127 > [ 13351][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: ACIoT 16:27:25.127 > [ 13354][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: Amusement Connect -Spectrum 2G 16:27:25.127 > [ 13371][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 0 - WIFI_READY 16:27:25.197 > [ 13435][V][WiFiGeneric.cpp:283] _arduino_event_cb(): STA Started 16:27:25.197 > [ 13435][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 2 - STA_START 16:27:30.337 > [ 18555][V][WiFiGeneric.cpp:317] _arduino_event_cb(): SCAN Done: ID: 128, Status: 0, Results: 27 16:27:30.337 > [ 18556][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 1 - SCAN_DONE 16:27:30.337 > [ 18561][I][WiFiMulti.cpp:114] run(): [WIFI] scan done 16:27:30.337 > [ 18565][I][WiFiMulti.cpp:119] run(): [WIFI] 27 networks found 16:27:30.337 > [ 18571][D][WiFiMulti.cpp:151] run(): 0: [8][B8:27:EB:E3:D6:9B] ACtest (-49) * 16:27:30.337 > [ 18579][D][WiFiMulti.cpp:149] run(): ---> 1: [11][02:EC:DA:F4:6F:D5] ACIoT (-49) * 16:27:30.337 > [ 18586][D][WiFiMulti.cpp:151] run(): 2: [1][44:D9:E7:B1:66:16] Lohr Guest (-50) * 16:27:30.394 > [ 18594][D][WiFiMulti.cpp:149] run(): ---> 3: [11][FC:EC:DA:F4:6F:D5] amusementconnect (-50) * 16:27:30.394 > [ 18603][D][WiFiMulti.cpp:151] run(): 4: [1][46:D9:E7:B1:66:16] Lohr Cave & KC Secure (-51) * 16:27:30.394 > [ 18612][D][WiFiMulti.cpp:149] run(): ---> 5: [6][90:1A:CA:5F:FE:B0] Amusement Connect -Spectrum 2G (-51) * 16:27:30.394 > [ 18621][D][WiFiMulti.cpp:151] run(): 6: [11][98:1E:19:21:BE:7E] MySpectrumWiFi78-2G (-51) * 16:27:30.394 > [ 18630][D][WiFiMulti.cpp:149] run(): ---> 7: [6][FC:EC:DA:F4:6B:36] amusementconnect (-53) * 16:27:30.438 > [ 18639][D][WiFiMulti.cpp:149] run(): ---> 8: [6][02:EC:DA:F4:6B:36] ACIoT (-55) * 16:27:30.438 > [ 18646][D][WiFiMulti.cpp:149] run(): ---> 9: [1][02:EC:DA:F4:6B:74] amusementconnect (-56) * 16:27:30.438 > [ 18655][D][WiFiMulti.cpp:151] run(): 10: [1][EC:8C:A2:49:9A:63] Recover.Me-099A60 (-57) * 16:27:30.438 > [ 18663][D][WiFiMulti.cpp:149] run(): ---> 11: [6][02:EC:DA:32:F6:67] ACIoT (-59) * 16:27:30.438 > [ 18671][D][WiFiMulti.cpp:151] run(): 12: [1][20:58:69:14:67:58] Spectrum (-62) * 16:27:30.482 > [ 18679][D][WiFiMulti.cpp:151] run(): 13: [1][20:58:69:54:67:58] Spectrum Mobile (-62) * 16:27:30.482 > [ 18687][D][WiFiMulti.cpp:151] run(): 14: [1][20:58:69:94:67:58] Spectrum Free Trial (-62) 16:27:30.482 > [ 18696][D][WiFiMulti.cpp:149] run(): ---> 15: [6][FC:EC:DA:32:F6:67] amusementconnect (-62) * 16:27:30.482 > [ 18704][D][WiFiMulti.cpp:151] run(): 16: [11][54:2B:57:04:4C:99] NVR542b57044c99 (-65) * 16:27:30.482 > [ 18713][D][WiFiMulti.cpp:151] run(): 17: [11][38:4C:90:9C:6D:E0] DG1670AE2 (-69) * 16:27:30.482 > [ 18721][D][WiFiMulti.cpp:151] run(): 18: [11][C2:B5:D7:3E:BD:1C] DIRECT-1c-HP M130f LaserJet (-71) * 16:27:30.527 > [ 18730][D][WiFiMulti.cpp:151] run(): 19: [2][00:17:C5:86:1F:D7] LohrDist (-73) * 16:27:30.527 > [ 18738][D][WiFiMulti.cpp:151] run(): 20: [1][90:1A:CA:73:E9:10] DG1670A12 (-79) * 16:27:30.527 > [ 18746][D][WiFiMulti.cpp:151] run(): 21: [11][78:71:9C:92:F5:20] ThePhantom (-79) * 16:27:30.527 > [ 18754][D][WiFiMulti.cpp:151] run(): 22: [6][34:8F:27:51:EE:98] Spectrum Mobile (-82) * 16:27:30.527 > [ 18762][D][WiFiMulti.cpp:151] run(): 23: [6][34:8F:27:91:EE:98] Spectrum Free Trial (-82) 16:27:30.564 > [ 18771][D][WiFiMulti.cpp:151] run(): 24: [6][34:8F:27:11:EE:98] Spectrum (-82) * 16:27:30.564 > [ 18779][D][WiFiMulti.cpp:151] run(): 25: [1][E8:ED:05:77:D5:A0] TOG (-85) * 16:27:30.564 > [ 18786][D][WiFiMulti.cpp:151] run(): 26: [1][10:0C:6B:65:AA:C5] NETGEAR_EXT (-87) 16:27:30.564 > [ 18794][I][WiFiMulti.cpp:160] run(): [WIFI] Connecting BSSID: 02:EC:DA:F4:6F:D5 SSID: ACIoT Channel: 11 (-49) 16:27:30.576 > [ 18816][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:32.727 > [ 20948][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:32.727 > [ 20949][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:32.727 > [ 20956][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:32.727 > [ 20963][D][WiFiGeneric.cpp:889] _eventCallback(): WiFi Reconnect Running 16:27:32.731 > [ 20981][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:33.878 > [ 22098][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:33.879 > [ 22099][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:33.879 > [ 22105][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:33.879 > [ 22112][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:33.890 > [ 22131][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:34.993 > [ 23223][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:34.993 > [ 23224][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:34.993 > [ 23231][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:34.993 > [ 23237][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:35.061 > [ 23302][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:35.592 > [ 23850][E][WiFiMulti.cpp:187] run(): [WIFI] Connecting Failed (6). 16:27:36.128 > [ 24349][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:36.128 > [ 24350][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:36.128 > [ 24357][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:36.128 > [ 24364][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:36.142 > [ 24383][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:37.243 > [ 25476][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:37.243 > [ 25477][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:37.243 > [ 25484][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:37.243 > [ 25491][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:37.318 > [ 25561][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:38.370 > [ 26601][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:38.370 > [ 26602][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:38.370 > [ 26609][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:38.370 > [ 26616][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:38.385 > [ 26635][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:39.505 > [ 27727][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:39.507 > [ 27728][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:39.507 > [ 27735][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:39.507 > [ 27741][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:39.606 > [ 27857][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:40.735 > [ 28955][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:40.735 > [ 28956][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:40.735 > [ 28963][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:40.735 > [ 28969][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:40.747 > [ 28989][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:41.860 > [ 30081][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:41.860 > [ 30082][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:41.860 > [ 30089][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:41.860 > [ 30095][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:41.873 > [ 30114][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:42.985 > [ 31207][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:42.985 > [ 31208][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:42.985 > [ 31214][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:42.985 > [ 31221][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:43.047 > [ 31290][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:44.106 > [ 32333][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:44.106 > [ 32333][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:44.106 > [ 32340][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:44.106 > [ 32347][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:44.124 > [ 32366][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:45.235 > [ 33458][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:45.235 > [ 33459][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:45.235 > [ 33466][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE 16:27:45.235 > [ 33472][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running 16:27:45.297 > [ 33540][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 16:27:46.360 > [ 34584][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ACIoT, BSSID: 02:ec:da:f4:6f:d5, Reason: 2 16:27:46.360 > [ 34585][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED 16:27:46.360 > [ 34592][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 2 - AUTH_EXPIRE |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
733 浏览 1 评论
552浏览 6评论
461浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
445浏览 5评论
446浏览 4评论
417浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 00:52 , Processed in 0.888670 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号