HID Class DLL simplifies the interface to a HID class USB device. It assumes the firmware is configured to send an array of bytes. See the project in Microchip Solutions\USB Device - Custom Demos\Generic HID - Firmware.
While there are quite a number of functions, only three are necessary: HIDClassInit, HIDWriteReport, HIDReadReport. The rest are optional or aliases for backwards compatibility.
Public Methods
|
Name |
Description |
|
This is the overview for the HIDClassInit method overload. | |
|
Transfers data to the end device. | |
|
Transfers a data from the end device. | |
|
Returns the version of the DLL | |
|
OS inquiry to find out of the previously specified VID & PID is currently attached. | |
|
Closes the communication channel. | |
|
Initializes the DLL with the VID, PID and buffersize of the device. | |
|
OS inquiry to find out of the previously specified VID & PID is currently attached. | |
|
Transfers data from the end device. | |
|
Transfers data to the end device. |