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

Data Structures

struct  phalVca_SamAV2_CardTableEntry_t
 Structure for IID table. More...
 
struct  phalVca_SamAV2_KeyDuos_t
 Structure for KeyDuo Storage. More...
 
struct  phalVca_SamAV2_DataParams_t
 SAM AV2 NonX AL-VCA parameter structure. More...
 
struct  phalVca_SamAV3_NonX_DataParams_t
 SAM AV3 NonX AL-VCA parameter structure. More...
 

Macros

#define PHAL_VCA_SAMAV2_NONX_ID   0x04
 ID for SamAV2_NonX Virtual Card Architecture layer.
 
#define PHAL_VCA_SAMAV3_NONX_ID   0x05
 ID for SamAV3_NonX Virtual Card Architecture layer.
 
#define PHAL_VCA_SAM_NONX_ID   0x06
 ID for Sam_NonX Virtual Card Architecture layer.
 

Functions

phStatus_t phalVca_SamAV2_NonX_Init (phalVca_SamAV2_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV2_DataParams_t *pSamHal, void *pPalMifareDataParams, uint8_t *pRndq, phalVca_SamAV2_KeyDuos_t *pKeyDuos, uint8_t bNumKeyDuos, phalVca_SamAV2_CardTableEntry_t *pCardTableStorage, uint16_t wNumCardTableStorageEntries)
 Initialise this layer. More...
 
phStatus_t phalVca_SamAV3_NonX_Init (phalVca_SamAV3_NonX_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV3_DataParams_t *pSamHal, void *pPalMifareDataParams)
 Initialise this layer. More...
 
phStatus_t phalVca_Sam_NonX_Init (phalVca_Sam_NonX_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pSamHal, void *pPalMifareDataParams)
 

Detailed Description

Function Documentation

◆ phalVca_SamAV2_NonX_Init()

phStatus_t phalVca_SamAV2_NonX_Init ( phalVca_SamAV2_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV2_DataParams_t pSamHal,
void *  pPalMifareDataParams,
uint8_t pRndq,
phalVca_SamAV2_KeyDuos_t pKeyDuos,
uint8_t  bNumKeyDuos,
phalVca_SamAV2_CardTableEntry_t pCardTableStorage,
uint16_t  wNumCardTableStorageEntries 
)

Initialise this 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]pSamHal[In] Pointer to the parameter structure of the Sam HAL.
[in]pPalMifareDataParams[In] Pointer to the parameter structure of the palMifare layer.
[in]pRndq[In] RndQ buffer.
[in]pKeyDuos[In] KeyDuo buffer.
[in]bNumKeyDuos[In] Number of KeyDuos.
[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_NonX_Init()

phStatus_t phalVca_SamAV3_NonX_Init ( phalVca_SamAV3_NonX_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV3_DataParams_t pSamHal,
void *  pPalMifareDataParams 
)

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

◆ phalVca_Sam_NonX_Init()

phStatus_t phalVca_Sam_NonX_Init ( phalVca_Sam_NonX_DataParams_t *  pDataParams,
uint16_t  wSizeOfDataParams,
void *  pSamHal,
void *  pPalMifareDataParams 
)
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.