-->
Page 1 of 1

WIFI_AP_STA mode to set the STA from the AP

PostPosted: Fri Jan 08, 2016 6:01 am
by MHeys
Hi all, I've been looking for some example code of how I can put the ESP8266 into SOFTAP+STATION mode so that I can use a web server on the SOFTAP to specify the connection details for the STATION.

I've been searching this forum and Google but not managed to find anything, I'm sure I've seen something in the past but just strugeling to find it again.

I was also wondering if it's possible to run a different web server on the SOFTAP to the STATION so that one can show the SSID config page and the other one can show the info I want on my home network.

Does anyone have a github project they can link to so I can get a jump start on this project?

It should be obvious from which forum this post is in but I am looking for some C code to use in the Arduino IDE, I don't plan on using LUA.

Cheers
M

Re: WIFI_AP_STA mode to set the STA from the AP

PostPosted: Fri Jan 08, 2016 8:16 am
by bjpirt
This might do what you're looking for:

https://github.com/sticilface/ESPmanager

Cheers,
Ben

Re: WIFI_AP_STA mode to set the STA from the AP

PostPosted: Fri Jan 08, 2016 9:45 am
by MHeys
Thanks, I've had a quick look but it looks a bit overkill.

Funnily enough though as I was searching for ways to save the last WiFi connection I found this.

http://tzapu.com/esp8266-wifi-connectio ... duino-ide/

so I might take a look at that.