# Remote SIM Profile

- [API reference](https://docs.qualcomm.com/doc/80-41102-2/topic/_doxygen_rst_file__doxygen_sources_taf_simRsp_interface_h.html#file-taf-simrsp-interface-h)

The remote SIM profile is a profile of a SIM card placed remotely. Users can manage the remote SIM profile using this service and interface between the application and the SIM card service based on the SIM Access Profile (SAP) specification. A remote SIM profile is needed for applications that want to add, delete, enable, or disable a SIM profile locally or remotely.

**NOTE:** These APIs are designed solely for trial purposes and are not intended for use in commercial deployments.

## IPC interfaces binding

The functions this API are provided by the **tafSimCardSvc** application service.

The follwoing example illustrates how to bind to the Remote SIM Profile service.

bindings:
    {
        clientExe.clientComponent.taf_simRsp -> tafSimCardSvc.taf_simRsp
    }
    Copy to clipboard

## Adding a SIM profile

A SIM profile can be added remotely using [taf\_simRsp\_AddProfile()](https://docs.qualcomm.com/doc/80-41102-2/topic/function_a00662_1aabd7747bcb4c21b3960eeb9a484f7365.html#Documentationa00662_1aabd7747bcb4c21b3960eeb9a484f7365) with slotId, activationCode, confirmationCode and userConsentSupported passed as parameters.

#define SLOT_ID  TAF_SIM_EXTERNAL_SLOT_1
    #define ACTIVATION_CODE "LPA:1$mc4-poc5.otlabs.fr$333353014959437" //This is for test, dummy activation code
    le_result_t res = taf_simRsp_AddProfile((taf_sim_Id_t) TAF_SIM_EXTERNAL_SLOT_1, ACTIVATION_CODE,"",false);
    LE_ASSERT(res == LE_OK);
    Copy to clipboard

Before the SIM profile download is started, an application registers a state change handler using [taf\_simRsp\_AddProfileDownloadHandler()](https://docs.qualcomm.com/doc/80-41102-2/topic/function_a00662_1ac93e08db493ebec52cb321afe3152560.html#Documentationa00662_1ac93e08db493ebec52cb321afe3152560). Once the profile download is completed, the handler will be called indicating it’s completed. If profile downloading failed or the downloading state changed, the handler will be called with the error code or new state.

taf_simRsp_ProfileDownloadHandlerRef_t pdHandlerRef = taf_simRsp_AddProfileDownloadHandler(ProfileDownloadHandler, NULL);
    Copy to clipboard

To enable a SIM profile, an application can use [taf\_simRsp\_SetProfile()](https://docs.qualcomm.com/doc/80-41102-2/topic/function_a00662_1a18b53b2949dd5365c7916ce4669d6c90.html#Documentationa00662_1a18b53b2949dd5365c7916ce4669d6c90) with the slotId, profileId and enable flag passed as parameters. To delete a SIM profile, an application can use [taf\_simRsp\_DeleteProfile()](https://docs.qualcomm.com/doc/80-41102-2/topic/function_a00662_1a3ecfdfe240c4a4e168462c4b59439328.html#Documentationa00662_1a3ecfdfe240c4a4e168462c4b59439328) with the slotId and profileId passed as parameters.

Applications must use [taf\_simRsp\_RemoveProfileDownloadHandler()](https://docs.qualcomm.com/doc/80-41102-2/topic/function_a00662_1a830ed873383fe28afab97f1749ca95fc.html#Documentationa00662_1a830ed873383fe28afab97f1749ca95fc) to release the [taf\_simRsp\_ProfileDownloadHandlerRef\_t](https://docs.qualcomm.com/doc/80-41102-2/topic/typedef_a00659_1a1012591534505d5bc4dcbadbd297286f.html#Documentationa00659_1a1012591534505d5bc4dcbadbd297286f) download handler reference object when it is no longer used.

Last Published: Jun 09, 2026

[Previous Topic
Remote SIM](https://docs.qualcomm.com/bundle/publicresource/80-41102-2/topics/page_c_tafsimRsim.md) [Next Topic
SIM Access Profile](https://docs.qualcomm.com/bundle/publicresource/80-41102-2/topics/page_c_tafSimSap.md)