Keep Adnroid connected to ESP8266 as access point

Asked

Viewed 78 times

0

First of all all the code works perfectly on any phone that uses an android version prior to Lollipop. From it to the most recent is that the problem occurs. What happens is that my app connects normally in the AP created on ESP8266, and even stays connected. But android marks as not having access to the internet and reroutes alone all calls from my app to access via 3G/4G. That is, gets connected but no use. And in a few moments it disconnects alone and back to connect on my wifi. I tried all the settings available on android but unsuccessful. Is there any way to force him to access my ESP8266 at least for socket calls? Root on phone is out of the question.

  • An outline is to shut down the mobile data. The tests done with the mobile data off worked 100%. But the problem is turning it off manually when entering the app and turning it back on exit.

  • I was able to use this solution: https://stackoverflow.com/questions/42329775/using-a-wifi-without-internet-connection/46165010#46165010

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.