C API for BALTECH SDK

§ brp_Mif_ReadSL3()

brp_errcode brp_Mif_ReadSL3 ( brp_protocol  protocol,
unsigned  NoMacOnCmd,
unsigned  PlainData,
unsigned  NoMacOnResp,
unsigned  Block,
unsigned  BlockNr,
brp_buf BlockData,
size_t *  BlockData_len,
brp_mempool mempool 
)

This command reads blocks from an SL3-authenticated MIFARE Pro card.

Parameters
[in]protocolused to execute the command
[in]NoMacOnCmd
[in]PlainData
[in]NoMacOnResp
[in]BlockBlock number where reading starts.
[in]BlockNrNumber of blocks to read.
[out]BlockDataRead data blocks.
[out]BlockData_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