mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-15 03:53:48 +00:00
Explicitly enable auto ISO14443-4 mode for nfc-list.
This commit is contained in:
@@ -144,6 +144,11 @@ int main(int argc, const char* argv[])
|
|||||||
exit(EXIT_FAILURE);
|
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);
|
printf("Connected to NFC reader: %s\n",pnd->acName);
|
||||||
|
|
||||||
// List ISO14443A targets
|
// List ISO14443A targets
|
||||||
|
|||||||
Reference in New Issue
Block a user