nfc_is_tag_locked()

Indicate whether or not the specified tag is locked for additional NDEF message writing.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_is_tag_locked(nfc_target_t *tag, bool *locked)

Since:

BlackBerry 10.0.0

Arguments:

tag

The tag handle found after a tag detection.

locked

true if the specified tag is read only, false if not locked against additional NDEF writes.

Library:

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

Description:

This function indicates whether or not a tag is locked for additional NDEF writes.

Returns:

NFC_RESULT_SUCCESS, or one of the following:

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus