Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By flagtrax
#49299
szymonm2 wrote:I cannot find this information anywhere online, how do I make the esp8266 into stationap using the arduino ide?


Interestingly, I'm searching for that same information. There is a statement in the ESP8266wIfI library here https://github.com/esp8266/Arduino/blob ... fi-library
(WiFi.mode(m): set mode to WIFI_AP, WIFI_STA, WIFI_AP_STA or WIFI_OFF. )
But I haven't been able to figure out the syntax. I've put it in my sketch several ways and get the same error ("WIFI" does not name a type) . I've done this using the lua version under NodeMCU successfully, but not using the Arduino IDE.
User avatar
By flagtrax
#49327
Pablo2048 wrote:Look into Examples in Your Arduino IDE. There is one called WiFiAccessPoint in ESP8266WiFi section...

Thanks Pablo, I got it to work using " Wifi.mode(WIFI_STA) ". I think I was putting it in the wrong location in the sketch..