请参阅NFC阅读器"SELECT(通过AID)"APDU未在调试和最终结果时路由到Android设备.TL; DR读者可能只是已经不复存在了.
我有ACR122U nfc阅读器.我尝试在我的Ubuntu机器上运行此示例http://www.nfc-tools.org/index.php?title=Libnfc:APDU_example#apdu_example.c.
这是我点击Android设备(应该处于HCE模式)时读取的日志输出:
./apdu_example
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
./apdu_example uses libnfc libnfc-1.7.1
debug libnfc.driver.acr122_usb device found: Bus 001 Device 088 Name ACS ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded from "acr122_usb:001:088"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 …Run Code Online (Sandbox Code Playgroud) 我刚给自己买了一个新的 ACR122U-A9 nfc 阅读器,我需要在 ubuntu 18.10 上使用 libnfc 进行设置。它需要与 libnfc 一起工作,因为 mfoc 接口机智(如果有一种方法可以在没有 libnf 的情况下使用 mfoc,太棒了!那个解决方案对我也有帮助!)安装 libnfc 1.7.1 并做了几个小时的研究后,我仍然这样做不让它工作。每次我使用sudo nfc-list并且 pcscd 未运行时,它都会给我以下错误:
nfc-list uses libnfc 1.7.1
error libnfc.driver.acr122_usb Unable to set alternate setting on USB interface (Connection timed out)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:004:005
Run Code Online (Sandbox Code Playgroud)
如果 pcscd 正在运行,则错误如下:
nfc-list uses libnfc 1.7.1
error libnfc.driver.acr122_usb Unable to set alternate setting on USB interface (Connection timed out)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:004:007
nfc-list: ERROR: Unable …Run Code Online (Sandbox Code Playgroud) 使用ACS的ACR122U RFID读卡器时遇到麻烦。我需要使用PC / SC驱动程序将其连接到Mac。我从ACS网站安装了驱动程序,并确认它正在运行。
但是,每当我使用nfc-list命令进行测试时,都会出现以下错误:
nfc-list uses libnfc libnfc-1.7.1-189-g2869ae2
error libnfc.driver.acr122_usb Unable to claim USB interface (Permission denied)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:020:002
Run Code Online (Sandbox Code Playgroud)
据我从谷歌搜索了解到的是,是Mac取代了USB阻止了PC / SC使用该设备,但是如何强制计算机使用PC / SC驱动程序而不是默认的Apple USB?
PS:我已经安装了 libusb
我在 ArchLinux 上安装了 libnfc,并通过我的 Adafruit PN532 arduino SHIELD 使用它。
nfc-list返回消息“未找到 NFC 设备”。
我在 /etc/nfc/devices.d/pn532.conf 中有以下文件,它给了我
nfc-list 使用 libnfc 1.7.1 错误 libnfc.driver.pn532_uart pn53x_check_communication 错误 错误 libnfc.chip.pn53x 意外的 PN53x 回复!nfc-list:错误:无法打开 NFC 设备:pn532_uart:/dev/ttyACM0
知道如何解决这个问题吗?泰
我想在智能手机上使用libnfc(我可以同时使用Android或Windows手机).我需要对NFC设备进行低级访问,因为标准API不允许我执行我需要的所有操作.
那可能吗?有没有办法处理libnfc以外的东西?有人能帮我吗?
有人可以解释两者之间的差异/关系吗?
现在我使用GPShell + globalplatform + pcsclite也操纵了支持NFC的卡.从我的角度来看(我对libnfc了解不多)pcsclite和libnfc做同样的事情.
我是NFC的新手,我想了解更多关于此的信息,所以我从Adafruit购买了一个PN532 NFC屏蔽和一些Mifare 1K卡.
现在我在Windows 8上成功安装了Libnfc,它工作正常,我可以使用nfc-list.
我试图安装libfreefare但我有错误(我已经发布了一个主题)
但我真的需要能够将卡格式化为NDEF,并在MIFARE Classic 1K卡上读取和写入NDEF数据.
有谁知道怎么做?是否可以使用libnfc.dll这样做?有没有人有这方面的例子或教程?
为安全起见,为了确保我的卡是安全的(不能被覆盖),最好使用DESFire 4k或8k而不是MIFARE Classic 1k吗?
我尝试在 Mac OSX Mojave 10.14.6 上使用带有 libnfc 的 ACR122 USB NFC 读卡器,当我尝试使用以下命令时,出现“无法写入 USB(结果太大)”错误LIBNFC_LOG_LEVEL=3 nfc-list:
info libnfc.config Unable to open file: /usr/local/etc/nfc/libnfc.conf
debug libnfc.config key: [device.allow_autoscan], value: [false]
info libnfc.config Unknown key in config line: device.allow_autoscan = false
debug libnfc.config key: [device.allow_intrusive_scan], value: [false]
info libnfc.config Unknown key in config line: device.allow_intrusive_scan = false
debug libnfc.config key: [device.log_level], value: [3]
info libnfc.config Unknown key in config line: device.log_level = 3
debug libnfc.general log_level is set to 3
debug libnfc.general …Run Code Online (Sandbox Code Playgroud)