Skip to content

LWIP bridge w/ USB-NCM (IDFGH-14930) #15639

@mickeyl

Description

@mickeyl

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • 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

I tried adding USB-NCM to the LWIP bridge basing on code that has been developed by @kostaond as per #5697.

I've used @chegewara's usb-netif component here and slightly tweaked it (don't set IP and don't run DHCPS, since this will be happening on the bridge interface).

My example is @ https://github.com/mickeyl/esp-usb-wifi-eth-bridge -- but unfortunately it doesn't work.

The USB network interface appears, but despite adding it to the bridge interface (via esp_netif_br_glue_add_port, the USB interface is not coming up, i.e. there's no IP. It should share 192.168.4.1 with the WiFI and the W5500, shouldn't it? Do I need to setup the MAC differently?

What am I missing?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions