nfc-tools / libnfc

Platform independent Near Field Communication (NFC) library
http://nfc-tools.org
GNU Lesser General Public License v3.0
1.72k stars 443 forks source link

error libnfc.driver.pn532_i2c Application level error detected (127) #493

Open AProzis opened 6 years ago

AProzis commented 6 years ago

Hello all.

I am using Libnfc on a Raspberry pi 3b+ with a PN532 adafruit. I am trying to read the tag data with the apdu_example.c. When I run the program, I get a error error libnfc.driver.pn532_i2c Application level error detected (127). I already try to use SPI communication but no success. Could you help me please?

Thank you!

arandintday commented 3 years ago

I got this error too, and why no one replied you?

Zarinia commented 3 years ago

you shoud copy /etc/nfc/libnfc.conf to /usr/local/etc/nfc/libnfc.conf and test with this command LIBNFC_LOG_LEVEL=3 nfc-list

ScottyDoesKnow commented 1 year ago

I was confused by this error message, but then realized it was still working (I looked at the linked "No NFC device found" issue above and saw they had the same error but it still worked). If you encounter this, put a card/fob/etc... on the reader and call nfc-list again to see if it works anyways.