Fix nfc_dep_mode_t usage in API, fix/improve documentation
This commit is contained in:
parent
f559838352
commit
6f3fbcb6bf
3 changed files with 92 additions and 41 deletions
|
|
@ -32,6 +32,10 @@ main (int argc, const char *argv[])
|
|||
printf ("Connected to NFC reader: %s\n", pnd->acName);
|
||||
|
||||
// Poll for a ISO14443A (MIFARE) tag
|
||||
const nfc_modulation_t nmMifare = {
|
||||
.nmt = NMT_ISO14443A,
|
||||
.nbr = NBR_106,
|
||||
};
|
||||
if (nfc_initiator_select_passive_target (pnd, PM_ISO14443A_106, NULL, 0, &nti)) {
|
||||
printf ("The following (NFC) ISO14443A tag was found:\n");
|
||||
printf (" ATQA (SENS_RES): ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue