C API for BALTECH SDK

§ brp_Iso15_ReadBlock()

brp_errcode brp_Iso15_ReadBlock ( brp_protocol  protocol,
unsigned  BlockID,
unsigned  BlockNum,
bool  EnBlockSec,
unsigned *  LabelStat,
unsigned *  BlockLen,
brp_Iso15_ReadBlock_Data_Entry **  Data,
size_t *  Data_len,
brp_mempool mempool 
)

**For new applications please use brp_Iso15_ReadMultipleBlocks() as this command is deprecated and may be removed in future.

**

This command reads one or multiple blocks from a label.

This command implements the "read single block" and "read multiple blocks" optional commands from the ISO 15693-3 specification.

Parameters
[in]protocolused to execute the command
[in]BlockIDID of first block to read.
[in]BlockNumNumber of blocks to read: * 0x00: 1 block * 0xFF: 256 blocks
[in]EnBlockSecEnable/Disable BlockSecStat Byte in response frame.
[out]LabelStatStatus code returned from label. The following bytes will only be returned, if LabelStat is OK.
[out]BlockLenAmount of bytes to read in one block.
[out]Data
[out]Data_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
Deprecated:
This command may be removed in future!