借助于HIDSharp21源码NativeMethods.cs部分,添加了USBDevice.cs中SetReport()和GetReport(), USBDevice.cs中的Open()方法借鉴于C++的写法,会自动找到匹配的VID和PID中有读写功能的设备地址,并且打开,进行SetReport和GetReport
crazyetiii/HidGetAndSetReportTest
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
| Name | Name | Last commit date | ||
|---|---|---|---|---|
借助于HIDSharp21源码NativeMethods.cs部分,添加了USBDevice.cs中SetReport()和GetReport(), USBDevice.cs中的Open()方法借鉴于C++的写法,会自动找到匹配的VID和PID中有读写功能的设备地址,并且打开,进行SetReport和GetReport