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

Resolve issue with usb_relay_device_open_with_serial_number (orig. lib) #6

Open
pavel-a opened this issue Jan 17, 2015 · 0 comments
Open
Labels

Comments

@pavel-a
Copy link
Owner

pavel-a commented Jan 17, 2015

I don't understand what this function should return: the low -level handle or struct usb_relay_device_info *. If the former, how to get the info (number of relays, etc.) from this handle.

Currently in my lib the handle is same as usb_relay_device_info * but this may change later?
I'd like this f() to publicly return the struct ptr, or add another f() because I need to know at least the number of relays.

In original package the command util uses only usb_relay_device_open_with_serial_number and the GUI uses only usb_relay_device_enumerate and usb_relay_device_open.

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

No branches or pull requests

1 participant