nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nfc_t2t_setup()

int nfc_t2t_setup ( nfc_t2t_callback_t  callback,
void *  context 
)

#include <nfc/include/nfc_t2t_lib.h>

Register the application callback for event signaling.

The callback will be called by NFC T2T Library to notify the application of relevant events. It will be called from the HAL_NFC callback context.

Parameters
callbackFunction pointer to the callback.
contextPointer to a memory area used by the callback for execution (optional).
Return values
0Success.
-NRF_EINVALInvalid argument (e.g. wrong data length, NULL pointer))
-NRF_EOPNOTSUPPIf emulation is in running state.