These Components implement the MIFARE DESFire EVx Memory and Configuration Management related commands.
More...
These Components implement the MIFARE DESFire EVx Memory and Configuration Management related commands.
◆ phalMfdfEVx_FreeMem()
Returns free memory available on the PICC.
- 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. |
| [out] | pMemInfo | [Out] Current free memory available. Will be of 3 bytes with LSB first. |
◆ phalMfdfEVx_Format()
| phStatus_t phalMfdfEVx_Format |
( |
void * |
pDataParams | ) |
|
Releases the PICC user memory.
- 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_SetConfiguration()
Configures the card and pre personalizes the card with a key, defines if the UID or the random ID is sent back during communication setup and configures the ATS string.
- 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] Configuration Option.
|
| [in] | pData | [In] Data for the option specified. |
| [in] | bDataLen | [In] Length of bytes available in Data buffer. |
◆ phalMfdfEVx_GetVersion()
Returns manufacturing related data of the PICC.
Call phalMfdfEVx_GetConfig with PHAL_MFDFEVX_ADDITIONAL_INFO to the get the length of bytes available in VerInfo buffer.
- Note
- To get the Fabrication Identifier (FabID) as part of Part-3 response, perform Return of FabID configuration settings prior calling GetVersion interface.
- 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. |
| [out] | pVerInfo | [Out] The version information of the product. |
◆ phalMfdfEVx_GetCardUID()
Returns the Unique ID of the PICC.
Call phalMfdfEVx_GetConfig with PHAL_MFDFEVX_ADDITIONAL_INFO to the get the length of bytes available in UID buffer.
- 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] | bExchangeOption | [In] Flag to indicate whether the parameter information bOption to be exchanged to PICC or not.
- PHAL_MFDFEVX_GET_CARD_UID_EXCHANGE_OPTION_OFF
- PHAL_MFDFEVX_GET_CARD_UID_EXCHANGE_OPTION_ON
|
| [in] | bOption | [In] One of the below options.
- PHAL_MFDFEVX_GET_CARD_UID_OPTION_NUID_NOT_RETURNED
- PHAL_MFDFEVX_GET_CARD_UID_OPTION_NUID_RETURNED
|
| [out] | pUid | [Out] The complete UID of the PICC. |