2014-03-28 42 views
1

我刚刚编译了最新版本的libnfc,但它(nfc-poll & nfc-list)不会找到我的读者。libnfc的最新版本无法找到我的阅读器

任何人都有这个问题,并知道如何解决它?

旧版本:

nfc_list.exe use libnfc 1.3.9 
Connected to NFC reader: ACS ACR122 0/ACR122U210 - PN532 v1.6 (0x07) 
1 ISO14443A passive target(s) was found: 
    ATQA (SENS_RES): 00 02 
     UID (NFCID1): 91 e8 1c 57 
     SAK (SEL_RES): 18 

新版本:

nfc-list.exe uses libnfc 1.7.1 
debug libnfc.general 0 device(s) found using arygon driver 
debug libnfc.general 0 device(s) found using pn532_uart driver 
debug libnfc.general 0 device(s) found using ACR122S driver 
debug libnfc.general 0 device(s) found using acr122_usb driver 
debug libnfc.general 0 device(s) found using pn53x_usb driver 
No NFC device found. 

回答

1

事实证明,虽然它连接到USB端口,它需要与LIBNFC_DRIVER_ACR122_PCSC代替LIBNFC_DRIVER_ACR122_USB标志进行编译。

这解决了我的问题。

nfc-list.exe uses libnfc 1.7.1 
NFC device: ACS ACR122 0/ACR122U210 opened 
1 ISO14443A passive target(s) found: 
ISO/IEC 14443A (106 kbps) target: 
    ATQA (SENS_RES): 00 02 
     UID (NFCID1): 91 e8 1c 57 
     SAK (SEL_RES): 18