nfc_se_session_is_session_closed()

Check if a session is closed.

Synopsis:

#include <nfc/nfc_se_access.h>
 
NFC_API nfc_result_t nfc_se_session_is_session_closed(uint32_t hSESession, bool *pIsClosed)

Arguments:

hSESession

The handle to the session of interest.

pIsClosed

true if the session is not open with the specified handle, false otherwise. This value is valid only when this function returns NFC_RESULT_SUCCESS.

Library:

libnfc

Description:

Returns:

NFC_RESULT_SUCCESS if the platform is able to determine if the session is closed; or one of the following values is returned: