nfc_get_ndef_message_count()
Retrieve the number of NDEF messages found after an NDEF read.
Synopsis:
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_get_ndef_message_count(const nfc_target_t *target, unsigned int *count)
Arguments:
- target
-
The NFC target returned from the nfc_get_target() function.
- count
-
The returned number of NDEF messages found, corresponding to the NDEF types specified.
Library:
libnfcDescription:
This function retrieves the number of NDEF messages found after a successful NDEF read.
Returns:
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.