le_mdc_common.h File Reference

#include "legato.h"

Go to the source code of this file.

Data Structures

struct  le_mdc_ProfileInfo_t
 

Macros

#define LE_MDC_INTERFACE_NAME_MAX_LEN   20
 
#define LE_MDC_INTERFACE_NAME_MAX_BYTES   21
 
#define LE_MDC_IPV4_ADDR_MAX_LEN   15
 
#define LE_MDC_IPV4_ADDR_MAX_BYTES   16
 
#define LE_MDC_IPV6_ADDR_MAX_LEN   45
 
#define LE_MDC_IPV6_ADDR_MAX_BYTES   46
 
#define LE_MDC_APN_NAME_MAX_LEN   100
 
#define LE_MDC_APN_NAME_MAX_BYTES   101
 
#define LE_MDC_USER_NAME_MAX_LEN   64
 
#define LE_MDC_USER_NAME_MAX_BYTES   65
 
#define LE_MDC_PASSWORD_NAME_MAX_LEN   100
 
#define LE_MDC_PASSWORD_NAME_MAX_BYTES   101
 
#define LE_MDC_DEFAULT_PROFILE   -1
 
#define LE_MDC_SIMTOOLKIT_BIP_DEFAULT_PROFILE   -2
 
#define LE_MDC_PROFILE_LIST_ENTRY_MAX   36
 
#define LE_MDC_PROFILE_LIST_ENTRY_NAMELEN_MAX   50
 
#define LE_MDC_MAX_PDP_CID_INDEX   36
 
#define LE_MDC_AUTH_NONE   0x1
 
#define LE_MDC_AUTH_PAP   0x2
 
#define LE_MDC_AUTH_CHAP   0x4
 

Typedefs

typedef struct le_mdc_Profile * le_mdc_ProfileRef_t
 
typedef uint32_t le_mdc_Auth_t
 
typedef struct le_mdc_SessionStateHandler * le_mdc_SessionStateHandlerRef_t
 
typedef struct le_mdc_MtPdpSessionStateHandler * le_mdc_MtPdpSessionStateHandlerRef_t
 
typedef void(* le_mdc_SessionStateHandlerFunc_t) (le_mdc_ProfileRef_t profileRef, le_mdc_ConState_t ConnectionState, void *contextPtr)
 
typedef void(* le_mdc_MtPdpSessionStateHandlerFunc_t) (le_mdc_ConState_t ConnectionState, void *contextPtr)
 
typedef void(* le_mdc_SessionHandlerFunc_t) (le_mdc_ProfileRef_t profileRef, le_result_t result, void *contextPtr)
 

Enumerations

enum  le_mdc_DataBearerTechnology_t {
  LE_MDC_DATA_BEARER_TECHNOLOGY_UNKNOWN = 0, LE_MDC_DATA_BEARER_TECHNOLOGY_GSM = 1, LE_MDC_DATA_BEARER_TECHNOLOGY_GPRS = 2, LE_MDC_DATA_BEARER_TECHNOLOGY_EGPRS = 3,
  LE_MDC_DATA_BEARER_TECHNOLOGY_WCDMA = 4, LE_MDC_DATA_BEARER_TECHNOLOGY_HSPA = 5, LE_MDC_DATA_BEARER_TECHNOLOGY_HSPA_PLUS = 6, LE_MDC_DATA_BEARER_TECHNOLOGY_DC_HSPA_PLUS = 7,
  LE_MDC_DATA_BEARER_TECHNOLOGY_HSDPA = 8, LE_MDC_DATA_BEARER_TECHNOLOGY_HSUPA = 9, LE_MDC_DATA_BEARER_TECHNOLOGY_DC_HSUPA = 10, LE_MDC_DATA_BEARER_TECHNOLOGY_DC_HSPA = 11,
  LE_MDC_DATA_BEARER_TECHNOLOGY_LTE = 12, LE_MDC_DATA_BEARER_TECHNOLOGY_LTE_FDD = 13, LE_MDC_DATA_BEARER_TECHNOLOGY_LTE_TDD = 14, LE_MDC_DATA_BEARER_TECHNOLOGY_LTE_CA_DL = 15,
  LE_MDC_DATA_BEARER_TECHNOLOGY_LTE_CA_UL = 16, LE_MDC_DATA_BEARER_TECHNOLOGY_TD_SCDMA = 17, LE_MDC_DATA_BEARER_TECHNOLOGY_CDMA2000_1X = 18, LE_MDC_DATA_BEARER_TECHNOLOGY_CDMA2000_EVDO = 19,
  LE_MDC_DATA_BEARER_TECHNOLOGY_CDMA2000_EVDO_REVA = 20, LE_MDC_DATA_BEARER_TECHNOLOGY_CDMA2000_EHRPD = 21, LE_MDC_DATA_BEARER_TECHNOLOGY_IS95_1X = 22, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REV0_DPA = 23,
  LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVA_DPA = 24, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVB_DPA = 25, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVA_MPA = 26, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVB_MPA = 27,
  LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVA_EMPA = 28, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVB_EMPA = 29, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_REVB_MMPA = 30, LE_MDC_DATA_BEARER_TECHNOLOGY_HDR_EVDO_FMC = 31,
  LE_MDC_DATA_BEARER_TECHNOLOGY_64_QAM = 32, LE_MDC_DATA_BEARER_TECHNOLOGY_S2B = 33
}
 
