Explicitly enable auto ISO14443-4 mode for nfc-list.

This commit is contained in:
Romain Tartiere 2010-09-04 10:20:02 +00:00
parent c82e1ff30f
commit 2efbccf236

View file

@ -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