These Components implement the MIFARE DESFire Light Transaction Management related commands.
More...
These Components implement the MIFARE DESFire Light Transaction Management related commands.
◆ PHAL_MFDFLIGHT_COMMIT_TXN_INCLUDE_OPTION
| #define PHAL_MFDFLIGHT_COMMIT_TXN_INCLUDE_OPTION 0x80 |
Option byte exchanged to PICC.
This is to support the exchange of Option byte to PICC.
◆ phalMfdfLight_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.
If Standard AES: 4 byte Transaction MAC counter value.
If LRP : 2 byte of Actual TMC followed by 2 bytes of Session TMC |
| [out] | pTMV | [Out] 8 bytes Transaction MAC value. |
◆ phalMfdfLight_AbortTransaction()
| phStatus_t phalMfdfLight_AbortTransaction |
( |
void * |
pDataParams | ) |
|
Invalidates 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. |
◆ phalMfdfLight_CommitReaderID()
Secures the transaction by commiting 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. |