NXP Reader Library  v17.1.0.2535

These Components implement the MIFARE DESFire PICC level commands. More...

Collaboration diagram for Commands_PiccLevel:

Functions

phStatus_t phalMfdf_CreateApplication (void *pDataParams, uint8_t bOption, uint8_t *pAid, uint8_t bKeySettings1, uint8_t bKeySettings2, uint8_t *pISOFileId, uint8_t *pISODFName, uint8_t bISODFNameLen)
 Creates new applications on the PICC. More...
 
phStatus_t phalMfdf_SelectApplication (void *pDataParams, uint8_t *pAid)
 Selects one particular application on the PICC for further access. More...
 
phStatus_t phalMfdf_GetVersion (void *pDataParams, uint8_t *pVerInfo)
 Returns manufacturing related data of the PICC. More...
 
phStatus_t phalMfdf_FreeMem (void *pDataParams, uint8_t *pMemInfo)
 Returns free memory available on the PICC. More...
 

Detailed Description

These Components implement the MIFARE DESFire PICC level commands.

Function Documentation

◆ phalMfdf_CreateApplication()

phStatus_t phalMfdf_CreateApplication ( void *  pDataParams,
uint8_t  bOption,
uint8_t pAid,
uint8_t  bKeySettings1,
uint8_t  bKeySettings2,
uint8_t pISOFileId,
uint8_t pISODFName,
uint8_t  bISODFNameLen 
)

Creates new applications 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]bOption[In] Option to represent the present of ISO information.
[in]pAid[In] The application identifier to be used. Will be of 3 bytes with LSB first. If application 01 need to be created then the Aid will be 01 00 00.
[in]bKeySettings1[In] Application Key settings.
[in]bKeySettings2[In] Additional key settings.
[in]pISOFileId[In] ISO File ID to be used. Will be two bytes.
[in]pISODFName[In] ISO DF Name to be used. Will be 16 bytes and can also be NULL based on the option.
[in]bISODFNameLen[In] Length of bytes available in ISODFName buffer.

◆ phalMfdf_SelectApplication()

phStatus_t phalMfdf_SelectApplication ( void *  pDataParams,
uint8_t pAid 
)

Selects one particular application on the PICC for further access.

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]pAid[In] The application identifier to be used. Will be of 3 bytes with LSB first.
If application 01 need to be selected then the Aid will be 01 00 00.

◆ phalMfdf_GetVersion()

phStatus_t phalMfdf_GetVersion ( void *  pDataParams,
uint8_t pVerInfo 
)

Returns manufacturing related data of 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.
[out]pVerInfo[Out] The version information of the product.

◆ phalMfdf_FreeMem()

phStatus_t phalMfdf_FreeMem ( void *  pDataParams,
uint8_t pMemInfo 
)

Returns free memory available 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.
[out]pMemInfo[Out] Current free memory available. Will be of 3 bytes with LSB first.