ModemManager Reference Manual | ||||
---|---|---|---|---|
Top | Description |
enum MMBearerIpFamily; enum MMBearerIpMethod; enum MMBearerAllowedAuth; enum MMFirmwareImageType; enum MMModem3gppFacility; enum MMModem3gppNetworkAvailability; enum MMModem3gppRegistrationState; enum MMModem3gppUssdSessionState; enum MMModemAccessTechnology; enum MMModemBand; enum MMModemCapability; enum MMModemCdmaActivationState; enum MMModemCdmaRegistrationState; enum MMModemCdmaRmProtocol; enum MMModemContactsStorage; enum MMModemLocationSource; enum MMModemLock; enum MMModemMode; enum MMModemState; enum MMModemStateFailedReason; enum MMModemStateChangeReason; enum MMModemPowerState; enum MMModemPortType; enum MMSmsPduType; enum MMSmsState; enum MMSmsDeliveryState; enum MMSmsStorage; enum MMSmsValidityType;
This section defines enumerations and types that are used in the ModemManager interface.
typedef enum { /*< underscore_name=mm_bearer_ip_family >*/ MM_BEARER_IP_FAMILY_NONE = 0, MM_BEARER_IP_FAMILY_IPV4 = 1 << 0, MM_BEARER_IP_FAMILY_IPV6 = 1 << 1, MM_BEARER_IP_FAMILY_IPV4V6 = 1 << 2, MM_BEARER_IP_FAMILY_ANY = 0xFFFFFFFF } MMBearerIpFamily;
Type of IP family to be used in a given Bearer.
typedef enum { /*< underscore_name=mm_bearer_ip_method >*/ MM_BEARER_IP_METHOD_UNKNOWN = 0, MM_BEARER_IP_METHOD_PPP = 1, MM_BEARER_IP_METHOD_STATIC = 2, MM_BEARER_IP_METHOD_DHCP = 3, } MMBearerIpMethod;
Type of IP method configuration to be used in a given Bearer.
Unknown method. | |
Use PPP to get the address. | |
Use the provided static IP configuration given by the modem to configure the IP data interface. | |
Begin DHCP on the data interface to obtain necessary IP configuration details. |
typedef enum { /*< underscore_name=mm_bearer_allowed_auth >*/ MM_BEARER_ALLOWED_AUTH_UNKNOWN = 0, /* bits 0..4 order match Ericsson device bitmap */ MM_BEARER_ALLOWED_AUTH_NONE = 1 << 0, MM_BEARER_ALLOWED_AUTH_PAP = 1 << 1, MM_BEARER_ALLOWED_AUTH_CHAP = 1 << 2, MM_BEARER_ALLOWED_AUTH_MSCHAP = 1 << 3, MM_BEARER_ALLOWED_AUTH_MSCHAPV2 = 1 << 4, MM_BEARER_ALLOWED_AUTH_EAP = 1 << 5, } MMBearerAllowedAuth;
Allowed authentication methods when authenticating with the network.
typedef enum { /*< underscore_name=mm_firmware_image_type >*/ MM_FIRMWARE_IMAGE_TYPE_UNKNOWN = 0, MM_FIRMWARE_IMAGE_TYPE_GENERIC = 1, MM_FIRMWARE_IMAGE_TYPE_GOBI = 2, } MMFirmwareImageType;
Type of firmware image.
typedef enum { /*< underscore_name=mm_modem_3gpp_facility >*/ MM_MODEM_3GPP_FACILITY_NONE = 0, MM_MODEM_3GPP_FACILITY_SIM = 1 << 0, MM_MODEM_3GPP_FACILITY_FIXED_DIALING = 1 << 1, MM_MODEM_3GPP_FACILITY_PH_SIM = 1 << 2, MM_MODEM_3GPP_FACILITY_PH_FSIM = 1 << 3, MM_MODEM_3GPP_FACILITY_NET_PERS = 1 << 4, MM_MODEM_3GPP_FACILITY_NET_SUB_PERS = 1 << 5, MM_MODEM_3GPP_FACILITY_PROVIDER_PERS = 1 << 6, MM_MODEM_3GPP_FACILITY_CORP_PERS = 1 << 7, } MMModem3gppFacility;
A bitfield describing which facilities have a lock enabled, i.e., requires a pin or unlock code. The facilities include the personalizations (device locks) described in 3GPP spec TS 22.022, and the PIN and PIN2 locks, which are SIM locks.
No facility. | |
SIM lock. | |
Fixed dialing (PIN2) SIM lock. | |
Device is locked to a specific SIM. | |
Device is locked to first SIM inserted. | |
Network personalization. | |
Network subset personalization. | |
Service provider personalization. | |
Corporate personalization. |
typedef enum { /*< underscore_name=mm_modem_3gpp_network_availability >*/ MM_MODEM_3GPP_NETWORK_AVAILABILITY_UNKNOWN = 0, MM_MODEM_3GPP_NETWORK_AVAILABILITY_AVAILABLE = 1, MM_MODEM_3GPP_NETWORK_AVAILABILITY_CURRENT = 2, MM_MODEM_3GPP_NETWORK_AVAILABILITY_FORBIDDEN = 3, } MMModem3gppNetworkAvailability;
Network availability status as defined in 3GPP TS 27.007 section 7.3
typedef enum { /*< underscore_name=mm_modem_3gpp_registration_state >*/ MM_MODEM_3GPP_REGISTRATION_STATE_IDLE = 0, MM_MODEM_3GPP_REGISTRATION_STATE_HOME = 1, MM_MODEM_3GPP_REGISTRATION_STATE_SEARCHING = 2, MM_MODEM_3GPP_REGISTRATION_STATE_DENIED = 3, MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN = 4, MM_MODEM_3GPP_REGISTRATION_STATE_ROAMING = 5, } MMModem3gppRegistrationState;
GSM registration code as defined in 3GPP TS 27.007 section 10.1.19.
Not registered, not searching for new operator to register. | |
Registered on home network. | |
Not registered, searching for new operator to register with. | |
Registration denied. | |
Unknown registration status. | |
Registered on a roaming network. |
typedef enum { /*< underscore_name=mm_modem_3gpp_ussd_session_state >*/ MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN = 0, MM_MODEM_3GPP_USSD_SESSION_STATE_IDLE = 1, MM_MODEM_3GPP_USSD_SESSION_STATE_ACTIVE = 2, MM_MODEM_3GPP_USSD_SESSION_STATE_USER_RESPONSE = 3, } MMModem3gppUssdSessionState;
State of a USSD session.
Unknown state. | |
No active session. | |
A session is active and the mobile is waiting for a response. | |
The network is waiting for the client's response. |
typedef enum { /*< underscore_name=mm_modem_access_technology >*/ MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN = 0, MM_MODEM_ACCESS_TECHNOLOGY_POTS = 1 << 0, MM_MODEM_ACCESS_TECHNOLOGY_GSM = 1 << 1, MM_MODEM_ACCESS_TECHNOLOGY_GSM_COMPACT = 1 << 2, MM_MODEM_ACCESS_TECHNOLOGY_GPRS = 1 << 3, MM_MODEM_ACCESS_TECHNOLOGY_EDGE = 1 << 4, MM_MODEM_ACCESS_TECHNOLOGY_UMTS = 1 << 5, MM_MODEM_ACCESS_TECHNOLOGY_HSDPA = 1 << 6, MM_MODEM_ACCESS_TECHNOLOGY_HSUPA = 1 << 7, MM_MODEM_ACCESS_TECHNOLOGY_HSPA = 1 << 8, MM_MODEM_ACCESS_TECHNOLOGY_HSPA_PLUS = 1 << 9, MM_MODEM_ACCESS_TECHNOLOGY_1XRTT = 1 << 10, MM_MODEM_ACCESS_TECHNOLOGY_EVDO0 = 1 << 11, MM_MODEM_ACCESS_TECHNOLOGY_EVDOA = 1 << 12, MM_MODEM_ACCESS_TECHNOLOGY_EVDOB = 1 << 13, MM_MODEM_ACCESS_TECHNOLOGY_LTE = 1 << 14, MM_MODEM_ACCESS_TECHNOLOGY_ANY = 0xFFFFFFFF, } MMModemAccessTechnology;
Describes various access technologies that a device uses when registered with or connected to a network.
The access technology used is unknown. | |
Analog wireline telephone. | |
GSM. | |
Compact GSM. | |
GPRS. | |
EDGE (ETSI 27.007: "GSM w/EGPRS"). | |
UMTS (ETSI 27.007: "UTRAN"). | |
HSDPA (ETSI 27.007: "UTRAN w/HSDPA"). | |
HSUPA (ETSI 27.007: "UTRAN w/HSUPA"). | |
HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA"). | |
HSPA+ (ETSI 27.007: "UTRAN w/HSPA+"). | |
CDMA2000 1xRTT. | |
CDMA2000 EVDO revision 0. | |
CDMA2000 EVDO revision A. | |
CDMA2000 EVDO revision B. | |
LTE (ETSI 27.007: "E-UTRAN") | |
Mask specifying all access technologies. |
typedef enum { /*< underscore_name=mm_modem_band >*/ MM_MODEM_BAND_UNKNOWN = 0, /* GSM/UMTS bands */ MM_MODEM_BAND_EGSM = 1, MM_MODEM_BAND_DCS = 2, MM_MODEM_BAND_PCS = 3, MM_MODEM_BAND_G850 = 4, MM_MODEM_BAND_U2100 = 5, MM_MODEM_BAND_U1800 = 6, MM_MODEM_BAND_U17IV = 7, MM_MODEM_BAND_U800 = 8, MM_MODEM_BAND_U850 = 9, MM_MODEM_BAND_U900 = 10, MM_MODEM_BAND_U17IX = 11, MM_MODEM_BAND_U1900 = 12, MM_MODEM_BAND_U2600 = 13, /* LTE bands */ MM_MODEM_BAND_EUTRAN_I = 31, MM_MODEM_BAND_EUTRAN_II = 32, MM_MODEM_BAND_EUTRAN_III = 33, MM_MODEM_BAND_EUTRAN_IV = 34, MM_MODEM_BAND_EUTRAN_V = 35, MM_MODEM_BAND_EUTRAN_VI = 36, MM_MODEM_BAND_EUTRAN_VII = 37, MM_MODEM_BAND_EUTRAN_VIII = 38, MM_MODEM_BAND_EUTRAN_IX = 39, MM_MODEM_BAND_EUTRAN_X = 40, MM_MODEM_BAND_EUTRAN_XI = 41, MM_MODEM_BAND_EUTRAN_XII = 42, MM_MODEM_BAND_EUTRAN_XIII = 43, MM_MODEM_BAND_EUTRAN_XIV = 44, MM_MODEM_BAND_EUTRAN_XVII = 47, MM_MODEM_BAND_EUTRAN_XVIII = 48, MM_MODEM_BAND_EUTRAN_XIX = 49, MM_MODEM_BAND_EUTRAN_XX = 50, MM_MODEM_BAND_EUTRAN_XXI = 51, MM_MODEM_BAND_EUTRAN_XXII = 52, MM_MODEM_BAND_EUTRAN_XXIII = 53, MM_MODEM_BAND_EUTRAN_XXIV = 54, MM_MODEM_BAND_EUTRAN_XXV = 55, MM_MODEM_BAND_EUTRAN_XXVI = 56, MM_MODEM_BAND_EUTRAN_XXXIII = 63, MM_MODEM_BAND_EUTRAN_XXXIV = 64, MM_MODEM_BAND_EUTRAN_XXXV = 65, MM_MODEM_BAND_EUTRAN_XXXVI = 66, MM_MODEM_BAND_EUTRAN_XXXVII = 67, MM_MODEM_BAND_EUTRAN_XXXVIII = 68, MM_MODEM_BAND_EUTRAN_XXXIX = 69, MM_MODEM_BAND_EUTRAN_XL = 70, MM_MODEM_BAND_EUTRAN_XLI = 71, MM_MODEM_BAND_EUTRAN_XLII = 72, MM_MODEM_BAND_EUTRAN_XLIII = 73, /* CDMA Band Classes (see 3GPP2 C.S0057-C) */ MM_MODEM_BAND_CDMA_BC0_CELLULAR_800 = 128, MM_MODEM_BAND_CDMA_BC1_PCS_1900 = 129, MM_MODEM_BAND_CDMA_BC2_TACS = 130, MM_MODEM_BAND_CDMA_BC3_JTACS = 131, MM_MODEM_BAND_CDMA_BC4_KOREAN_PCS = 132, MM_MODEM_BAND_CDMA_BC5_NMT450 = 134, MM_MODEM_BAND_CDMA_BC6_IMT2000 = 135, MM_MODEM_BAND_CDMA_BC7_CELLULAR_700 = 136, MM_MODEM_BAND_CDMA_BC8_1800 = 137, MM_MODEM_BAND_CDMA_BC9_900 = 138, MM_MODEM_BAND_CDMA_BC10_SECONDARY_800 = 139, MM_MODEM_BAND_CDMA_BC11_PAMR_400 = 140, MM_MODEM_BAND_CDMA_BC12_PAMR_800 = 141, MM_MODEM_BAND_CDMA_BC13_IMT2000_2500 = 142, MM_MODEM_BAND_CDMA_BC14_PCS2_1900 = 143, MM_MODEM_BAND_CDMA_BC15_AWS = 144, MM_MODEM_BAND_CDMA_BC16_US_2500 = 145, MM_MODEM_BAND_CDMA_BC17_US_FLO_2500 = 146, MM_MODEM_BAND_CDMA_BC18_US_PS_700 = 147, MM_MODEM_BAND_CDMA_BC19_US_LOWER_700 = 148, /* All/Any */ MM_MODEM_BAND_ANY = 256 } MMModemBand;
Radio bands supported by the device when connecting to a mobile network.
Unknown or invalid band. | |
GSM/GPRS/EDGE 900 MHz. | |
GSM/GPRS/EDGE 1800 MHz. | |
GSM/GPRS/EDGE 1900 MHz. | |
GSM/GPRS/EDGE 850 MHz. | |
WCDMA 2100 MHz (Class I). | |
WCDMA 3GPP 1800 MHz (Class III). | |
WCDMA 3GPP AWS 1700/2100 MHz (Class IV). | |
WCDMA 3GPP UMTS 800 MHz (Class VI). | |
WCDMA 3GPP UMTS 850 MHz (Class V). | |
WCDMA 3GPP UMTS 900 MHz (Class VIII). | |
WCDMA 3GPP UMTS 1700 MHz (Class IX). | |
WCDMA 3GPP UMTS 1900 MHz (Class II). | |
WCDMA 3GPP UMTS 2600 MHz (Class VII, internal). | |
E-UTRAN band I. | |
E-UTRAN band II. | |
E-UTRAN band III. | |
E-UTRAN band IV. | |
E-UTRAN band V. | |
E-UTRAN band VI. | |
E-UTRAN band VII. | |
E-UTRAN band VIII. | |
E-UTRAN band IX. | |
E-UTRAN band X. | |
E-UTRAN band XI. | |
E-UTRAN band XII. | |
E-UTRAN band XIII. | |
E-UTRAN band XIV. | |
E-UTRAN band XVII. | |
E-UTRAN band XVIII. | |
E-UTRAN band XIX. | |
E-UTRAN band XX. | |
E-UTRAN band XXI. | |
E-UTRAN band XXII. | |
E-UTRAN band XXIII. | |
E-UTRAN band XXIV. | |
E-UTRAN band XXV. | |
E-UTRAN band XXVI. | |
E-UTRAN band XXXIII. | |
E-UTRAN band XXXIV. | |
E-UTRAN band XXXV. | |
E-UTRAN band XXXVI. | |
E-UTRAN band XXXVII. | |
E-UTRAN band XXXVIII. | |
E-UTRAN band XXXIX. | |
E-UTRAN band XL. | |
E-UTRAN band XLI. | |
E-UTRAN band XLII. | |
E-UTRAN band XLIII. | |
CDMA Band Class 0 (US Cellular 850MHz). | |
CDMA Band Class 1 (US PCS 1900MHz). | |
CDMA Band Class 2 (UK TACS 900MHz). | |
CDMA Band Class 3 (Japanese TACS). | |
CDMA Band Class 4 (Korean PCS). | |
CDMA Band Class 5 (NMT 450MHz). | |
CDMA Band Class 6 (IMT2000 2100MHz). | |
CDMA Band Class 7 (Cellular 700MHz). | |
CDMA Band Class 8 (1800MHz). | |
CDMA Band Class 9 (900MHz). | |
CDMA Band Class 10 (US Secondary 800). | |
CDMA Band Class 11 (European PAMR 400MHz). | |
CDMA Band Class 12 (PAMR 800MHz). | |
CDMA Band Class 13 (IMT2000 2500MHz Expansion). | |
CDMA Band Class 14 (More US PCS 1900MHz). | |
CDMA Band Class 15 (AWS 1700MHz). | |
CDMA Band Class 16 (US 2500MHz). | |
CDMA Band Class 17 (US 2500MHz Forward Link Only). | |
CDMA Band Class 18 (US 700MHz Public Safety). | |
CDMA Band Class 19 (US Lower 700MHz). | |
For certain operations, allow the modem to select a band automatically. |
typedef enum { /*< underscore_name=mm_modem_capability >*/ MM_MODEM_CAPABILITY_NONE = 0, MM_MODEM_CAPABILITY_POTS = 1 << 0, MM_MODEM_CAPABILITY_CDMA_EVDO = 1 << 1, MM_MODEM_CAPABILITY_GSM_UMTS = 1 << 2, MM_MODEM_CAPABILITY_LTE = 1 << 3, MM_MODEM_CAPABILITY_LTE_ADVANCED = 1 << 4, MM_MODEM_CAPABILITY_IRIDIUM = 1 << 5, MM_MODEM_CAPABILITY_ANY = 0xFFFFFFFF } MMModemCapability;
Flags describing one or more of the general access technology families that a modem supports.
Modem has no capabilities. | |
Modem supports the analog wired telephone network (ie 56k dialup) and does not have wireless/cellular capabilities. | |
Modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO revision A, or EVDO revision B. | |
Modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability. | |
Modem has LTE data capability. | |
Modem has LTE Advanced data capability. | |
Modem has Iridium capabilities. | |
Mask specifying all capabilities. |
typedef enum { /*< underscore_name=mm_modem_cdma_activation_state >*/ MM_MODEM_CDMA_ACTIVATION_STATE_UNKNOWN = 0, MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED = 1, MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATING = 2, MM_MODEM_CDMA_ACTIVATION_STATE_PARTIALLY_ACTIVATED = 3, MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATED = 4, } MMModemCdmaActivationState;
Activation state of a CDMA modem.
Unknown activation state. | |
Device is not activated | |
Device is activating | |
Device is partially activated; carrier-specific steps required to continue. | |
Device is ready for use. |
typedef enum { /*< underscore_name=mm_modem_cdma_registration_state >*/ MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN = 0, MM_MODEM_CDMA_REGISTRATION_STATE_REGISTERED = 1, MM_MODEM_CDMA_REGISTRATION_STATE_HOME = 2, MM_MODEM_CDMA_REGISTRATION_STATE_ROAMING = 3, } MMModemCdmaRegistrationState;
Registration state of a CDMA modem.
Registration status is unknown or the device is not registered. | |
Registered, but roaming status is unknown or cannot be provided by the device. The device may or may not be roaming. | |
Currently registered on the home network. | |
Currently registered on a roaming network. |
typedef enum { /*< underscore_name=mm_modem_cdma_rm_protocol >*/ MM_MODEM_CDMA_RM_PROTOCOL_UNKNOWN = 0, MM_MODEM_CDMA_RM_PROTOCOL_ASYNC = 1, MM_MODEM_CDMA_RM_PROTOCOL_PACKET_RELAY = 2, MM_MODEM_CDMA_RM_PROTOCOL_PACKET_NETWORK_PPP = 3, MM_MODEM_CDMA_RM_PROTOCOL_PACKET_NETWORK_SLIP = 4, MM_MODEM_CDMA_RM_PROTOCOL_STU_III = 5, } MMModemCdmaRmProtocol;
Protocol of the Rm interface in modems with CDMA capabilities.
Unknown protocol. | |
Asynchronous data or fax. | |
Packet data service, Relay Layer Rm interface. | |
Packet data service, Network Layer Rm interface, PPP. | |
Packet data service, Network Layer Rm interface, SLIP. | |
STU-III service. |
typedef enum { /*< underscore_name=mm_modem_contacts_storage >*/ MM_MODEM_CONTACTS_STORAGE_UNKNOWN = 0, MM_MODEM_CONTACTS_STORAGE_ME = 1, MM_MODEM_CONTACTS_STORAGE_SM = 2, MM_MODEM_CONTACTS_STORAGE_MT = 3, } MMModemContactsStorage;
Specifies different storage locations for contact information.
typedef enum { /*< underscore_name=mm_modem_location_source >*/ MM_MODEM_LOCATION_SOURCE_NONE = 0, MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI = 1 << 0, MM_MODEM_LOCATION_SOURCE_GPS_RAW = 1 << 1, MM_MODEM_LOCATION_SOURCE_GPS_NMEA = 1 << 2, MM_MODEM_LOCATION_SOURCE_CDMA_BS = 1 << 3, } MMModemLocationSource;
Sources of location information supported by the modem.
None. | |
Location Area Code and Cell ID. | |
GPS location given by predefined keys. | |
GPS location given as NMEA traces. | |
CDMA base station position. |
typedef enum { /*< underscore_name=mm_modem_lock >*/ MM_MODEM_LOCK_UNKNOWN = 0, MM_MODEM_LOCK_NONE = 1, MM_MODEM_LOCK_SIM_PIN = 2, MM_MODEM_LOCK_SIM_PIN2 = 3, MM_MODEM_LOCK_SIM_PUK = 4, MM_MODEM_LOCK_SIM_PUK2 = 5, MM_MODEM_LOCK_PH_SP_PIN = 6, MM_MODEM_LOCK_PH_SP_PUK = 7, MM_MODEM_LOCK_PH_NET_PIN = 8, MM_MODEM_LOCK_PH_NET_PUK = 9, MM_MODEM_LOCK_PH_SIM_PIN = 10, MM_MODEM_LOCK_PH_CORP_PIN = 11, MM_MODEM_LOCK_PH_CORP_PUK = 12, MM_MODEM_LOCK_PH_FSIM_PIN = 13, MM_MODEM_LOCK_PH_FSIM_PUK = 14, MM_MODEM_LOCK_PH_NETSUB_PIN = 15, MM_MODEM_LOCK_PH_NETSUB_PUK = 16 } MMModemLock;
Enumeration of possible lock reasons.
Lock reason unknown. | |
Modem is unlocked. | |
SIM requires the PIN code. | |
SIM requires the PIN2 code. | |
SIM requires the PUK code. | |
SIM requires the PUK2 code. | |
Modem requires the service provider PIN code. | |
Modem requires the service provider PUK code. | |
Modem requires the network PIN code. | |
Modem requires the network PUK code. | |
Modem requires the PIN code. | |
Modem requires the corporate PIN code. | |
Modem requires the corporate PUK code. | |
Modem requires the PH-FSIM PIN code. | |
Modem requires the PH-FSIM PUK code. | |
Modem requires the network subset PIN code. | |
Modem requires the network subset PUK code. |
typedef enum { /*< underscore_name=mm_modem_mode >*/ MM_MODEM_MODE_NONE = 0, MM_MODEM_MODE_CS = 1 << 0, MM_MODEM_MODE_2G = 1 << 1, MM_MODEM_MODE_3G = 1 << 2, MM_MODEM_MODE_4G = 1 << 3, MM_MODEM_MODE_ANY = 0xFFFFFFFF } MMModemMode;
Bitfield to indicate which access modes are supported, allowed or preferred in a given device.
typedef enum { /*< underscore_name=mm_modem_state >*/ MM_MODEM_STATE_FAILED = -1, MM_MODEM_STATE_UNKNOWN = 0, MM_MODEM_STATE_INITIALIZING = 1, MM_MODEM_STATE_LOCKED = 2, MM_MODEM_STATE_DISABLED = 3, MM_MODEM_STATE_DISABLING = 4, MM_MODEM_STATE_ENABLING = 5, MM_MODEM_STATE_ENABLED = 6, MM_MODEM_STATE_SEARCHING = 7, MM_MODEM_STATE_REGISTERED = 8, MM_MODEM_STATE_DISCONNECTING = 9, MM_MODEM_STATE_CONNECTING = 10, MM_MODEM_STATE_CONNECTED = 11 } MMModemState;
Enumeration of possible modem states.
The modem is unusable. | |
State unknown or not reportable. | |
The modem is currently being initialized. | |
The modem needs to be unlocked. | |
The modem is not enabled and is powered down. | |
The modem is currently transitioning to the MM_MODEM_STATE_DISABLED state.
|
|
The modem is currently transitioning to the MM_MODEM_STATE_ENABLED state.
|
|
The modem is enabled and powered on but not registered with a network provider and not available for data connections. | |
The modem is searching for a network provider to register with. | |
The modem is registered with a network provider, and data connections and messaging may be available for use. | |
The modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated. | |
The modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered. | |
One or more packet data bearers is active and connected. |
typedef enum { /*< underscore_name=mm_modem_state_failed_reason >*/ MM_MODEM_STATE_FAILED_REASON_NONE = 0, MM_MODEM_STATE_FAILED_REASON_UNKNOWN = 1, MM_MODEM_STATE_FAILED_REASON_SIM_MISSING = 2, MM_MODEM_STATE_FAILED_REASON_SIM_ERROR = 3, } MMModemStateFailedReason;
Enumeration of possible errors when the modem is in MM_MODEM_STATE_FAILED
.
typedef enum { /*< underscore_name=mm_modem_state_change_reason >*/ MM_MODEM_STATE_CHANGE_REASON_UNKNOWN = 0, MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED = 1, MM_MODEM_STATE_CHANGE_REASON_SUSPEND = 2, MM_MODEM_STATE_CHANGE_REASON_FAILURE = 3, } MMModemStateChangeReason;
Enumeration of possible reasons to have changed the modem state.
Reason unknown or not reportable. | |
State change was requested by an interface user. | |
State change was caused by a system suspend. | |
State change was caused by an unrecoverable error. |
typedef enum { /*< underscore_name=mm_modem_power_state >*/ MM_MODEM_POWER_STATE_UNKNOWN = 0, MM_MODEM_POWER_STATE_OFF = 1, MM_MODEM_POWER_STATE_LOW = 2, MM_MODEM_POWER_STATE_ON = 3 } MMModemPowerState;
Power state of the modem.
typedef enum { /*< underscore_name=mm_modem_port_type >*/ MM_MODEM_PORT_TYPE_UNKNOWN = 1, MM_MODEM_PORT_TYPE_NET = 2, MM_MODEM_PORT_TYPE_AT = 3, MM_MODEM_PORT_TYPE_QCDM = 4, MM_MODEM_PORT_TYPE_GPS = 5, MM_MODEM_PORT_TYPE_QMI = 6, MM_MODEM_PORT_TYPE_MBIM = 7 } MMModemPortType;
Type of modem port.
typedef enum { /*< underscore_name=mm_sms_pdu_type >*/ MM_SMS_PDU_TYPE_UNKNOWN = 0, MM_SMS_PDU_TYPE_DELIVER = 1, MM_SMS_PDU_TYPE_SUBMIT = 2, MM_SMS_PDU_TYPE_STATUS_REPORT = 3 } MMSmsPduType;
Type of PDUs used in the SMS.
typedef enum { /*< underscore_name=mm_sms_state >*/ MM_SMS_STATE_UNKNOWN = 0, MM_SMS_STATE_STORED = 1, MM_SMS_STATE_RECEIVING = 2, MM_SMS_STATE_RECEIVED = 3, MM_SMS_STATE_SENDING = 4, MM_SMS_STATE_SENT = 5, } MMSmsState;
State of a given SMS.
State unknown or not reportable. | |
The message has been neither received nor yet sent. | |
The message is being received but is not yet complete. | |
The message has been completely received. | |
The message is queued for delivery. | |
The message was successfully sent. |
typedef enum { /*< underscore_name=mm_sms_delivery_state >*/ /* Completed deliveries */ MM_SMS_DELIVERY_STATE_COMPLETED_RECEIVED = 0x00, MM_SMS_DELIVERY_STATE_COMPLETED_FORWARDED_UNCONFIRMED = 0x01, MM_SMS_DELIVERY_STATE_COMPLETED_REPLACED_BY_SC = 0x02, /* Temporary failures */ MM_SMS_DELIVERY_STATE_TEMPORARY_ERROR_CONGESTION = 0x20, MM_SMS_DELIVERY_STATE_TEMPORARY_ERROR_SME_BUSY = 0x21, MM_SMS_DELIVERY_STATE_TEMPORARY_ERROR_NO_RESPONSE_FROM_SME = 0x22, MM_SMS_DELIVERY_STATE_TEMPORARY_ERROR_SERVICE_REJECTED = 0x23, MM_SMS_DELIVERY_STATE_TEMPORARY_ERROR_QOS_NOT_AVAILABLE = 0x24, MM_SMS_DELIVERY_STATE_TEMPORARY_ERROR_IN_SME = 0x25, /* Permanent failures */ MM_SMS_DELIVERY_STATE_ERROR_REMOTE_PROCEDURE = 0x40, MM_SMS_DELIVERY_STATE_ERROR_INCOMPATIBLE_DESTINATION = 0x41, MM_SMS_DELIVERY_STATE_ERROR_CONNECTION_REJECTED = 0x42, MM_SMS_DELIVERY_STATE_ERROR_NOT_OBTAINABLE = 0x43, MM_SMS_DELIVERY_STATE_ERROR_QOS_NOT_AVAILABLE = 0x44, MM_SMS_DELIVERY_STATE_ERROR_NO_INTERWORKING_AVAILABLE = 0x45, MM_SMS_DELIVERY_STATE_ERROR_VALIDITY_PERIOD_EXPIRED = 0x46, MM_SMS_DELIVERY_STATE_ERROR_DELETED_BY_ORIGINATING_SME = 0x47, MM_SMS_DELIVERY_STATE_ERROR_DELETED_BY_SC_ADMINISTRATION = 0x48, MM_SMS_DELIVERY_STATE_ERROR_MESSAGE_DOES_NOT_EXIST = 0x49, /* Temporary failures that became permanent */ MM_SMS_DELIVERY_STATE_TEMPORARY_FATAL_ERROR_CONGESTION = 0x60, MM_SMS_DELIVERY_STATE_TEMPORARY_FATAL_ERROR_SME_BUSY = 0x61, MM_SMS_DELIVERY_STATE_TEMPORARY_FATAL_ERROR_NO_RESPONSE_FROM_SME = 0x62, MM_SMS_DELIVERY_STATE_TEMPORARY_FATAL_ERROR_SERVICE_REJECTED = 0x63, MM_SMS_DELIVERY_STATE_TEMPORARY_FATAL_ERROR_QOS_NOT_AVAILABLE = 0x64, MM_SMS_DELIVERY_STATE_TEMPORARY_FATAL_ERROR_IN_SME = 0x65, /* Unknown, out of any possible valid value [0x00-0xFF] */ MM_SMS_DELIVERY_STATE_UNKNOWN = 0x100 } MMSmsDeliveryState;
Enumeration of known SMS delivery states as defined in 3GPP TS 03.40.
States out of the known ranges may also be valid (either reserved or SC-specific).
typedef enum { /*< underscore_name=mm_sms_storage >*/ MM_SMS_STORAGE_UNKNOWN = 0, MM_SMS_STORAGE_SM = 1, MM_SMS_STORAGE_ME = 2, MM_SMS_STORAGE_MT = 3, MM_SMS_STORAGE_SR = 4, MM_SMS_STORAGE_BM = 5, MM_SMS_STORAGE_TA = 6, } MMSmsStorage;
Storage for SMS messages.
Storage unknown. | |
SIM card storage area. | |
Mobile equipment storage area. | |
Sum of SIM and Mobile equipment storages | |
Status report message storage area. | |
Broadcast message storage area. | |
Terminal adaptor message storage area. |