nfc_validate_sp()

Validate if a smart poster record is consistent with the specification.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_validate_sp(nfc_ndef_record_t *sp_rec)

Since:

BlackBerry 10.2.0

Arguments:

sp_rec

The smart poster NDEF record to check

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description:

This function reviews the data embedded inside a smart poster NDEF record and verifies that the record is compliant with the NFC Forum specification for smart poster records.

Returns:

NFC_RESULT_SUCCESS, otherwise NFC_RESULT_INVALID_PARAMETER to indicate that the record is not a valid smart poster record.