C API for BALTECH SDK

§ brp_Iso15_ReadSingleBlock()

brp_errcode brp_Iso15_ReadSingleBlock ( brp_protocol  protocol,
unsigned  BlockID,
bool  EnBlockSec,
unsigned *  LabelStat,
brp_buf Payload,
size_t *  Payload_len,
brp_mempool mempool 
)

This command reads a single block from a label.

This command implements the "read single block" optional command from the [ISO 15693-3 specification](http://www.iso.org/iso/catalogue_detail.htm?csnumber=43467).

Parameters
[in]protocolused to execute the command
[in]BlockIDID of block to read.
[in]EnBlockSecDisable BlockSecStat byte in answer.
[out]LabelStatStatus code returned from label. The following bytes will only be returned, if LabelStat is OK.
[out]PayloadPayload data which are stored in the requested block.
[out]Payload_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