BALTECH Docs |
C API for BALTECH SDK
|
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.
[in] | protocol | used to execute the command |
[in] | FirstBlockId | Index (starting at 0) of first block to read. |
[in] | BlockCount | Number of blocks to read. |
[in] | EnBlockSec | Enable/Disable BlockSecStat Byte in response frame. |
[out] | LabelStat | Status code returned from label. Is 0 if everything was OK, else an error code is returned. |
[out] | RecvBlocks | if LabelStat is not 0 (=error), this array will always be if size 0. |
[out] | RecvBlocks_len | |
[out] | BlocksSecData | this array will always be of size 0 if LabelStat is not 0 (=error) or EnBlockSec was not set. |
[out] | BlocksSecData_len | |
[in] | mempool | is 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 |