nfc_se_get_active_se_type()
Obtain the type of the active secure element.
Synopsis:
#include <nfc/nfc_se_access.h>
NFC_API nfc_result_t nfc_se_get_active_se_type(secure_element_id_type_t *activeSEType)
Arguments:
- activeSEType
-
The type of secure element that is currently active; either UICC_SE_ID or EMBEDDED_SE_ID.
Library:
libnfcDescription:
The active secure element refers to the secure element that is currently emulating a technology type.
Returns:
NFC_RESULT_SUCCESS if the active secure element Type has been retrieved successfully; or one of the following values is returned:
- NFC_RESULT_SERVICE_CONNECTION_ERROR: An attempt to connect to the NFC system has failed.
- NFC_RESULT_INVALID_PARAMETER: A parameter is invalid.