NXP Reader Library  v17.1.0.2535

SAM commands used for MIFARE common PICC communication in X-Mode. More...

Collaboration diagram for X_Mode:

Modules

 Defines
 Definitions for SAM commands used for MIFARE Plus communication in X-Mode.
 

Functions

phStatus_t phhalHw_Sam_Cmd_TMRI_CommitReaderID (phhalHw_Sam_DataParams_t *pDataParams, uint8_t bISOMode, uint8_t bState, uint16_t wBlockNr, uint8_t **ppEncTMRI, uint16_t *pEncTMRILen, uint8_t *pStatusCode)
 Performs CommitReaderID command execution in X mode. More...
 

Detailed Description

SAM commands used for MIFARE common PICC communication in X-Mode.

Function Documentation

◆ phhalHw_Sam_Cmd_TMRI_CommitReaderID()

phStatus_t phhalHw_Sam_Cmd_TMRI_CommitReaderID ( phhalHw_Sam_DataParams_t pDataParams,
uint8_t  bISOMode,
uint8_t  bState,
uint16_t  wBlockNr,
uint8_t **  ppEncTMRI,
uint16_t pEncTMRILen,
uint8_t pStatusCode 
)

Performs CommitReaderID command execution in X mode.

If success is returned the PICC return code will have 0x00 as the value else the actual error code.

Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMSpDataParams is NULL.
PH_ERR_INVALID_PARAMETERpEncTMRILen and pStatusCode are NULL.
OtherDepending on implementation and underlaying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]bISOMode[In] Options for P2 information byte.
[in]bState[In] Options for framing the command. Below options should be used.
[in]wBlockNr[In] Number of the Transaction MAC Configuration Block. Will be used if bState is MIFARE Plus.
[out]ppEncTMRI[Out] Encrypted Transaction MAC ReaderID of the latest successful transaction retuned by the PICC.
[out]pEncTMRILen[Out] Length of bytes available in ppEncTMRI buffer.
[out]pStatusCode[Out] Status code returned by PICC.