10 #ifndef TAF_SIMRSP_COMMON_H_INCLUDE_GUARD 11 #define TAF_SIMRSP_COMMON_H_INCLUDE_GUARD 19 #define IFGEN_TAF_SIMRSP_PROTOCOL_ID "bd560854534a28c278ac3577550149c1" 20 #define IFGEN_TAF_SIMRSP_MSG_SIZE 2068 28 #define TAF_SIMRSP_EID_LEN 32 34 #define TAF_SIMRSP_EID_BYTES 33 40 #define TAF_SIMRSP_MAX_PROFILE 32 46 #define TAF_SIMRSP_NAME_LEN 64 52 #define TAF_SIMRSP_NAME_BYTES 65 58 #define TAF_SIMRSP_SPN_LEN 32 64 #define TAF_SIMRSP_SMDP_LEN 1024 70 #define TAF_SIMRSP_ICCID_LEN 20 76 #define TAF_SIMRSP_ICCID_BYTES 21 82 #define TAF_SIMRSP_NICKNAME_LEN 64 88 #define TAF_SIMRSP_NICKNAME_BYTES 65 94 #define TAF_SIMRSP_ACTIVATION_CODE_LEN 256 100 #define TAF_SIMRSP_ACTIVATION_CODE_BYTES 257 106 #define TAF_SIMRSP_CODE_LEN 256 112 #define TAF_SIMRSP_CODE_BYTES 257 297 bool userConsentRequired,
489 bool userConsentSupported
571 size_t* profileListSizePtr
613 size_t smdpAdressSize,
861 #endif // TAF_SIMRSP_COMMON_H_INCLUDE_GUARD taf_simRsp_ProfileClass_t
Definition: taf_simRsp_common.h:160
void(* taf_simRsp_ProfileDownloadHandlerFunc_t)(taf_sim_Id_t slotId, taf_simRsp_DownloadStatus_t downloadStatus, taf_simRsp_DownloadErrorCause_t errorCause, void *contextPtr)
Definition: taf_simRsp_common.h:277
Error from the network.
Definition: taf_simRsp_common.h:216
LE_SHARED bool ifgen_taf_simRsp_GetProfileActiveStatus(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef)
Disabling the profile is not allowed.
Definition: taf_simRsp_common.h:180
struct taf_simRsp_ProfileUserConsentHandler * taf_simRsp_ProfileUserConsentHandlerRef_t
Definition: taf_simRsp_common.h:260
End user postponed.
Definition: taf_simRsp_common.h:241
LE_SHARED le_result_t ifgen_taf_simRsp_GetEID(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *eid, size_t eidSize)
LE_SHARED le_result_t ifgen_taf_simRsp_SetServerAddress(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, const char *LE_NONNULL smdpAdress)
Profile policy rules not allowed.
Definition: taf_simRsp_common.h:222
End user rejection.
Definition: taf_simRsp_common.h:239
LE_SHARED le_result_t ifgen_taf_simRsp_ProvideConfirmationCode(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, const char *LE_NONNULL code)
LE_SHARED void ifgen_taf_simRsp_InitCommonData(void)
LE_SHARED void ifgen_taf_simRsp_RemoveProfileUserConsentHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileUserConsentHandlerRef_t handlerRef)
LE_SHARED taf_simRsp_ProfileClass_t ifgen_taf_simRsp_GetProfileClass(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef)
taf_simRsp_ProfileType_t
Definition: taf_simRsp_common.h:126
LE_SHARED le_result_t ifgen_taf_simRsp_GetName(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef, char *name, size_t nameSize)
void(* taf_simRsp_ProfileUserConsentHandlerFunc_t)(taf_sim_Id_t slotId, bool userConsentRequired, uint8_t mask, void *contextPtr)
Definition: taf_simRsp_common.h:294
Error due to no memory.
Definition: taf_simRsp_common.h:218
LE_SHARED taf_simRsp_IconType_t ifgen_taf_simRsp_GetIconType(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef)
Generic error.
Definition: taf_simRsp_common.h:212
LE_SHARED le_result_t ifgen_taf_simRsp_UpdateNickName(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, uint32_t profileId, const char *LE_NONNULL nickName)
taf_simRsp_DownloadErrorCause_t
Definition: taf_simRsp_common.h:210
struct taf_simRsp_ProfileConfirmationCodeHandler * taf_simRsp_ProfileConfirmationCodeHandlerRef_t
Definition: taf_simRsp_common.h:268
LE_SHARED le_result_t ifgen_taf_simRsp_SetProfile(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, uint32_t profileId, bool enable)
LE_SHARED taf_simRsp_ProfileListNodeRef_t ifgen_taf_simRsp_GetProfile(le_msg_SessionRef_t _ifgen_sessionRef, uint32_t index)
LE_SHARED uint32_t ifgen_taf_simRsp_GetProfileIndex(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef)
LE_SHARED le_result_t ifgen_taf_simRsp_GetSpn(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef, char *spn, size_t spnSize)
LE_SHARED le_result_t ifgen_taf_simRsp_ProvideUserConsent(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, bool userConsent, taf_simRsp_UserConsentReasonType_t reason)
PNG icon.
Definition: taf_simRsp_common.h:149
JPEG icon.
Definition: taf_simRsp_common.h:147
Deletion of the profile is not allowed.
Definition: taf_simRsp_common.h:182
Profile download error.
Definition: taf_simRsp_common.h:197
Profile download and installation is complete.
Definition: taf_simRsp_common.h:199
Error from the SIM card.
Definition: taf_simRsp_common.h:214
LE_SHARED bool ifgen_taf_simRsp_HasLocalBinding(void)
taf_simRsp_IconType_t
Definition: taf_simRsp_common.h:143
LE_SHARED void ifgen_taf_simRsp_CleanupCommonData(le_msg_SessionRef_t _ifgen_sessionRef)
LE_SHARED uint32_t ifgen_taf_simRsp_GetMask(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef)
Test profile.
Definition: taf_simRsp_common.h:162
End user rejection.
Definition: taf_simRsp_common.h:224
Provisioning profile.
Definition: taf_simRsp_common.h:164
taf_simRsp_PolicyRuleType_t
Definition: taf_simRsp_common.h:178
LE_SHARED le_result_t ifgen_taf_simRsp_GetNickName(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef, char *nickName, size_t nickNameSize)
No icon information.
Definition: taf_simRsp_common.h:145
taf_sim_Id_t
Definition: taf_sim_common.h:465
Operational profile.
Definition: taf_simRsp_common.h:166
LE_SHARED void ifgen_taf_simRsp_RemoveProfileConfirmationCodeHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileConfirmationCodeHandlerRef_t handlerRef)
LE_SHARED le_result_t ifgen_taf_simRsp_GetIccid(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef, char *iccid, size_t iccidSize)
LE_SHARED taf_simRsp_ProfileType_t ifgen_taf_simRsp_GetProfileType(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileListNodeRef_t profileRef)
LE_SHARED le_result_t ifgen_taf_simRsp_DeleteProfile(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, uint32_t profileId)
LE_SHARED taf_simRsp_ProfileConfirmationCodeHandlerRef_t ifgen_taf_simRsp_AddProfileConfirmationCodeHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileConfirmationCodeHandlerFunc_t handlerPtr, void *contextPtr)
LE_SHARED le_result_t ifgen_taf_simRsp_AddProfile(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, const char *LE_NONNULL activationCode, const char *LE_NONNULL confirmationCode, bool userConsentSupported)
LE_SHARED le_result_t ifgen_taf_simRsp_GetServerAddress(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, char *smdpAdress, size_t smdpAdressSize, char *smdsdress, size_t smdsdressSize)
LE_SHARED taf_simRsp_ProfileUserConsentHandlerRef_t ifgen_taf_simRsp_AddProfileUserConsentHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileUserConsentHandlerFunc_t handlerPtr, void *contextPtr)
Deletion of the profile is required when it is successfully disabled.
Definition: taf_simRsp_common.h:184
void(* taf_simRsp_ProfileConfirmationCodeHandlerFunc_t)(taf_sim_Id_t slotId, const char *LE_NONNULL profileName, void *contextPtr)
Definition: taf_simRsp_common.h:311
Emergency profile.
Definition: taf_simRsp_common.h:132
#define LE_NONNULL
Definition: le_basics.h:368
LE_SHARED void ifgen_taf_simRsp_RemoveProfileDownloadHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileDownloadHandlerRef_t handlerRef)
le_result_t
Definition: le_basics.h:45
struct taf_simRsp_ProfileDownloadHandler * taf_simRsp_ProfileDownloadHandlerRef_t
Definition: taf_simRsp_common.h:252
struct taf_simRsp_ProfileListNode * taf_simRsp_ProfileListNodeRef_t
Definition: taf_simRsp_common.h:118
Regular profile.
Definition: taf_simRsp_common.h:130
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
taf_simRsp_UserConsentReasonType_t
Definition: taf_simRsp_common.h:237
LE_SHARED le_result_t ifgen_taf_simRsp_OpenSession(le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
LE_SHARED taf_simRsp_ProfileDownloadHandlerRef_t ifgen_taf_simRsp_AddProfileDownloadHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_simRsp_ProfileDownloadHandlerFunc_t handlerPtr, void *contextPtr)
Unsupported profile class.
Definition: taf_simRsp_common.h:220
taf_simRsp_DownloadStatus_t
Definition: taf_simRsp_common.h:195
Definition: taf_simRsp_common.h:128
#define LE_SHARED
Definition: le_basics.h:297
LE_SHARED le_result_t ifgen_taf_simRsp_GetProfileList(le_msg_SessionRef_t _ifgen_sessionRef, taf_sim_Id_t slotId, taf_simRsp_ProfileListNodeRef_t *profileListPtr, size_t *profileListSizePtr)
End user postponed.
Definition: taf_simRsp_common.h:226