ESP as WIFI AP/ Switch
Posted: Mon Jan 29, 2018 3:09 pm
Hello- Looking for a way to set up the ESP8266 as an AP that also does switching (routing?) using Arduino IDE. I found this project: https://github.com/martin-ger/esp_wifi_repeater that works very well, acting just like an access point I might set up with a commercial router. The project is done using the ESP SDK, which I have no experience with, though.
When I set up the WiFi.mode(WIFI_AP) in the Arduino IDE, I get the AP, can connect multiple devices, but it does not seem do the switching- or if it does, it is extremely slow and times out.
The goal is to use an ESP as AP where I have a server setup on one device (laptop) and client on another (phone) with only the ESP in between.... no outside router/ AP, no internet. The ESP should forward any IP traffic through it. Eventually, I'd like to incorporate a server (to control the pins) into the ESP on top of it all, as well.
Is there a way to do this with the Arduino IDE?
When I set up the WiFi.mode(WIFI_AP) in the Arduino IDE, I get the AP, can connect multiple devices, but it does not seem do the switching- or if it does, it is extremely slow and times out.
The goal is to use an ESP as AP where I have a server setup on one device (laptop) and client on another (phone) with only the ESP in between.... no outside router/ AP, no internet. The ESP should forward any IP traffic through it. Eventually, I'd like to incorporate a server (to control the pins) into the ESP on top of it all, as well.
Is there a way to do this with the Arduino IDE?