From 05bd15b1d3f2c651c247db143b90a13f27a578c0 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sat, 4 Sep 2010 10:25:07 +0000 Subject: [PATCH] Explicitly enable auto ISO14443-4 mode. We may be unable to locate Mifare DESFire otherwise. --- libfreefare/freefare.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfreefare/freefare.c b/libfreefare/freefare.c index c150c46..5b56759 100644 --- a/libfreefare/freefare.c +++ b/libfreefare/freefare.c @@ -119,6 +119,7 @@ freefare_get_tags (nfc_device_t *device) // Configure the CRC and Parity settings nfc_configure(device,NDO_HANDLE_CRC,true); nfc_configure(device,NDO_HANDLE_PARITY,true); + nfc_configure(device,NDO_AUTO_ISO14443_4,true); // Enable field so more power consuming cards can power themselves up nfc_configure(device,NDO_ACTIVATE_FIELD,true);