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_SamCrypto.h>
Public Member Functions | |
int | AbortTransaction (unsigned char ucSamSlotNo, unsigned char ucDataManipulationFlags) |
DESFire command [0xA7] Abort Transaction, realized with Reader command [0xC3][0xA7]. | |
int | Authenticate (unsigned char ucSamSlotNo, unsigned char ucDESFireAuthMode, unsigned char ucDESFireKeyNo, unsigned char ucSamAuthMode, unsigned char ucSamKeyNo, unsigned char ucSamKeyVersion, unsigned char ucSamDiversificationInputLen, unsigned char *pucSamDiversificationInput) |
DESFire command [0xFA], realized with Reader command [0xC3][0xFA] Authenticate, AuthenticateISO, AuthenticateAES. | |
int | ChangeFileSettings (unsigned char ucSamSlotNo, 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 ucSamSlotNo, unsigned char ucSamKeyCompilationMethod, unsigned char ucSamCfg, unsigned char ucSamKeyNoCurrentKey, unsigned char ucSamKeyVersionCurrentKey, unsigned char ucSamKeyNoNewKey, unsigned char ucSamKeyVersionNewKey, unsigned char ucSamDiversificationInputLen, unsigned char *pucSamDiversificationInput) |
DESFire command [0xC4] Change Key, realized with Reader command [0xC3][0xC4]. | |
int | ChangeKeySettings (unsigned char ucSamSlotNo, unsigned char ucNewKeySettings) |
DESFire command [0x54] Change Key Settings, realized with Reader command [0xC3][0x54]. | |
int | ClearRecordFile (unsigned char ucSamSlotNo, 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 ucSamSlotNo, unsigned char ucDataManipulationFlags) |
DESFire command [0xC7] Commit Transaction, realized with Reader command [0xC3][0xC7]. | |
int | CreateApplication (unsigned char ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, unsigned char ucPiccLevelFlags, unsigned int uiApplicationID) |
DESFire command [0xDA] Delete Application, realized with Reader command [0xC3][0xDA]. | |
int | DeleteFile (unsigned char ucSamSlotNo, unsigned char ucApplicationLevelFlags, unsigned char ucFileNo) |
DESFire command [0xDF] , realized with Reader command [0xC3][0xDF]. | |
int | FormatPICC (unsigned char ucSamSlotNo, unsigned char ucPiccLevelFlags) |
DESFire command [0xFC] Format PICC, realized with Reader command [0xC3][0xFC]. | |
int | FreeMemory (unsigned char ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 () |
Return of last Error Code. | |
unsigned char | GetErrorSource () |
Return of last Error Source value. | |
int | GetFileIDs (unsigned char ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, 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 ucSamSlotNo, unsigned char ucPiccLevelFlags, unsigned int uiApplicationID) |
DESFire command [0x5A] Select Application, realized with Reader command [0xC3][0x5A]. | |
int | SetConfiguration (unsigned char ucSamSlotNo, unsigned char ucPiccLevelFlags, unsigned char *pucRequestData, unsigned int uiRequestLength) |
DESFire command [0x5C] Set Configuration, realized with Reader command [0xC3][0x5C]. | |
void | SetTimeout (unsigned int uiTimeout) |
Adjust timeout for Reader internal communication. | |
int | WriteRecord (unsigned char ucSamSlotNo, 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 ucSamSlotNo, 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_SamCrypto () | |
int | GetPortTimeout (unsigned int *uiTimeout) |
int | SetPortTimeout (unsigned int uiTimeout) |
virtual | ~FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto () |
Protected Attributes | |
FedmIscTagHandler_ISO14443_4_MIFARE_DESFire * | m_pParent |
unsigned int | m_uiTimeout |
Friends | |
class | FedmIscTagHandler_ISO14443_4_MIFARE_DESFire |
class | FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_Impl_C3 |
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 internal SAM crypto commands.
Detailed description about the command interface can be found in:
Definition at line 70 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.h.
FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto | ( | ) | [protected] |
Definition at line 54 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::~FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto | ( | ) | [protected, virtual] |
Definition at line 59 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::AbortTransaction | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags | ||
) |
DESFire command [0xA7] Abort Transaction, realized with Reader command [0xC3][0xA7].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 670 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::Authenticate | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDESFireAuthMode, | ||
unsigned char | ucDESFireKeyNo, | ||
unsigned char | ucSamAuthMode, | ||
unsigned char | ucSamKeyNo, | ||
unsigned char | ucSamKeyVersion, | ||
unsigned char | ucSamDiversificationInputLen, | ||
unsigned char * | pucSamDiversificationInput | ||
) |
DESFire command [0xFA], realized with Reader command [0xC3][0xFA] Authenticate, AuthenticateISO, AuthenticateAES.
Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:
Definition at line 81 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::ChangeFileSettings | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 331 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::ChangeKey | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucSamKeyCompilationMethod, | ||
unsigned char | ucSamCfg, | ||
unsigned char | ucSamKeyNoCurrentKey, | ||
unsigned char | ucSamKeyVersionCurrentKey, | ||
unsigned char | ucSamKeyNoNewKey, | ||
unsigned char | ucSamKeyVersionNewKey, | ||
unsigned char | ucSamDiversificationInputLen, | ||
unsigned char * | pucSamDiversificationInput | ||
) |
DESFire command [0xC4] Change Key, realized with Reader command [0xC3][0xC4].
Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:
Definition at line 129 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::ChangeKeySettings | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucNewKeySettings | ||
) |
DESFire command [0x54] Change Key Settings, realized with Reader command [0xC3][0x54].
Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:
Definition at line 101 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::ClearRecordFile | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags, | ||
unsigned char | ucFileNo, | ||
unsigned char | ucFileCommSettings | ||
) |
DESFire command [0xEB] Clear Record File, realized with Reader command [0xC3][0xEB].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 644 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CommitTransaction | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags | ||
) |
DESFire command [0xC7] Commit Transaction, realized with Reader command [0xC3][0xC7].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 658 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CreateApplication | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 184 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CreateBackupDataFile | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 400 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CreateCyclicRecordFile | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 463 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CreateLinearRecordFile | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 442 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CreateStdDataFile | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 380 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::CreateValueFile | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 420 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::Credit | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags, | ||
unsigned char | ucFileNo, | ||
unsigned char | ucFileCommSettings, | ||
unsigned int | uiCreditValue | ||
) |
DESFire command [0x0C] Credit, realized with Reader command [0xC3][0x0C].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 579 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::Debit | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags, | ||
unsigned char | ucFileNo, | ||
unsigned char | ucFileCommSettings, | ||
unsigned int | uiDebitValue | ||
) |
DESFire command [0xDC] Debit, realized with Reader command [0xC3][0xDC].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 564 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::DeleteApplication | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned int | uiApplicationID | ||
) |
DESFire command [0xDA] Delete Application, realized with Reader command [0xC3][0xDA].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 201 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::DeleteFile | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucApplicationLevelFlags, | ||
unsigned char | ucFileNo | ||
) |
DESFire command [0xDF] , realized with Reader command [0xC3][0xDF].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 484 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::FormatPICC | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags | ||
) |
DESFire command [0xFC] Format PICC, realized with Reader command [0xC3][0xFC].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 272 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::FreeMemory | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x6E] Free Memory, realized with Reader command [0xC3][0x6E].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 229 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetApplicationIDs | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x6A] Get Application IDs, realized with Reader command [0xC3][0x6A].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 214 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetCardUID | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x51] Get Card-UID, realized with Reader command [0xC3][0x51].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 299 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetDFNames | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x6D] Get DF-Names, realized with Reader command [0xC3][0x6D].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 244 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
unsigned int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetErrorCode | ( | ) |
Return of last Error Code.
Description
Definition at line 73 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
unsigned char FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetErrorSource | ( | ) |
Return of last Error Source value.
Description
Definition at line 68 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetFileIDs | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucApplicationLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x6F] , realized with Reader command [0xC3][0x6F].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 349 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetFileSettings | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucApplicationLevelFlags, | ||
unsigned char | ucFileNo, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0xF5] , realized with Reader command [0xC3][0x5F].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 364 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetISOFileIDs | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucApplicationLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x61] , realized with Reader command [0xC3][0x61].
Description
This method is an application level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 497 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetKeySettings | ( | unsigned char | ucSamSlotNo, |
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x45] Get Key Settings, realized with Reader command [0xC3][0x45].
Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:
Definition at line 114 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetKeyVersion | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDESFireKeyNo, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x64] Get Key Version, realized with Reader command [0xC3][0x64].
Description
This method is a security related command.
Detailed description about the command and the parameters can be found in:
Definition at line 166 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetPortTimeout | ( | unsigned int * | uiTimeout | ) | [protected] |
Definition at line 694 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetValue | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags, | ||
unsigned char | ucFileNo, | ||
unsigned char | ucFileCommSettings, | ||
unsigned int & | uiValue | ||
) |
DESFire command [0x6C] Get Value, realized with Reader command [0xC3][0x6C].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 549 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::GetVersion | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned char * | pucResponseData, | ||
unsigned int | uiResponseBufferLength, | ||
unsigned int & | uiResponseLength | ||
) |
DESFire command [0x60] Get Version, realized with Reader command [0xC3][0x60].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 284 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::LimitedCredit | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucDataManipulationFlags, | ||
unsigned char | ucFileNo, | ||
unsigned char | ucFileCommSettings, | ||
unsigned int | uiCreditValue | ||
) |
DESFire command [0x1C] Limited Credit, realized with Reader command [0xC3][0x1C].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 594 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::ReadRecords | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 626 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::ReadStandardData | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 515 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::SelectApplication | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned int | uiApplicationID | ||
) |
DESFire command [0x5A] Select Application, realized with Reader command [0xC3][0x5A].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 259 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::SetConfiguration | ( | unsigned char | ucSamSlotNo, |
unsigned char | ucPiccLevelFlags, | ||
unsigned char * | pucRequestData, | ||
unsigned int | uiRequestLength | ||
) |
DESFire command [0x5C] Set Configuration, realized with Reader command [0xC3][0x5C].
Description
This method is a PICC level related command.
Detailed description about the command and the parameters can be found in:
Definition at line 314 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::SetPortTimeout | ( | unsigned int | uiTimeout | ) | [protected] |
Definition at line 781 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
void FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::SetTimeout | ( | unsigned int | uiTimeout | ) |
Adjust timeout for Reader internal communication.
[in] | uiTimeout | Timeout value in steps of 100 ms |
Description
Definition at line 63 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::WriteRecord | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 609 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::WriteStandardData | ( | unsigned char | ucSamSlotNo, |
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].
Description
This method is a data manipulation related command.
Detailed description about the command and the parameters can be found in:
Definition at line 532 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.
friend class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire [friend] |
Definition at line 73 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.h.
friend class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_Impl_C3 [friend] |
Definition at line 74 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.h.
FedmIscTagHandler_ISO14443_4_MIFARE_DESFire* FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::m_pParent [protected] |
Definition at line 804 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.h.
unsigned int FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto::m_uiTimeout [protected] |
Definition at line 805 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.h.