2.103.36 SERCOMx_ISO7816_Decode_Atr

C

/* x = SERCOM instance number */

void SERCOMx_ISO7816_Decode_Atr( uint8_t *p_atr )

Summary

This API decodes the ATR response received from ISO7816 Smartcard

Description

This API allows the application to decode the answer to reset (ATR) response from card. Answer to reset (ATR) is the response output by a smart card conforming to ISO/IEC 7816 standards, following electrical reset of the card’s chip. The ATR conveys information about the communication parameters proposed by the card, and the card’s nature and state.

Precondition

None

Parameters

ParamDescription
p_atrPointer to the ATR buffer. This contains the data to be decoded.

Returns

None

Example

uint8_t DataBuffer[128];

SERCOM3_ISO7816_Decode_Atr((uint8_t*)DataBuffer);

Remarks

None