diff --git a/NEWS b/NEWS index f6f6701..b9d20b6 100644 --- a/NEWS +++ b/NEWS @@ -1,17 +1,17 @@ New in TBD: Configuration: - libnfc can now uses a configuration file for special setups, or features - activation. This file (/etc/nfc/libnfc.conf under GNU/Linux systems) already - support some keywords: + libnfc can now use a configuration file for special setups, or features + activation. This file (/etc/nfc/libnfc.conf under GNU/Linux systems) + supports already some keywords: - "allow_autoscan" to enable/disable device auto-detection feature; - "allow_intrusive_autoscan" to enable/disable intrusive auto-detection (ie. serial port probing); - "log_level" to select library verbosity; - "device.name" and "device.connstring" to define a user device, - this is the recommended method if user have a not-easily detectable - device (ie. serial ones). - Its also possible to define devices using dedicated configuration files and + this is the recommended method if user has a not easily detectable + device (ie. a serial one). + It is also possible to define devices using dedicated configuration files and put them into device search directory (/etc/nfc/devices.d under GNU/Linux). API Changes: diff --git a/libnfc.conf.sample b/libnfc.conf.sample index fdc44cb..2b7b9d8 100644 --- a/libnfc.conf.sample +++ b/libnfc.conf.sample @@ -1,20 +1,20 @@ # Allow device auto-detection (default: true) -# Note: if this auto-detection is disabled, user have to set manually a device -# configuration using file or environnement variable +# 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 prefers to add manually its device. +# This option is not recommended, user should prefer to add manually his device. #allow_intrusive_autoscan = 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 set --enable-debug option, the default log level is "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 is device list. +# Note: if autoscan is enabled, default device will be the first device available in device list. #device.name = "microBuilder.eu" #device.connstring = "pn532_uart:/dev/ttyUSB0"