nrfxlib API 2.8.99
|
typedef void(* nfc_t4t_callback_t) (void *context, nfc_t4t_event_t event, const uint8_t *data, size_t data_length, uint32_t flags) |
#include <nfc/include/nfc_t4t_lib.h>
Callback to pass events from NFCLib to application.
context | Application context for callback execution. |
event | The event that occurred. see nfc_t4t_event. |
data | Data to send to the application (event specific). |
data_length | Length of the data. In case of NFC_T4T_EVENT_NDEF_UPDATED, this parameter contains the value of the 'NLEN' field of the NDEF File; if the value is non-zero, it corresponds to the new size of the NDEF Message in the updated NDEF File. |
flags | Some events deliver flags. see nfc_t4t_event for details. |