nfc_se_session_close_session()
Close the connection with the secure element.
Synopsis:
#include <nfc/nfc_se_access.h>
NFC_API nfc_result_t nfc_se_session_close_session(uint32_t hSESession)
Arguments:
- hSESession
-
The handle to the session you like to close.
Library:
libnfcDescription:
Returns:
NFC_RESULT_SUCCESS if the session is retrieved successfully; or one of the following:
- NFC_RESULT_SERVICE_CONNECTION_ERROR: An attempt to connect to the NFC system has failed.
- NFC_RESULT_SE_INVALID_HANDLE: The hSESession is invalid.