Desfire.ReadData
Reads data from a Standard or Backup data file.
Properties
- Command code: 0x1B04
- Command timeout: 3000 ms
- Possible status codes: General status codes, Desfire.ErrIso14NoTag, Desfire.ErrBreak, Desfire.ErrIso14Hf, Desfire.ErrIso14CardInvalid, Desfire.ErrReaderChipCommunication, Desfire.ErrIso14ApduCmd, Desfire.ErrIso14InvalidResponse, Desfire.ErrIntegrity, Desfire.ErrPcdParam, Desfire.ErrFirmwareNotSupported, Desfire.ErrSamCommunication, Desfire.ErrSamUnlock, Desfire.ErrHardwareNotSupported, Desfire.ErrLength, Desfire.ErrPermissionDenied, Desfire.ErrParameter, Desfire.ErrPiccIntegrity, Desfire.ErrCommandAborted, Desfire.ErrIllegalCmd, Desfire.ErrCmdOverflow, Desfire.ErrIllegalCmdLegacy
Parameters (request frame)
Name | Type/Size | Description | |
---|---|---|---|
FileId | Integer (8 bits) | ID of file to read. | |
Adr | Integer (32 bits) | Offset position within file. Ranges from 0x000000 to (file size -1). | |
Len | Integer (16 bits) | Length of data to read. If Len = 0, the entire data starting from the offset position will be read. | |
Mode | Enumeration (8 bits) |
Communication settings linked to the file. Values:
|
Returned values (response frame)
Name | Type/Size | Description |
---|---|---|
Length of Data | Integer (16 bits) |
Length of Data in bytes |
Data | Raw data | Data read from card. |