nfc-anticol now works even after running another program that change the modulation (Fixes Issue 111) (Thanks to Phil for help).

This commit is contained in:
Romuald Conty 2010-09-23 16:03:05 +00:00
parent 868919107a
commit ccfd24a682
4 changed files with 37 additions and 2 deletions

View file

@ -167,6 +167,11 @@ main (int argc, char *argv[])
nfc_perror (pnd, "nfc_configure");
exit (EXIT_FAILURE);
}
// Force 14443-A mode
if (!nfc_configure (pnd, NDO_FORCE_ISO14443_A, true)) {
nfc_perror (pnd, "nfc_configure");
exit (EXIT_FAILURE);
}
// Enable field so more power consuming cards can power themselves up
if (!nfc_configure (pnd, NDO_ACTIVATE_FIELD, true)) {