I am trying hard to figure out how to setup USBCDC_ECM for usage as a local webserver for quite some time (weeks) now. Unfortunately there is no example provided, even though its seems to be intended for such usage:
“One application in which you can use this class is a USB to Ethernet adapter. If you add an IP stack and web server on top of this class, you can also create a USB web server that allows you to configure a USB device and to view data using a web browser.”
The “Hello world” example works with Linux on virtual machine. However, if I try to pass the instance to the NetworkInterface like in the TCP example, it does not work.
Does anyone has a hint how to properly setup the USBCDC_ECM for that?