NXP Reader Library  v17.1.0.2535
Collaboration diagram for Component : PCSC:

Data Structures

struct  phpalI14443p4_Pcsc_DataParams_t
 PCSC ISO14443-4 parameter structure. More...
 

Macros

#define PHPAL_I14443P4_PCSC_ID   0x05
 ID for PCSC ISO14443-4 layer.
 
#define PHPAL_I14443P4_PCSC_CONFIG_EXCHANGE   (PH_CONFIG_CUSTOM_BEGIN)
 Set/Get PAL exchange.type; PHPAL_I14443P4_PCSC_NORMAL (default) or PHPAL_I14443P4_PCSC_TRANSPARENT.
 
#define PHPAL_I14443P4_PCSC_TRANSPARENT   0U
 Exchange using HAL transparent exchange command (Only works with PCSC Readers that support transparent session). More...
 
#define PHPAL_I14443P4_PCSC_NORMAL   1U
 Exchange the data as it is using normal HAL exchange (works with all PCSC Readers). More...
 

Functions

phStatus_t phpalI14443p4_Pcsc_Init (phpalI14443p4_Pcsc_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pHalDataParams)
 Initialise PCSC ISO14443-4 layer. More...
 

Detailed Description

Macro Definition Documentation

◆ PHPAL_I14443P4_PCSC_TRANSPARENT

#define PHPAL_I14443P4_PCSC_TRANSPARENT   0U

Exchange using HAL transparent exchange command (Only works with PCSC Readers that support transparent session).

Chaining/error handling etc done by PAL.

◆ PHPAL_I14443P4_PCSC_NORMAL

#define PHPAL_I14443P4_PCSC_NORMAL   1U

Exchange the data as it is using normal HAL exchange (works with all PCSC Readers).

Chaining/error handling etc controlled by the PCSC Reader.

Function Documentation

◆ phpalI14443p4_Pcsc_Init()

phStatus_t phpalI14443p4_Pcsc_Init ( phpalI14443p4_Pcsc_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pHalDataParams 
)

Initialise PCSC ISO14443-4 layer.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pHalDataParams[In] Pointer to the parameter structure of HAL layer.