enum  le_mdc_Pdp_t { LE_MDC_PDP_UNKNOWN = 0, LE_MDC_PDP_IPV4 = 1, LE_MDC_PDP_IPV6 = 2, LE_MDC_PDP_IPV4V6 = 3 }
 
enum  le_mdc_ConState_t {
  LE_MDC_DISCONNECTED = 0, LE_MDC_AUTHENTICATING = 1, LE_MDC_CONNECTED = 2, LE_MDC_SUSPENDING = 3,
  LE_MDC_INCOMING = 4
}
 
enum  le_mdc_DisconnectionReason_t {
  LE_MDC_DISC_NO_SERVICE = 0, LE_MDC_DISC_OPERATOR_DETERMINED_BARRING = 1, LE_MDC_DISC_INSUFFICIENT_MBMS_CAPABILITIES = 2, LE_MDC_DISC_LLC_SNDCP_FAILURE = 3,
  LE_MDC_DISC_INSUFFICIENT_RESOURCES = 4, LE_MDC_DISC_MISSING_OR_UNKNOWN_APN = 5, LE_MDC_DISC_UNKNOWN_PDP_ADDR_OR_TYPE = 6, LE_MDC_DISC_USER_AUTHENTICATION_FAILURE = 7,
  LE_MDC_DISC_ACTIVATION_REJECTED_BY_GGSN_OR_GW = 8, LE_MDC_DISC_ACTIVATION_REJECTED_UNSPECIFIED = 9, LE_MDC_DISC_SERVICE_OPTION_NOT_SUPPORTED = 10, LE_MDC_DISC_REQUESTED_SERVICE_OPTION_UNSUBSCRIBED = 11,
  LE_MDC_DISC_REQUESTED_SERVICE_OPTION_OUT_OF_ORDER = 12, LE_MDC_DISC_NSAPI_ALREADY_USED = 13, LE_MDC_DISC_REGULAR_DEACTIVATION = 14, LE_MDC_DISC_QOS_NOT_ACCEPTED = 15,
  LE_MDC_DISC_NETWORK_FAILURE = 16, LE_MDC_DISC_REACTIVATION_REQUESTED = 17, LE_MDC_DISC_FEATURE_NOT_SUPPORTED = 18, LE_MDC_DISC_TFT_SEMANTIC_ERROR = 19,
  LE_MDC_DISC_TFT_SYNTACTICAL_ERROR = 20, LE_MDC_DISC_UNKNOWN_PDP_CONTEXT = 21, LE_MDC_DISC_PACKET_FILTER_SEMANTIC_ERROR = 22, LE_MDC_DISC_PACKET_FILTER_SYNTACTICAL_ERROR = 23,
  LE_MDC_DISC_PDP_CONTEXT_WITHOUT_ACTIVE_TFT = 24, LE_MDC_DISC_MULTICAST_TIME_OUT = 25, LE_MDC_DISC_BEARER_CONTROL_MODE_VIOLATION = 26, LE_MDC_DISC_IPV4_ONLY_ALLOWED = 27,
  LE_MDC_DISC_IPV6_ONLY_ALLOWED = 28, LE_MDC_DISC_SINGLE_ADDR_ONLY_ALLOWED = 29, LE_MDC_DISC_COLLISION_WITH_NETWORK_INITIATED_REQ = 30, LE_MDC_DISC_BEARER_HANDLING_UNSUPPORTED = 31,
  LE_MDC_DISC_MAX_PDP_CONTEXTS = 32, LE_MDC_DISC_APN_UNSUPPORTED_FOR_RAT_AND_PLMN = 33, LE_MDC_DISC_INCOMPATIBLE_APN = 34, LE_MDC_DISC_INVALID_TRANSACTION_ID = 35,
  LE_MDC_DISC_MESSAGE_INCORRECT_SEMANTIC = 36, LE_MDC_DISC_INVALID_MANDATORY_INFORMATION = 37, LE_MDC_DISC_UNSUPPORTED_MESSAGE_TYPE = 38, LE_MDC_DISC_MESSAGE_AND_PROTOCOL_STATE_UNCOMPATIBLE = 39,
  LE_MDC_DISC_UNKNOWN_INFORMATION_ELEMENT = 40, LE_MDC_DISC_CONDITIONAL_IE_ERROR = 41, LE_MDC_DISC_MESSAGE_AND_STATE_UNCOMPATIBLE = 42, LE_MDC_DISC_PROTOCOL_ERROR_UNSPECIFIED = 43,
  LE_MDC_DISC_PLATFORM_SPECIFIC = 44, LE_MDC_DISC_UNDEFINED = 45
}
 

Detailed Description

Type definitions for le_mdc.