nfc_se_reader_get_name()
Return the user-friendly name of a reader.
Synopsis:
#include <nfc/nfc_se_access.h>
NFC_API nfc_result_t nfc_se_reader_get_name(uint32_t hSEReader, char *pName, uint32_t *pLen)
Arguments:
- hSEReader
-
The handle to the reader whose name is to be provided.
- pName
-
The character array to place the name.
- pLen
-
The length of the pName character array sent in, and the actual length returned or the length returned in case of an error.
Library:
libnfcDescription:
Returns:
NFC_RESULT_SUCCESS if the reader name is successfully retrieved; or one of the following:
- NFC_RESULT_SERVICE_CONNECTION_ERROR: An attempt to connect to the NFC system has failed.
- NFC_RESULT_INVALID_PARAMETER: A parameter is invalid.
- NFC_RESULT_SE_INVALID_HANDLE: The hSEReader is invalid.
- NFC_RESULT_SE_INPUT_TOO_SHORT: The pName argument is too short. The expected length is specified in the pLen argument.