These Components implement the MIFARE DESFire EVx Transaction Management related commands.
More...
These Components implement the MIFARE DESFire EVx Transaction Management related commands.
◆ phalMfdfEVx_CommitTransaction()
Validates all previous write access' on Backup Data files, value files and record files within one application.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bOption | [In] One of the below options.
|
| [out] | pTMC | [Out] The increased value as stored in FileType.TransactionMAC.
4 byte Transaction MAC counter value. |
| [out] | pTMV | [Out] 8 bytes Transaction MAC value. |
◆ phalMfdfEVx_AbortTransaction()
| phStatus_t phalMfdfEVx_AbortTransaction |
( |
void * |
pDataParams | ) |
|
Aborts all previous write accesses on FileType.BackupData, FileType.Value, File-Type.LinearRecord and FileType.CyclicRecord files within the selected application(s).
If applicable, the Transaction MAC calculation is aborted.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
◆ phalMfdfEVx_CommitReaderID()
Secures the transaction by committing the application to ReaderID specified.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pTMRI | [In] 16 bytes of Transaction MAC reader ID. |
| [out] | pEncTMRI | [Out] 16 bytes of Encrypted Transaction MAC ReaderID of the latest successful transaction. |