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"