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

Moderator: igrr

User avatar
By JohnInWI
#73561 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?
User avatar
By JohnInWI
#73714 Just as a follow up, The ESP acts as a switch when in AP mode when using the AT firmware and anything developed with the ESP native SDK. I cannot do the same with the Arduino version of AP.

I'm hoping by pointing this out that the solution can be found. thanks