https://github.com/nfc-tools/libnfc
## How to build
### Linux
```
sudo apt update
sudo apt --assume-yes upgrade
sudo apt --assume-yes install build-essential git autoconf libtool libusb-dev
```
```
git clone https://github.com/nfc-tools/libnfc.git libnfc-dev
cd libnfc-dev
autoreconf -vis
./configure --with-drivers=pn532_spi,pn532_uart,pn53x_usb,acr122_usb --prefix=$HOME
make -j
````
```
mkdir -p $HOME/etc/nfc/
cp libnfc.conf.sample $HOME/etc/nfc/libnfc.conf
vi $HOME/etc/nfc/libnfc.conf
device.name = "Elechouse NFC Module V3 (SPI)"
device.connstring = "pn532_spi:/dev/spidev0.0:500000"
LIBNFC_DEVICE=pn532_spi:/dev/spidev0.0:500000
LIBNFC_LOG_LEVEL=3
```