Add /etc/nfc/devices.d/ example in NEWS

This commit is contained in:
Philippe Teuwen 2013-01-20 15:41:53 +01:00
parent 532b30a2cd
commit 84af758877

8
NEWS
View file

@ -1,4 +1,4 @@
New in 1.7.0-rc1: New in 1.7.0-rc2:
Configuration: Configuration:
libnfc can now use a configuration file for special setups, or features libnfc can now use a configuration file for special setups, or features
@ -13,6 +13,12 @@ Configuration:
device (ie. a serial one). device (ie. a serial one).
It is also possible to define devices using dedicated configuration files and 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). put them into device search directory (/etc/nfc/devices.d under GNU/Linux).
Example for the OpenPCD2: create /etc/nfc/devices.d/openpcd2.conf with:
name = "OpenPCD2"
connstring = "pn532_uart:/dev/ttyACM0"
optional = true
The keyword "optional" does not mandate the device to be present always
(it detects if the reader is indeed present before using it)
API Changes: API Changes: