C
typedef enum { SC_ERR_NONE, SC_ERR_CARD_NOT_SUPPORTED, SC_ERR_BAR_OR_NO_ATR_RESPONSE, SC_ERR_CARD_NOT_PRESENT, SC_ERR_CARD_NO_RESPONSE, SC_ERR_RECEIVE_LRC, SC_ERR_RECEIVE_CRC, SC_CARD_VPP_ERR, SC_ERR_ATR_DATA, SC_ERR_RSV1 } SC_ERROR;
Description
Smart Card error types
Members
Members |
Description |
SC_ERR_NONE |
No Error |
SC_ERR_CARD_NOT_SUPPORTED |
Card Not Supported |
SC_ERR_BAR_OR_NO_ATR_RESPONSE |
No ATR Response from the card |
SC_ERR_CARD_NOT_PRESENT |
Card Not present in the slot |
SC_ERR_CARD_NO_RESPONSE |
No response from the card |
SC_ERR_RECEIVE_LRC |
LRC Error in the block recieved from the card |
SC_ERR_RECEIVE_CRC |
CRC Error in the block recieved from the card |
SC_CARD_VPP_ERR |
VPP Error recieved from the card |
SC_ERR_ATR_DATA |
ERROR in ATR data recieved from the card |
SC_ERR_RSV1 |
Smart Card Error 1 (Reserved) - can be used based upon the Application |