Page 1 of 2

use ESP32 as wifi AP/Ethernet switch ?

Posted: Thu Nov 03, 2016 6:22 am
by xaoyao
Hi All,
ESP32 has both wifi AP function and Ethernet interface.
Does anyone has a ESP32 solution for wifi AP device, with Ethernet interface to plug in a RJ45 port?
It act like a layer two switch, which transparent deliver between wifi/Ethernet, and convert 802.3 to 802.11 frame.
Note, it not has routing function, just layer two switch!

Best Regards.

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Thu Nov 03, 2016 6:44 am
by ESP_Sprite
Right now probably not, as we're still writing both the documentation as well as the drivers about the Ethernet interface.

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Thu Nov 03, 2016 9:30 am
by xaoyao
Thanks for reply.
So could you please give us the detail schedule about Ethernet driver and Wifi AP switch?

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Thu Nov 03, 2016 1:56 pm
by ESP_igrr
Ethernet driver will be part of ESP-IDF 1.0 release. Please refer to this post: http://esp32.com/viewtopic.php?f=10&p=1779#p1708

As for packet switching, you will probably have to implement this by enabling routing between interfaces in LwIP.

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Fri Nov 04, 2016 6:26 am
by xaoyao
Thank you for schedule.

"As for packet switching, you will probably have to implement this by enabling routing between interfaces in LwIP."
I think we may not need involve in LwIP.
We just need transparent transport the 802.11 frame from wifi port to 802.3 frame of ethernet port.

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Fri Nov 04, 2016 9:34 am
by WiFive
Well you still have to do L2 frame translation. Why do you want to use an IOT chipset to do this instead of an AP/router chipset?

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Fri Nov 04, 2016 9:38 am
by xaoyao
WiFive wrote:Well you still have to do L2 frame translation. Why do you want to use an IOT chipset to do this instead of an AP/router chipset?
because the cost. Wifi router chipset is too expensive.

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Fri Nov 04, 2016 10:27 am
by WiFive
Mt7688an is pretty cheap.

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Tue Nov 08, 2016 5:37 am
by xaoyao
WiFive wrote:Mt7688an is pretty cheap.
Thank you for your information.
Actually we didn't need router function, we just want extend wifi signal from ethernet port.
Is there any other more simply solution?

Re: use ESP32 as wifi AP/Ethernet switch ?

Posted: Thu Aug 30, 2018 8:19 pm
by lnunez
ESP_igrr wrote:Ethernet driver will be part of ESP-IDF 1.0 release. Please refer to this post: http://esp32.com/viewtopic.php?f=10&p=1779#p1708

As for packet switching, you will probably have to implement this by enabling routing between interfaces in LwIP.
Hi ESP_igrr

How can I enable routing between interfaces?

thanks