Go to the source code of this file.
Defines | |
#define | CLA_PROP 0x80 |
CLA byte: Proprietary. More... | |
#define | INS_WRITE 0x02 |
INS byte: Write EEPROM. More... | |
#define | INS_READ 0x04 |
INS byte: Read EEPROM. More... | |
#define | INS_LED 0x06 |
INS byte: LED Effects. More... | |
#define | INS_CHANGE_PIN 0x24 |
INS byte: Change PIN. More... | |
#define | INS_CREATE 0xE0 |
INS byte: Create File. More... | |
#define | INS_DELETE 0xE4 |
INS byte: Delete File. More... | |
#define | INS_EXTERNAL_AUTH 0x82 |
INS byte: External Authentication. More... | |
#define | INS_GET_CHALLENGE 0x84 |
INS byte: Get Challenge. More... | |
#define | INS_GET_RESPONSE 0xC0 |
INS byte: Get Response. More... | |
#define | INS_INTERNAL_AUTH 0x88 |
INS byte: Internal Authentication. More... | |
#define | INS_READ_BINARY 0xB0 |
INS byte: Read Binary. More... | |
#define | INS_SELECT 0xA4 |
INS byte: Select File. More... | |
#define | INS_UNBLOCK_PIN 0x2C |
INS byte: Unblock PIN. More... | |
#define | INS_UPDATE_BINARY 0xD6 |
INS byte: Update Binary. More... | |
#define | INS_VERIFY_KEY 0x2A |
INS byte: Verify Key. More... | |
#define | INS_VERIFY_PIN 0x20 |
INS byte: Verify PIN. More... | |
Functions | |
void | cmd_write (void) |
Write EEPROM. (Test command). More... | |
void | cmd_read (void) |
Read EEPROM. (Test command). More... | |
void | cmd_led (void) |
LED Effects. More... | |
void | cmd_changeUnblockPIN (void) |
Change or Unblock PIN. More... | |
void | cmd_create (void) |
Create File. More... | |
void | cmd_delete (void) |
Delete File. More... | |
void | cmd_extAuth (void) |
External Authentication. More... | |
void | cmd_getChallenge (void) |
Get Challenge. More... | |
void | cmd_getResponse (void) |
Get Response. More... | |
void | cmd_intAuth (void) |
Internal Authentication. More... | |
void | cmd_readBinary (void) |
Read Binary. More... | |
void | cmd_select (void) |
Select File. More... | |
void | cmd_updateBinary (void) |
Update Binary. More... | |
void | cmd_verifyKeyPIN (void) |
Verify Key/Verify PIN. More... | |
Variables | |
iu8 | resplen |
Valid data in response array. Invalid if zero. More... |
The documentation of the commands is on the main page of the doxygen documentation.
|
CLA byte: Proprietary.
|
|
INS byte: Change PIN.
|
|
INS byte: Create File.
|
|
INS byte: Delete File.
|
|
INS byte: External Authentication.
|
|
INS byte: Get Challenge.
|
|
INS byte: Get Response.
|
|
INS byte: Internal Authentication.
|
|
INS byte: LED Effects.
|
|
INS byte: Read EEPROM.
|
|
INS byte: Read Binary.
|
|
INS byte: Select File.
|
|
INS byte: Unblock PIN.
|
|
INS byte: Update Binary.
|
|
INS byte: Verify Key.
|
|
INS byte: Verify PIN.
|
|
INS byte: Write EEPROM.
|
|
Change or Unblock PIN.
|
|
Create File.
|
|
Delete File.
|
|
External Authentication.
|
|
Get Challenge.
|
|
Get Response.
|
|
Internal Authentication.
|
|
LED Effects.
|
|
Read EEPROM. (Test command).
|
|
Read Binary.
|
|
Select File.
|
|
Update Binary.
|
|
Verify Key/Verify PIN. This function is a combined implementation of Verify Key and Verify PIN. This is done to save code size. |
|
Write EEPROM. (Test command).
|
|
Valid data in response array. Invalid if zero.
|