-->
Page 1 of 1

Android direct communications with ESP

PostPosted: Thu Jun 28, 2018 8:25 pm
by OzGrant
G'Day,
Can I directly communicate from an android app to an ESP8266?
I know I can use a router, but my application has to work when I'm out of mobile phone range (down a mine)
Tks

Re: Android direct communications with ESP

PostPosted: Fri Jun 29, 2018 2:10 am
by schufti
if you program the esp to act as AP, yes.
BUT: I stumbed over some incarnations of android that wouldn't (easily) accept this AP because there is no Internet access...

Re: Android direct communications with ESP

PostPosted: Fri Jun 29, 2018 2:15 am
by QuickFix
Yes you can, that's how a lot of people started their ESP-adventure: simply do a ping or directly connect to the default IP (192.168.4.1) of the ESP.
But it would be better to make the ESP IP configurable (you can use WiFi-manager for this).

As long as your Android app knows the IP of your ESP and you have set it up as AP, you're good to go. :D

[EDIT]
What schufti says is correct, but you can dismiss the "No internet access" warning after connecting to the ESP. :idea:

Re: Android direct communications with ESP

PostPosted: Sun Jul 01, 2018 3:08 am
by OzGrant
Tks, will give AP a go.
Grant