![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| 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).
| [in] | protocol | used to execute the command |
| [in] | BlockID | ID of block to read. |
| [in] | EnBlockSec | Disable BlockSecStat byte in answer. |
| [out] | LabelStat | Status code returned from label. The following bytes will only be returned, if LabelStat is OK. |
| [out] | Payload | Payload data which are stored in the requested block. |
| [out] | Payload_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 |