3

我在我的 ArchLinux 上安装了 libnfc,我会通过我的 Adafruit PN532 arduino SHIELD 使用它。

nfc-list向我返回消息“未找到 NFC 设备”。

我在 /etc/nfc/devices.d/pn532.conf 中有以下文件,它给了我

nfc-list uses libnfc 1.7.1 error libnfc.driver.pn532_uart pn53x_check_communication error error libnfc.chip.pn53x Unexpected PN53x reply!nfc-list:错误:无法打开 NFC 设备:pn532_uart:/dev/ttyACM0

关于如何解决这个问题的任何想法?泰

4

2 回答 2

3

首先验证您的 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

现在试试5) nfc-list

如果问题仍然存在,请从 nfc-tool 尝试本教程

来源/参考

于 2016-09-06T06:40:20.113 回答
1

对我来说,它可以交换 RX <-> TX

于 2019-01-25T23:05:39.780 回答