nfc_get_target_connection_id()
Retrieve the connection id associated with the target.
Synopsis:
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_get_target_connection_id(const nfc_target_t *target, unsigned int *target_connection_id)
Arguments:
- target
-
The NFC target returned from the nfc_get_target() function.
- target_connection_id
-
The returned connection id of the target.
Library:
libnfcDescription:
This function returns the connection id associated with the target. The id could be used to identify a target at runtime.
Returns:
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.