Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement some details of USBTMC specification - helps to recover from read timeout #50

Closed
wants to merge 3 commits into from

Commits on Jan 9, 2019

  1. Read Bulk-IN data during abort_bulk_in sequence

    The USBTMC specification requires that pending Bulk-IN data
    are read during the abort_bulk_in sequence.
    
    Without this change, several tested USBTMC devices become fully
    unresponsive after a read timeout. With this change, the device
    responds correctly to subsequent commands after a timeout.
    Joris van Rantwijk committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    e52b91e View commit details
    Browse the repository at this point in the history
  2. Clear Bulk-OUT endpoint after abort_bulk_out

    The USBTMC specification requires that the Bulk-OUT endpoint is
    stalled by the device during abort_bulk_out, then explicitly
    cleared by the host.
    Joris van Rantwijk committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    3ae28c5 View commit details
    Browse the repository at this point in the history
  3. Ignore EOM flag when device sends partial data

    The USBTMC specificiation requires that the host ignore the EOM flag
    unless the device sends a complete data transfer.
    Joris van Rantwijk committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    15343d4 View commit details
    Browse the repository at this point in the history