byte_t cardbuf[USB_CMD_DATA_SIZE] = {0x00};
iso14a_card_select_t *card = (iso14a_card_select_t*)cardbuf;
byte_t cardbuf[USB_CMD_DATA_SIZE] = {0x00};
iso14a_card_select_t *card = (iso14a_card_select_t*)cardbuf;
- int len = iso14443a_select_card(NULL,card,NULL);
+ int len = iso14443a_select_card(NULL,card,NULL,true,0);
cmd_send(CMD_ACK,1,len,0,resp,len);
}
cmd_send(CMD_ACK,1,len,0,resp,len);
}
- byte_t isOK = iso14443a_select_card(NULL, card, NULL);
+ byte_t isOK = iso14443a_select_card(NULL, card, NULL, true, 0);
cmd_send(CMD_ACK,0,reason,0,0,0);
cmd_send(CMD_ACK,0,reason,0,0,0);