Public Member Functions | Protected Member Functions | Protected Attributes | Friends
FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto Class Reference

Transponder class, nested in class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire, providing manufacturer specific commands for ISO 14443-4 compliant Transponders of type MIFARE DESFire from manufacturer NXP Semiconductors. More...

#include <FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.h>

List of all members.

Public Member Functions

int AbortTransaction (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xA7] Abort Transaction, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int Authenticate (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo)
 DESFire command [0xFA], realized with Reader command [0xC1][0xFA] Authenticate, AuthenticateISO, AuthenticateAES.
int ChangeFileSettings (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucNewFileCommSettings, unsigned char ucNewFileReadWriteAccessRights, unsigned char ucNewFileChangeAccessRights, unsigned char ucNewFileReadAccessRights, unsigned char ucNewFileWriteAccessRights)
 DESFire command [0x5F] Change File Settings, realized with Reader command [0xC1][0x5F].
int ChangeKey (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucKeyNoToBeChanged, unsigned char ucAESNewKeyVersion, std::string sOldKey, std::string sNewKey)
 DESFire command [0xC4] Change Key, realized with Reader command [0xC1][0xC4].
int ChangeKeySettings (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucNewKeySettings)
 DESFire command [0x54] Change Key Settings, realized with Reader command [0xC1][0x54].
int ClearRecordFile (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings)
 DESFire command [0xEB] Clear Record File, realized with Reader command [0xC1][0xEB].
int CommitTransaction (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xC7] Commit Transaction, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int CreateApplication (unsigned int uiApplicationID, unsigned char ucKeySetting1, unsigned char ucKeySetting2, unsigned int uiISOFileID, std::string sDFName, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xCA] Create Application, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int CreateBackupDataFile (unsigned char ucFileNo, bool bWithISOFileID, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiFileSize, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xCB] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int CreateCyclicRecordFile (unsigned char ucFileNo, bool bWithISOFileID, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiRecordSize, unsigned int uiMaxNoOfRecords, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xC0] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int CreateLinearRecordFile (unsigned char ucFileNo, bool bWithISOFileID, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiRecordSize, unsigned int uiMaxNoOfRecords, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xC1] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int CreateStdDataFile (unsigned char ucFileNo, bool bWithISOFileID, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiFileSize, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xCD] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int CreateValueFile (unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiLowerLimit, unsigned int uiUpperLimit, unsigned int uiValue, unsigned char ucLimitedCreditEnabled, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xCC] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int Credit (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiCreditValue)
 DESFire command [0x0C] Credit, realized with Reader command [0xC1][0x0C].
int Debit (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiDebitValue)
 DESFire command [0xDC] Debit, realized with Reader command [0xC1][0xDC].
int DeleteApplication (unsigned int uiApplicationID, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xDA] Delete Application, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int DeleteFile (unsigned char ucFileNo, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xDF] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int FormatPICC (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xFC] Format PICC, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int FreeMemory (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6E] Free Memory, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetApplicationIDs (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6A] Get Application IDs, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetCardUID (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x51] Get Card-UID, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetDFNames (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6D] Get DF-Names, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
unsigned int GetErrorCode ()
unsigned char GetErrorSource ()
int GetFileIDs (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6F] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetFileSettings (unsigned char ucFileNo, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xF5] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetISOFileIDs (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x61] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetKeySettings (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x45] Get Key Settings, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetKeyVersion (unsigned char ucDESFireKeyNo, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x64] Get Key Version, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int GetValue (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int &uiValue)
 DESFire command [0x6C] Get Value, realized with Reader command [0xC1][0x6C].
int GetVersion (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x60] Get Version, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int LimitedCredit (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiCreditValue)
 DESFire command [0x1C] Limited Credit, realized with Reader command [0xC1][0x1C].
int ReadRecords (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiRecordOffset, unsigned int uiNoOfRecords, unsigned int uiRecordSize, unsigned char *pucRecordData)
 DESFire command [0xBB] Read Records, realized with Reader command [0xC1][0xBB].
int ReadStandardData (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiFileOffset, unsigned int uiFileLen, unsigned char *pucFileData)
 DESFire command [0xBD] Read Standard Data, realized with Reader command [0xC1][0xBD].
int SelectApplication (unsigned int uiApplicationID, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x5A] Select Application, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int SetConfiguration (unsigned char *pucRequestData, unsigned int uiRequestLength, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x5C] Set Configuration, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.
int WriteRecord (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiFileOffset, unsigned int uiRecordLen, unsigned char *pucRecordData)
 DESFire command [0x3B] Write Record, realized with Reader command [0xC1][0x3B].
int WriteStandardData (unsigned int uiApplicationID, unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiFileOffset, unsigned int uiFileLen, unsigned char *pucFileData)
 DESFire command [0x3D] Write Standard Data, realized with Reader command [0xC1][0x3D].

Protected Member Functions

 FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto ()
virtual ~FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto ()

Protected Attributes

FedmIscTagHandler_ISO14443_4_MIFARE_DESFirem_pParent

Friends

class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire
class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_Impl_C1
class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_Impl_C3

Detailed Description

Transponder class, nested in class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire, providing manufacturer specific commands for ISO 14443-4 compliant Transponders of type MIFARE DESFire from manufacturer NXP Semiconductors.

Description
High-level class for easy-to-use Transponder specific communication. See OBID::FEDM::Core::ITagGroup for additional information.
This class implements the communication with [0xC1] Reader commands.
Detailed description about the command interface can be found in:

Note:
Programmers should be familiar with the ISO 14443 and ISO/IEC 7816 standards

