usbp_libusb.cpp

Go to the documentation of this file.
00001 /* -*- c++ -*- */
00028  #include <stdio.h>
00029  #include <string>
00030  #include "usbp_libusb.h"
00031  #include "upl_err.h"
00032  
00033  using namespace std;
00034  
00039 int CUsbpLibUSB::deviceInfo()
00040 {
00041     int err = UPL_OK;
00042     
00043     return err;   
00044 } 
00045 
00050 int CUsbpLibUSB::deviceInfo(int vid, int pid)
00051 {
00052     int err = UPL_OK;
00053     
00054     return err;   
00055 }
00056 
00061 int CUsbpLibUSB::deviceOpen(int vid, int pid)
00062 {
00063     int err = UPL_OK;
00064     
00065     
00066     return err;   
00067 }
00068 
00073 int CUsbpLibUSB::deviceStatus()
00074 {
00075     int err UPL_OK;
00076     
00077     return err;   
00078 }
00079 
00084 int CUsbpLibUSB::deviceCheck()
00085 {
00086     int err = UPL_OK;
00087     
00088     return err;    
00089 }   
00090 
00095 int CUsbpLibUSB::deviceClose(int vid, int pid)
00096 {
00097     int err = UPL_OK;
00098     
00099     return err;   
00100 }
00101 
00106 int CUsbpLibUSB::controlWrite(
00107                              byte reqCode,
00108                              unsigned short value,
00109                              unsigned short index,
00110                              byte *b, int len, int timeout)
00111 {
00112     int err = UPL_OK;
00113     
00114     return err;   
00115 }                             
00116                
00121 int CUspbLibUSB::bulkWrite(int ep, int size, byte *b)
00122 {
00123     int err = UPL_OK;
00124     
00125     return err;   
00126 }              
00127 
00132 int CUsbpLibUSB::bulkRead(int ep, int size, byte *b)
00133 {
00134     int err UPL_OK;
00135     
00136     return err;   
00137 }      
00138 
00143 int CUsbpLibUSB::bulkWriteRead(int ep_out, int ep_in, int size, byte *b)
00144 {
00145     int err = UPL_OK;
00146     
00147     return err;
00148 }   
00149 
00154 int CUsbpLibUSB::assignEpt()
00155 {
00156     int eptCount = 0;
00157     
00158     return UPL_OK;       
00159 }
00160 

Generated on Mon Mar 5 20:44:19 2007 for usbp by  doxygen 1.5.1-p1