![]() |
nrfxlib API 3.3.99
|
| 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.
| callback | Function pointer to the callback. |
| context | Pointer to a memory area used by the callback for execution (optional). |
| 0 | Success. |
| -NRF_EINVAL | Invalid argument (e.g. wrong data length, NULL pointer)) |
| -NRF_EOPNOTSUPP | If emulation is in running state. |