44 #ifndef LEGATO_PASIM_INCLUDE_GUARD
45 #define LEGATO_PASIM_INCLUDE_GUARD
49 #include "interfaces.h"
60 #define PA_SIM_CARDID_MAX_LEN 20
67 #define PA_SIM_IMSI_MAX_LEN 15
75 #define PA_SIM_PIN_MAX_LEN 8
83 #define PA_SIM_PUK_MAX_LEN 8
328 uint32_t* attemptsPtr
344 uint32_t* attemptsPtr
408 char *phoneNumberStr,
409 size_t phoneNumberStrSize
412 #endif // LEGATO_PASIM_INCLUDE_GUARD
le_result_t pa_sim_GetSelectedCard(uint32_t *cardNumPtr)
PUK id.
Definition: pa_sim.h:106
#define PA_SIM_IMSI_MAX_LEN
Definition: pa_sim.h:67
char pa_sim_Imsi_t[PA_SIM_IMSI_MAX_LEN+1]
Definition: pa_sim.h:124
PIN id.
Definition: pa_sim.h:93
le_result_t
Definition: le_basics.h:34
le_result_t pa_sim_EnablePIN(pa_sim_PinType_t type, const pa_sim_Pin_t code)
le_sim_States_t
Definition: le_sim_interface.h:222
PIN2 id.
Definition: pa_sim.h:94
pa_sim_PukType_t
Definition: pa_sim.h:104
le_result_t pa_sim_GetPUKRemainingAttempts(pa_sim_PukType_t type, uint32_t *attemptsPtr)
#define PA_SIM_PIN_MAX_LEN
Definition: pa_sim.h:75
#define PA_SIM_CARDID_MAX_LEN
Definition: pa_sim.h:60
uint32_t num
The SIM card number.
Definition: pa_sim.h:150
#define PA_SIM_PUK_MAX_LEN
Definition: pa_sim.h:83
PUK2 id.
Definition: pa_sim.h:107
void(* pa_sim_NewStateHdlrFunc_t)(pa_sim_Event_t *eventPtr)
Definition: pa_sim.h:166
le_result_t pa_sim_RemoveNewStateHandler(le_event_HandlerRef_t handlerRef)
char pa_sim_CardId_t[PA_SIM_CARDID_MAX_LEN+1]
Definition: pa_sim.h:117
le_result_t pa_sim_EnterPIN(pa_sim_PinType_t type, const pa_sim_Pin_t pin)
le_result_t pa_sim_GetIMSI(pa_sim_Imsi_t imsi)
uint32_t pa_sim_CountSlots(void)
le_sim_States_t state
The SIM state.
Definition: pa_sim.h:151
le_result_t pa_sim_GetCardIdentification(pa_sim_CardId_t iccid)
char pa_sim_Puk_t[PA_SIM_PUK_MAX_LEN+1]
Definition: pa_sim.h:140
le_result_t pa_sim_SelectCard(uint32_t cardNum)
le_result_t pa_sim_DisablePIN(pa_sim_PinType_t type, const pa_sim_Pin_t code)
struct le_event_Handler * le_event_HandlerRef_t
Definition: le_eventLoop.h:752
le_result_t pa_sim_ChangePIN(pa_sim_PinType_t type, const pa_sim_Pin_t oldcode, const pa_sim_Pin_t newcode)
le_event_HandlerRef_t pa_sim_AddNewStateHandler(pa_sim_NewStateHdlrFunc_t handler)
le_result_t pa_sim_GetState(le_sim_States_t *statePtr)
pa_sim_PinType_t
Definition: pa_sim.h:91
char pa_sim_Pin_t[PA_SIM_PIN_MAX_LEN+1]
Definition: pa_sim.h:132
le_result_t pa_sim_EnterPUK(pa_sim_PukType_t type, const pa_sim_Puk_t puk, const pa_sim_Pin_t pin)
le_result_t pa_sim_GetSubscriberPhoneNumber(char *phoneNumberStr, size_t phoneNumberStrSize)
le_result_t pa_sim_GetPINRemainingAttempts(pa_sim_PinType_t type, uint32_t *attemptsPtr)