ESP32 WiFi AP Channel Width
It seems when creating a WiFi AP, it defaults to a 40 MHz channel bandwidth.
import network
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid="TEST")
ap.config(authmode=0, channel=2)
In the above example, when viewing the broadcasted SSID with an Android app such as "Wifi Analyzer", shows "CH 2+6" and "2447 - 2407 = 40 MHz".
Is there a setting that can be changed to set this to 20 MHz, so it only uses one channel?
How to connect to an ESP32 from a mobile application?
I want to communicate ESP32 with my mobile app. I done micopython coding as follows :
import network
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='ESP32')
ap.config(authmode=3, password='123456789')
In this code Access point is created and it is visible in my android mobile.
But when i connect my mobile to access point it is showing “saved” message instead of “connected” even though i have entered correct password.
I followed same procedure using arduino code then i am able to connect my mobile with access point created by esp32. Any help is highly appreciable .