![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| brp_errcode brp_UsbHost_TransRawSetup | ( | brp_protocol | protocol, | 
| brp_buf | SetupData, | ||
| unsigned | PipeNo, | ||
| unsigned | Timeout | ||
| ) | 
Transfers a raw SETUP packet.
Has to be combined with a call of brp_UsbHost_TransSetupIn() or brp_UsbHost_TransSetupOut().
| [in] | protocol | used to execute the command | 
| [in] | SetupData | Data to transfer in SETUP stage. | 
| [in] | PipeNo | Number of pipe. | 
| [in] | Timeout | Timeout for transaction. |