To communicate to SAM using Pegoda Reader or DUT readers.
More...
To communicate to SAM using Pegoda Reader or DUT readers.
- Note
- Implements SAM interface for Direct-Mode Communication.
Needs to be linked between SAM HAL and the actual communication BAL that interfaces with the Pegoda or DUT readers.
- By default TDA communication is configured. To enable I2C communication mode, use Set Config interface with Communication Type as configuration identifier and I2C as value.
- Default 0x2B will be used as Slave Address and 200ms timeout for I2C Communication.
◆ phbalReg_Sam_Init()
Initialize the SAM BAL component.
- Returns
- Status code
- Return values
-
- 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 Pegoda or DUT reader 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. |