Improve DEP info struct: add more info, and InJumpDEP now fill fully this struct.

This commit is contained in:
Romuald Conty 2010-10-08 20:25:34 +00:00
parent 1d0c7fe68e
commit 1e9c390dfa
6 changed files with 58 additions and 15 deletions

View file

@ -197,6 +197,21 @@ print_nfc_iso14443b_info (const nfc_iso14443b_info_t nbi)
}
}
void
print_nfc_dep_info (const nfc_dep_info_t ndi)
{
printf (" NFCID3: ");
print_hex (ndi.abtNFCID3, 10);
printf (" BS: %02x\n", ndi.btBS);
printf (" BR: %02x\n", ndi.btBR);
printf (" TO: %02x\n", ndi.btTO);
printf (" PP: %02x\n", ndi.btPP);
if (ndi.szGB) {
printf ("General Bytes: ");
print_hex (ndi.abtGB, ndi.szGB);
}
}
/**
* @brief Tries to parse arguments to find device descriptions.
* @return Returns the list of found device descriptions.