nfc_tag_is_writable()
Indicate whether or not the specified tag is writable.
Synopsis:
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_tag_is_writable(const nfc_target_t *tag, bool *is_writable)
Arguments:
- tag
-
The tag returned from the nfc_get_target() function.
- is_writable
-
true if the specified tag is writable, otherwise false.
Library:
libnfcDescription:
This function indicates whether or not the tag is writable.
Returns:
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.