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:
parent
868919107a
commit
ccfd24a682
4 changed files with 37 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue