use ESP32 as wifi AP/Ethernet switch ?

xaoyao
Posts: 5
Joined: Thu Nov 03, 2016 6:09 am

use ESP32 as wifi AP/Ethernet switch ?

Postby xaoyao » Thu Nov 03, 2016 6:22 am

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.

ESP_Sprite
Posts: 9759
Joined: Thu Nov 26, 2015 4:08 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby ESP_Sprite » Thu Nov 03, 2016 6:44 am

Right now probably not, as we're still writing both the documentation as well as the drivers about the Ethernet interface.

xaoyao
Posts: 5
Joined: Thu Nov 03, 2016 6:09 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby xaoyao » Thu Nov 03, 2016 9:30 am

Thanks for reply.
So could you please give us the detail schedule about Ethernet driver and Wifi AP switch?

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby ESP_igrr » Thu Nov 03, 2016 1:56 pm

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.

xaoyao
Posts: 5
Joined: Thu Nov 03, 2016 6:09 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby xaoyao » Fri Nov 04, 2016 6:26 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby WiFive » Fri Nov 04, 2016 9:34 am

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?

xaoyao
Posts: 5
Joined: Thu Nov 03, 2016 6:09 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby xaoyao » Fri Nov 04, 2016 9:38 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby WiFive » Fri Nov 04, 2016 10:27 am

Mt7688an is pretty cheap.

xaoyao
Posts: 5
Joined: Thu Nov 03, 2016 6:09 am

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby xaoyao » Tue Nov 08, 2016 5:37 am

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?

lnunez
Posts: 2
Joined: Wed Aug 22, 2018 6:05 pm

Re: use ESP32 as wifi AP/Ethernet switch ?

Postby lnunez » Thu Aug 30, 2018 8:19 pm

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

Who is online

Users browsing this forum: Bing [Bot], FX2032 and 145 guests