Skip to content

Adds attempt at adding USB control transfers. - #142

Closed
networkfusion wants to merge 10 commits into
MelbourneDeveloper:developfrom
networkfusion:master
Closed

networkfusion wants to merge 10 commits into
MelbourneDeveloper:developfrom
networkfusion:master

Conversation

@networkfusion

Copy link
Copy Markdown

Work towards #126

TODO:

  • Expose USB setup packets
  • Make commands Async?
  • Correct WinUsb interface handle

and probably more...

@MelbourneDeveloper

Copy link
Copy Markdown
Owner

@networkfusion Hi. I get the general gist of what is going on here. Firstly, I'll need a device to test with, but also, these changes need to fit with the rest of the framework - i.e. the public interface. This is lib usb specific.

Which platforms are you targeting?

@networkfusion

Copy link
Copy Markdown
Author

Windows .net core 3.1 and potentially linux in the future. WinUsbApiCalls.WinUsb_ControlTransfer seems to make it possible for windows. I will keep going with what I have as time allows to see where I can get to. Hopefully a board will be winging its way to you very soon.

@MelbourneDeveloper

Copy link
Copy Markdown
Owner

@networkfusion cool. Maybe hit pause until I get the device. I'll just likely try to get it working on the windows version first - not lib USB.

@MelbourneDeveloper

Copy link
Copy Markdown
Owner

@networkfusion Hi. I think I was wrong. I see that you've made these changes across a couple of implementations. Sorry, I was in a rush the other day.

Looking forward to testing this out.

Again, I'll need some kind of integration test to work with.

@networkfusion
networkfusion changed the base branch from master to develop September 10, 2020 17:19
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

Successfully merging this pull request may close these issues.

2 participants