Skip to content

Automatically remap endpoint addresses based on their capabilities #12

@xairy

Description

@xairy

Right now, USB Proxy tried to use the same addresses for UDC endpoints as the addresses that are provided in the USB descriptors of the proxied device. This doesn't always work, as UDC endpoints might not support the required addresses or capabilities.

Instead, we need to dynamically remap the endpoint addresses; see assign_ep_address in the Raw Gadget examples for reference.

This issue has previously came up here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions