From 746e0fe1107fc0b4e47a5b95ea3fe58ae47a619b Mon Sep 17 00:00:00 2001 From: Pavel Ruzicka Date: Mon, 6 Jun 2016 23:06:56 +0200 Subject: [PATCH] Create libnfc.conf --- brmdoor-rpi/libnfc.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 brmdoor-rpi/libnfc.conf diff --git a/brmdoor-rpi/libnfc.conf b/brmdoor-rpi/libnfc.conf new file mode 100644 index 0000000..9b3b9ef --- /dev/null +++ b/brmdoor-rpi/libnfc.conf @@ -0,0 +1,20 @@ +# Allow device auto-detection (default: true) +# Note: if this auto-detection is disabled, user has to set manually a device +# configuration using file or environment variable +allow_autoscan = true + +# Allow intrusive auto-detection (default: false) +# Warning: intrusive auto-detection can seriously disturb other devices +# This option is not recommended, user should prefer to add manually his device. +allow_intrusive_scan = false + +# Set log level (default: error) +# Valid log levels are (in order of verbosity): 0 (none), 1 (error), 2 (info), 3 (debug) +# Note: if you compiled with --enable-debug option, the default log level is "debug" +log_level = 1 + +# Manually set default device (no default) +# To set a default device, you must set both name and connstring for your device +# Note: if autoscan is enabled, default device will be the first device available in device list. +device.name = "Itead_PN532_SPI" +device.connstring = "pn532_spi:/dev/spidev0.0:500000"