nfc_hce_is_aid_registered()

Check if an AID is registered.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_hce_is_aid_registered(const uint8_t *aid, size_t aid_len, bool *is_registered)

Since:

BlackBerry 10.3.0

Arguments:

aid

Pointer to the buffer containing the AID.

aid_len

Length of the AID.

is_registered

A pointer to a boolean value that is set when the function returns NFC_RESULT_SUCCESS. This value is set to true if the calling application has already registered the AID, false otherwise.

Library:

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

Description:

An application uses this function to check if it has already registered the specified AID.

Feature set 1 doesn't support this function. When called in feature set 1, the function returns NFC_RESULT_UNSUPPORTED_API.

Returns:

NFC_RESULT_SUCCESS, or one of the following:

Last modified: 2015-04-16



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

comments powered by Disqus