Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to LibUSBTransferMBS class.
LibUSBTransferMBS.kTransferFlagsAddZeroPacket = 4
Type | Topic | Plugin | Version |
const | USB | MBS USB Plugin | 22.2 |
Terminate transfers that are a multiple of the endpoint's MaxPacketSize with an extra zero length packet.
This is useful when a device protocol mandates that each logical request is terminated by an incomplete packet (i.e. the logical requests are not separated by other means).
This flag only affects host-to-device transfers to bulk and interrupt endpoints. In other situations, it is ignored.
This flag only affects transfers with a length that is a multiple of the endpoint's wMaxPacketSize. On transfers of other lengths, this flag has no effect. Therefore, if you are working with a device that needs a ZLP whenever the end of the logical request falls on a packet boundary, then it is sensible to set this flag on every transfer (you do not have to worry about only setting it on transfers that end on the boundary).
This flag is currently only supported on Linux. On other systems, libusb_submit_transfer() will return LIBUSB_ERROR_NOT_SUPPORTED for every transfer where this flag is set.
Available since libusb-1.0.9.
LibUSBTransferMBS.kTransferFlagsShortNotOK = 1
Type | Topic | Plugin | Version |
const | USB | MBS USB Plugin | 22.2 |
Report short frames as errors.
The items on this page are in the following plugins: MBS USB Plugin.