
22
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
MaxPacketSize
Use MaxPacketSize to assign the actual MaxPacketSize value for an endpoint.
Please refer to EndpointData={...} in the hub.req sample file for a complete
example.
MaxPacketSize=2
MaxTransferSize
Use MaxTransferSize to assign the actual MaxTransferSize value for an
endpoint. Please refer to EndpointData={...} in the hub.req sample file for a
complete example.
MaxTransferSize=2
Example
This example is taken from the Bluetooth.req sample file:
EndpointData={
; Global definitions
Caption=Bluetooth ACL or SCO Data Packet
EndpointType=Bulk
EndpointId=2
MaxPacketSize=64
MaxTransferSize=3573
;*** Field Definitions start here ********
Data={
Length=?
Bytes(0,1)={
Name=Connection Handle & Flags
FormatValue= 0x%04X
}
Bytes(2,3)={
Name=DataTotalLength
FormatValue= %d
}
Bytes(4,?)={
FormatValue=ACL or SCO Data
Comentarios a estos manuales