home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / usbd0906.zip / usb_20020906.zip / usbcalls / samples / Cardreader / GCUSBTransport.h < prev    next >
C/C++ Source or Header  |  2001-11-13  |  486b  |  25 lines

  1. /*
  2.  *  GCUSBTransport.h
  3.  *  ifd-GemPC430
  4.  *
  5.  *  Created by JL Giraud <jl.giraud@free.fr> on Sun Nov 19 2000.
  6.  *  License:   See file COPYING
  7.  *
  8.  */
  9.  
  10. #ifndef _GCUSBTRANSPORT_H_
  11. #define _GCUSBTRANSPORT_H_
  12.  
  13. #include "GemCore.h"
  14.  
  15. // buffer size at transport level (largest of cmd level ones +1)
  16. #define GC_TR_BUF_SIZE (((CMD_BUF_SIZE<RESP_BUF_SIZE)?RESP_BUF_SIZE:CMD_BUF_SIZE)+1)
  17.  
  18.  
  19. // Offset of the length byte in a GemCore command
  20. #define TR_OFFSET_LNG 0
  21.  
  22.  
  23.  
  24. #endif
  25.