mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-01 13:16:39 +00:00
DEP enhancements:
- Add timeout on InJumpForDEP (pn53x) and initiator_select_dep (libnfc API) - test_dep now works again (except 424Kbps) - Fix ndi.ndm feeling when select a DEP target Important: test_dep does not work on PN53x_USB devices after running previous tests
This commit is contained in:
@@ -86,7 +86,7 @@ main (int argc, const char *argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if(!nfc_initiator_select_dep_target (pnd, NDM_PASSIVE, NBR_212, NULL, &nt)) {
|
||||
if(!nfc_initiator_select_dep_target (pnd, NDM_PASSIVE, NBR_212, NULL, &nt, 1000)) {
|
||||
nfc_perror(pnd, "nfc_initiator_select_dep_target");
|
||||
goto error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user