C API for BALTECH SDK

§ brp_UsbHost_TransRawSetup()

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().

Parameters
[in]protocolused to execute the command
[in]SetupDataData to transfer in SETUP stage.
[in]PipeNoNumber of pipe.
[in]TimeoutTimeout for transaction.