From 2efbccf23603b4e7b545b5337ea4044a573ddbf4 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sat, 4 Sep 2010 10:20:02 +0000 Subject: [PATCH] Explicitly enable auto ISO14443-4 mode for nfc-list. --- examples/nfc-list.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/nfc-list.c b/examples/nfc-list.c index 9b53257..1c91718 100644 --- a/examples/nfc-list.c +++ b/examples/nfc-list.c @@ -144,6 +144,11 @@ int main(int argc, const char* argv[]) exit(EXIT_FAILURE); } + if (!nfc_configure(pnd, NDO_AUTO_ISO14443_4, true)) { + nfc_perror(pnd, "nfc_configure"); + exit(EXIT_FAILURE); + } + printf("Connected to NFC reader: %s\n",pnd->acName); // List ISO14443A targets