I am trying to conenct to esp8266 through android. I tried below code on android, but not able to connect to 8266.
Can anyone help me if I am missing some configuration related to 8266.
SSID = "\"" + networkInfo.name + "\"";
password = getPassword(networkInfo.name);
wifiConfiguration.preSharedKey = "\"" + password + "\"";
wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
wifiConfiguration.allowedProtocols.set(WifiConfiguration.Protocol.WPA);
netid = wifiManager.addNetwork(wifiConfiguration);
wifiManager.enableNetwork(netid, true)
wifiManager.reconnect();
thanks,
connecting ESP-8266 to Android
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board 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. We are the manufacturer of ESP8266EX.