C API for BALTECH SDK

§ brp_Desfire_ReadData()

brp_errcode brp_Desfire_ReadData ( brp_protocol  protocol,
unsigned  FileId,
unsigned  Adr,
unsigned  Len,
brp_Desfire_ReadData_Mode  Mode,
brp_buf Data,
size_t *  Data_len,
brp_mempool mempool 
)

Reads data from a Standard or Backup data file.

Parameters
[in]protocolused to execute the command
[in]FileIdID of file to read.
[in]AdrOffset position within file. Ranges from 0x000000 to (file size -1).
[in]LenLength of data to read. If Len = 0, the entire data starting from the offset position will be read.
[in]ModeCommunication settings linked to the file.
[out]DataData read from card.
[out]Data_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