From 45888c9a25adb4f918825b3005e5f6074596c82b Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Thu, 24 Jan 2019 18:22:58 +0200 Subject: [PATCH] ins check is ok --- targets/stm32l432/src/nfc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/targets/stm32l432/src/nfc.c b/targets/stm32l432/src/nfc.c index 5030ae5..a5b1124 100644 --- a/targets/stm32l432/src/nfc.c +++ b/targets/stm32l432/src/nfc.c @@ -172,7 +172,7 @@ void nfc_process_iblock(uint8_t * buf, int len) break; case APDU_FIDO_U2F_VERSION: - printf1(TAG_NFC, "GetVersion command.\r\n"); + printf1(TAG_NFC, "U2F GetVersion command.\r\n"); res[0] = NFC_CMD_IBLOCK | (buf[0] & 3); memcpy(&res[1], (uint8_t *)"U2F_V2", 6); res[7] = APDU_STATUS_SUCCESS >> 8; @@ -182,9 +182,15 @@ void nfc_process_iblock(uint8_t * buf, int len) break; case APDU_FIDO_U2F_REGISTER: + printf1(TAG_NFC, "U2F Register command.\r\n"); break; case APDU_FIDO_U2F_AUTHENTICATE: + printf1(TAG_NFC, "U2F Authenticate command.\r\n"); + break; + + case APDU_FIDO_EXCHANGE: + printf1(TAG_NFC, "FIDO2 Exchange command.\r\n"); break; case APDU_INS_READ_BINARY: