Added new example, PN53x chips will now emulate NDEF tag! not in build-script yet

This commit is contained in:
Roel Verdult 2010-09-28 16:15:59 +00:00
parent 5efa9e2cdb
commit 6dfe88113e
10 changed files with 159 additions and 18 deletions

View file

@ -125,7 +125,7 @@ main (int argc, char *argv[])
printf ("[+] Try to break out the auto-emulation, this requires a second reader!\n");
printf ("[+] To do this, please send any command after the anti-collision\n");
printf ("[+] For example, send a RATS command or use the \"nfc-anticol\" tool\n");
if (!nfc_target_init (pndTag, abtReaderRx, &szReaderRxBits)) {
if (!nfc_target_init (pndTag, NTM_PASSIVE, abtReaderRx, &szReaderRxBits)) {
ERR ("%s", "Initialization of NFC emulator failed");
nfc_disconnect (pndTag);
return EXIT_FAILURE;