espressif / esp-iot-bridge

A smart bridge to make both ESP and the other MCU or smart device can access the Internet.
164 stars 54 forks source link

Wireless NIC device (AEGHB-815) #85

Closed maaamcube closed 1 month ago

maaamcube commented 2 months ago

Checklist

Feature description

Hello everyone, Does the wireless NIC works with usb devices ? i have an usb device on my stm32. Thanks.

Use cases

wireless NIC for usb devices

Alternatives

No response

Additional context

No response

tswen commented 2 months ago

You can select CONFIG_BRIDGE_DATA_FORWARDING_NETIF_USB to enable the USB Device function, which is possible if your stm32's USB Host supports USB Net Class.

maaamcube commented 2 months ago

@tswen my stm32 can't work as a host usb

tswen commented 2 months ago

Then it is impossible to connect to stm32, because the USB interface of esp32-S implements Net Class and can only be used as a USB Device.

maaamcube commented 2 months ago

@tswen usb host should be added.

tswen commented 2 months ago

What is the purpose of connecting stm32 via USB? Is it used for CDC communication or something else? We support USB host. For specific examples of using USB host, please refer to:

maaamcube commented 2 months ago

@tswen Yes, i'm using USB Vendor Specific communication