225 #ifndef LE_SIM_INTERFACE_H_INCLUDE_GUARD
226 #define LE_SIM_INTERFACE_H_INCLUDE_GUARD
261 #define LE_SIM_PIN_MIN_LEN 4
269 #define LE_SIM_PIN_MAX_LEN 8
278 #define LE_SIM_PIN_MAX_BYTES 9
286 #define LE_SIM_PUK_MAX_LEN 8
295 #define LE_SIM_PUK_MAX_BYTES 9
304 #define LE_SIM_ICCID_LEN 20
313 #define LE_SIM_ICCID_BYTES 21
321 #define LE_SIM_IMSI_LEN 15
330 #define LE_SIM_IMSI_BYTES 16
407 LE_SIM_MANUFACTURER_MAX
591 size_t iccidNumElements
619 size_t imsiNumElements
861 char* phoneNumberStr,
865 size_t phoneNumberStrNumElements
894 size_t nameStrNumElements
921 size_t mccPtrNumElements,
928 size_t mncPtrNumElements
1039 #endif // LE_SIM_INTERFACE_H_INCLUDE_GUARD
le_sim_NewStateHandlerRef_t le_sim_AddNewStateHandler(le_sim_NewStateHandlerFunc_t handlerPtr, void *contextPtr)
bool le_sim_IsPresent(le_sim_Id_t simId)
le_sim_Id_t
Definition: le_sim_interface.h:368
le_result_t
Definition: le_basics.h:35
le_result_t le_sim_Lock(le_sim_Id_t simId, const char *pin)
le_result_t le_sim_LocalSwapToEmergencyCallSubscription(le_sim_Id_t simId, le_sim_Manufacturer_t manufacturer)
le_result_t le_sim_GetSubscriberPhoneNumber(le_sim_Id_t simId, char *phoneNumberStr, size_t phoneNumberStrNumElements)
SIM card is busy.
Definition: le_sim_interface.h:353
void(* le_sim_SimToolkitEventHandlerFunc_t)(le_sim_Id_t simId, le_sim_StkEvent_t stkEvent, void *contextPtr)
Definition: le_sim_interface.h:480
le_sim_StkEvent_t
Definition: le_sim_interface.h:417
le_result_t le_sim_GetHomeNetworkOperator(le_sim_Id_t simId, char *nameStr, size_t nameStrNumElements)
le_result_t le_sim_Unblock(le_sim_Id_t simId, const char *puk, const char *newpin)
Embedded SIM.
Definition: le_sim_interface.h:370
Oberthur.
Definition: le_sim_interface.h:395
le_sim_States_t
Definition: le_sim_interface.h:339
void(* le_sim_NewStateHandlerFunc_t)(le_sim_Id_t simId, le_sim_States_t simState, void *contextPtr)
Definition: le_sim_interface.h:460
struct le_sim_SimToolkitEventHandler * le_sim_SimToolkitEventHandlerRef_t
Definition: le_sim_interface.h:444
le_result_t le_sim_Unlock(le_sim_Id_t simId, const char *pin)
SIM card is absent.
Definition: le_sim_interface.h:344
SIM card is inserted and locked.
Definition: le_sim_interface.h:341
void le_sim_RemoveSimToolkitEventHandler(le_sim_SimToolkitEventHandlerRef_t addHandlerRef)
le_result_t le_sim_AcceptSimToolkitCommand(le_sim_Id_t simId)
le_result_t le_sim_GetHomeNetworkMccMnc(le_sim_Id_t simId, char *mccPtr, size_t mccPtrNumElements, char *mncPtr, size_t mncPtrNumElements)
Unknown SIM Toolkit event.
Definition: le_sim_interface.h:425
void le_sim_ConnectService(void)
SIM card ask to open a logical channel.
Definition: le_sim_interface.h:419
Gemalto.
Definition: le_sim_interface.h:398
SIM card ask for a refresh.
Definition: le_sim_interface.h:422
SIM inserted in external slot 1.
Definition: le_sim_interface.h:373
void le_sim_DisconnectService(void)
struct le_sim_NewStateHandler * le_sim_NewStateHandlerRef_t
Definition: le_sim_interface.h:436
le_result_t le_sim_ChangePIN(le_sim_Id_t simId, const char *oldpin, const char *newpin)
le_result_t le_sim_SelectCard(le_sim_Id_t simId)
le_sim_Manufacturer_t
Definition: le_sim_interface.h:393
Remote SIM.
Definition: le_sim_interface.h:379
int32_t le_sim_GetRemainingPINTries(le_sim_Id_t simId)
bool le_sim_IsReady(le_sim_Id_t simId)
le_sim_SimToolkitEventHandlerRef_t le_sim_AddSimToolkitEventHandler(le_sim_SimToolkitEventHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_sim_RejectSimToolkitCommand(le_sim_Id_t simId)
void le_sim_RemoveNewStateHandler(le_sim_NewStateHandlerRef_t addHandlerRef)
SIM card is blocked.
Definition: le_sim_interface.h:350
le_result_t le_sim_EnterPIN(le_sim_Id_t simId, const char *pin)
le_result_t le_sim_IsEmergencyCallSubscriptionSelected(le_sim_Id_t simId, bool *isEcsPtr)
G&D.
Definition: le_sim_interface.h:401
le_result_t le_sim_GetIMSI(le_sim_Id_t simId, char *imsi, size_t imsiNumElements)
Morpho.
Definition: le_sim_interface.h:404
le_sim_Id_t le_sim_GetSelectedCard(void)
le_sim_States_t le_sim_GetState(le_sim_Id_t simId)
le_result_t le_sim_LocalSwapToCommercialSubscription(le_sim_Id_t simId, le_sim_Manufacturer_t manufacturer)
SIM inserted in external slot 2.
Definition: le_sim_interface.h:376
Unknown SIM state.
Definition: le_sim_interface.h:356
le_result_t le_sim_GetICCID(le_sim_Id_t simId, char *iccid, size_t iccidNumElements)
SIM card is inserted and unlocked.
Definition: le_sim_interface.h:347