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

Unable to set mode in BlinkstickPro #6

Open
sdalu opened this issue Apr 12, 2017 · 0 comments
Open

Unable to set mode in BlinkstickPro #6

sdalu opened this issue Apr 12, 2017 · 0 comments

Comments

@sdalu
Copy link

sdalu commented Apr 12, 2017

There is no method to set mode, and stealing code from python ( self._usb_ctrl_transfer(0x20, 0x9, 0x0004, 0, control_string)) doesn't seem to do the trick

    @handle.control_transfer :bmRequestType => 0x20,
                             :bRequest      => 0x09,
                             :wValue        => 0x0004,
                             :wIndex        => 0,
                             :dataOut       => [4, mode].pack('c*')

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

1 participant