我用的是https://github.com/espressif/esp-qcloud这个示例,用S2偶尔可以用AP 链接,但用ESP32总是链接不上,打印的信息如下:
pdated connection retries to 0
ap recv assoc/reassoc request
I (103270) wifi<1,1>, old:<1,1>, ap:<1,1>, sta:<0,0>, prof:1
bss=0x3ffde9c0, resp=16 join
I (103272) wifi d2:fa:45:6a:a5:af join, AID=1, bgn, 40U
join success, ap send assoc response
I (103284) esp_qcloud_wifi: STA Connecting to the AP again...
I (103295) esp_qcloud_prov: STA Connecting to the AP again...
I (103296) esp_qcloud_prov_smartconfig: smartconfig over
I (103478) wifi:<ba-add>idx:2 (ifx:1, d2:fa:45:6a:a5:af), tid:0, ssn:0, winSize:64
I (103524) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (104499) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (106702) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (109608) esp_qcloud_prov: recvfrom, data: {"cmdType":1,"ssid":"ASUS","password":"ASUS1008","token":"v3_f8931281cd9218a40401ac859dd46"}
clear blacklist
Start wifi connect
connect status 0 -> 0
connect chan=0
nvs=0, ssid=ASUS, channel=255
ssid=ASUS match nvs 0, channel=255
first chan=1
connect status 0 -> 1
filter: set rx policy=3
clear scan ap list
start scan: type=0x50f, priority=2, cb=0x401aac50, arg=0x0, ss_state=0x1, time=107417282, index=0
0x401aac50: cnx_start_handoff_cb at ??:?
inter_channel_timeout: arg=0x0, ss_state=0x1
perform scan: ss_state=0x9, chan<1,0>, dur<0,120>
change: chan<1,0>, dur<0,120>
enter start op, arg=0x3ffc67f6
scan operation: state=0x3, chan<1,0>, arg=0x3ffc67f6, status=0
scan specific ssid=ASUS
start max timer
W (111647) wifi:Haven't to connect to a suitable AP now!
System information sta_mac: c4e2:91:9f:98, channel: [1/1], rssi: 0, free_heap: 136264, minimum_heap: 131072
ap recv deauth/disassoc from sta d2:fa:45:6a:a5:af, reason:4
I (116976) wifi d2:fa:45:6a:a5:af leave, AID = 1, bss_flags is 33688675, bss:0x3ffde9c0
I (116988) wifi<1,0>, old:<1,1>, ap:<1,1>, sta:<0,0>, prof:1
I (116989) wifi:scan in process, ignore set current channel
I (117000) wifi:<ba-del>idx:2, tid:0
clear blacklist
Start wifi disconnect
cancel previous scan, ss_state=0x3, just_scan=0
scan end: arg=0x0, status=4, ss_state=0x0
stop scan timer and scan, ss_state=0x0
back home chan=<1,0>, current chan=<1,1>
ht20 freq=2412, chan=1
filter: set rx policy=4
first chan=1
scan_done: arg=0x0, status=1, cur_time=115535385, scan_id=128, scan state=0
call scan_done cb, arg=0x0
handoff_cb: status=1
clear scan ap list
connect status 1 -> 0
filter: set rx policy=8
W (117781) esp_qcloud_prov: Timeout waiting for connection router, please try again
I (117793) esp_qcloud_prov: recvfrom, data: {"cmdType":1,"ssid":"ASUS","password":"ASUS1008","token":"v3_f8931281cd9218a40401ac859dd46"}
clear blacklist
Start wifi connect
connect status 0 -> 0
connect chan=0
nvs=0, ssid=ASUS, channel=255
ssid=ASUS match nvs 0, channel=255
first chan=1
connect status 0 -> 1
filter: set rx policy=3
clear scan ap list
start scan: type=0x50f, priority=2, cb=0x401aac50, arg=0x0, ss_state=0x1, time=115599170, index=0
0x401aac50: cnx_start_handoff_cb at ??:?
inter_channel_timeout: arg=0x0, ss_state=0x1
perform scan: ss_state=0x9, chan<1,0>, dur<0,120>
change: chan<1,0>, dur<0,120>
enter start op, arg=0x3ffc67f6
scan operation: state=0x3, chan<1,0>, arg=0x3ffc67f6, status=0
scan specific ssid=ASUS
start max timer
W (121647) wifi:Haven't to connect to a suitable AP now!
System information sta_mac: c4e2:91:9f:98, channel: [1/0], rssi: 0, free_heap: 136720, minimum_heap: 129972
clear blacklist
ssid not configure
ssid not configure
Start wifi disconnect
cancel previous scan, ss_state=0x3, just_scan=0
scan end: arg=0x0, status=4, ss_state=0x0
stop scan timer and scan, ss_state=0x0
back home chan=<1,0>, current chan=<1,0>
filter: set rx policy=4
first chan=1
scan_done: arg=0x0, status=1, cur_time=123653638, scan_id=128, scan state=0
call scan_done cb, arg=0x0
handoff_cb: status=1
clear scan ap list
connect status 1 -> 0
filter: set rx policy=8
W (125909) esp_qcloud_prov: Timeout waiting for connection router, please try again
I (125911) esp_qcloud_prov: recvfrom, data: {"cmdType":1,"ssid":"ASUS","password":"ASUS1008","token":"v3_f8931281cd9218a40401ac859dd46"}
clear blacklist
Start wifi connect
connect status 0 -> 0
connect chan=0
nvs=0, ssid=ASUS, channel=255
ssid=ASUS match nvs 0, channel=255
first chan=1
connect status 0 -> 1
filter: set rx policy=3
clear scan ap list
start scan: type=0x50f, priority=2, cb=0x401aac50, arg=0x0, ss_state=0x1, time=123717104, index=0
0x401aac50: cnx_start_handoff_cb at ??:?
不知道什么原因。。。。。。
ESP32接入腾讯云报错
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 6 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.