{"action":"created","issue":{"url":"https://api.github.com/repos/dcuddeback/libusb-rs/issues/1","labels_url":"https://api.github.com/repos/dcuddeback/libusb-rs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dcuddeback/libusb-rs/issues/1/comments","events_url":"https://api.github.com/repos/dcuddeback/libusb-rs/issues/1/events","html_url":"https://github.com/dcuddeback/libusb-rs/issues/1","id":74520741,"number":1,"title":"control_transfer not implemented","user":{"login":"nibua-r","id":699794,"avatar_url":"https://avatars.githubusercontent.com/u/699794?v=3","gravatar_id":"","url":"https://api.github.com/users/nibua-r","html_url":"https://github.com/nibua-r","followers_url":"https://api.github.com/users/nibua-r/followers","following_url":"https://api.github.com/users/nibua-r/following{/other_user}","gists_url":"https://api.github.com/users/nibua-r/gists{/gist_id}","starred_url":"https://api.github.com/users/nibua-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibua-r/subscriptions","organizations_url":"https://api.github.com/users/nibua-r/orgs","repos_url":"https://api.github.com/users/nibua-r/repos","events_url":"https://api.github.com/users/nibua-r/events{/privacy}","received_events_url":"https://api.github.com/users/nibua-r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-08T22:45:02Z","updated_at":"2015-05-12T15:03:14Z","closed_at":null,"body":"`control_transfer` is not yet implemented in InterfaceHandle althought the binding is present in [libusb-sys](https://github.com/dcuddeback/libusb-sys/blob/master/src/lib.rs#L271).\r\n\r\nAny plan on that? Do you accept PR on this?\r\n\r\n[Slightly OT but related]: xxx_transfer should have been implemented on DeviceHandle, no? I agree it makes sense on InterfaceHandle but"},"comment":{"url":"https://api.github.com/repos/dcuddeback/libusb-rs/issues/comments/101310771","html_url":"https://github.com/dcuddeback/libusb-rs/issues/1#issuecomment-101310771","issue_url":"https://api.github.com/repos/dcuddeback/libusb-rs/issues/1","id":101310771,"user":{"login":"dcuddeback","id":138065,"avatar_url":"https://avatars.githubusercontent.com/u/138065?v=3","gravatar_id":"","url":"https://api.github.com/users/dcuddeback","html_url":"https://github.com/dcuddeback","followers_url":"https://api.github.com/users/dcuddeback/followers","following_url":"https://api.github.com/users/dcuddeback/following{/other_user}","gists_url":"https://api.github.com/users/dcuddeback/gists{/gist_id}","starred_url":"https://api.github.com/users/dcuddeback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcuddeback/subscriptions","organizations_url":"https://api.github.com/users/dcuddeback/orgs","repos_url":"https://api.github.com/users/dcuddeback/repos","events_url":"https://api.github.com/users/dcuddeback/events{/privacy}","received_events_url":"https://api.github.com/users/dcuddeback/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T15:03:14Z","updated_at":"2015-05-12T15:03:14Z","body":"Okay. The vendor requests are a good reason for having a generic control transfer function. For now, I think an almost literal translation of the `libusb_control_transfer` function will work. I think `bmRequestType` should be represented as a struct that hides the bitwise operations from the user."}}