Use 424kbits/s when talking to DESFire

PN532 does not support 847kbits/s, oops
This commit is contained in:
Philippe Teuwen 2014-03-11 22:09:48 +01:00
parent e6b80856c9
commit 7ae729a65d

View file

@ -292,7 +292,7 @@ mifare_desfire_connect (MifareTag tag)
nfc_target pnti; nfc_target pnti;
nfc_modulation modulation = { nfc_modulation modulation = {
.nmt = NMT_ISO14443A, .nmt = NMT_ISO14443A,
.nbr = NBR_847 .nbr = NBR_424
}; };
if (nfc_initiator_select_passive_target (tag->device, modulation, tag->info.abtUid, tag->info.szUidLen, &pnti) >= 0) { if (nfc_initiator_select_passive_target (tag->device, modulation, tag->info.abtUid, tag->info.szUidLen, &pnti) >= 0) {
// The registered ISO AID of DESFire D2760000850100 // The registered ISO AID of DESFire D2760000850100