nfc_se_reader_open_session()
Connect to a secure element in a reader.
Synopsis:
#include <nfc/nfc_se_access.h>
NFC_API nfc_result_t nfc_se_reader_open_session(uint32_t hSEReader, uint32_t *pSESession)
Arguments:
- hSEReader
-
The handle to the reader.
- pSESession
-
The resulting session to the specified reader.
Library:
libnfcDescription:
Returns:
NFC_RESULT_SUCCESS if the session is created successfully; 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.