Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a backend for Silicon Labs CP2110/4 HID-to-UART bridge. #411
These two chips implement UART access via a HID protocol, which can be
The backend is implemented based on cython-hidapi
could you move the complete code into
And there should probably be a note in
I've also used HID here and did my own low-level access:
Thanks for the review!
Code moved and documentation and
I have implemented raw HID support myself before, and honestly it's sometimes nicer particularly with the ability to have a more rational path compared to hidapi. But the problem with that is that implementing select/timeout on it is more fragile than HIDAPI, which is why I'm not terribly keen on doing that here.