C API for BALTECH SDK

§ brp_Ftob_ReadFileBlock()

brp_errcode brp_Ftob_ReadFileBlock ( brp_protocol  protocol,
bool  ToggleBit,
unsigned  MaxBlockLength,
brp_buf BlockData,
size_t *  BlockData_len,
brp_mempool mempool 
)

Use this command to receive a file block by block.

Parameters
[in]protocolused to execute the command
[in]ToggleBitThis value must be toggled after every successfully transferred block.
[in]MaxBlockLengthMaximum length of received block.
[out]BlockDataContent of read block.
[out]BlockData_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