我在 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
知道如何解决这个问题吗?
泰
首先验证您的 Rx/Tx 连接。
然后使用以下命令配置 LIBNFC:
1) ./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr --enable-serial-autoprobe
2) make clean all
3) sudo make install all
最后4) LIBNFC_LOG_LEVEL=3
Now Try 5) nfc-list
如果问题仍然存在,请尝试使用 nfc-tool 中的本教程 http://nfc-tools.org/index.php?title=Libnfc:Arduino
来源/参考 http://nfc-tools.org/index.php?title=Libnfc:configuration
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)