While developing a MQTT app using the ESP32 Arduino (latest build) I noticed that the ESP32 Dev Kit module could not consistently connect to my Airport Extreme Router(firmware version 7.7.8). To isolate the issue I moved to Wifi Scan example and here I noticed that my Airport Extreme was only being picked up by in 1 out of 100 scans. To further isolate the issue I moved over to the ESP32 IDF (latest version) and used an example 06_Scan_Wifi (https://github.com/icamgo/esp-idf.git). This code gave me the same results as the Arduino Wifi Scan.
After several days of trying things (e.g., erasing flash, tried 2 different ESP32 modules, tried ESP8266 examples on several ESP8266 Modules, etc) I finally setup Wireshark and added a NetGear N300 Access Point (in bridge mode) to my network. Upon reviewing the Wireshark results while the 06_Scan_Wifi was running I noticed a significant difference in the Wifi probe request/probe response sequence between the Airport Extreme AP and the NetGear N300 AP and the ESP32 Dev Kit Module. The Airport Extreme responded to the ESP32 probe request on a single response but the NetGear N300 responded with four responses one normal response and 3 with the 802.11 Retry flag set.
The pattern of multiple responses being required by the ESP32 is consistent for all of the APs that the scan picked up. If an AP sends only a single response to the probe request the scan does not pick it up. This seems to be the case for some non-Airport Extreme APs that are in my neighborhood (an Actiontec Electronics Inc AP).
I can run a WiFi scanner on my iMac and see eight 2.4GHz APs but the ESP32 only sees 1 or 2 in most scans and as stated above every so often 1 in 100 or more scans it will pick up an AP that only sends one probe response.
I have seen other mention that they have seen inconsistent results from ESP32 WiFi scan and I think this summary maybe relevant to them.
WiFi Scan Inconsistencies
-
- Posts: 1
- Joined: Wed May 03, 2017 8:13 pm
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 179 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.