SoftAP can not be connect by simple code

oxygensun
Posts: 1
Joined: Mon Oct 28, 2024 4:45 pm

SoftAP can not be connect by simple code

Postby oxygensun » Mon Oct 28, 2024 5:10 pm

I got a issue while trying to make a access point.
I used just simple code without any change, myssid could be found by other device as computer cellphone etc,

but not all devices could connect to it.



my computer can not connect it and even the wifi icon show an error icon.
error msg: "Can't connect to this network" (win11) and where have no eventlog at all.

Google pixel phone show connect failed after i typed password: mypassword;
here is eventlog:

I (44621) wifi:removing station <7a:8f:fb:18:5c:9d> after unsuccessful auth/assoc, AID = 0
W (44621) wifi:rm mis
I (44621) wifi:new:<6,0>, old:<6,1>, ap:<6,1>, sta:<255,255>, prof:6, snd_ch_cfg:0x0
I (784811) wifi:removing station <7a:8f:fb:18:5c:9d> after unsuccessful auth/assoc, AID = 0

Apple phone could connect it well, and here is eventlog:
I (807901) wifi:station: 02:51:4c:a0:b7:ff join, AID=1, bgn, 20
I (807931) wifi softAP: station 02:51:4c:a0:b7:ff join, AID=1
E (808771) wifi:CCMP replay detected: A1=cc:7b:5c:1e:12:69 A2=02:51:4c:a0:b7:ff PN=1, RSC=11 seq=17392
I (808771) wifi:<ba-add>idx:2 (ifx:1, 02:51:4c:a0:b7:ff), tid:5, ssn:0, winSize:64
I (809461) wifi:<ba-add>idx:3 (ifx:1, 02:51:4c:a0:b7:ff), tid:0, ssn:21, winSize:64
I (811331) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (814611) wifi:<ba-add>idx:4 (ifx:1, 02:51:4c:a0:b7:ff), tid:1, ssn:0, winSize:64
I (840581) wifi:station: 02:51:4c:a0:b7:ff leave, AID = 1, reason = 8, bss_flags is 8948819, bss:0x3ffb94e4
I (840581) wifi:new:<6,0>, old:<6,0>, ap:<6,1>, sta:<255,255>, prof:6, snd_ch_cfg:0x0
I (840581) wifi:<ba-del>idx:3, tid:0
I (840591) wifi:<ba-del>idx:4, tid:1
I (840591) wifi:<ba-del>idx:2, tid:5
I (840591) wifi softAP: station 02:51:4c:a0:b7:ff leave, AID=1, reason=8
I (841791) wifi:new:<6,0>, old:<6,0>, ap:<6,1>, sta:<255,255>, prof:6, snd_ch_cfg:0x0
I (841791) wifi:station: 02:51:4c:a0:b7:ff join, AID=1, bgn, 20
I (841811) wifi softAP: station 02:51:4c:a0:b7:ff join, AID=1
I (841841) wifi:<ba-add>idx:2 (ifx:1, 02:51:4c:a0:b7:ff), tid:0, ssn:2, winSize:64
I (841891) wifi:<ba-add>idx:3 (ifx:1, 02:51:4c:a0:b7:ff), tid:1, ssn:0, winSize:64
I (842021) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (842031) wifi:<ba-add>idx:4 (ifx:1, 02:51:4c:a0:b7:ff), tid:5, ssn:0, winSize:64

esp32 model esp32-wroom-32, it's evaluate board so i believe the hardboard.

any suggestion?

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 223 guests