NXP Reader Library  v17.1.0.2535
Component : Rd710 SAM

Rd710 SAM BAL. More...

Collaboration diagram for Component : Rd710 SAM:

Data Structures

struct  phbalReg_Rd710Sam_DataParams_t
 RD710Sam (Windows) BAL parameter structure. More...
 

Macros

#define PHBAL_REG_RD710_SAM_ID   0x14U
 ID for RD710_SAM component.
 

Functions

phStatus_t phbalReg_Rd710Sam_Init (phbalReg_Rd710Sam_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pLowerBalDataParams, uint8_t *pAtrBuffer, uint16_t wAtrBufSize, uint8_t *pTxBuffer, uint16_t wTxBufSize, uint8_t *pRxBuffer, uint16_t wRxBufSize)
 Initialise the RD710SAM BAL component. More...
 

Detailed Description

Rd710 SAM BAL.

Refer Bal_SAM component for accessing SAM using Pegoda or DUT reader(s).

Implements SAM interface for Direct-Mode Communication.
Needs to be linked between SAM HAL and the BAL that interfaces with the Rd710.

Function Documentation

◆ phbalReg_Rd710Sam_Init()

phStatus_t phbalReg_Rd710Sam_Init ( phbalReg_Rd710Sam_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pLowerBalDataParams,
uint8_t pAtrBuffer,
uint16_t  wAtrBufSize,
uint8_t pTxBuffer,
uint16_t  wTxBufSize,
uint8_t pRxBuffer,
uint16_t  wRxBufSize 
)

Initialise the RD710SAM BAL component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMSParameter structure size is invalid.
PH_ERR_INVALID_PARAMETERwAtrBufSize, wTxBufSize or wRxBufSize is invalid.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pLowerBalDataParams[In] Pointer to the BAL which actually connects to Rd710 in direct mode.
[in]pAtrBuffer[In] Pointer to buffer used for storing the ATR after card activation.
[in]wAtrBufSize[In] Size of the ATR buffer.
[in]pTxBuffer[In] Pointer to global transmit buffer used by the Exchange() function.
[in]wTxBufSize[In] Size of the global transmit buffer.
[in]pRxBuffer[In] Pointer to global receive buffer used by the Exchange() function.
[in]wRxBufSize[In] Size of the global receive buffer.