Rename dev_config_option to nfc_device_option_t.

Use NULL instead of INVALID_DEVICE_INFO to know if device is valid (all occurences are now replaced).
This commit is contained in:
Romuald Conty
2009-11-18 11:11:06 +00:00
parent 2a0ff6c5d0
commit 2feedddbfe
15 changed files with 84 additions and 85 deletions

View File

@@ -108,8 +108,8 @@ int main(int argc, char *argv[])
printf("[+] Received initiator command: ");
print_hex_bits(abtRecv,szRecvBits);
printf("[+] Configuring communication\n");
nfc_configure(pnd,DCO_HANDLE_CRC,false);
nfc_configure(pnd,DCO_HANDLE_PARITY,true);
nfc_configure(pnd,NDO_HANDLE_CRC,false);
nfc_configure(pnd,NDO_HANDLE_PARITY,true);
printf("[+] Done, the emulated tag is initialized with UID: %02X%02X%02X%02X\n\n",abtUidBcc[0],abtUidBcc[1],abtUidBcc[2],abtUidBcc[3]);
while(true)