As the title suggests I am having trouble disabling the CDC interface on the Uno R4 WiFi. I made another thread here a few weeks ago where I asked the same question but that wasn't the main question of the post so I guess nobody who had the answer saw the question.
If anybody knows how to do this on the new Uno R4 I would appreciate some help. It used to be very easy on my old Leonardo R3 board where I could just append a flag in the boards.txt or just comment out a few lines in the USBCore.cpp. Thanks in advance.
I am guessing that he knows about these libraries. Or potentially he is trying to define his own HID class.
My understanding of his request is he wants is when he plugs in his device (lets say keyboard), the only interface that will be exposed by the device is his keyboard HID device.
For example I just uploaded to my modified WiFi board the keyboard example.
I then plugged it into Teensy Micromod board, that I programmed with my USBHost_t36 example sketch HIDDeviceInfo, which is a sketch we use to try to understand different USB devices that we may want to add support for...
The output from this (Used TyCommander to capture the Serial Output):
You will see here, the first two interfaces are for CDC ... Which is the Serial USB stuff, that I believe he is trying to remove.
The last interface is marked as HID. It is interesting that it is not returning any other additional HID information. Like the report descriptor is returning all 0s. So our USB Host code would choke on it.
Sorry, I know maybe a little off topic, but hopefully. explains what I think he is after.