esp-iot-bridge icon indicating copy to clipboard operation
esp-iot-bridge copied to clipboard

Wireless NIC device (AEGHB-815)

Open maaamcube opened this issue 1 year ago • 6 comments

Checklist

  • [X] Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • [X] Described the feature in detail and justified the reason for the request.
  • [X] Provided specific use cases and examples.

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

maaamcube avatar Sep 16 '24 08:09 maaamcube

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.

tswen avatar Sep 20 '24 07:09 tswen

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

maaamcube avatar Sep 20 '24 07:09 maaamcube

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.

tswen avatar Sep 20 '24 07:09 tswen

@tswen usb host should be added.

maaamcube avatar Sep 20 '24 09:09 maaamcube

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:

  • https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host
  • https://github.com/espressif/esp-iot-solution/tree/master/examples/usb/host

tswen avatar Sep 23 '24 07:09 tswen

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

maaamcube avatar Sep 23 '24 07:09 maaamcube