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

List of all members.

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_DESFirem_pParent
unsigned int m_uiTimeout

Friends

class FedmIscTagHandler_ISO14443_4_MIFARE_DESFire
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 internal SAM crypto commands.
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_SamCrypto.h.


Constructor & Destructor Documentation


Member Function Documentation

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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.

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

Definition at line 244 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.

Return of last Error Code.

Returns:
Error Code

Description

Definition at line 73 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.cpp.

Return of last Error Source value.

Returns:
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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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]
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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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]

Adjust timeout for Reader internal communication.

Parameters:
[in]uiTimeoutTimeout 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].

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 SAMCrypto Functions from FEIG ELECTRONIC

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].

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 SAMCrypto Functions from FEIG ELECTRONIC

Definition at line 532 of file FedmIscTagHandler_ISO14443_4_MIFARE_DESFire_SamCrypto.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