C API for BALTECH SDK

§ brp_UsbHost_TransIn()

brp_errcode brp_UsbHost_TransIn ( brp_protocol  protocol,
unsigned  PipeNo,
unsigned  Timeout,
brp_buf InData,
size_t *  InData_len,
brp_mempool mempool 
)

Transfers an IN transaction.

Parameters
[in]protocolused to execute the command
[in]PipeNoNumber of pipe.
[in]TimeoutTimeout for transaction.
[out]InDataResulting data.
[out]InData_len
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool