149 #ifndef LE_MDC_INTERFACE_H_INCLUDE_GUARD 150 #define LE_MDC_INTERFACE_H_INCLUDE_GUARD 195 #define LE_MDC_INTERFACE_NAME_MAX_LEN 20 203 #define LE_MDC_INTERFACE_NAME_MAX_BYTES 21 211 #define LE_MDC_IPV4_ADDR_MAX_LEN 15 219 #define LE_MDC_IPV4_ADDR_MAX_BYTES 16 227 #define LE_MDC_IPV6_ADDR_MAX_LEN 45 235 #define LE_MDC_IPV6_ADDR_MAX_BYTES 46 243 #define LE_MDC_APN_NAME_MAX_LEN 100 251 #define LE_MDC_APN_NAME_MAX_BYTES 101 259 #define LE_MDC_USER_NAME_MAX_LEN 64 267 #define LE_MDC_USER_NAME_MAX_BYTES 65 275 #define LE_MDC_PASSWORD_NAME_MAX_LEN 100 283 #define LE_MDC_PASSWORD_NAME_MAX_BYTES 101 291 #define LE_MDC_DEFAULT_PROFILE -1 299 #define LE_MDC_SIMTOOLKIT_BIP_DEFAULT_PROFILE -2 828 size_t interfaceNameNumElements
856 size_t ipAddrNumElements
884 size_t gatewayAddrNumElements
914 size_t dns1AddrStrNumElements,
921 size_t dns2AddrStrNumElements
949 size_t ipAddrNumElements
977 size_t gatewayAddrNumElements
1007 size_t dns1AddrStrNumElements,
1014 size_t dns2AddrStrNumElements
1095 uint64_t* rxBytesPtr,
1099 uint64_t* txBytesPtr
1233 size_t apnStrNumElements
1263 const char* userName,
1267 const char* password
1300 size_t userNameNumElements,
1307 size_t passwordNumElements
1380 #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:516
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:419
Data session is disconnected.
Definition: le_mdc_interface.h:410
le_mdc_DataBearerTechnology_t
Definition: le_mdc_interface.h:315
le_mdc_Pdp_t le_mdc_GetPDP(le_mdc_ProfileRef_t profileRef)
Dual Cell - HSPA+.
Definition: le_mdc_interface.h:338
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:498
Data session is connected.
Definition: le_mdc_interface.h:416
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:581
IPv4 and IPv6.
Definition: le_mdc_interface.h:378
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:372
Incoming data session (MT-PDP context request)
Definition: le_mdc_interface.h:422
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:564
Platform specific code.
Definition: le_mdc_interface.h:567
le_mdc_Pdp_t
Definition: le_mdc_interface.h:367
le_mdc_DisconnectionReason_t
Definition: le_mdc_interface.h:433
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:555
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:489
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:537
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:570
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:561
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:447
void le_mdc_ConnectService(void)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:441
Authenticating data session.
Definition: le_mdc_interface.h:413
no authentication
Definition: le_mdc_interface.h:391
struct le_mdc_Profile * le_mdc_ProfileRef_t
Definition: le_mdc_interface.h:307
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:483
HSPA+.
Definition: le_mdc_interface.h:335
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:546
le_result_t le_mdc_SetPDP(le_mdc_ProfileRef_t profileRef, le_mdc_Pdp_t pdp)
CHAP protocol.
Definition: le_mdc_interface.h:397
le_result_t le_mdc_GetAPN(le_mdc_ProfileRef_t profileRef, char *apnStr, size_t apnStrNumElements)
WCDMA (UMTS)
Definition: le_mdc_interface.h:329
void(* le_mdc_MtPdpSessionStateHandlerFunc_t)(le_mdc_ConState_t ConnectionState, void *contextPtr)
Definition: le_mdc_interface.h:621
HSPA.
Definition: le_mdc_interface.h:332
bool le_mdc_IsIPv6(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:522
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:477
Enhanced GPRS (EDGE)
Definition: le_mdc_interface.h:326
IPv6.
Definition: le_mdc_interface.h:375
Unknown.
Definition: le_mdc_interface.h:369
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:513
Unknown.
Definition: le_mdc_interface.h:317
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:492
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:495
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:519
le_result_t le_mdc_GetBytesCounters(uint64_t *rxBytesPtr, uint64_t *txBytesPtr)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:471
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:552
CDMA2000 HRPD (1xEV-DO)
Definition: le_mdc_interface.h:350
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:534
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:504
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:549
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:543
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:468
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:444
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:558
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:465
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:456
le_mdc_ProfileRef_t le_mdc_GetProfile(uint32_t index)
Modem has no service.
Definition: le_mdc_interface.h:435
int32_t le_mdc_GetPlatformSpecificDisconnectionCode(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:438
CDMA2000 EHRPD.
Definition: le_mdc_interface.h:356
le_result_t le_mdc_StartSession(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:531
le_result_t le_mdc_ResetBytesCounter(void)
void le_mdc_DisconnectService(void)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:501
struct le_mdc_MtPdpSessionStateHandler * le_mdc_MtPdpSessionStateHandlerRef_t
Definition: le_mdc_interface.h:589
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:510
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:528
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:450
le_mdc_ConState_t
Definition: le_mdc_interface.h:408
le_result_t le_mdc_GetProfileFromApn(const char *apnStr, le_mdc_ProfileRef_t *profileRefPtr)
LTE.
Definition: le_mdc_interface.h:341
le_mdc_Auth_t
Definition: le_mdc_interface.h:389
GPRS.
Definition: le_mdc_interface.h:323
PAP protocol.
Definition: le_mdc_interface.h:394
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:453
le_result_t le_mdc_RejectMtPdpSession(le_mdc_ProfileRef_t profileRef)
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:525
CDMA2000 HRPD (1xEV-DO RevA)
Definition: le_mdc_interface.h:353
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:604
le_result_t le_mdc_GetIPv6GatewayAddress(le_mdc_ProfileRef_t profileRef, char *gatewayAddr, size_t gatewayAddrNumElements)
GSM.
Definition: le_mdc_interface.h:320
TD-SCDMA.
Definition: le_mdc_interface.h:344
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:486
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:507
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:480
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:474
cf. 3GPP 24.008 Annex I2
Definition: le_mdc_interface.h:540
CDMA2000 1X.
Definition: le_mdc_interface.h:347
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:462
cf. 3GPP 24.008 Annex I1
Definition: le_mdc_interface.h:459
void le_mdc_RemoveMtPdpSessionStateHandler(le_mdc_MtPdpSessionStateHandlerRef_t addHandlerRef)