nfc_connect()
Connect to the NFC system and start receiving NFC events.
Synopsis:
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_connect()
Arguments:
Library:
libnfcDescription:
This function connects the application to the NFC system and starts to receive NFC events.
Returns:
NFC_RESULT_SUCCESS, or one of the following:
- NFC_RESULT_OPERATION_REJECTED: A connection is already established.
- NFC_RESULT_SERVICE_CONNECTION_ERROR: An attempt to connect to the NFC system failed.