Add new comment

CDC exposes your device as a serial port over which you can communicate. HID is a class designed for human interface devices, and is abused sometimes for other simple communication because the descriptors are simple. If your device is not some sort of human interface device (like a mouse, keyboard, fingerprint scanner, etc) then you should NOT use the HID class. CDC makes it easy to communicate with your device over serial, and this may work for your device. It's your decision, you know what kind of device you are creating and what suits best. CDC or WinUSB, it's up to you.