Rename mad_application_(read|write) to mifare_application_(read|write).
Fixes issue 40.
This commit is contained in:
parent
890c6e3c2e
commit
e68ae59c5e
10 changed files with 165 additions and 162 deletions
|
|
@ -84,6 +84,7 @@
|
|||
errno = 0; \
|
||||
DEBUG_XFER (msg, __##msg##_n, "===> "); \
|
||||
if (!(nfc_initiator_transceive_dep_bytes (tag->device, msg, __##msg##_n, res, &__##res##_n))) { \
|
||||
nfc_perror (tag->device, __FUNCTION__); \
|
||||
if (disconnect) \
|
||||
tag->active = false; \
|
||||
return errno = EIO, -1; \
|
||||
|
|
@ -91,6 +92,7 @@
|
|||
DEBUG_XFER (res, __##res##_n, "<=== "); \
|
||||
} while (0)
|
||||
|
||||
|
||||
/* Public Key A value of NFC Forum sectors */
|
||||
const MifareClassicKey mifare_classic_nfcforum_public_key_a = {
|
||||
0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue