Start receiving NFC events.
Synopsis:
#include <nfc/nfc_bps.h>
NFC_API int nfc_request_events()
Arguments:
Library:
libnfc_bps (For the qcc command, use the -l nfc_bps
option to link against this library)
Description:
This function requests the NFC service to start delivering NFC events as they occur to the application.
Returns:
BPS_SUCCESS upon success, otherwise
BPS_FAILURE with
errno set to one of the following values:
- EIO: An IO error has occurred.
- EALREADY: This function has already been called.
- ECONNREFUSED: attempt at connecting to an NFC system has failed.