143 #ifndef LE_SIM_H_INCLUDE_GUARD
144 #define LE_SIM_H_INCLUDE_GUARD
156 const char* serviceInstanceName
177 #define LE_SIM_PIN_MIN_LEN 4
186 #define LE_SIM_PIN_MAX_LEN 8
195 #define LE_SIM_PUK_LEN 8
204 #define LE_SIM_ICCID_LEN 21
213 #define LE_SIM_IMSI_LEN 16
402 size_t iccidNumElements
428 size_t imsiNumElements
668 char* phoneNumberStr,
672 size_t phoneNumberStrNumElements
677 #endif // LE_SIM_H_INCLUDE_GUARD
struct le_sim_Obj * le_sim_ObjRef_t
Definition: le_sim_interface.h:250
le_sim_NewStateHandlerRef_t le_sim_AddNewStateHandler(le_sim_NewStateHandlerFunc_t handlerPtr, void *contextPtr)
uint32_t le_sim_GetSlotNumber(le_sim_ObjRef_t simRef)
uint32_t le_sim_CountSlots(void)
le_result_t
Definition: le_basics.h:34
SIM card is busy.
Definition: le_sim_interface.h:236
le_sim_ObjRef_t le_sim_Create(uint32_t cardNum)
void le_sim_StopClient(void)
le_result_t le_sim_Lock(le_sim_ObjRef_t simRef, const char *pin)
le_sim_States_t
Definition: le_sim_interface.h:222
le_sim_States_t le_sim_GetState(le_sim_ObjRef_t simRef)
void le_sim_Delete(le_sim_ObjRef_t simRef)
SIM card is absent.
Definition: le_sim_interface.h:227
void(* le_sim_NewStateHandlerFunc_t)(le_sim_ObjRef_t simRef, void *contextPtr)
Definition: le_sim_interface.h:272
le_result_t le_sim_Unlock(le_sim_ObjRef_t simRef, const char *pin)
SIM card is inserted and locked.
Definition: le_sim_interface.h:224
le_result_t le_sim_ChangePIN(le_sim_ObjRef_t simRef, const char *oldpin, const char *newpin)
le_result_t le_sim_GetIMSI(le_sim_ObjRef_t simRef, char *imsi, size_t imsiNumElements)
int32_t le_sim_GetRemainingPINTries(le_sim_ObjRef_t simRef)
bool le_sim_IsReady(le_sim_ObjRef_t simRef)
struct le_sim_NewStateHandler * le_sim_NewStateHandlerRef_t
Definition: le_sim_interface.h:258
le_result_t le_sim_EnterPIN(le_sim_ObjRef_t simRef, const char *pin)
le_result_t le_sim_GetSubscriberPhoneNumber(le_sim_ObjRef_t simRef, char *phoneNumberStr, size_t phoneNumberStrNumElements)
void le_sim_RemoveNewStateHandler(le_sim_NewStateHandlerRef_t addHandlerRef)
SIM card is blocked.
Definition: le_sim_interface.h:233
bool le_sim_IsPresent(le_sim_ObjRef_t simRef)
le_result_t le_sim_GetICCID(le_sim_ObjRef_t simRef, char *iccid, size_t iccidNumElements)
void le_sim_StartClient(const char *serviceInstanceName)
le_result_t le_sim_Unblock(le_sim_ObjRef_t simRef, const char *puk, const char *newpin)
uint32_t le_sim_GetSelectedCard(void)
Unknown SIM state.
Definition: le_sim_interface.h:239
SIM card is inserted and unlocked.
Definition: le_sim_interface.h:230