projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix 'hf iclass reader' and 'hf iclass readblk'
[proxmark3-svn]
/
armsrc
/
epa.c
diff --git
a/armsrc/epa.c
b/armsrc/epa.c
index 5e69ffa89d5020132271bd02740c4ef030b39869..0e999e1ed34b0650559359e83c83d40203879c66 100644
(file)
--- a/
armsrc/epa.c
+++ b/
armsrc/epa.c
@@
-116,7
+116,7
@@
int EPA_APDU(uint8_t *apdu, size_t length, uint8_t *response)
switch(iso_type)
{
case 'a':
switch(iso_type)
{
case 'a':
- return iso14_apdu(apdu, (uint16_t) length,
response
);
+ return iso14_apdu(apdu, (uint16_t) length,
false, response, NULL
);
break;
case 'b':
return iso14443b_apdu(apdu, length, response);
break;
case 'b':
return iso14443b_apdu(apdu, length, response);
@@
-530,7
+530,7
@@
int EPA_Setup()
// power up the field
iso14443a_setup(FPGA_HF_ISO14443A_READER_MOD);
// select the card
// power up the field
iso14443a_setup(FPGA_HF_ISO14443A_READER_MOD);
// select the card
- return_code = iso14443a_select_card(uid, &card_select_info, NULL);
+ return_code = iso14443a_select_card(uid, &card_select_info, NULL
, true, 0, false
);
if (return_code == 1) {
// send the PPS request
ReaderTransmit((uint8_t *)pps, sizeof(pps), NULL);
if (return_code == 1) {
// send the PPS request
ReaderTransmit((uint8_t *)pps, sizeof(pps), NULL);
Impressum
,
Datenschutz