Removes nfc_get_default_device() function.

The nfc_get_default_device() is not needed anymore since the first element from returned nfc_connstring list of nfc_list_devices() function.
Plus, nfc_open() can be use with NULL nfc_connstring which will select automatically the first available device (ie. the default one).
This commit is contained in:
Romuald Conty 2012-12-04 12:17:56 +01:00
parent 03e5611d14
commit dc949c257e
4 changed files with 15 additions and 38 deletions

3
NEWS
View file

@ -21,6 +21,9 @@ API Changes:
creation, etc.)
* Functions
- Remove nfc_get_default_device() function: the default device is now the
first in nfc_list_devices() or could be open using NULL connstring with
nfc_open() function.
- New enum-to-string converter functions str_nfc_modulation_type() and
str_nfc_baud_rate()
- New str_nfc_target() to convert nfc_target struct into allocated string