123 #ifndef LE_MDC_INTERFACE_H_INCLUDE_GUARD
124 #define LE_MDC_INTERFACE_H_INCLUDE_GUARD
155 #define LE_MDC_INTERFACE_NAME_MAX_LEN 10
163 #define LE_MDC_INTERFACE_NAME_MAX_BYTES 11
171 #define LE_MDC_IPV4_ADDR_MAX_LEN 15
179 #define LE_MDC_IPV4_ADDR_MAX_BYTES 16
187 #define LE_MDC_IPV6_ADDR_MAX_LEN 45
195 #define LE_MDC_IPV6_ADDR_MAX_BYTES 46
203 #define LE_MDC_APN_NAME_MAX_LEN 100
211 #define LE_MDC_APN_NAME_MAX_BYTES 101
219 #define LE_MDC_USER_NAME_MAX_LEN 64
227 #define LE_MDC_USER_NAME_MAX_BYTES 65
235 #define LE_MDC_PASSWORD_NAME_MAX_LEN 100
243 #define LE_MDC_PASSWORD_NAME_MAX_BYTES 101
251 #define LE_MDC_DEFAULT_PROFILE -1
780 size_t interfaceNameNumElements
808 size_t ipAddrNumElements
836 size_t gatewayAddrNumElements
866 size_t dns1AddrStrNumElements,
873 size_t dns2AddrStrNumElements
901 size_t ipAddrNumElements
929 size_t gatewayAddrNumElements
959 size_t dns1AddrStrNumElements,
966 size_t dns2AddrStrNumElements
1047 uint64_t* rxBytesPtr,
1051 uint64_t* txBytesPtr
1185 size_t apnStrNumElements
1215 const char* userName,
1219 const char* password
1252 size_t userNameNumElements,
1259 size_t passwordNumElements
1332 #endif // LE_MDC_INTERFACE_H_INCLUDE_GUARD
le_result_t le_mdc_GetSessionState(le_mdc_ProfileRef_t profileRef, le_mdc_ConState_t *connectionStatePtr)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:468
le_mdc_SessionStateHandlerRef_t le_mdc_AddSessionStateHandler(le_mdc_ProfileRef_t profileRef, le_mdc_SessionStateHandlerFunc_t handlerPtr, void *contextPtr)
Suspending data session.
Definition: le_mdc_interface.h:371
Data session is disconnected.
Definition: le_mdc_interface.h:362
le_mdc_DataBearerTechnology_t
Definition: le_mdc_interface.h:267
le_mdc_Pdp_t le_mdc_GetPDP(le_mdc_ProfileRef_t profileRef)
Dual Cell - HSPA+.
Definition: le_mdc_interface.h:290
le_result_t le_mdc_GetDataBearerTechnology(le_mdc_ProfileRef_t profileRef, le_mdc_DataBearerTechnology_t *downlinkDataBearerTechPtrPtr, le_mdc_DataBearerTechnology_t *uplinkDataBearerTechPtrPtr)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:450
Data session is connected.
Definition: le_mdc_interface.h:368
le_result_t le_mdc_GetInterfaceName(le_mdc_ProfileRef_t profileRef, char *interfaceName, size_t interfaceNameNumElements)
struct le_mdc_SessionStateHandler * le_mdc_SessionStateHandlerRef_t
Definition: le_mdc_interface.h:533
IPv4 and IPv6.
Definition: le_mdc_interface.h:330
le_result_t le_mdc_GetIPv4GatewayAddress(le_mdc_ProfileRef_t profileRef, char *gatewayAddr, size_t gatewayAddrNumElements)
le_result_t
Definition: le_basics.h:35
bool le_mdc_IsIPv4(le_mdc_ProfileRef_t profileRef)
IPv4.
Definition: le_mdc_interface.h:324
Incoming data session (MT-PDP context request)
Definition: le_mdc_interface.h:374
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:516
Platform specific code.
Definition: le_mdc_interface.h:519
le_mdc_Pdp_t
Definition: le_mdc_interface.h:319
le_mdc_DisconnectionReason_t
Definition: le_mdc_interface.h:385
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:507
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:441
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:489
le_result_t le_mdc_StopSession(le_mdc_ProfileRef_t profileRef)
le_result_t le_mdc_GetAuthentication(le_mdc_ProfileRef_t profileRef, le_mdc_Auth_t *typePtr, char *userName, size_t userNameNumElements, char *password, size_t passwordNumElements)
Undefined reason.
Definition: le_mdc_interface.h:522
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:513
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:399
void le_mdc_ConnectService(void)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:393
Authenticating data session.
Definition: le_mdc_interface.h:365
no authentication
Definition: le_mdc_interface.h:343
struct le_mdc_Profile * le_mdc_ProfileRef_t
Definition: le_mdc_interface.h:259
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:435
HSPA+.
Definition: le_mdc_interface.h:287
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:498
le_result_t le_mdc_SetPDP(le_mdc_ProfileRef_t profileRef, le_mdc_Pdp_t pdp)
CHAP protocol.
Definition: le_mdc_interface.h:349
le_result_t le_mdc_GetAPN(le_mdc_ProfileRef_t profileRef, char *apnStr, size_t apnStrNumElements)
WCDMA (UMTS)
Definition: le_mdc_interface.h:281
void(* le_mdc_MtPdpSessionStateHandlerFunc_t)(le_mdc_ConState_t ConnectionState, void *contextPtr)
Definition: le_mdc_interface.h:573
HSPA.
Definition: le_mdc_interface.h:284
bool le_mdc_IsIPv6(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:474
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:429
Enhanced GPRS (EDGE)
Definition: le_mdc_interface.h:278
IPv6.
Definition: le_mdc_interface.h:327
Unknown.
Definition: le_mdc_interface.h:321
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:465
Unknown.
Definition: le_mdc_interface.h:269
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:444
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:447
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:471
le_result_t le_mdc_GetBytesCounters(uint64_t *rxBytesPtr, uint64_t *txBytesPtr)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:423
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:504
CDMA2000 HRPD (1xEV-DO)
Definition: le_mdc_interface.h:302
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:486
le_mdc_DisconnectionReason_t le_mdc_GetDisconnectionReason(le_mdc_ProfileRef_t profileRef)
void le_mdc_RemoveSessionStateHandler(le_mdc_SessionStateHandlerRef_t addHandlerRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:456
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:501
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:495
le_result_t le_mdc_GetIPv6DNSAddresses(le_mdc_ProfileRef_t profileRef, char *dns1AddrStr, size_t dns1AddrStrNumElements, char *dns2AddrStr, size_t dns2AddrStrNumElements)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:420
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:396
le_result_t le_mdc_GetIPv4DNSAddresses(le_mdc_ProfileRef_t profileRef, char *dns1AddrStr, size_t dns1AddrStrNumElements, char *dns2AddrStr, size_t dns2AddrStrNumElements)
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:510
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:417
le_result_t le_mdc_GetIPv6Address(le_mdc_ProfileRef_t profileRef, char *ipAddr, size_t ipAddrNumElements)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:408
le_mdc_ProfileRef_t le_mdc_GetProfile(uint32_t index)
Modem has no service.
Definition: le_mdc_interface.h:387
int32_t le_mdc_GetPlatformSpecificDisconnectionCode(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:390
CDMA2000 EHRPD.
Definition: le_mdc_interface.h:308
le_result_t le_mdc_StartSession(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:483
le_result_t le_mdc_ResetBytesCounter(void)
void le_mdc_DisconnectService(void)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:453
struct le_mdc_MtPdpSessionStateHandler * le_mdc_MtPdpSessionStateHandlerRef_t
Definition: le_mdc_interface.h:541
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:462
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:480
le_mdc_MtPdpSessionStateHandlerRef_t le_mdc_AddMtPdpSessionStateHandler(le_mdc_SessionStateHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_mdc_GetIPv4Address(le_mdc_ProfileRef_t profileRef, char *ipAddr, size_t ipAddrNumElements)
le_result_t le_mdc_SetAuthentication(le_mdc_ProfileRef_t profileRef, le_mdc_Auth_t type, const char *userName, const char *password)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:402
le_mdc_ConState_t
Definition: le_mdc_interface.h:360
le_result_t le_mdc_GetProfileFromApn(const char *apnStr, le_mdc_ProfileRef_t *profileRefPtr)
LTE.
Definition: le_mdc_interface.h:293
le_mdc_Auth_t
Definition: le_mdc_interface.h:341
GPRS.
Definition: le_mdc_interface.h:275
PAP protocol.
Definition: le_mdc_interface.h:346
uint32_t le_mdc_GetProfileIndex(le_mdc_ProfileRef_t profileRef)
uint32_t le_mdc_NumProfiles(void)
le_result_t le_mdc_SetDefaultAPN(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:405
le_result_t le_mdc_RejectMtPdpSession(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:477
CDMA2000 HRPD (1xEV-DO RevA)
Definition: le_mdc_interface.h:305
le_result_t le_mdc_SetAPN(le_mdc_ProfileRef_t profileRef, const char *apnStr)
void(* le_mdc_SessionStateHandlerFunc_t)(le_mdc_ProfileRef_t profileRef, le_mdc_ConState_t ConnectionState, void *contextPtr)
Definition: le_mdc_interface.h:556
le_result_t le_mdc_GetIPv6GatewayAddress(le_mdc_ProfileRef_t profileRef, char *gatewayAddr, size_t gatewayAddrNumElements)
GSM.
Definition: le_mdc_interface.h:272
TD-SCDMA.
Definition: le_mdc_interface.h:296
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:438
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:459
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:432
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:426
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:492
CDMA2000 1X.
Definition: le_mdc_interface.h:299
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:414
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:411
void le_mdc_RemoveMtPdpSessionStateHandler(le_mdc_MtPdpSessionStateHandlerRef_t addHandlerRef)