NXP Reader Library  v17.1.0.2535
Commands_Authenticate

These Components implement the MIFARE Plus EVx authentication commands. More...

Collaboration diagram for Commands_Authenticate:

Functions

phStatus_t phalMfpEVx_AuthenticateMfc (void *pDataParams, uint8_t bBlockNo, uint8_t bKeyType, uint16_t wKeyNumber, uint16_t wKeyVersion, uint8_t *pUid, uint8_t bUidLength)
 Perform MIFARE Authenticate command in Security Level 1 with MIFARE CLASSIC PICC. More...
 

Key type options for MIFARE Classic contactless IC Authentication.

#define PHAL_MFPEVX_KEYA   0x0AU
 MIFARE(R) Key A.
 
#define PHAL_MFPEVX_KEYB   0x0BU
 MIFARE(R) Key B.
 

Detailed Description

These Components implement the MIFARE Plus EVx authentication commands.

Function Documentation

◆ phalMfpEVx_AuthenticateMfc()

phStatus_t phalMfpEVx_AuthenticateMfc ( void *  pDataParams,
uint8_t  bBlockNo,
uint8_t  bKeyType,
uint16_t  wKeyNumber,
uint16_t  wKeyVersion,
uint8_t pUid,
uint8_t  bUidLength 
)

Perform MIFARE Authenticate command in Security Level 1 with MIFARE CLASSIC PICC.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlaying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]bBlockNo[In] PICC block number to be used for authentication.
[in]bKeyType[In] Authentication key type to be used.
[in]wKeyNumber[In] Key number to used from software or hardware KeyStore.
[in]wKeyVersion[In] Key version to used from software or hardware KeyStore.
[in]pUid[In] UID of the PICC received during anti-collision sequence.
[in]bUidLength[In] Length of the UID buffer.