Topic: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)

./configure --with-drivers=pn532_uart --enable-serial-autoprobe

Re: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)

Hi,

At first, please fix your reported troubles :

info   libnfc.config   Unknown key in config line: device.allow_autoscan = true
Romuald Conty

Re: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)

Re: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)

Hello,

If you have an Arduino in front of PN532, you can make a firmware for Arduino that handle UART (or serial over USB) just like the PN532 do when its connected directly to a UART->USB dongle.
There is no need for additional driver in libnfc in this case.

Romuald Conty

5 (edited by helpme 2015-05-28 11:30:17)

Re: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)

Re: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)

Its not possible to compile libnfc for Arduino.

Arduino do have a different code to forward instructions send from PC (by libnfc) to the connected PN532.

Romuald Conty

Re: Libnfc vs. Elecfreaks NFC Bridge (Arduino Leonardo I2C Pn532)