Skip to content

Work towards Control Transfers - #146

Merged
MelbourneDeveloper merged 1 commit into
MelbourneDeveloper:developfrom
networkfusion:develop-controltransfer
Nov 11, 2020
Merged

MelbourneDeveloper merged 1 commit into
MelbourneDeveloper:developfrom
networkfusion:develop-controltransfer

Conversation

@networkfusion

Copy link
Copy Markdown

superceeds #142

public class IntegrationTestControlTransfer
{
[TestMethod]
public async Task Get_status_from_DFU_device_using_contol_transfer()

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@networkfusion beautiful!

This is what I need.



//Specify the response part of the Message Contract
var expectedResult = new byte[] { 0x02 }; //lets try STATE_DFU_IDLE first (since we are in DFU mode)...

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@networkfusion Perfect.

@fdidron

fdidron commented Nov 9, 2020

Copy link
Copy Markdown

Hi @networkfusion and @MelbourneDeveloper

I would love to use this library but I need Control transfers for a new project I'm working on. Is there anything that needs to happen to merge this ? Happy to help in any way to make it happen

@MelbourneDeveloper

Copy link
Copy Markdown
Owner

@fdidron everyone is looking for control transfer and it's basically the #1 priority right now. It's just a question of coming up with the best design that will work across all platforms. If you have design, please log your suggestions here:

#126

There is progress going on and I expect to have something working in the next couple of weeks.

@MelbourneDeveloper

Copy link
Copy Markdown
Owner

@fdidron also, please join in the conversation about this on Discord

/// Defines constants that indicate the recipient of a USB control transfer.
/// The recipient is defined in the setup packet of the control request. See Table 9.2 of section 9.3 of the Universal Serial Bus (USB) specification (<see cref="www.usb.org"/>).
/// </summary>
public enum UsbControlRecipient

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@networkfusion question...

Where do these enums and descriptions come from? Is this from some official documentation?

@MelbourneDeveloper
MelbourneDeveloper merged commit 0160e65 into MelbourneDeveloper:develop Nov 11, 2020
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.

3 participants