- new error code (wait_for_event timeout)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@824 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
e01554814b
commit
8d7fd40e80
|
@ -38,6 +38,7 @@ const char *sc_strerror(int error)
|
|||
"Input operation canelled (keypad)",
|
||||
"The two PINs did not match (keypad)",
|
||||
"Message too long (keypad)",
|
||||
"Timeout while waiting for event (card reader)",
|
||||
};
|
||||
const int rdr_base = -SC_ERROR_READER;
|
||||
const char *card_errors[] = {
|
||||
|
|
|
@ -41,6 +41,7 @@ extern "C" {
|
|||
#define SC_ERROR_KEYPAD_CANCELLED -1109
|
||||
#define SC_ERROR_KEYPAD_PIN_MISMATCH -1110
|
||||
#define SC_ERROR_KEYPAD_MSG_TOO_LONG -1111
|
||||
#define SC_ERROR_EVENT_TIMEOUT -1112
|
||||
|
||||
/* Resulting from a card command or related to the card*/
|
||||
#define SC_ERROR_CARD_CMD_FAILED -1200
|
||||
|
|
Loading…
Reference in New Issue