nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
ndef_file.h File Reference
#include <zephyr/types.h>

Go to the source code of this file.

Macros

#define NFC_NDEF_FILE_NLEN_FIELD_SIZE   2U
 
#define nfc_t4t_ndef_file_msg_size_get(_file_buf_size)    ((_file_buf_size) - NFC_NDEF_FILE_NLEN_FIELD_SIZE)
 Get the available size for the NDEF message into the NDEF File.
 
#define nfc_t4t_ndef_file_msg_get(_file_buf)    ((uint8_t *)((_file_buf) + NFC_NDEF_FILE_NLEN_FIELD_SIZE))
 Get the NDEF Message from NFC NDEF File.
 

Functions

int nfc_t4t_ndef_file_encode (uint8_t *file_buf, uint32_t *size)
 Encode the NFC NDEF File.