为什么“未找到 NFC 设备"使用 libnfc 和 PN532 SHIELD [英] Why "No NFC device found" with libnfc and PN532 SHIELD

查看:63
本文介绍了为什么“未找到 NFC 设备"使用 libnfc 和 PN532 SHIELD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I installed the libnfc on my ArchLinux and i would use it through my Adafruit PN532 arduino SHIELD.

nfc-list 返回消息未找到 NFC 设备".

nfc-list returns me the message "No NFC device found".

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

I have the following file in /etc/nfc/devices.d/pn532.conf that gives me

nfc-list 使用 libnfc 1.7.1错误 libnfc.driver.pn532_uart pn53x_check_communication 错误错误 libnfc.chip.pn53x 意外的 PN53x 回复!nfc-list:错误:无法打开 NFC 设备:pn532_uart:/dev/ttyACM0

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: ERROR: Unable to open NFC device: pn532_uart:/dev/ttyACM0

知道如何解决这个问题吗?你

Any idea about how to fix that ? TY

推荐答案

首先验证您的 Rx/Tx 连接.

然后使用以下命令配置 LIBNFC:

First of all verify your Rx/Tx connections.

And then Configure LIBNFC with following command :

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 尝试本教程

来源/参考

这篇关于为什么“未找到 NFC 设备"使用 libnfc 和 PN532 SHIELD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