nfc-relay: Initialize initiator device explicitly.
This commit is contained in:
parent
d4d5c5495e
commit
17eff8863c
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ int main(int argc,char* argv[])
|
|||
pdiReader = INVALID_DEVICE_INFO;
|
||||
while (pdiReader == INVALID_DEVICE_INFO) pdiReader = nfc_connect(NULL);
|
||||
printf("[+] Configuring NFC reader settings\n");
|
||||
nfc_initiator_init(pdiReader);
|
||||
nfc_configure(pdiReader,DCO_HANDLE_CRC,false);
|
||||
nfc_configure(pdiReader,DCO_HANDLE_PARITY,false);
|
||||
nfc_configure(pdiReader,DCO_ACCEPT_INVALID_FRAMES,true);
|
||||
|
|
Loading…
Reference in a new issue