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

Data Structures

struct  phalVca_SamAV2_X_CardTableEntry_t
 Data structure for Card table. More...
 
struct  phalVca_SamAV2_X_IidTable_t
 Structure for IID table IMPORTANT: Structure is reused to store RNDQ! More...
 
struct  phalVca_SamAV2_X_KeysTable_t
 Data structure for key entries. More...
 
struct  phalVca_SamAV2_X_DataParams_t
 Sw AL-VCA parameter structure. More...
 
struct  phalVca_SamAV3_X_DataParams_t
 SAMAV3 X AL-VCA parameter structure. More...
 

Macros

#define PHAL_VCA_SAMAV2_X_ID   0x02
 ID for SamAV2 Virtual Card Architecture layer.
 
#define PHAL_VCA_SAMAV3_X_ID   0x03
 ID for SamAV3 Virtual Card Architecture layer.
 

Functions

phStatus_t phalVca_SamAV2_X_Init (phalVca_SamAV2_X_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV2_DataParams_t *pSamHal, phpalMifare_SamAV2_X_DataParams_t *pPalMifareDataParams, phalVca_SamAV2_X_IidTable_t *pIidTable, phalVca_SamAV2_X_KeysTable_t *pKeysTable, uint16_t wNumIidKeysTableEntries, phalVca_SamAV2_X_CardTableEntry_t *pCardTableStorage, uint16_t wNumCardTableStorageEntries)
 Initialization API for AL VCA / PC to communicate with SamAV2 in X Mode. More...
 
phStatus_t phalVca_SamAV3_X_Init (phalVca_SamAV3_X_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV3_DataParams_t *pSamHal, phpalMifare_SamAV3_X_DataParams_t *pPalMifareDataParams)
 Initialization API for AL VCA / PC to communicate with SamAV3 in X Mode. More...
 

Detailed Description

Function Documentation

◆ phalVca_SamAV2_X_Init()

phStatus_t phalVca_SamAV2_X_Init ( phalVca_SamAV2_X_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV2_DataParams_t pSamHal,
phpalMifare_SamAV2_X_DataParams_t pPalMifareDataParams,
phalVca_SamAV2_X_IidTable_t pIidTable,
phalVca_SamAV2_X_KeysTable_t pKeysTable,
uint16_t  wNumIidKeysTableEntries,
phalVca_SamAV2_X_CardTableEntry_t pCardTableStorage,
uint16_t  wNumCardTableStorageEntries 
)

Initialization API for AL VCA / PC to communicate with SamAV2 in X Mode.

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]pSamHal[In] Pointer to the parameter structure of the Sam HAL.
[in]pPalMifareDataParams[In] Pointer to the parameter structure of the palMifare layer.
[in]pIidTable[In] Pointer to the IidTable of the layer
[in]pKeysTable[In] Pointer to the KeysTable of the layer
[in]wNumIidKeysTableEntries[In] Indicates the size of the key/Iid table.
[in]pCardTableStorage[In] Pointer to the Card Table storage for the layer.
[in]wNumCardTableStorageEntries[In] Number of possible Card table entries in the storage.

◆ phalVca_SamAV3_X_Init()

phStatus_t phalVca_SamAV3_X_Init ( phalVca_SamAV3_X_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV3_DataParams_t pSamHal,
phpalMifare_SamAV3_X_DataParams_t pPalMifareDataParams 
)

Initialization API for AL VCA / PC to communicate with SamAV3 in X Mode.

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]pSamHal[In] Pointer to the parameter structure of the Sam HAL.
[in]pPalMifareDataParams[In] Pointer to the parameter structure of the palMifare layer.