BALTECH SDK wrapper functions reference

§ brp_Mif_ReadSL3()

brp_errcode brp_Mif_ReadSL3 ( brp_Mif_ReadSL3_t  params)

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

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • NoMacOnCmd (in)
  • PlainData (in)
  • NoMacOnResp (in)
  • Block (in) Block number where reading starts.
  • BlockNr (in) Number of blocks to read.
  • BlockData (out) Read data blocks.
  • BlockData_len (out) Length of BlockData (in bytes).
  • 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