add reset placeholder

This commit is contained in:
merlokk
2019-08-22 15:12:59 +03:00
committed by Conor Patrick
parent dfb124dc8b
commit c79b7abfb6
2 changed files with 10 additions and 0 deletions

View File

@ -756,6 +756,12 @@ void apdu_process(uint8_t buf0, uint8_t *apduptr, APDU_STRUCT *apdu)
}
break;
case APDU_SOLO_RESET:
printf1(TAG_NFC, "Reset...\r\n");
delay(10);
nfc_write_response(buf0, SW_INS_INVALID);
break;
default:
printf1(TAG_NFC, "Unknown INS %02x\r\n", apdu->ins);
nfc_write_response(buf0, SW_INS_INVALID);