nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nfc_t4t_callback_t

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.

Parameters
contextApplication context for callback execution.
eventThe event that occurred. see nfc_t4t_event.
dataData to send to the application (event specific).
data_lengthLength 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.
flagsSome events deliver flags. see nfc_t4t_event for details.