nfc_get_tag_property()

Return the property value associated with a tag property name.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_get_tag_property(const nfc_target_t *target, target_property_type_t property, char *buffer, size_t buffer_length)

Since:

BlackBerry 10.0.0

Arguments:

target

The NFC target returned from the nfc_get_target() function.

property

The requested property.

buffer

A pointer to a preallocated buffer of type char in which the property value is updated.

buffer_length

The size of the preallocated buffer.

Library:

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

Description:

The value of the requested property is copied into the provided buffer of type char and null-terminated.

The following properties have values represented as a string:
The following properties have a positive integer value represented as a string:

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