You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
Question:
Hello ESP32 community,
I am working on a project where I have successfully configured my ESP32 to function both as an Access Point (AP) and as a USB Ethernet interface (network card). Now, I need to establish communication between clients connected to the ESP32's AP and my machine via the USB Ethernet interface.
What I have done so far:
ESP32 as an AP: I’ve set up the ESP32 to act as an Access Point. Clients can connect to it, and I can manage the connections.
ESP32 as a USB Ethernet interface: The ESP32 is working as a USB Ethernet device using TinyUSB (e.g., RNDIS/CDC-ECM), and it's recognized as a network interface on my machine.
My Questions:
How can I forward IP packets between the clients connected to the ESP32's AP and my machine over the USB Ethernet interface? I am looking for a recommended approach to set up efficient packet forwarding.
Should I use lwIP for IP forwarding, or are there other APIs or methods that would be better suited for this scenario?
Are there any example projects or additional configurations that can help optimize communication between the Wi-Fi interface and the USB Ethernet interface?
Any guidance or example code would be greatly appreciated!
Thank you in advance!
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
How to Enable Communication Between Clients Connected to ESP32 Access Point and USB Ethernet Interface
How to Enable Communication Between Clients Connected to ESP32 Access Point and USB Ethernet Interface (AEGHB-828)
Sep 25, 2024
Answers checklist.
General issue report
Question:
Hello ESP32 community,
I am working on a project where I have successfully configured my ESP32 to function both as an Access Point (AP) and as a USB Ethernet interface (network card). Now, I need to establish communication between clients connected to the ESP32's AP and my machine via the USB Ethernet interface.
What I have done so far:
ESP32 as an AP: I’ve set up the ESP32 to act as an Access Point. Clients can connect to it, and I can manage the connections.
ESP32 as a USB Ethernet interface: The ESP32 is working as a USB Ethernet device using TinyUSB (e.g., RNDIS/CDC-ECM), and it's recognized as a network interface on my machine.
My Questions:
How can I forward IP packets between the clients connected to the ESP32's AP and my machine over the USB Ethernet interface? I am looking for a recommended approach to set up efficient packet forwarding.
Should I use lwIP for IP forwarding, or are there other APIs or methods that would be better suited for this scenario?
Are there any example projects or additional configurations that can help optimize communication between the Wi-Fi interface and the USB Ethernet interface?
Any guidance or example code would be greatly appreciated!
Thank you in advance!
The text was updated successfully, but these errors were encountered: