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:
parent
03e5611d14
commit
dc949c257e
4 changed files with 15 additions and 38 deletions
|
|
@ -67,7 +67,6 @@ extern "C" {
|
|||
NFC_EXPORT void nfc_exit(nfc_context *context);
|
||||
|
||||
/* NFC Device/Hardware manipulation */
|
||||
NFC_EXPORT bool nfc_get_default_device(nfc_connstring *connstring);
|
||||
NFC_EXPORT nfc_device *nfc_open(nfc_context *context, const nfc_connstring connstring);
|
||||
NFC_EXPORT void nfc_close(nfc_device *pnd);
|
||||
NFC_EXPORT int nfc_abort_command(nfc_device *pnd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue