nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ nfc_t4t_ndef_file_msg_size_get

#define nfc_t4t_ndef_file_msg_size_get ( _file_buf_size)

#include <include/nfc/t4t/ndef_file.h>

Value:
((_file_buf_size) - NFC_NDEF_FILE_NLEN_FIELD_SIZE)
#define NFC_NDEF_FILE_NLEN_FIELD_SIZE
Definition ndef_file.h:25

Get the available size for the NDEF message into the NDEF File.

Parameters
[in]_file_buf_sizeSize of the NDEF File buffer.
Returns
Maximum size of the NDEF Message which can be encoded into the buffer.