How to use USBCDC_ECM with network stack?

Is there an example for Mbed OS 5 that illustrates how to use USBCDC_ECM for a network interface?

TCPSocket.open() requires a NetworkStack * parameter, but USBCDC_ECM doesn’t seem to implement that interface.

1 Like