nfc_se_enable_swp()

Initiates the activation of the Single Wire Protocol(SWP) line for the UICC secure element.

Synopsis:

#include <nfc/nfc_se_access.h>
 
NFC_API nfc_result_t nfc_se_enable_swp()

Since:

BlackBerry 10.0.0

Arguments:

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description:

This function initiates the activation process of the SWP line for the UICC. If your application uses the Contactless Registry Service(CRS) applet in order to hide and display a specific applet, then it should call this function to activate the SWP line before sending any APDUs to the CRS applet.

Returns:

NFC_RESULT_SUCCESS if the SWP line activation has been triggered; otherwise the following value is returned: