C API for BALTECH SDK

§ brp_Iso15_ReadMultipleBlocks()

brp_errcode brp_Iso15_ReadMultipleBlocks ( brp_protocol  protocol,
unsigned  FirstBlockId,
unsigned  BlockCount,
bool  EnBlockSec,
unsigned *  LabelStat,
brp_Iso15_ReadMultipleBlocks_RecvBlocks_Entry **  RecvBlocks,
size_t *  RecvBlocks_len,
unsigned **  BlocksSecData,
size_t *  BlocksSecData_len,
brp_mempool mempool 
)

This command reads one or multiple blocks from a label.

This command implements the (optional) "ReadMultipleBlocks" command from the ISO 15693-3 specification.

Parameters
[in]protocolused to execute the command
[in]FirstBlockIdIndex (starting at 0) of first block to read.
[in]BlockCountNumber of blocks to read.
[in]EnBlockSecEnable/Disable BlockSecStat Byte in response frame.
[out]LabelStatStatus code returned from label. Is 0 if everything was OK, else an error code is returned.
[out]RecvBlocksif LabelStat is not 0 (=error), this array will always be if size 0.
[out]RecvBlocks_len
[out]BlocksSecDatathis array will always be of size 0 if LabelStat is not 0 (=error) or EnBlockSec was not set.
[out]BlocksSecData_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