Public Member Functions | Protected Member Functions | Protected Attributes | Friends
FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto 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_FlexSoftCrypto.h>

List of all members.

Public Member Functions

int AbortTransaction (unsigned char ucDataManipulationFlags)
 DESFire command [0xA7] Abort Transaction, realized with Reader command [0xC3][0xA7].
int Authenticate (unsigned char ucReaderKeyIndex, unsigned char ucDESFireKeyNo)
 DESFire command [0xFA], realized with Reader command [0xC3][0xFA] Authenticate, AuthenticateISO, AuthenticateAES.
int ChangeFileSettings (unsigned char ucApplicationLevelFlags, 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 [0xC3][0x5F].
int ChangeKey (unsigned char ucKeyNoToBeChanged, unsigned char ucAESNewKeyVersion, std::string sOldKey, std::string sNewKey)
 DESFire command [0xC4] Change Key, realized with Reader command [0xC3][0xC4].
int ChangeKeySettings (unsigned char ucNewKeySettings)
 DESFire command [0x54] Change Key Settings, realized with Reader command [0xC3][0x54].
int ClearRecordFile (unsigned char ucDataManipulationFlags, unsigned char ucFileNo, unsigned char ucFileCommSettings)
 DESFire command [0xEB] Clear Record File, realized with Reader command [0xC3][0xEB].
int CommitTransaction (unsigned char ucDataManipulationFlags)
 DESFire command [0xC7] Commit Transaction, realized with Reader command [0xC3][0xC7].
int CreateApplication (unsigned char ucPiccLevelFlags, unsigned int uiApplicationID, unsigned char ucKeySetting1, unsigned char ucKeySetting2, unsigned int uiISOFileID, std::string sDFName)
 DESFire command [0xCA] Create Application, realized with Reader command [0xC3][0xCA].
int CreateBackupDataFile (unsigned char ucApplicationLevelFlags, unsigned char ucFileNo, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiFileSize)
 DESFire command [0xCB] , realized with Reader command [0xC3][0xCB].
int CreateCyclicRecordFile (unsigned char ucApplicationLevelFlags, unsigned char ucFileNo, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiRecordSize, unsigned int uiMaxNoOfRecords)
 DESFire command [0xC0] , realized with Reader command [0xC3][0xC0].
int CreateLinearRecordFile (unsigned char ucApplicationLevelFlags, unsigned char ucFileNo, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiRecordSize, unsigned int uiMaxNoOfRecords)
 DESFire command [0xC1] , realized with Reader command [0xC3][0xC1].
int CreateStdDataFile (unsigned char ucApplicationLevelFlags, unsigned char ucFileNo, unsigned int uiISOFileID, unsigned char ucFileCommSettings, unsigned char ucFileReadWriteAccessRights, unsigned char ucFileChangeAccessRights, unsigned char ucFileReadAccessRights, unsigned char ucFileWriteAccessRights, unsigned int uiFileSize)
 DESFire command [0xCD] , realized with Reader command [0xC3][0xCD].
int CreateValueFile (unsigned char ucApplicationLevelFlags, 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)
 DESFire command [0xCC] , realized with Reader command [0xC3][0xCC].
int Credit (unsigned char ucDataManipulationFlags, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiCreditValue)
 DESFire command [0x0C] Credit, realized with Reader command [0xC3][0x0C].
int Debit (unsigned char ucDataManipulationFlags, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiDebitValue)
 DESFire command [0xDC] Debit, realized with Reader command [0xC3][0xDC].
int DeleteApplication (unsigned char ucPiccLevelFlags, unsigned int uiApplicationID)
 DESFire command [0xDA] Delete Application, realized with Reader command [0xC3][0xDA].
int DeleteFile (unsigned char ucApplicationLevelFlags, unsigned char ucFileNo)
 DESFire command [0xDF] , realized with Reader command [0xC3][0xDF].
int FormatPICC (unsigned char ucPiccLevelFlags)
 DESFire command [0xFC] Format PICC, realized with Reader command [0xC3][0xFC].
int FreeMemory (unsigned char ucPiccLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6E] Free Memory, realized with Reader command [0xC3][0x6E].
int GetApplicationIDs (unsigned char ucPiccLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6A] Get Application IDs, realized with Reader command [0xC3][0x6A].
int GetCardUID (unsigned char ucPiccLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x51] Get Card-UID, realized with Reader command [0xC3][0x51].
int GetDFNames (unsigned char ucPiccLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6D] Get DF-Names, realized with Reader command [0xC3][0x6D].
unsigned int GetErrorCode ()
unsigned char GetErrorSource ()
int GetFileIDs (unsigned char ucApplicationLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x6F] , realized with Reader command [0xC3][0x6F].
int GetFileSettings (unsigned char ucApplicationLevelFlags, unsigned char ucFileNo, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0xF5] , realized with Reader command [0xC3][0x5F].
int GetISOFileIDs (unsigned char ucApplicationLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x61] , realized with Reader command [0xC3][0x61].
int GetKeySettings (unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x45] Get Key Settings, realized with Reader command [0xC3][0x45].
int GetKeyVersion (unsigned char ucDESFireKeyNo, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x64] Get Key Version, realized with Reader command [0xC3][0x64].
int GetValue (unsigned char ucDataManipulationFlags, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int &uiValue)
 DESFire command [0x6C] Get Value, realized with Reader command [0xC3][0x6C].
int GetVersion (unsigned char ucPiccLevelFlags, unsigned char *pucResponseData, unsigned int uiResponseBufferLength, unsigned int &uiResponseLength)
 DESFire command [0x60] Get Version, realized with Reader command [0xC3][0x60].
int LimitedCredit (unsigned char ucDataManipulationFlags, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiCreditValue)
 DESFire command [0x1C] Limited Credit, realized with Reader command [0xC3][0x1C].
int ReadRecords (unsigned char ucDataManipulationFlags, 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 [0xC3][0xBB].
int ReadStandardData (unsigned char ucDataManipulationFlags, 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 char ucPiccLevelFlags, unsigned int uiApplicationID)
 DESFire command [0x5A] Select Application, realized with Reader command [0xC3][0x5A].
int SetConfiguration (unsigned char ucPiccLevelFlags, unsigned char *pucRequestData, unsigned int uiRequestLength)
 DESFire command [0x5C] Set Configuration, realized with Reader command [0xC3][0x5C].
int WriteRecord (unsigned char ucDataManipulationFlags, unsigned char ucFileNo, unsigned char ucFileCommSettings, unsigned int uiFileOffset, unsigned int uiRecordLen, unsigned char *pucRecordData)
 DESFire command [0x3B] Write Record, realized with Reader command [0xC3][0x3B].
int WriteStandardData (unsigned char ucDataManipulationFlags, 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 [0xC3][0x3D].

Protected Member Functions

 FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto ()
virtual ~FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto ()

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 [0xC3] Reader commands and flexible software cryptographic.
Detailed description about the command interface can be found in:

Note:
Programmers should be familiar with the ISO 14443 standards

Definition at line 70 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.h.


Constructor & Destructor Documentation


Member Function Documentation

DESFire command [0xA7] Abort Transaction, realized with Reader command [0xC3][0xA7].

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 473 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::Authenticate ( unsigned char  ucReaderKeyIndex,
unsigned char  ucDESFireKeyNo 
)

DESFire command [0xFA], realized with Reader command [0xC3][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 75 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::ChangeFileSettings ( unsigned char  ucApplicationLevelFlags,
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 [0xC3][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 235 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::ChangeKey ( unsigned char  ucKeyNoToBeChanged,
unsigned char  ucAESNewKeyVersion,
std::string  sOldKey,
std::string  sNewKey 
)

DESFire command [0xC4] Change Key, realized with Reader command [0xC3][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 101 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

DESFire command [0x54] Change Key Settings, realized with Reader command [0xC3][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 84 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::ClearRecordFile ( unsigned char  ucDataManipulationFlags,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings 
)

DESFire command [0xEB] Clear Record File, realized with Reader command [0xC3][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 458 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

DESFire command [0xC7] Commit Transaction, realized with Reader command [0xC3][0xC7].

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 467 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::CreateApplication ( unsigned char  ucPiccLevelFlags,
unsigned int  uiApplicationID,
unsigned char  ucKeySetting1,
unsigned char  ucKeySetting2,
unsigned int  uiISOFileID,
std::string  sDFName 
)

DESFire command [0xCA] Create Application, realized with Reader command [0xC3][0xCA].

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 139 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::CreateBackupDataFile ( unsigned char  ucApplicationLevelFlags,
unsigned char  ucFileNo,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiFileSize 
)

DESFire command [0xCB] , realized with Reader command [0xC3][0xCB].

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 284 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::CreateCyclicRecordFile ( unsigned char  ucApplicationLevelFlags,
unsigned char  ucFileNo,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiRecordSize,
unsigned int  uiMaxNoOfRecords 
)

DESFire command [0xC0] , realized with Reader command [0xC3][0xC0].

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 332 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::CreateLinearRecordFile ( unsigned char  ucApplicationLevelFlags,
unsigned char  ucFileNo,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiRecordSize,
unsigned int  uiMaxNoOfRecords 
)

DESFire command [0xC1] , realized with Reader command [0xC3][0xC1].

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 316 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::CreateStdDataFile ( unsigned char  ucApplicationLevelFlags,
unsigned char  ucFileNo,
unsigned int  uiISOFileID,
unsigned char  ucFileCommSettings,
unsigned char  ucFileReadWriteAccessRights,
unsigned char  ucFileChangeAccessRights,
unsigned char  ucFileReadAccessRights,
unsigned char  ucFileWriteAccessRights,
unsigned int  uiFileSize 
)

DESFire command [0xCD] , realized with Reader command [0xC3][0xCD].

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 269 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::CreateValueFile ( unsigned char  ucApplicationLevelFlags,
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 
)

DESFire command [0xCC] , realized with Reader command [0xC3][0xCC].

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 299 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::Credit ( unsigned char  ucDataManipulationFlags,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiCreditValue 
)

DESFire command [0x0C] Credit, realized with Reader command [0xC3][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 413 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::Debit ( unsigned char  ucDataManipulationFlags,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiDebitValue 
)

DESFire command [0xDC] Debit, realized with Reader command [0xC3][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 403 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::DeleteApplication ( unsigned char  ucPiccLevelFlags,
unsigned int  uiApplicationID 
)

DESFire command [0xDA] Delete Application, realized with Reader command [0xC3][0xDA].

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 151 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::DeleteFile ( unsigned char  ucApplicationLevelFlags,
unsigned char  ucFileNo 
)

DESFire command [0xDF] , realized with Reader command [0xC3][0xDF].

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 348 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

DESFire command [0xFC] Format PICC, realized with Reader command [0xC3][0xFC].

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 197 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x6E] Free Memory, realized with Reader command [0xC3][0x6E].

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 169 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x6A] Get Application IDs, realized with Reader command [0xC3][0x6A].

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 159 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x51] Get Card-UID, realized with Reader command [0xC3][0x51].

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 213 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x6D] Get DF-Names, realized with Reader command [0xC3][0x6D].

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 179 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x6F] , realized with Reader command [0xC3][0x6F].

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 248 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0xF5] , realized with Reader command [0xC3][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 258 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x61] , realized with Reader command [0xC3][0x61].

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 356 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x45] Get Key Settings, realized with Reader command [0xC3][0x45].

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 91 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x64] Get Key Version, realized with Reader command [0xC3][0x64].

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_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::GetValue ( unsigned char  ucDataManipulationFlags,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int &  uiValue 
)

DESFire command [0x6C] Get Value, realized with Reader command [0xC3][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 393 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

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

DESFire command [0x60] Get Version, realized with Reader command [0xC3][0x60].

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 203 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::LimitedCredit ( unsigned char  ucDataManipulationFlags,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiCreditValue 
)

DESFire command [0x1C] Limited Credit, realized with Reader command [0xC3][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 423 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::ReadRecords ( unsigned char  ucDataManipulationFlags,
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 [0xC3][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 445 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::ReadStandardData ( unsigned char  ucDataManipulationFlags,
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 369 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::SelectApplication ( unsigned char  ucPiccLevelFlags,
unsigned int  uiApplicationID 
)

DESFire command [0x5A] Select Application, realized with Reader command [0xC3][0x5A].

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 189 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::SetConfiguration ( unsigned char  ucPiccLevelFlags,
unsigned char *  pucRequestData,
unsigned int  uiRequestLength 
)

DESFire command [0x5C] Set Configuration, realized with Reader command [0xC3][0x5C].

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_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::WriteRecord ( unsigned char  ucDataManipulationFlags,
unsigned char  ucFileNo,
unsigned char  ucFileCommSettings,
unsigned int  uiFileOffset,
unsigned int  uiRecordLen,
unsigned char *  pucRecordData 
)

DESFire command [0x3B] Write Record, realized with Reader command [0xC3][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 433 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto::WriteStandardData ( unsigned char  ucDataManipulationFlags,
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 [0xC3][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 381 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_FlexSoftCrypto.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