These Components implement the utility interfaces required for MIFARE Plus EVx application layer. These are not commands.
More...
|
|
#define | PHAL_MFPEVX_WRAPPED_MODE 0xA1U |
| | Option for GetConfig/SetConfig to get/set current status of command wrapping in ISO 7816-4 APDUs.
|
| |
|
#define | PHAL_MFPEVX_EXTENDED_APDU 0xA2U |
| | Option for GetConfig/SetConfig to get/set current status of extended wrapping in ISO 7816-4 APDUs.
|
| |
|
#define | PHAL_MFPEVX_AUTH_MODE 0xA3U |
| | Option to set the Authentication mode to perform negative testing.
|
| |
These Components implement the utility interfaces required for MIFARE Plus EVx application layer. These are not commands.
◆ PHAL_MFPEVX_DEFAULT
Default Option value.
This is equal to Disable.
◆ phalMfpEVx_ResetSecMsgState()
| phStatus_t phalMfpEVx_ResetSecMsgState |
( |
void * |
pDataParams | ) |
|
Reset the libraries internal secure messaging state.
This function must be called before interacting with the PICC to set the libraries internal card-state back to default.
E.g. when an error occurred or after a reset of the field.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
◆ phalMfpEVx_SetConfig()
Perform a SetConfig command.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | wOption | [In] Option to set.
|
| [in] | wValue | [In] Value for the selected option.
|
◆ phalMfpEVx_GetConfig()
Perform a GetConfig command.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | wOption | [In] Option to get.
|
| [out] | pValue | [Out] Value of the selected option.
|
◆ phalMfpEVx_SetVCAParams()
| phStatus_t phalMfpEVx_SetVCAParams |
( |
void * |
pDataParams, |
|
|
void * |
pAlVCADataParams |
|
) |
| |
This is a utility API which sets the VCA structure in MFP Ev1 structure params.
This interface is mandatory to be called if the Virtual Card and Proximity Check features are required.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | pAlVCADataParams | [In] The VCA application layer's DataParams. |