BALTECH SDK wrapper functions reference

§ brp_Desfire_ReadData()

brp_errcode brp_Desfire_ReadData ( brp_Desfire_ReadData_t  params)

Reads data from a Standard or Backup data file.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • FileId (in) ID of file to read.
  • Adr (in) Offset position within file. Ranges from 0x000000 to (file size -1).
  • Len (in) Length of data to read. If Len = 0, the entire data starting from the offset position will be read.
  • Mode (in) Communication settings linked to the file.
  • Data (out) Data read from card.
  • Data_len (out) Length of Data (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