Webserver over USB (RNDIS/ECM/NCM)

kaspernyhus
Posts: 22
Joined: Tue Mar 01, 2022 7:38 am

Webserver over USB (RNDIS/ECM/NCM)

Postby kaspernyhus » Thu Mar 23, 2023 2:26 pm

Hello,

Has anyone implemented something similar to this:
https://github.com/maxnet/pico-webserver

I'm trying to get USB network working and eventually do a websockets connection over USB.

I'm aware of the esp_iot_solution usb-dongle example https://github.com/espressif/esp-iot-so ... usb_dongle but haven't been able to translate that to serving eg. a webpage.

Thanks,
Kasper

kaspernyhus
Posts: 22
Joined: Tue Mar 01, 2022 7:38 am

Re: Webserver over USB (RNDIS/ECM/NCM)

Postby kaspernyhus » Tue Apr 04, 2023 11:16 am

No one?

My efforts are documented here https://github.com/kaspernyhus/esp_tinyusb_test

Thanks

martins
Posts: 44
Joined: Tue Aug 24, 2021 8:58 am

Re: Webserver over USB (RNDIS/ECM/NCM)

Postby martins » Wed Nov 08, 2023 9:34 am

There is now also a NCM example on ESP-IDF master (possibly upcommin v5.2): https://github.com/espressif/esp-idf/tr ... e/tusb_ncm

So I wonder if we could "just" swap WIFI for NETIF to get TCP connection to S2/S3 over USB...

Who is online

Users browsing this forum: Baidu [Spider], ESP_Roland, liaifat85 and 62 guests