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