uFCoder 2.58
Loading...
Searching...
No Matches

Functions

UFR_STATUS DL_API close_ISO7816_interface_no_APDU (void)
 
UFR_STATUS DL_API open_ISO7816_interfaceM (UFR_HANDLE hndUFR, OUT uint8_t *atr_data, VAR uint8_t *atr_len)
 
UFR_STATUS DL_API Open_ISO7816_GenericM (UFR_HANDLE hndUFR, OUT uint8_t *atr_data, VAR uint8_t *atr_len)
 
UFR_STATUS DL_API APDU_switch_to_ISO7816_interfaceM (UFR_HANDLE hndUFR)
 
UFR_STATUS DL_API close_ISO7816_interface_no_APDUM (UFR_HANDLE hndUFR)
 
UFR_STATUS DL_API close_ISO7816_interface_APDU_ISO14443_4M (UFR_HANDLE hndUFR)
 
UFR_STATUS DL_API APDU_switch_to_ISO14443_4_interfaceM (UFR_HANDLE hndUFR)
 
UFR_STATUS DL_API APDU_switch_off_from_ISO7816_interfaceM (UFR_HANDLE hndUFR)
 

Detailed Description

Function Documentation

◆ close_ISO7816_interface_no_APDU()

UFR_STATUS DL_API close_ISO7816_interface_no_APDU ( void )

Function deactivates the smart card. APDU commands are not used.

Returns
Operation status

◆ open_ISO7816_interfaceM()

UFR_STATUS DL_API open_ISO7816_interfaceM ( UFR_HANDLE hndUFR,
OUT uint8_t * atr_data,
VAR uint8_t * atr_len )

Multi reader support. Function activates the smart card and returns an ATR (Answer To Reset) array of bytes from the smart card. After the successfully executed function, the same APDU commands as for ISO14443-4 tags can be used, but not at the same time. Note. This function is used for NXP SAM AV2 activation, and unlocking if SAM is locked.

Parameters
hndUFRhandle of the uFR device
atr_datapointer to array containing ATR
atr_lenpointer to ATR length variable
Returns
Operation status

◆ Open_ISO7816_GenericM()

UFR_STATUS DL_API Open_ISO7816_GenericM ( UFR_HANDLE hndUFR,
OUT uint8_t * atr_data,
VAR uint8_t * atr_len )

Multi reader support. Function activates the smart card and returns an ATR (Answer To Reset) array of bytes from the smart card.

Parameters
hndUFRhandle of the uFR device
atr_datapointer to array containing ATR
atr_lenpointer to ATR length variable
Returns
Operation status

◆ APDU_switch_to_ISO7816_interfaceM()

UFR_STATUS DL_API APDU_switch_to_ISO7816_interfaceM ( UFR_HANDLE hndUFR)

Multi reader support. Function switches the use of APDU to ISO7816 interface. The smart card must be in the active state.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status

◆ close_ISO7816_interface_no_APDUM()

UFR_STATUS DL_API close_ISO7816_interface_no_APDUM ( UFR_HANDLE hndUFR)

Multi reader support. Function deactivates the smart card. APDU commands are not used.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status

◆ close_ISO7816_interface_APDU_ISO14443_4M()

UFR_STATUS DL_API close_ISO7816_interface_APDU_ISO14443_4M ( UFR_HANDLE hndUFR)

Multi reader support. Function deactivates the smart card. APDU commands are used by ISO 14443-4 tags. Tag must already be in ISO 14443-4 mode.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status

◆ APDU_switch_to_ISO14443_4_interfaceM()

UFR_STATUS DL_API APDU_switch_to_ISO14443_4_interfaceM ( UFR_HANDLE hndUFR)

Multi reader support. Function switches the use APDU to ISO14443-4 tags. The smart card stays in active state. Tag must already be in ISO 14443-4 mode.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status

◆ APDU_switch_off_from_ISO7816_interfaceM()

UFR_STATUS DL_API APDU_switch_off_from_ISO7816_interfaceM ( UFR_HANDLE hndUFR)

Multi reader support. APDU commands are not used. The smart card stays in active state.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status