-
Notifications
You must be signed in to change notification settings - Fork 907
Open
Description
Win10 Calls hidAPI to send data to the third-party library hid_write function in Windows. The device supports two ReportID types: 0x55 and 0x41, where 0x55 indicates normal communication data and 0x41 indicates firmware package data. The length of sent data is 64 bytes. The first byte is ReportId. When sending 0x55, the data is successfully sent, but when sending 0x41, the data fails to be sent. But in Windows 7 sending both data formats was successful. Int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *data, Size_t length) inside WriteFile(dev-> device_handle, buf, (DWORD) length, NULL, &dev-> write_ol); The function reported an error. But no reason was found. Do you have any solution?
Metadata
Metadata
Assignees
Labels
No labels