NXP Reader Library  v17.1.0.2535
Commands_Miscellaneous

These Components implement the MIFARE DESFire EVx Miscellaneous functions. These are not part of actual DESFire EVx data sheet rather its for internal purpose. More...

Collaboration diagram for Commands_Miscellaneous:

Functions

phStatus_t phalMfdfEVx_GetConfig (void *pDataParams, uint16_t wConfig, uint16_t *pValue)
 Perform a GetConfig command. More...
 
phStatus_t phalMfdfEVx_SetConfig (void *pDataParams, uint16_t wConfig, uint16_t wValue)
 Perform a SetConfig command. More...
 
phStatus_t phalMfdfEVx_ResetAuthentication (void *pDataParams)
 Reset the authentication. More...
 
phStatus_t phalMfdfEVx_SetVCAParams (void *pDataParams, void *pAlVCADataParams)
 This is a utility API which sets the VCA structure in DESFire EVx structure params. More...
 

The configuration to be used for SetConfig / GetConfig.

#define PHAL_MFDFEVX_ADDITIONAL_INFO   0x00A1
 Option for GetConfig/SetConfig to get/set additional info of a generic error or some length exposed by interfaces.
 
#define PHAL_MFDFEVX_WRAPPED_MODE   0x00A2
 Option for GetConfig/SetConfig to get/set current status of command wrapping in ISO 7816-4 APDUs.
 
#define PHAL_MFDFEVX_SHORT_LENGTH_APDU   0x00A3
 Option for GetConfig/SetConfig to get/set current status of Short Length APDU wrapping in ISO 7816-4 APDUs.
 
#define PHAL_MFDFEVX_RETURN_FAB_ID   0x00A4
 Option for GetConfig/SetConfig to get/set Fabrication Identifier of the product. More...
 

Detailed Description

These Components implement the MIFARE DESFire EVx Miscellaneous functions. These are not part of actual DESFire EVx data sheet rather its for internal purpose.

Macro Definition Documentation

◆ PHAL_MFDFEVX_RETURN_FAB_ID

#define PHAL_MFDFEVX_RETURN_FAB_ID   0x00A4

Option for GetConfig/SetConfig to get/set Fabrication Identifier of the product.

This will be utilized while performing GetVersion command.

Function Documentation

◆ phalMfdfEVx_GetConfig()

phStatus_t phalMfdfEVx_GetConfig ( void *  pDataParams,
uint16_t  wConfig,
uint16_t pValue 
)

Perform a GetConfig command.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wConfig[In] Configuration to read. Will be one of the below values.
[out]pValue[Out] The value for the mentioned configuration.

◆ phalMfdfEVx_SetConfig()

phStatus_t phalMfdfEVx_SetConfig ( void *  pDataParams,
uint16_t  wConfig,
uint16_t  wValue 
)

Perform a SetConfig command.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wConfig[In] Configuration to set. Will be one of the below values.
[in]wValue[In] The value for the mentioned configuration.

◆ phalMfdfEVx_ResetAuthentication()

phStatus_t phalMfdfEVx_ResetAuthentication ( void *  pDataParams)

Reset the authentication.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.

◆ phalMfdfEVx_SetVCAParams()

phStatus_t phalMfdfEVx_SetVCAParams ( void *  pDataParams,
void *  pAlVCADataParams 
)

This is a utility API which sets the VCA structure in DESFire EVx structure params.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layers parameter structure.
[in]pAlVCADataParams[In] Pointer to VCA AL parameter structure.