usb-serial-for-android/test/arduino_leonardo_bridge_mul...
..
CDC.cpp
README.md
USBCore.cpp
USBCore.h
USBDesc.h
arduino_leonardo_bridge_multi_cdc.ino

README.md

multiple CDC interface test

As mentioned here, Arduino functions can be overwritten by copying complete files into the own project.

This is used to create a device with 2 CDC interfaces. For simplicity only one of both is functional (configurable in USBDesc.h)

The modifications have been done against Arduino 1.8.10, for changes see comments containing kai.