]> sigrok.org Git - libsigrokdecode.git/commit
usb_request: Handle CONTROL transfer protocol stalls
authorStefan Brüns <redacted>
Sat, 22 Jul 2017 17:54:59 +0000 (19:54 +0200)
committerStefan Brüns <redacted>
Sat, 22 Jul 2017 17:54:59 +0000 (19:54 +0200)
commitfc9d619c520c2b47b52ff71e30260ed9333f33f2
treecd6904dc5c8ffb7f9f07f3ab8b23c638dab5a9df
parent2071c4d3d8503b8ae9ccd623cec1163ec6732a91
usb_request: Handle CONTROL transfer protocol stalls

According to the USB 2.0 spec, 8.5.3.4, a protocol stall condition lasts
until the next SETUP transfer. On reception of the SETUP, adjust the end
sample accordingly, and flush the previous CONTROL transfer.
decoders/usb_request/pd.py