Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Then I’m trying to read from usb-to-i2c converter cp2112, using C and DLL, I'm obtain HID_SMBUS_INVALID_PARAMETER error from HidSmbus_GetReadResponse #4

Open
mihail-popovkin opened this issue Aug 12, 2021 · 1 comment

Comments

@mihail-popovkin
Copy link

Function

status = HidSmbus_GetReadResponse(device, &status0, _buffer, HID_SMBUS_MAX_READ_RESPONSE_SIZE, &numBytesRead);

returns HID_SMBUS_INVALID_PARAMETER
I'm use amd64 dll from this repo
What I'm doing wrong?

@nickdademo
Copy link
Owner

@mihail-popovkin Can you share a bit more of your code? i.e. the actual parameter values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants