Desfire.WriteData
Writes data to a Standard or a Backup data file.
Properties
- Command code: 0x1B05
- 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.ErrEeprom, 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) | Position within file. | |
Length of Data | Integer (16 bits) |
Length of Data in bytes |
|
Data | Raw data | Data read from card. | |
Mode | Enumeration (8 bits) |
Communication settings linked to the file. Values:
|
Returned values (response frame)
None