Commit Graph

8 Commits

Author SHA1 Message Date
Harald Welte a362722b96 USB_Types: USB_Feature_Selector + USB_DeviceRequest definitions 2019-01-13 22:41:36 +01:00
Harald Welte 542f8cb128 USB_PT: Populate the USB_trasnfer_compl.transfer_hdl
... only this way the user can know which trasnfer has just completed.
2019-01-13 22:40:51 +01:00
Harald Welte 057787c56f USB_PT: Populate the USB_transfer_compl.status field 2019-01-13 22:39:08 +01:00
Harald Welte 5b160f6e2e USB_PT: Fix handling of buffer size for Control Read transfers
A control read transfer (bmAttributes & 0x80) consists of an 8 byte
header (setup phase) followed by a data phase containing the retunned
data.  So we have to add the wLength contents of the header to the
length of the buffer allocated for the transfer.
2019-01-13 22:37:03 +01:00
Harald Welte d95f149d24 New USB_Types.ttcn containing coding of USB standard descriptors 2019-01-13 13:25:14 +01:00
Harald Welte e9be974c5c Add README.md file 2019-01-08 16:22:02 +01:00
Harald Welte b57baadfd4 USB_PortTypes: Add receive and send templates 2019-01-08 16:21:41 +01:00
Harald Welte cdd33ebe7e WIP: TITAN TestPort for accessing USB devices from a USB host 2019-01-08 14:16:12 +01:00