example: Jewel support in nfc-list and nfc-poll. (Many thanks to Phil)

This commit is contained in:
Romuald Conty 2010-09-28 15:31:31 +00:00
parent cab6d19c5a
commit 8672c809bd
4 changed files with 50 additions and 12 deletions

View file

@ -181,16 +181,15 @@ main (int argc, const char *argv[])
}
}
/*
// List Jewel targets
if (nfc_initiator_list_passive_targets(pnd, NM_JEWEL_106, anti, MAX_TARGET_COUNT, &szTargetFound )) {
size_t n;
printf("%d Jewel passive target(s) was found%s\n", (int)szTargetFound, (szTargetFound==0)?".\n":":"); for(n=0; n<szTargetFound; n++) {
printf("Jewel support is missing in libnfc, feel free to contribute.\n");
printf("%d Jewel passive target(s) was found%s\n", (int)szTargetFound, (szTargetFound==0)?".\n":":");
for(n=0; n<szTargetFound; n++) {
print_nfc_jewel_info (anti[n].nji);
printf("\n");
}
}
*/
nfc_disconnect (pnd);
}