AT+CWJAP_CUR FAIL問題

Moderator: ESP_XCGuang

Dan_Chung
Posts: 1
Joined: Fri Aug 19, 2022 7:50 am

AT+CWJAP_CUR FAIL問題

Postby Dan_Chung » Fri Aug 19, 2022 9:24 am

AT+GMR
AT version:1.7.5.0(Oct 9 2021 09:26:04)
SDK version:3.0.5(b29dcd3)
compile time:Oct 15 2021 18:05:30
Bin version(Wroom 02):1.7.5
OK
AT+RST

OK

ets Jan 8 2013,rst cause:2, boot mode:(3,3)

load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

correct flash map
rr菝cph禓€r嗏犥綧l`傶儸br滱僄*r塉 !€r塉 €r塉0€lrrl€b蛷b鉔brb*~n~菘l*€€l骴€l€n鰓懺8繅夔懺|rr
ready
AT+CWMODE=1

OK
AT+CIPMUX=1

OK
AT+CWLAP
+CWLAP:(3,"iPhone",-34,"ca:b3:90:89:b1:61",1,32767,0,4,4,7,0)
+CWLAP:(3,"DSL-6740C",-87,"d8:fe:e3:5f:4b:91",1,48,0,4,4,7,0)
+CWLAP:(3,"MobileWave",-56,"00:50:7f:5b:a3:90",6,20,0,4,4,7,1)
+CWLAP:(3,"NI-Guest",-84,"6c:31:0e:95:df:c1",1,32767,0,4,4,7,0)
+CWLAP:(3,"Tritan-APII",-38,"7c:10:c9:4a:a1:90",7,18,0,4,4,7,1)
+CWLAP:(4,"MIN49_WifiTest",-76,"f4:f2:6d:f1:e8:ea",9,35,0,5,3,7,1)
+CWLAP:(5,"NI",-84,"6c:31:0e:95:df:c0",1,32767,0,4,4,7,0)
+CWLAP:(3,"Tele_User",-71,"a8:5e:45:90:82:18",11,41,0,4,4,7,1)
+CWLAP:(3,"Y13s-David",-76,"c2:0a:33:d4:48:b1",11,45,0,4,4,7,0)
+CWLAP:(3,"Tritan-PC",-78,"c4:41:1e:f8:f4:93",11,38,0,4,4,7,1)
+CWLAP:(3,"ASUS-218",-86,"04:d4:c4:63:7e:1c",1,43,0,4,4,7,0)

OK
AT+CWJAP_CUR="iPhone","123456789"
WIFI CONNECTED
+CWJAP:1

FAIL
WIFI DISCONNECT
無法連接

AT+GMR
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
OK
AT+RST

OK

ets Jan 8 2013,rst cause:2, boot mode:(3,3)

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

*n't use rtc mem data
rl€d
Ai-Thinker Technology Co.,Ltd.

invalid
AT+CWMODE=1

OK
AT+CIPMUX=1

OK
AT+CWLAP
+CWLAP:(3,"DSL-6740C",-90,"d8:fe:e3:5f:4b:91",1,33)
+CWLAP:(0,"NI",-81,"6c:31:0e:95:df:c0",1,-3)
+CWLAP:(3,"NI-Guest",-81,"6c:31:0e:95:df:c1",1,21)
+CWLAP:(3,"iPhone",-35,"0a:1e:6d:9d:bf:36",6,41)
+CWLAP:(3,"MobileWave",-58,"00:50:7f:5b:a3:90",6,6)
+CWLAP:(3,"Tritan-APII",-37,"7c:10:c9:4a:a1:90",7,3)
+CWLAP:(3,"Tritan-API",-77,"d0:17:c2:63:f5:f4",7,11)
+CWLAP:(4,"MIN49_WifiTest",-82,"f4:f2:6d:f1:e8:ea",9,20)
+CWLAP:(3,"Tele_User",-70,"a8:5e:45:90:82:18",11,28)
+CWLAP:(3,"Y13s-David",-71,"c2:0a:33:d4:48:b1",11,30)
+CWLAP:(3,"Tritan-PC",-73,"c4:41:1e:f8:f4:93",11,23)

OK
AT+CWJAP_CUR="iPhone","123456789"
WIFI CONNECTED
WIFI GOT IP

OK

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: AT+CWJAP_CUR FAIL問題

Postby esp-at » Fri Aug 26, 2022 2:30 am

可以考虑使用 RTOS-AT 的 AT 固件看看~
https://docs.espressif.com/projects/esp ... aries.html

否则,你可以自己调试 LwIP 里的 dhcp,看看为什么没有获取到 IP 地址,有可能是某些 DHCP options 没有开导致。
https://github.com/espressif/ESP8266_NO ... party/lwip

Who is online

Users browsing this forum: No registered users and 10 guests