NXP Reader Library  v17.1.0.2535

These Components implement the MIFARE DESFire security related commands. More...

Collaboration diagram for Commands_Security:

Functions

phStatus_t phalMfdf_GetKeySettings (void *pDataParams, uint8_t *pKeySettings)
 Gets information on the PICC and application master key settings. More...
 
phStatus_t phalMfdf_GetKeyVersion (void *pDataParams, uint8_t bKeyNo, uint8_t *pKeyVersion)
 Reads out the current key version of any key stored on the PICC. More...
 

Detailed Description

These Components implement the MIFARE DESFire security related commands.

Function Documentation

◆ phalMfdf_GetKeySettings()

phStatus_t phalMfdf_GetKeySettings ( void *  pDataParams,
uint8_t pKeySettings 
)

Gets information on the PICC and application master key settings.

Note
In addition it returns the maximum number of keys which are configured for the selected application.
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.
[out]pKeySettings[Out] Key setting of the currently selected application identifier.

◆ phalMfdf_GetKeyVersion()

phStatus_t phalMfdf_GetKeyVersion ( void *  pDataParams,
uint8_t  bKeyNo,
uint8_t pKeyVersion 
)

Reads out the current key version of any key stored on the PICC.

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]bKeyNo[In] Key number on card.
[out]pKeyVersion[Out] The version of the specified key.