Definition at line 70 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.h.


Constructor & Destructor Documentation


Member Function Documentation

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::AbortTransaction ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xA7] Abort Transaction, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 682 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::Authenticate ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo 
)

DESFire command [0xFA], realized with Reader command [0xC1][0xFA] Authenticate, AuthenticateISO, AuthenticateAES.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 71 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::ChangeFileSettings ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucNewFileCommSettings,
unsigned char  ucNewFileReadWriteAccessRights,
unsigned char  ucNewFileChangeAccessRights,
unsigned char  ucNewFileReadAccessRights,
unsigned char  ucNewFileWriteAccessRights 
)

DESFire command [0x5F] Change File Settings, realized with Reader command [0xC1][0x5F].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 275 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::ChangeKey ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucKeyNoToBeChanged,
unsigned char  ucAESNewKeyVersion,
std::string  sOldKey,
std::string  sNewKey 
)

DESFire command [0xC4] Change Key, realized with Reader command [0xC1][0xC4].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 107 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::ChangeKeySettings ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucNewKeySettings 
)

DESFire command [0x54] Change Key Settings, realized with Reader command [0xC1][0x54].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 85 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::ClearRecordFile ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings 
)

DESFire command [0xEB] Clear Record File, realized with Reader command [0xC1][0xEB].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 656 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CommitTransaction ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xC7] Commit Transaction, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 671 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CreateApplication ( unsigned int  uiApplicationID,
unsigned char  ucKeySetting1,
unsigned char  ucKeySetting2,
unsigned int  uiISOFileID,
std::string  sDFName,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xCA] Create Application, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 143 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CreateBackupDataFile ( unsigned char  ucFileNo,
bool  bWithISOFileID,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiFileSize,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xCB] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 351 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CreateCyclicRecordFile ( unsigned char  ucFileNo,
bool  bWithISOFileID,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiRecordSize,
unsigned int  uiMaxNoOfRecords,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xC0] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 442 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CreateLinearRecordFile ( unsigned char  ucFileNo,
bool  bWithISOFileID,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiRecordSize,
unsigned int  uiMaxNoOfRecords,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xC1] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 411 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CreateStdDataFile ( unsigned char  ucFileNo,
bool  bWithISOFileID,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiFileSize,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xCD] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 322 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::CreateValueFile ( unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiLowerLimit,
unsigned int  uiUpperLimit,
unsigned int  uiValue,
unsigned char  ucLimitedCreditEnabled,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xCC] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 380 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::Credit ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiCreditValue 
)

DESFire command [0x0C] Credit, realized with Reader command [0xC1][0x0C].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 560 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::Debit ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiDebitValue 
)

DESFire command [0xDC] Debit, realized with Reader command [0xC1][0xDC].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 577 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::DeleteApplication ( unsigned int  uiApplicationID,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xDA] Delete Application, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 164 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::DeleteFile ( unsigned char  ucFileNo,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xDF] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 473 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::FormatPICC ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xFC] Format PICC, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 223 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::FreeMemory ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x6E] Free Memory, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 188 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetApplicationIDs ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x6A] Get Application IDs, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 177 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetCardUID ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x51] Get Card-UID, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 245 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetDFNames ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x6D] Get DF-Names, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 199 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetFileIDs ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x6F] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 298 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetFileSettings ( unsigned char  ucFileNo,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0xF5] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 309 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetISOFileIDs ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x61] , realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 486 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetKeySettings ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x45] Get Key Settings, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 96 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetKeyVersion ( unsigned char  ucDESFireKeyNo,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x64] Get Key Version, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 126 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetValue ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int &  uiValue 
)

DESFire command [0x6C] Get Value, realized with Reader command [0xC1][0x6C].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 543 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::GetVersion ( unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x60] Get Version, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 234 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::LimitedCredit ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiCreditValue 
)

DESFire command [0x1C] Limited Credit, realized with Reader command [0xC1][0x1C].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 595 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::ReadRecords ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiRecordOffset,
unsigned int  uiNoOfRecords,
unsigned int  uiRecordSize,
unsigned char *  pucRecordData 
)

DESFire command [0xBB] Read Records, realized with Reader command [0xC1][0xBB].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 633 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::ReadStandardData ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiFileOffset,
unsigned int  uiFileLen,
unsigned char *  pucFileData 
)

DESFire command [0xBD] Read Standard Data, realized with Reader command [0xC1][0xBD].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 501 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::SelectApplication ( unsigned int  uiApplicationID,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x5A] Select Application, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 210 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::SetConfiguration ( unsigned char *  pucRequestData,
unsigned int  uiRequestLength,
unsigned char *  pucResponseData,
unsigned int  uiResponseBufferLength,
unsigned int &  uiResponseLength 
)

DESFire command [0x5C] Set Configuration, realized with Reader command [0xB2][0xBE] T=CL APDU for synchronous call.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 256 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::WriteRecord ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiFileOffset,
unsigned int  uiRecordLen,
unsigned char *  pucRecordData 
)

DESFire command [0x3B] Write Record, realized with Reader command [0xC1][0x3B].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 612 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto::WriteStandardData ( unsigned int  uiApplicationID,
unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiFileOffset,
unsigned int  uiFileLen,
unsigned char *  pucFileData 
)

DESFire command [0x3D] Write Standard Data, realized with Reader command [0xC1][0x3D].

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE DESFire from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 522 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SoftCrypto.cpp.


Friends And Related Function Documentation


Member Data Documentation


The documentation for this class was generated from the following files:


maggie_rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:05:32