SC_TransactT0 Function

Smart Card Library

Smart Card Library
SC_TransactT0 Function
C
BOOL SC_TransactT0(
    SC_APDU_COMMAND* apduCommand, 
    SC_APDU_RESPONSE* apduResponse, 
    BYTE* apduDataBuffer
);
Description

This function Sends/recieves the ISO 7816-4 compaliant APDU commands to the card.

Preconditions

SC_DoPPS was success or SC_DoPPS functionality not called

Parameters
Parameters 
Description 
SC_APDU_COMMAND* apduCommand 
Pointer to APDU Command Structure 
SC_APDU_RESPONSE* pResp 
Pointer to APDU Response structure 
BYTE* pResp 
Pointer to the Command/Response Data buffer 
Remarks

In the APDU command structure, the LC field defines the number of data bytes to be transmitted to the card. This array can hold max of 256 bytes, which can be redefined by the user. The LE field in APDU command defines the number of bytes expected to be received from the card. This array can hold max 256 bytes, which can be redefined by the user.

Microchip Smart Card Library 1.02.8 - [July 18, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.