diff --git a/contrib/libnfc/pn532_spi_on_rpi.conf.sample b/contrib/libnfc/pn532_spi_on_rpi.conf.sample new file mode 100644 index 0000000..f3065d2 --- /dev/null +++ b/contrib/libnfc/pn532_spi_on_rpi.conf.sample @@ -0,0 +1,5 @@ +## Typical configuration file for PN532 device on R-Pi connected using SPI +## Note: to use SPI port on R-Pi, you have to load kernel module spi-bcm2708: +## Edit /etc/modprobe.d/raspi-blacklist.conf and comment: #blacklist spi-bcm2708 +name = "PN532 board via SPI" +connstring = pn532_spi:/dev/spidev0.0:500000 diff --git a/contrib/libnfc/pn532_uart_on_rpi.conf.sample b/contrib/libnfc/pn532_uart_on_rpi.conf.sample index 9773590..afd591e 100644 --- a/contrib/libnfc/pn532_uart_on_rpi.conf.sample +++ b/contrib/libnfc/pn532_uart_on_rpi.conf.sample @@ -1,5 +1,5 @@ ## Typical configuration file for PN532 device on R-Pi connected using UART ## Note: to use UART port on R-Pi, you have to disable linux serial console: ## http://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/freeing-uart-on-the-pi -name = "PN532 board" +name = "PN532 board via UART" connstring = pn532_uart:/dev/ttyAMA0 diff --git a/contrib/libnfc/pn532_via_uart2usb.conf.sample b/contrib/libnfc/pn532_via_uart2usb.conf.sample index 50f5e3a..3bdfa96 100644 --- a/contrib/libnfc/pn532_via_uart2usb.conf.sample +++ b/contrib/libnfc/pn532_via_uart2usb.conf.sample @@ -1,3 +1,3 @@ ## Typical configuration file for PN532 board (ie. microbuilder.eu / Adafruit) device -name = "Adafruit PN532 board" +name = "Adafruit PN532 board via UART" connstring = pn532_uart:/dev/ttyUSB0