esp32连接不上腾达AC7路由器

duhui75
Posts: 2
Joined: Thu Mar 14, 2019 7:22 am

esp32连接不上腾达AC7路由器

Postby duhui75 » Thu Mar 14, 2019 7:33 am

你好,我测试了20种路由器和esp32的链接,现在发现腾达AC7路由器很难链接上esp32.或者要一到两分钟才可以连接上。3.1.1很难链接。
3.1.3版本的软件基本连接不上。请问这个问题该如何解决。但是其他型号路由器都很快连接上。

duhui75
Posts: 2
Joined: Thu Mar 14, 2019 7:22 am

Re: esp32连接不上腾达AC7路由器

Postby duhui75 » Thu Mar 14, 2019 11:24 am

这个是3.1.1版本测试的结果,使用simple_wifi工程。下面是log

: 0 nvs WiFi data 01 02 00009000 00004000
[0m
[0;32mI (17)
: 1 otadata OTA data 01 00 0000d000 00002000
[0m
[0;32mI (21)
: 2 phy_init RF data 01 01 0000f000 00001000
[0m
[0;32mI (28)
: 3 factory factory app 00 00 00010000 00100000
[0m
[0;32mI (36)
: 4 ota_0 OTA app 00 10 00110000 00100000
[0m
[0;32mI (43)
: 5 ota_1 OTA app 00 11 00210000 00100000
[0m
[0;32mI (51)
: Defaulting to factory image[0m
[0;32mI (233)
: Loaded app from partition at offset 0x10000
[0m
[0;32mI (284) simple wifi: ESP_WIFI_MODE_STA[0m
I (284) wifi: wifi driver task: 3ffc0c28, prio:23, stack:3584, core=0
I (284) wifi: wifi firmware version: b2c9a19
I (284) wifi: config NVS flash: enabled
I (284) wifi: config nano formating: disabled
[0;32mI (294) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (304) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (334) wifi: Init dynamic tx buffer num: 32
I (334) wifi: Init data frame dynamic rx buffer num: 32
I (334) wifi: Init management frame dynamic rx buffer num: 32
I (334) wifi: Init static rx buffer size: 1600
I (344) wifi: Init static rx buffer num: 10
I (344) wifi: Init dynamic rx buffer num: 32
[0;32mI (344) simple wifi:
静态连接
[0m
[0;32mI (524) phy: phy_version: 4000, b6198fa, Sep 3 2018, 15:11:06, 0, 0[0m
I (524) wifi: mode : sta (84:0d:8e:20:b3:40)
[0;32mI (524) simple wifi: wifi_init_sta finished.[0m
[0;32mI (534) simple wifi: connect to ap SSID:Tenda_1C42D0 password:12345678[0m
I (654) wifi: n:2 1, o:1 0, ap:255 255, sta:2 1, prof:1
I (1634) wifi: state: init -> auth (b0)
I (2634) wifi: state: auth -> init (200)
I (2634) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (5164) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (5164) wifi: state: init -> auth (b0)
I (6164) wifi: state: auth -> init (200)
I (6164) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (11104) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (11104) wifi: state: init -> auth (b0)
I (11144) wifi: state: auth -> assoc (0)
I (12144) wifi: state: assoc -> init (400)
I (12144) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (14674) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (14674) wifi: state: init -> auth (b0)
I (15674) wifi: state: auth -> init (200)
I (15674) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (18204) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (18214) wifi: state: init -> auth (b0)
I (18224) wifi: state: auth -> assoc (0)
I (19224) wifi: state: assoc -> init (400)
I (19224) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (21754) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (21754) wifi: state: init -> auth (b0)
I (22754) wifi: state: auth -> init (200)
I (22754) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (25284) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (25294) wifi: state: init -> auth (b0)
I (25294) wifi: state: auth -> assoc (0)
I (25504) wifi: state: assoc -> run (10)
I (31484) wifi: state: run -> init (fc0)
I (31484) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (34024) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (34024) wifi: state: init -> auth (b0)
I (35024) wifi: state: auth -> init (200)
I (35024) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (37554) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (37554) wifi: state: init -> auth (b0)
I (38554) wifi: state: auth -> init (200)
I (38554) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (41084) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (41084) wifi: state: init -> auth (b0)
I (41104) wifi: state: auth -> assoc (0)
I (42104) wifi: state: assoc -> init (400)
I (42104) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (44634) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (44634) wifi: state: init -> auth (b0)
I (45634) wifi: state: auth -> init (200)
I (45634) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (48164) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (48164) wifi: state: init -> auth (b0)
I (48184) wifi: state: auth -> assoc (0)
I (49184) wifi: state: assoc -> init (400)
I (49184) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (51714) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (51714) wifi: state: init -> auth (b0)
I (52714) wifi: state: auth -> init (200)
I (52714) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (55244) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (55254) wifi: state: init -> auth (b0)
I (55254) wifi: state: auth -> assoc (0)
I (56254) wifi: state: assoc -> init (400)
I (56254) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (58784) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (58784) wifi: state: init -> auth (b0)
I (59784) wifi: state: auth -> init (200)
I (59784) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (62314) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (62314) wifi: state: init -> auth (b0)
I (62324) wifi: state: auth -> assoc (0)
I (62504) wifi: state: assoc -> run (10)
I (68504) wifi: state: run -> init (fc0)
I (68504) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (71044) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (71044) wifi: state: init -> auth (b0)
I (72044) wifi: state: auth -> init (200)
I (72044) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (74574) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (74574) wifi: state: init -> auth (b0)
I (74584) wifi: state: auth -> assoc (0)
I (75584) wifi: state: assoc -> init (400)
I (75584) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (78124) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (78124) wifi: state: init -> auth (b0)
I (79124) wifi: state: auth -> init (200)
I (79124) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (81654) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (81654) wifi: state: init -> auth (b0)
I (81674) wifi: state: auth -> assoc (0)
I (81844) wifi: state: assoc -> run (10)
I (87834) wifi: state: run -> init (fc0)
I (87834) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (90364) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (90364) wifi: state: init -> auth (b0)
I (90384) wifi: state: auth -> assoc (0)
I (91384) wifi: state: assoc -> init (400)
I (91384) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (93914) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (93914) wifi: state: init -> auth (b0)
I (94914) wifi: state: auth -> init (200)
I (94914) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (97444) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (97444) wifi: state: init -> auth (b0)
I (98444) wifi: state: auth -> init (200)
I (98444) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (100984) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (100984) wifi: state: init -> auth (b0)
I (101984) wifi: state: auth -> init (200)
I (101984) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (104514) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (104514) wifi: state: init -> auth (b0)
I (105514) wifi: state: auth -> init (200)
I (105514) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (108044) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (108044) wifi: state: init -> auth (b0)
I (108064) wifi: state: auth -> assoc (0)
I (108274) wifi: state: assoc -> run (10)
I (114254) wifi: state: run -> init (fc0)
I (114254) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (116784) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (116784) wifi: state: init -> auth (b0)
I (117784) wifi: state: auth -> init (200)
I (117784) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (120314) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (120324) wifi: state: init -> auth (b0)
I (121324) wifi: state: auth -> init (200)
I (121324) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (123854) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (123854) wifi: state: init -> auth (b0)
I (123864) wifi: state: auth -> assoc (0)
I (124074) wifi: state: assoc -> run (10)
I (130054) wifi: state: run -> init (fc0)
I (130054) wifi: n:2 0, o:2 1, ap:255 255, sta:2 1, prof:1
I (132584) wifi: n:2 1, o:2 0, ap:255 255, sta:2 1, prof:1
I (132584) wifi: state: init -> auth (b0)
I (132594) wifi: state: auth -> assoc (0)
I (132784) wifi: state: assoc -> run (10)
I (132874) wifi: connected with Tenda_1C42D0, channel 2
I (132884) wifi: pm start, type: 1

[0;32mI (132884) event: sta ip: 192.168.173.101, mask: 255.255.255.0, gw: 192.168.173.1[0m
[0;32mI (132884) simple wifi: got ip:192.168.173.101[0m

littlesky
Posts: 51
Joined: Fri Jun 09, 2017 7:49 am

Re: esp32连接不上腾达AC7路由器

Postby littlesky » Mon Mar 18, 2019 7:38 am

duhui75 wrote:
Thu Mar 14, 2019 7:33 am
你好,我测试了20种路由器和esp32的链接,现在发现腾达AC7路由器很难链接上esp32.或者要一到两分钟才可以连接上。3.1.1很难链接。
3.1.3版本的软件基本连接不上。请问这个问题该如何解决。但是其他型号路由器都很快连接上。
请问你是不是设了两个 SSID,一个加密,一个不加密?

xiehang
Posts: 26
Joined: Mon Mar 18, 2019 8:57 am

Re: esp32连接不上腾达AC7路由器

Postby xiehang » Wed Mar 20, 2019 2:58 am

谢谢你的关注,我们已采购腾达AC7路由器来验证这个问题,可以详细描述下你的测试环境吗?

xiehang
Posts: 26
Joined: Mon Mar 18, 2019 8:57 am

Re: esp32连接不上腾达AC7路由器

Postby xiehang » Wed Mar 20, 2019 10:09 am

使用v3.1.1,wifi firmware version: b2c9a19 和 v3.1.3,wifi firmware version: 71d6725,连接腾达AC7路由器,未能复现你上面的问题。
你能描述下你的具体测试方法步骤吗?我们一起检查下是哪里出现了问题。

xiehang
Posts: 26
Joined: Mon Mar 18, 2019 8:57 am

Re: esp32连接不上腾达AC7路由器

Postby xiehang » Wed Mar 20, 2019 10:35 am

使用v3.1.1,wifi firmware version: b2c9a19 和 v3.1.3,wifi firmware version: 71d6725版本,simple_wifi 这个用例。连接腾达AC7路由器,未能复现上面的问题。
你可以描述下你的测试用例吗?我们看看一起是哪里的问题。

yy_xxecho
Posts: 5
Joined: Thu Feb 06, 2020 7:33 am

Re: esp32连接不上腾达AC7路由器

Postby yy_xxecho » Fri Apr 10, 2020 2:37 am

华硕的路由也连不上,debug信息为接受AUTH超时

bigux3000
Posts: 3
Joined: Mon Jul 04, 2022 2:44 pm

Re: esp32连接不上腾达AC7路由器

Postby bigux3000 » Mon Jul 04, 2022 3:04 pm

yy_xxecho wrote:
Fri Apr 10, 2020 2:37 am
华硕的路由也连不上,debug信息为接受AUTH超时
idf4.4,我用的也是华硕路由,也是连不上state:auth-init(200),我又使用了scan例程
I (2722) scan: Total APs scanned = 9
I (2722) scan: SSID ac2
I (2722) scan: RSSI -32
I (2722) scan: Authmode WIFI_AUTH_WPA_WPA2_PSK
I (2722) scan: Pairwise Cipher WIFI_CIPHER_TYPE_CCMP
I (2732) scan: Group Cipher WIFI_CIPHER_TYPE_CCMP
I (2732) scan: Channel 6
Authmode 这里原来是WIFI_AUTH_WPA2_PSK,我看扫描出来的其他路由器都是WIFI_AUTH_WPA_WPA2_PSK,我进入华硕路由器修改成
Image
Attachments
1.png
1.png (5.75 KiB) Viewed 7378 times

X二X二X二X
Posts: 19
Joined: Fri Feb 11, 2022 8:16 am

Re: esp32连接不上腾达AC7路由器

Postby X二X二X二X » Thu Mar 30, 2023 2:33 am

4.4这个版本真是不省心,乐鑫WIFI自己到底测试没测都是个问题。
我用4.4版本提示wifi:state: auth -> init (200),没法连接AP

ESP_Eavo
Posts: 186
Joined: Tue Jun 08, 2021 6:23 am

Re: esp32连接不上腾达AC7路由器

Postby ESP_Eavo » Tue Apr 11, 2023 9:59 am

X二X二X二X wrote:
Thu Mar 30, 2023 2:33 am
4.4这个版本真是不省心,乐鑫WIFI自己到底测试没测都是个问题。
我用4.4版本提示wifi:state: auth -> init (200),没法连接AP
每个大版本发布都会经过完整测试,JAP 测试会尽量选用市面上主流路由器,但确实无法做到 100% 的覆盖。如果需要相关的测试报告,可以联系乐鑫商务平台 sales@espressif.com,提供贵司相关的项目信息后申请。谢谢。

Who is online

Users browsing this forum: No registered users and 61 guests