aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ModemManager-enums.h455
-rw-r--r--new/org.freedesktop.ModemManager1.Bearer.xml21
-rw-r--r--new/org.freedesktop.ModemManager1.Modem.3gpp.xml38
-rw-r--r--new/org.freedesktop.ModemManager1.Modem.Cdma.xml80
-rw-r--r--new/org.freedesktop.ModemManager1.Modem.Contacts.xml23
-rw-r--r--new/org.freedesktop.ModemManager1.Modem.Location.xml143
-rw-r--r--new/org.freedesktop.ModemManager1.Modem.xml403
-rw-r--r--new/org.freedesktop.ModemManager1.Sms.xml35
8 files changed, 455 insertions, 743 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
new file mode 100644
index 00000000..91dce64f
--- /dev/null
+++ b/include/ModemManager-enums.h
@@ -0,0 +1,455 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details:
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ * Copyright (C) 2011 Google, Inc.
+ */
+
+#ifndef _MODEMMANAGER_ENUMS_H_
+#define _MODEMMANAGER_ENUMS_H_
+
+/**
+ * SECTION:mm-enums
+ * @short_description: Common enumerations and types in the API.
+ *
+ * This section defines enumerations and types that are used in the
+ * ModemManager interface.
+ **/
+
+/**
+ * MMModemCapability:
+ * @MM_MODEM_CAPABILITY_NONE: Modem has no capabilities.
+ * @MM_MODEM_CAPABILITY_POTS: Modem supports the analog wired telephone network (ie 56k dialup) and does not have wireless/cellular capabilities.
+ * @MM_MODEM_CAPABILITY_CDMA_EVDO: Modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO revision A, or EVDO revision B.
+ * @MM_MODEM_CAPABILITY_GSM_UMTS: Modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability.
+ * @MM_MODEM_CAPABILITY_LTE: Modem has LTE data capability.
+ * @MM_MODEM_CAPABILITY_LTE_ADVANCED: Modem has LTE Advanced data capability.
+ *
+ * Flags describing one or more of the general access technology families that a
+ * modem supports.
+ */
+typedef enum { /*< underscore_name=mm_modem_capability >*/
+ MM_MODEM_CAPABILITY_NONE = 0,
+ MM_MODEM_CAPABILITY_POTS = 1 << 1,
+ MM_MODEM_CAPABILITY_CDMA_EVDO = 1 << 2,
+ MM_MODEM_CAPABILITY_GSM_UMTS = 1 << 3,
+ MM_MODEM_CAPABILITY_LTE = 1 << 4,
+ MM_MODEM_CAPABILITY_LTE_ADVANCED = 1 << 5,
+} MMModemCapability;
+
+/**
+ * MMModemLock:
+ * @MM_MODEM_LOCK_UNKNOWN: Lock reason unknown.
+ * @MM_MODEM_LOCK_NONE: Modem is unlocked.
+ * @MM_MODEM_LOCK_SIM_PIN: SIM requires the PIN code.
+ * @MM_MODEM_LOCK_SIM_PIN2: SIM requires the PIN2 code.
+ * @MM_MODEM_LOCK_SIM_PUK: SIM requires the PUK code.
+ * @MM_MODEM_LOCK_SIM_PUK2: SIM requires the PUK2 code.
+ * @MM_MODEM_LOCK_PH_SP_PIN: Modem requires the service provider PIN code.
+ * @MM_MODEM_LOCK_PH_SP_PUK: Modem requires the service provider PUK code.
+ * @MM_MODEM_LOCK_PH_NET_PIN: Modem requires the network PIN code.
+ * @MM_MODEM_LOCK_PH_NET_PUK: Modem requires the network PUK code.
+ * @MM_MODEM_LOCK_PH_SIM_PIN: Modem requires the PIN code.
+ * @MM_MODEM_LOCK_PH_CORP_PIN: Modem requires the corporate PIN code.
+ * @MM_MODEM_LOCK_PH_CORP_PUK: Modem requires the corporate PUK code.
+ * @MM_MODEM_LOCK_PH_FSIM_PIN: Modem requires the PH-FSIM PIN code.
+ * @MM_MODEM_LOCK_PH_FSIM_PUK: Modem requires the PH-FSIM PUK code.
+ * @MM_MODEM_LOCK_PH_NETSUB_PIN: Modem requires the network subset PIN code.
+ * @MM_MODEM_LOCK_PH_NETSUB_PUK: Modem requires the network subset PUK code.
+ *
+ * Enumeration of possible lock reasons.
+ */
+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;
+
+/**
+ * MMModemState:
+ * @MM_MODEM_STATE_UNKNOWN: State unknown or not reportable.
+ * @MM_MODEM_STATE_LOCKED: The modem needs to be unlocked.
+ * @MM_MODEM_STATE_DISABLED: The modem is not enabled and is powered down.
+ * @MM_MODEM_STATE_DISABLING: The modem is currently transitioning to the @MM_MODEM_STATE_DISABLED state.
+ * @MM_MODEM_STATE_ENABLING: The modem is currently transitioning to the @MM_MODEM_STATE_ENABLED state.
+ * @MM_MODEM_STATE_ENABLED: The modem is enabled and powered on but not registered with a network provider and not available for data connections.
+ * @MM_MODEM_STATE_SEARCHING: The modem is searching for a network provider to register with.
+ * @MM_MODEM_STATE_REGISTERED: The modem is registered with a network provider, and data connections and messaging may be available for use.
+ * @MM_MODEM_STATE_DISCONNECTING: 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.
+ * @MM_MODEM_STATE_CONNECTING: 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.
+ * @MM_MODEM_STATE_CONNECTED: One or more packet data bearers is active and connected.
+ *
+ * Enumeration of possible modem states.
+ */
+typedef enum { /*< underscore_name=mm_modem_state >*/
+ MM_MODEM_STATE_UNKNOWN = 0,
+ MM_MODEM_STATE_LOCKED = 1,
+ MM_MODEM_STATE_DISABLED = 2,
+ MM_MODEM_STATE_DISABLING = 3,
+ MM_MODEM_STATE_ENABLING = 4,
+ MM_MODEM_STATE_ENABLED = 5,
+ MM_MODEM_STATE_SEARCHING = 6,
+ MM_MODEM_STATE_REGISTERED = 7,
+ MM_MODEM_STATE_DISCONNECTING = 8,
+ MM_MODEM_STATE_CONNECTING = 9,
+ MM_MODEM_STATE_CONNECTED = 10
+} MMModemState;
+
+/**
+ * MMModemStateChangeReason:
+ * @MM_MODEM_STATE_CHANGE_REASON_UNKNOWN: Reason unknown or not reportable.
+ * @MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED: State change was requested by an interface user.
+ * @MM_MODEM_STATE_CHANGE_REASON_SUSPEND: State change was caused by a system suspend.
+ *
+ * Enumeration of possible reasons to have changed the modem state.
+ */
+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,
+} MMModemStateChangeReason;
+
+/**
+ * MMModemAccessTech:
+ * @MM_MODEM_ACCESS_TECH_UNKNOWN: The access technology used is unknown.
+ * @MM_MODEM_ACCESS_TECH_POTS: Analog wireline telephone.
+ * @MM_MODEM_ACCESS_TECH_GSM: GSM.
+ * @MM_MODEM_ACCESS_TECH_GSM_COMPACT: Compact GSM.
+ * @MM_MODEM_ACCESS_TECH_GPRS: GPRS.
+ * @MM_MODEM_ACCESS_TECH_EDGE: EDGE (ETSI 27.007: "GSM w/EGPRS").
+ * @MM_MODEM_ACCESS_TECH_UMTS: UMTS (ETSI 27.007: "UTRAN").
+ * @MM_MODEM_ACCESS_TECH_HSDPA: HSDPA (ETSI 27.007: "UTRAN w/HSDPA").
+ * @MM_MODEM_ACCESS_TECH_HSUPA: HSUPA (ETSI 27.007: "UTRAN w/HSUPA").
+ * @MM_MODEM_ACCESS_TECH_HSPA: HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA").
+ * @MM_MODEM_ACCESS_TECH_HSPA_PLUS: HSPA+ (ETSI 27.007: "UTRAN w/HSPA+").
+ * @MM_MODEM_ACCESS_TECH_1XRTT: CDMA2000 1xRTT.
+ * @MM_MODEM_ACCESS_TECH_EVDO0: CDMA2000 EVDO revision 0.
+ * @MM_MODEM_ACCESS_TECH_EVDOA: CDMA2000 EVDO revision A.
+ * @MM_MODEM_ACCESS_TECH_EVDOB: CDMA2000 EVDO revision B.
+ * @MM_MODEM_ACCESS_TECH_LTE: LTE (ETSI 27.007: "E-UTRAN")
+ *
+ * Describes various access technologies that a device uses when registered with
+ * or connected to a network.
+ */
+typedef enum { /*< underscore_name=mm_modem_access_tech >*/
+ MM_MODEM_ACCESS_TECH_UNKNOWN = 0,
+ MM_MODEM_ACCESS_TECH_POTS = 1,
+ MM_MODEM_ACCESS_TECH_GSM = 2,
+ MM_MODEM_ACCESS_TECH_GSM_COMPACT = 3,
+ MM_MODEM_ACCESS_TECH_GPRS = 4,
+ MM_MODEM_ACCESS_TECH_EDGE = 5,
+ MM_MODEM_ACCESS_TECH_UMTS = 6,
+ MM_MODEM_ACCESS_TECH_HSDPA = 7,
+ MM_MODEM_ACCESS_TECH_HSUPA = 8,
+ MM_MODEM_ACCESS_TECH_HSPA = 9,
+ MM_MODEM_ACCESS_TECH_HSPA_PLUS = 10,
+ MM_MODEM_ACCESS_TECH_1XRTT = 11,
+ MM_MODEM_ACCESS_TECH_EVDO0 = 12,
+ MM_MODEM_ACCESS_TECH_EVDOA = 13,
+ MM_MODEM_ACCESS_TECH_EVDOB = 14,
+ MM_MODEM_ACCESS_TECH_LTE = 15,
+} MMModemAccessTech;
+
+/**
+ * MMModemMode:
+ * @MM_MODEM_MODE_NONE: None.
+ * @MM_MODEM_MODE_1G: CSD, GSM.
+ * @MM_MODEM_MODE_2G: GPRS, EDGE.
+ * @MM_MODEM_MODE_3G: UMTS, HSxPA.
+ * @MM_MODEM_MODE_4G: LTE.
+ * @MM_MODEM_MODE_ANY: Any mode can be used (only this value allowed for POTS modems).
+ *
+ * Bitfield to indicate which access modes are supported, allowed or
+ * preferred in a given device.
+ */
+typedef enum { /*< underscore_name=mm_modem_mode >*/
+ MM_MODEM_MODE_NONE = 0,
+ MM_MODEM_MODE_1G = 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;
+
+/**
+ * MMModemBand:
+ * @MM_MODEM_BAND_UNKNOWN: Unknown or invalid band.
+ * @MM_MODEM_BAND_EGSM: GSM/GPRS/EDGE 900 MHz.
+ * @MM_MODEM_BAND_DCS: GSM/GPRS/EDGE 1800 MHz.
+ * @MM_MODEM_BAND_PCS: GSM/GPRS/EDGE 1900 MHz.
+ * @MM_MODEM_BAND_G850: GSM/GPRS/EDGE 850 MHz.
+ * @MM_MODEM_BAND_U2100: WCDMA 2100 MHz (Class I).
+ * @MM_MODEM_BAND_U1800: WCDMA 3GPP 1800 MHz (Class III).
+ * @MM_MODEM_BAND_U17IV: WCDMA 3GPP AWS 1700/2100 MHz (Class IV).
+ * @MM_MODEM_BAND_U800: WCDMA 3GPP UMTS 800 MHz (Class VI).
+ * @MM_MODEM_BAND_U850: WCDMA 3GPP UMTS 850 MHz (Class V).
+ * @MM_MODEM_BAND_U900: WCDMA 3GPP UMTS 900 MHz (Class VIII).
+ * @MM_MODEM_BAND_U17IX: WCDMA 3GPP UMTS 1700 MHz (Class IX).
+ * @MM_MODEM_BAND_U1900: WCDMA 3GPP UMTS 1900 MHz (Class II).
+ * @MM_MODEM_BAND_U2600: WCDMA 3GPP UMTS 2600 MHz (Class VII, internal).
+ * @MM_MODEM_BAND_CDMA_BC0_CELLULAR_800: CDMA Band Class 0 (US Cellular 850MHz).
+ * @MM_MODEM_BAND_CDMA_BC1_PCS_1900: CDMA Band Class 1 (US PCS 1900MHz).
+ * @MM_MODEM_BAND_CDMA_BC2_TACS: CDMA Band Class 2 (UK TACS 900MHz).
+ * @MM_MODEM_BAND_CDMA_BC3_JTACS: CDMA Band Class 3 (Japanese TACS).
+ * @MM_MODEM_BAND_CDMA_BC4_KOREAN_PCS: CDMA Band Class 4 (Korean PCS).
+ * @MM_MODEM_BAND_CDMA_BC5_NMT450: CDMA Band Class 5 (NMT 450MHz).
+ * @MM_MODEM_BAND_CDMA_BC6_IMT2000: CDMA Band Class 6 (IMT2000 2100MHz).
+ * @MM_MODEM_BAND_CDMA_BC7_CELLULAR_700: CDMA Band Class 7 (Cellular 700MHz).
+ * @MM_MODEM_BAND_CDMA_BC8_1800: CDMA Band Class 8 (1800MHz).
+ * @MM_MODEM_BAND_CDMA_BC9_900: CDMA Band Class 9 (900MHz).
+ * @MM_MODEM_BAND_CDMA_BC10_SECONDARY_800: CDMA Band Class 10 (US Secondary 800).
+ * @MM_MODEM_BAND_CDMA_BC11_PAMR_400: CDMA Band Class 11 (European PAMR 400MHz).
+ * @MM_MODEM_BAND_CDMA_BC12_PAMR_800: CDMA Band Class 12 (PAMR 800MHz).
+ * @MM_MODEM_BAND_CDMA_BC13_IMT2000_2500: CDMA Band Class 13 (IMT2000 2500MHz Expansion).
+ * @MM_MODEM_BAND_CDMA_BC14_PCS2_1900: CDMA Band Class 14 (More US PCS 1900MHz).
+ * @MM_MODEM_BAND_CDMA_BC15_AWS: CDMA Band Class 15 (AWS 1700MHz).
+ * @MM_MODEM_BAND_CDMA_BC16_US_2500: CDMA Band Class 16 (US 2500MHz).
+ * @MM_MODEM_BAND_CDMA_BC17_US_FLO_2500: CDMA Band Class 17 (US 2500MHz Forward Link Only).
+ * @MM_MODEM_BAND_CDMA_BC18_US_PS_700: CDMA Band Class 18 (US 700MHz Public Safety).
+ * @MM_MODEM_BAND_CDMA_BC19_US_LOWER_700: CDMA Band Class 19 (US Lower 700MHz).
+ * @MM_MODEM_BAND_ANY: For certain operations, allow the modem to select a band automatically.
+ *
+ * A 64-bit wide bitfield describing the specific radio bands supported by
+ * the device and the radio bands the device is allowed to use when
+ * connecting to a mobile network.
+ */
+typedef enum { /*< skip >*/
+ MM_MODEM_BAND_UNKNOWN = 0,
+ /* GSM/UMTS/3GPP bands */
+ MM_MODEM_BAND_EGSM = 1 << 0,
+ MM_MODEM_BAND_DCS = 1 << 1,
+ MM_MODEM_BAND_PCS = 1 << 2,
+ MM_MODEM_BAND_G850 = 1 << 3,
+ MM_MODEM_BAND_U2100 = 1 << 4,
+ MM_MODEM_BAND_U1800 = 1 << 5,
+ MM_MODEM_BAND_U17IV = 1 << 6,
+ MM_MODEM_BAND_U800 = 1 << 7,
+ MM_MODEM_BAND_U850 = 1 << 8,
+ MM_MODEM_BAND_U900 = 1 << 9,
+ MM_MODEM_BAND_U17IX = 1 << 10,
+ MM_MODEM_BAND_U1900 = 1 << 11,
+ MM_MODEM_BAND_U2600 = 1 << 12,
+ /* CDMA Band Classes (see 3GPP2 C.S0057-C) */
+ MM_MODEM_BAND_CDMA_BC0_CELLULAR_800 = 1ULL << 32,
+ MM_MODEM_BAND_CDMA_BC1_PCS_1900 = 1ULL << 33,
+ MM_MODEM_BAND_CDMA_BC2_TACS = 1ULL << 34,
+ MM_MODEM_BAND_CDMA_BC3_JTACS = 1ULL << 35,
+ MM_MODEM_BAND_CDMA_BC4_KOREAN_PCS = 1ULL << 36,
+ MM_MODEM_BAND_CDMA_BC5_NMT450 = 1ULL << 37,
+ MM_MODEM_BAND_CDMA_BC6_IMT2000 = 1ULL << 38,
+ MM_MODEM_BAND_CDMA_BC7_CELLULAR_700 = 1ULL << 49,
+ MM_MODEM_BAND_CDMA_BC8_1800 = 1ULL << 40,
+ MM_MODEM_BAND_CDMA_BC9_900 = 1ULL << 41,
+ MM_MODEM_BAND_CDMA_BC10_SECONDARY_800 = 1ULL << 42,
+ MM_MODEM_BAND_CDMA_BC11_PAMR_400 = 1ULL << 43,
+ MM_MODEM_BAND_CDMA_BC12_PAMR_800 = 1ULL << 44,
+ MM_MODEM_BAND_CDMA_BC13_IMT2000_2500 = 1ULL << 45,
+ MM_MODEM_BAND_CDMA_BC14_PCS2_1900 = 1ULL << 46,
+ MM_MODEM_BAND_CDMA_BC15_AWS = 1ULL << 47,
+ MM_MODEM_BAND_CDMA_BC16_US_2500 = 1ULL << 48,
+ MM_MODEM_BAND_CDMA_BC17_US_FLO_2500 = 1ULL << 49,
+ MM_MODEM_BAND_CDMA_BC18_US_PS_700 = 1ULL << 50,
+ MM_MODEM_BAND_CDMA_BC19_US_LOWER_700 = 1ULL << 51,
+ /* All/Any */
+ MM_MODEM_BAND_ANY = 0xFFFFFFFFFFFFFFFF
+} MMModemBand;
+
+/**
+ * MMModemSmsState:
+ * @MM_MODEM_SMS_STATE_UNKNOWN: State unknown or not reportable.
+ * @MM_MODEM_SMS_STATE_STORED: The message has been neither received nor yet sent.
+ * @MM_MODEM_SMS_STATE_RECEIVING: The message is being received but is not yet complete.
+ * @MM_MODEM_SMS_STATE_RECEIVED: The message has been completely received.
+ * @MM_MODEM_SMS_STATE_SENDING: The message is queued for delivery.
+ * @MM_MODEM_SMS_STATE_SENT: The message was successfully sent.
+ *
+ * State of a given SMS.
+ */
+typedef enum { /*< underscore_name=mm_modem_sms_state >*/
+ MM_MODEM_SMS_STATE_UNKNOWN = 0,
+ MM_MODEM_SMS_STATE_STORED = 1,
+ MM_MODEM_SMS_STATE_RECEIVING = 2,
+ MM_MODEM_SMS_STATE_RECEIVED = 3,
+ MM_MODEM_SMS_STATE_SENDING = 4,
+ MM_MODEM_SMS_STATE_SENT = 5,
+} MMModemSmsState;
+
+/**
+ * MMModemLocationSource:
+ * @MM_MODEM_LOCATION_SOURCE_NONE: None.
+ * @MM_MODEM_LOCATION_SOURCE_GSM_LAC_CI: Location Area Code and Cell ID.
+ * @MM_MODEM_LOCATION_SOURCE_GPS_RAW: GPS location given by predefined keys.
+ * @MM_MODEM_LOCATION_SOURCE_GPS_NMEA: GPS location given as NMEA traces.
+ *
+ * Sources of location information supported by the modem.
+ */
+typedef enum { /*< underscore_name=mm_modem_location_source >*/
+ MM_MODEM_LOCATION_SOURCE_NONE = 0,
+ MM_MODEM_LOCATION_SOURCE_GSM_LAC_CI = 1 << 0,
+ MM_MODEM_LOCATION_SOURCE_GPS_RAW = 1 << 1,
+ MM_MODEM_LOCATION_SOURCE_GPS_NMEA = 1 << 2,
+} MMModemLocationSource;
+
+/**
+ * MMModemContactsStorage:
+ * @MM_MODEM_CONTACTS_STORAGE_UNKNOWN: Unknown location.
+ * @MM_MODEM_CONTACTS_STORAGE_ME: Device's local memory.
+ * @MM_MODEM_CONTACTS_STORAGE_SM: Card inserted in the device (like a SIM/RUIM).
+ * @MM_MODEM_CONTACTS_STORAGE_MT: Combined device/ME and SIM/SM phonebook.
+ *
+ * Specifies different storage locations for contact information.
+ */
+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;
+
+/**
+ * MMBearerIpMethod:
+ * @MM_BEARER_IP_METHOD_UNKNOWN: Unknown method.
+ * @MM_BEARER_IP_METHOD_PPP: Use PPP to get the address.
+ * @MM_BEARER_IP_METHOD_STATIC: Use the provided static IP configuration given by the modem to configure the IP data interface.
+ * @MM_BEARER_IP_METHOD_DHCP: Begin DHCP on the data interface to obtain necessary IP configuration details.
+ *
+ * Type of IP method configuration 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;
+
+/**
+ * MMModemCdmaRegistrationState:
+ * @MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN: Registration status is unknown or the device is not registered.
+ * @MM_MODEM_CDMA_REGISTRATION_STATE_REGISTERED: Registered, but roaming status is unknown or cannot be provided by the device. The device may or may not be roaming.
+ * @MM_MODEM_CDMA_REGISTRATION_STATE_HOME: Currently registered on the home network.
+ * @MM_MODEM_CDMA_REGISTRATION_STATE_ROAMING: Currently registered on a roaming network.
+ *
+ * Registration state of a CDMA modem.
+ */
+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;
+
+/**
+ * MMModemCdmaActivationState:
+ * @MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED: Device is not activated
+ * @MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATING: Device is activating
+ * @MM_MODEM_CDMA_ACTIVATION_STATE_PARTIALLY_ACTIVATED: Device is partially activated; carrier-specific steps required to continue.
+ * @MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATED: Device is ready for use.
+ *
+ * Activation state of a CDMA modem.
+ */
+typedef enum { /*< underscore_name=mm_modem_cdma_activation_state >*/
+ MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED = 0,
+ MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATING = 1,
+ MM_MODEM_CDMA_ACTIVATION_STATE_PARTIALLY_ACTIVATED = 2,
+ MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATED = 3,
+} MMModemCdmaActivationState;
+
+/**
+ * MMModemCdmaActivationError:
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_NONE: No error.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_UNKNOWN: An error occurred.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_ROAMING: Device cannot activate while roaming.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_WRONG_RADIO_INTERFACE: Device cannot activate on this network type (eg EVDO vs 1xRTT).
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_COULD_NOT_CONNECT: Device could not connect to the network for activation.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_SECURITY_AUTHENTICATION_FAILED: Device could not authenticate to the network for activation.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_PROVISIONING_FAILED: Later stages of device provisioning failed.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_NO_SIGNAL: No signal available.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_TIMED_OUT: Activation timed out.
+ * @MM_MODEM_CDMA_ACTIVATION_ERROR_START_FAILED: API call for initial activation failed.
+ */
+typedef enum { /*< underscore_name=mm_modem_cdma_activation_error >*/
+ MM_MODEM_CDMA_ACTIVATION_ERROR_NONE = 0,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_UNKNOWN = 1,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_ROAMING = 2,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_WRONG_RADIO_INTERFACE = 3,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_COULD_NOT_CONNECT = 4,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_SECURITY_AUTHENTICATION_FAILED = 5,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_PROVISIONING_FAILED = 6,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_NO_SIGNAL = 7,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_TIMED_OUT = 8,
+ MM_MODEM_CDMA_ACTIVATION_ERROR_START_FAILED = 9,
+} MMModemCdmaActivationError;
+
+/**
+ * MMModem3gppRegistrationState:
+ * @MM_MODEM_3GPP_REGISTRATION_STATE_IDLE: Not registered, not searching for new operator to register.
+ * @MM_MODEM_3GPP_REGISTRATION_STATE_HOME: Registered on home network.
+ * @MM_MODEM_3GPP_REGISTRATION_STATE_SEARCHING: Not registered, searching for new operator to register with.
+ * @MM_MODEM_3GPP_REGISTRATION_STATE_DENIED: Registration denied.
+ * @MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN: Unknown registration status.
+ * @MM_MODEM_3GPP_REGISTRATION_STATE_ROAMING: Registered on a roaming network.
+ *
+ * GSM registration code as defined in 3GPP TS 27.007 section 10.1.19.
+ */
+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;
+
+/**
+ * MMModem3gppFacility:
+ * @MM_MODEM_3GPP_FACILITY_NONE: No facility.
+ * @MM_MODEM_3GPP_FACILITY_SIM: SIM lock.
+ * @MM_MODEM_3GPP_FACILITY_FIXED_DIALING: Fixed dialing (PIN2) SIM lock.
+ * @MM_MODEM_3GPP_FACILITY_PH_SIM: Device is locked to a specific SIM.
+ * @MM_MODEM_3GPP_FACILITY_PH_FSIM: Device is locked to first SIM inserted.
+ * @MM_MODEM_3GPP_FACILITY_NET_PERS: Network personalization.
+ * @MM_MODEM_3GPP_FACILITY_NET_SUB_PERS: Network subset personalization.
+ * @MM_MODEM_3GPP_FACILITY_PROVIDER_PERS: Service provider personalization.
+ * @MM_MODEM_3GPP_FACILITY_CORP_PERS: Corporate personalization.
+ *
+ * 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.
+ */
+typedef enum { /*< underscore_name=mm_modem_3gpp_facility >*/
+ MM_MODEM_3GPP_FACILITY_NONE = 0x00,
+ MM_MODEM_3GPP_FACILITY_SIM = 0x01,
+ MM_MODEM_3GPP_FACILITY_FIXED_DIALING = 0x02,
+ MM_MODEM_3GPP_FACILITY_PH_SIM = 0x04,
+ MM_MODEM_3GPP_FACILITY_PH_FSIM = 0x08,
+ MM_MODEM_3GPP_FACILITY_NET_PERS = 0x10,
+ MM_MODEM_3GPP_FACILITY_NET_SUB_PERS = 0x20,
+ MM_MODEM_3GPP_FACILITY_PROVIDER_PERS = 0x40,
+ MM_MODEM_3GPP_FACILITY_CORP_PERS = 0x80
+} MMModem3gppFacility;
+
+#endif /* _MODEMMANAGER_ENUMS_H_ */
diff --git a/new/org.freedesktop.ModemManager1.Bearer.xml b/new/org.freedesktop.ModemManager1.Bearer.xml
index 11c16852..ce7ca612 100644
--- a/new/org.freedesktop.ModemManager1.Bearer.xml
+++ b/new/org.freedesktop.ModemManager1.Bearer.xml
@@ -228,26 +228,5 @@
-->
<property name="Ip6Config" type="a{sv}" access="read" />
- <!-- ENUMS -->
- <tp:enum name="MM_MODEM_BEARER_IP_METHOD" type="u">
- <tp:enumvalue suffix="PPP" value="0">
- <tp:docstring>
- Connection managers should use PPP to get the address.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="STATIC" value="1">
- <tp:docstring>
- Connection managers should use the provided static IP configuration
- given by the modem to configure the IP data interface.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="DHCP" value="2">
- <tp:docstring>
- Connection managers should begin DHCP on the data interface to obtain
- necessary IP configuration details.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
</interface>
</node>
diff --git a/new/org.freedesktop.ModemManager1.Modem.3gpp.xml b/new/org.freedesktop.ModemManager1.Modem.3gpp.xml
index 5b1368ff..e3830fb4 100644
--- a/new/org.freedesktop.ModemManager1.Modem.3gpp.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.3gpp.xml
@@ -138,44 +138,6 @@
-->
<property name="EnabledFacilityLocks" type="u" access="read" />
- <!-- ENUMS -->
-
- <tp:enum name="MM_MODEM_3GPP_REGISTRATION_STATE" type="u">
- <tp:docstring>
- GSM registration code as defined in 3GPP TS 27.007 section 10.1.19.
- </tp:docstring>
- <tp:enumvalue suffix="IDLE" value="0">
- <tp:docstring>
- Not registered, not searching for new operator to register.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="HOME" value="1">
- <tp:docstring>
- Registered on home network.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SEARCHING" value="2">
- <tp:docstring>
- Not registered, searching for new operator to register with.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="DENIED" value="3">
- <tp:docstring>
- Registration denied.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="UNKNOWN" value="4">
- <tp:docstring>
- Unknown registration status.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ROAMING" value="5">
- <tp:docstring>
- Registered on a roaming network.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
</interface>
</node>
diff --git a/new/org.freedesktop.ModemManager1.Modem.Cdma.xml b/new/org.freedesktop.ModemManager1.Modem.Cdma.xml
index ca9b5db6..ebe3924b 100644
--- a/new/org.freedesktop.ModemManager1.Modem.Cdma.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.Cdma.xml
@@ -120,85 +120,5 @@
-->
<property name="EvdoRegistrationState" type="u" access="read" />
- <!-- ENUMS -->
-
- <tp:enum name="MM_MODEM_CDMA_REGISTRATION_STATE" type="u">
- <tp:enumvalue suffix="UNKNOWN" value="0">
- <tp:docstring>Registration status is unknown or the device is not registered.</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="REGISTERED" value="1">
- <tp:docstring>Registered, but roaming status is unknown or cannot be provided by the device. The device may or may not be roaming.</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="HOME" value="2">
- <tp:docstring>Currently registered on the home network.</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ROAMING" value="3">
- <tp:docstring>Currently registered on a roaming network.</tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
- <tp:enum name="MM_MODEM_CDMA_ACTIVATION_STATE" type="u">
- <tp:enumvalue suffix="NOT_ACTIVATED" value="0">
- <tp:docstring>Device is not activated</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ACTIVATING" value="1">
- <tp:docstring>Device is activating</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PARTIALLY_ACTIVATED" value="2">
- <tp:docstring>Device is partially activated; carrier-specific steps required to continue.</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ACTIVATED" value="3">
- <tp:docstring>Device is ready for use.</tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
- <tp:enum name="MM_MODEM_CDMA_ACTIVATION_ERROR" type="u">
- <tp:enumvalue suffix="NO_ERROR" value="0"/>
- <tp:enumvalue suffix="ROAMING" value="1">
- <tp:docstring>
- Device cannot activate while roaming.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="WRONG_RADIO_INTERFACE" value="2">
- <tp:docstring>
- Device cannot activate on this network type (eg EVDO vs 1xRTT).
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="COULD_NOT_CONNECT" value="3">
- <tp:docstring>
- Device could not connect to the network for activation.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SECURITY_AUTHENTICATION_FAILED" value="4">
- <tp:docstring>
- Device could not authenticate to the network for activation.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PROVISIONING_FAILED" value="5">
- <tp:docstring>
- Later stages of device provisioning failed.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="NO_SIGNAL" value="6">
- <tp:docstring>
- No signal available.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="UNKNOWN" value="7">
- <tp:docstring>
- An error occurred.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="TIMED_OUT" value="8">
- <tp:docstring>
- Activation timed out.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="START_FAILED" value="9">
- <tp:docstring>
- API call for initial activation failed.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
</interface>
</node>
diff --git a/new/org.freedesktop.ModemManager1.Modem.Contacts.xml b/new/org.freedesktop.ModemManager1.Modem.Contacts.xml
index 1fb4d236..da681b4f 100644
--- a/new/org.freedesktop.ModemManager1.Modem.Contacts.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.Contacts.xml
@@ -173,28 +173,5 @@
<arg name="index" type="u" />
</signal>
- <!-- ENUMS -->
-
- <tp:enum name="MM_MODEM_CONTACTS_STORAGE" type="u">
- <tp:docstring>
- Specifies different storage locations for contact information.
- </tp:docstring>
- <tp:enumvalue suffix="ME" value="0">
- <tp:docstring>
- Store information in device's local memory.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SM" value="1">
- <tp:docstring>
- Store information in a card inserted in the device (like a SIM/RUIM).
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="MT" value="2">
- <tp:docstring>
- Store information in the combined device/ME and SIM/SM phonebook.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
</interface>
</node>
diff --git a/new/org.freedesktop.ModemManager1.Modem.Location.xml b/new/org.freedesktop.ModemManager1.Modem.Location.xml
index 2532a46d..6b80fdd2 100644
--- a/new/org.freedesktop.ModemManager1.Modem.Location.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.Location.xml
@@ -247,149 +247,6 @@
-->
<property name="Location" type="a{uv}" access="read" />
- <!-- ENUMS -->
-
- <tp:flags name="MM_MODEM_LOCATION_CAPABILITIES" value-prefix="MM_MODEM_LOCATION_CAPABILITY" type="u">
- <tp:flag suffix="UNKNOWN" value="0x0">
- <tp:docstring><p>Unknown or no capabilties.</p></tp:docstring>
- </tp:flag>
- <tp:flag suffix="GPS_NMEA" value="0x1">
- <tp:docstring>
- <p>For capability reporting, indicates the device is capable of
- providing GPS NMEA-format location information.</p>
-
- <p>For location reporting, devices supporting this capability return
- a string containing one or more NMEA sentences (D-Bus signature 's').
- The manager will cache the most recent NMEA sentence of each type for
- a period of time not less than 30 seconds. When reporting multiple
- NMEA sentences, sentences shall be separated by an ASCII Carriage
- Return and Line Feed (&lt;CR&gt;&lt;LF&gt;) sequence.
- </p>
- <p>
- For example, if the device sends a $GPRMC sentence immediately
- followed by a $GPGGA sentence, the reported location string would be
- (where of course the &lt;CR&gt;&lt;LF&gt; is replaced with the actual
- ASCII CR (0x0D) and LF (0x0A) control characters):
- <pre>
- $GPRMC,134523.92,V,,,,,,,030136,,,N*73&lt;CR&gt;&lt;LF&gt;$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45
- </pre>
- If the device sends a new $GPRMC three seconds later, the new $GPRMC
- replaces the previously received $GPRMC sentence, and the updated
- string would be:
- <pre>
- $GPRMC,134526.92,V,,,,,,,030136,,,N*76&lt;CR&gt;&lt;LF&gt;$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45
- </pre>
- If the device then sends a $GPGSA sentence about 5 seconds later, the
- $GPGSA sentence is added to the string (since no $GPGSA sentence was
- previously received in this session), the updated string would be:
- <pre>
- $GPRMC,134526.92,V,,,,,,,030136,,,N*76&lt;CR&gt;&lt;LF&gt;$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45&lt;CR&gt;&lt;LF&gt;$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
- </pre>
- The manager may discard any cached sentences older than 30 seconds.
- </p>
- <p>This allows clients to read the latest positioning data as soon as
- possible after they start, even if the device is not providing
- frequent location data updates.
- </p>
- </tp:docstring>
- </tp:flag>
- <tp:flag suffix="GSM_LAC_CI" value="0x2">
- <tp:docstring>
- <p>For capability reporting, indicates the device is capable of
- providing GSM Location Area Code/Cell ID location information.</p>
-
- <p>For location reporting, devices supporting this
- capability return a string in the format "MCC,MNC,LAC,CI" (without the
- quotes of course) where the following applies:</p>
- <ul>
- <li>
- MCC is the three-digit ITU E.212 Mobile Country Code of the
- network provider to which the mobile is currently registered.
- This value should be the same MCC as reported by the
- org.freedesktop.Modem.Gsm.Network.GetRegistrationInfo() method's
- returned "operator code" argument.
- e.g. "310"
- </li>
- <li>
- MNC is the two- or three-digit GSM Mobile Network Code of the
- network provider to which the mobile is currently registered.
- This value should be the same MCC as reported by the
- org.freedesktop.Modem.Gsm.Network.GetRegistrationInfo() method's
- returned "operator code" argument.
- e.g. "26" or "260"
- </li>
- <li>
- LAC is the two-byte Location Area Code of the base station with
- which the mobile is registered, in upper-case hexadecimal format
- without leading zeros, as specified in 3GPP TS 27.007 section
- 10.1.19. e.g. "84CD".
- </li>
- <li>
- CI is the two- or four-byte Cell Identifier with which the mobile
- is registered, in upper-case hexadecimal format without leading
- zeros, as specified in 3GPP TS 27.007. e.g. "2BAF" or "D30156".
- </li>
- </ul>
- <p>The entire string may only be composed of the ASCII digits [0-9],
- the alphabetical characters [A-F], and the comma (,) character. No
- other characters are allowed. For example: "310,260,8BE3,2BAF" or
- "250,40,CE00,1CEAD8F0".</p>
-
- <p>If any of these four items (MCC,MNC,LAC,CI) is unknown or the
- mobile is not registered with a network, then the GSM_LAC_CI location
- information item should not be provided as a returned value from the
- GetLocation() method or in the Location property.</p>
- </tp:docstring>
- </tp:flag>
- <tp:flag suffix="GPS_RAW" value="0x4">
- <tp:docstring>
- <p>For capability reporting, indicates the device is capable of
- providing raw GPS information using a series of defined key/value
- pairs.</p>
-
- <p>For location reporting, devices supporting this
- capability return a D-Bus dict (signature a{sv}) mapping well-known
- keys to values with defined formats. The allowed key/value pairs
- and their formats are:</p>
- <table>
- <tr><th>Key</th><th>Value Type</th><th>Value contents</th><th>Example</th></tr>
- <tr>
- <td>latitude</td>
- <td>d</td>
- <td>Latitude in Decimal Degrees (positive numbers mean N quadrasphere, negative mean S quadrasphere)</td>
- <td>38.889722 (ie, 38d 53' 22" N)</td>
- </tr>
- <tr>
- <td>longitude</td>
- <td>d</td>
- <td>Longitude in Decimal Degrees (positive numbers mean E quadrasphere, negative mean W quadrasphere)</td>
- <td>-77.008889 (ie, 77d 0' 32" W)</td>
- </tr>
- <tr>
- <td>altitude</td>
- <td>d</td>
- <td>Altitude above sea level in meters</td>
- <td>33.5</td>
- </tr>
- <tr>
- <td>horiz-velocity</td>
- <td>d</td>
- <td>Horizontal velocity in meters-per-second</td>
- <td>.5</td>
- </tr>
- <tr>
- <td>vert-velocity</td>
- <td>d</td>
- <td>Vertical velocity in meters-per-second</td>
- <td>.01</td>
- </tr>
- </table>
- <p>The 'latitude' and 'longitude' keys are required; other keys are
- optional.</p>
- </tp:docstring>
- </tp:flag>
- </tp:flags>
-
</interface>
</node>
diff --git a/new/org.freedesktop.ModemManager1.Modem.xml b/new/org.freedesktop.ModemManager1.Modem.xml
index 4711b24d..0dbb5be9 100644
--- a/new/org.freedesktop.ModemManager1.Modem.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.xml
@@ -415,408 +415,5 @@
-->
<property name="AllowedBands" type="t" access="read" />
- <!-- ENUMS -->
-
- <tp:flags name="MM_MODEM_CAPABILITIES" value-prefix="MM_MODEM_CAPABILITY" type="u">
- <tp:docstring>
- Flags describing one or more of the general access technology families
- that a modem supports.
- </tp:docstring>
- <tp:flag suffix="NONE" value="0x0">
- <tp:docstring>Modem has no capabilties.</tp:docstring>
- </tp:flag>
- <tp:flag suffix="POTS" value="0x1">
- <tp:docstring>
- Modem supports the analog wired telephone network (ie 56k dialup) and
- does not have wireless/cellular capabilities.
- </tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_EVDO" value="0x2">
- <tp:docstring>
- Modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO
- revision A, or EVDO revision B.
- </tp:docstring>
- </tp:flag>
- <tp:flag suffix="GSM_UMTS" value="0x4">
- <tp:docstring>
- Modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or
- HSPA+ packet switched data capability.
- </tp:docstring>
- </tp:flag>
- <tp:flag suffix="LTE" value="0x8">
- <tp:docstring>
- Modem has LTE data capability.
- </tp:docstring>
- </tp:flag>
- <tp:flag suffix="LTE_ADVANCED" value="0x10">
- <tp:docstring>
- Modem has LTE Advanced data capability.
- </tp:docstring>
- </tp:flag>
- </tp:flags>
-
- <tp:enum name="MM_MODEM_LOCK" type="u">
- <tp:enumvalue suffix="UNKNOWN" value="0">
- <tp:docstring>
- Lock reason unknown.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="NONE" value="1">
- <tp:docstring>
- Modem is unlocked.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SIM_PIN" value="2">
- <tp:docstring>
- SIM requires the PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SIM_PIN2" value="3">
- <tp:docstring>
- SIM requires the PIN2 code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SIM_PUK" value="4">
- <tp:docstring>
- SIM requires the PUK code
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SIM_PUK2" value="5">
- <tp:docstring>
- SIM requires the PUK2 code
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_SP_PIN" value="6">
- <tp:docstring>
- Modem requires the service provider PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_SP_PUK" value="7">
- <tp:docstring>
- Modem requires the service provider PUK code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_NET_PIN" value="8">
- <tp:docstring>
- Modem requires the network PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_NET_PUK" value="9">
- <tp:docstring>
- Modem requires the network PUK code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_SIM_PIN" value="10">
- <tp:docstring>
- Modem requires the PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_CORP_PIN" value="11">
- <tp:docstring>
- Modem requires the corporate PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_CORP_PUK" value="12">
- <tp:docstring>
- Modem requires the corporate PUK code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_FSIM_PIN" value="13">
- <tp:docstring>
- Modem requires the FSIM-PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_FSIM_PUK" value="14">
- <tp:docstring>
- Modem requires the FSIM-PUK code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_NETSUB_PIN" value="15">
- <tp:docstring>
- Modem requires the network subset PIN code.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="PH_NETSUB_PUK" value="16">
- <tp:docstring>
- Modem requires the network subset PUK code.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
- <tp:enum name="MM_MODEM_STATE" type="u">
- <tp:enumvalue suffix="UNKNOWN" value="0">
- <tp:docstring>
- State unknown or not reportable.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="DISABLED" value="10">
- <tp:docstring>
- The modem is not enabled and is powered down.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="DISABLING" value="20">
- <tp:docstring>
- The modem is current transitioning to the DISABLED state.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ENABLING" value="30">
- <tp:docstring>
- The modem is currently transitioning to the ENABLED state.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ENABLED" value="40">
- <tp:docstring>
- The modem is enabled and powered on but not registered with a network
- provider and not available for data connections.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SEARCHING" value="50">
- <tp:docstring>
- The modem is searching for a network provider to register with.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="REGISTERED" value="60">
- <tp:docstring>
- The modem is registered with a network provider, and data connections
- and messaging may be available for use.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="DISCONNECTING" value="70">
- <tp:docstring>
- 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.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="CONNECTING" value="80">
- <tp:docstring>
- 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.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="CONNECTED" value="90">
- <tp:docstring>
- One or more packet data bearers is active and connected.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
- <tp:enum name="MM_MODEM_STATE_CHANGED_REASON" type="u">
- <tp:enumvalue suffix="UNKNOWN" value="0">
- <tp:docstring>
- Reason unknown or not reportable.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="USER_REQUESTED" value="1">
- <tp:docstring>
- State change was requested by an interface user.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SUSPEND" value="2">
- <tp:docstring>
- State change was caused by a system suspend.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
- <tp:enum name="MM_MODEM_ACCESS_TECH" type="u">
- <tp:docstring>
- Describes various access technologies that a device uses when registered
- with or connected to a network.
- </tp:docstring>
- <tp:enumvalue suffix="UNKNOWN" value="0">
- <tp:docstring>The access technology used is unknown</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="POTS" value="1">
- <tp:docstring>Analog wireline telephone</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="GSM" value="2">
- <tp:docstring>GSM</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="GSM_COMPACT" value="3">
- <tp:docstring>Compact GSM</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="GPRS" value="4">
- <tp:docstring>GPRS</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="EDGE" value="5">
- <tp:docstring>EDGE (ETSI 27.007: "GSM w/EGPRS")</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="UMTS" value="6">
- <tp:docstring>UMTS (ETSI 27.007: "UTRAN")</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="HSDPA" value="7">
- <tp:docstring>HSDPA (ETSI 27.007: "UTRAN w/HSDPA")</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="HSUPA" value="8">
- <tp:docstring>HSUPA (ETSI 27.007: "UTRAN w/HSUPA")</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="HSPA" value="9">
- <tp:docstring>HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA")</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="HSPA_PLUS" value="10">
- <tp:docstring>HSPA+ (ETSI 27.007: "UTRAN w/HSPA+")</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="1XRTT" value="11">
- <tp:docstring>CDMA2000 1xRTT</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="EVDO0" value="12">
- <tp:docstring>CDMA2000 EVDO revision 0</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="EVDOA" value="13">
- <tp:docstring>CDMA2000 EVDO revision A</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="EVDOB" value="14">
- <tp:docstring>CDMA2000 EVDO revision B</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="LTE" value="15">
- <tp:docstring>LTE (ETSI 27.007: "E-UTRAN")</tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
- <tp:enum name="MM_MODEM_MODE" type="u">
- <tp:docstring>
- Bitfield to indicate which access modes are supported, allowed or
- preferred in a given device.
- </tp:docstring>
- <tp:enumvalue suffix="NONE" value="0x00">
- <tp:docstring>None</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="1G" value="0x01">
- <tp:docstring>CSD, GSM</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="2G" value="0x02">
- <tp:docstring>GPRS, EDGE</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="3G" value="0x04">
- <tp:docstring>UMTS, HSxPA</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="4G" value="0x08">
- <tp:docstring>LTE</tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="ANY" value="0xFFFFFFFF">
- <tp:docstring>
- Any mode can be used (only this value allowed for POTS modems)
- </tp:docstring>
- </tp:enum>
-
- <tp:flags name="MM_MODEM_BAND" value-prefix="MM_MODEM_BAND" type="u">
- <tp:docstring>
- A 64-bit wide bitfield describing the specific radio bands supported by
- the device and the radio bands the device is allowed to use when
- connecting to a mobile network.
- </tp:docstring>
- <tp:flag suffix="UNKNOWN" value="0x0">
- <tp:docstring>Unknown or invalid band</tp:docstring>
- </tp:flag>
- <tp:flag suffix="ANY" value="0x1">
- <tp:docstring>For certain operations, allow the modem to select a band automatically.</tp:docstring>
- </tp:flag>
-
- <!-- GSM/UMTS/3GPP bands -->
- <tp:flag suffix="EGSM" value="0x2">
- <tp:docstring>GSM/GPRS/EDGE 900 MHz</tp:docstring>
- </tp:flag>
- <tp:flag suffix="DCS" value="0x4">
- <tp:docstring>GSM/GPRS/EDGE 1800 MHz</tp:docstring>
- </tp:flag>
- <tp:flag suffix="PCS" value="0x8">
- <tp:docstring>GSM/GPRS/EDGE 1900 MHz</tp:docstring>
- </tp:flag>
- <tp:flag suffix="G850" value="0x10">
- <tp:docstring>GSM/GPRS/EDGE 850 MHz</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U2100" value="0x20">
- <tp:docstring>WCDMA 2100 MHz (Class I)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U1800" value="0x40">
- <tp:docstring>WCDMA 3GPP 1800 MHz (Class III)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U17IV" value="0x80">
- <tp:docstring>WCDMA 3GPP AWS 1700/2100 MHz (Class IV)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U800" value="0x100">
- <tp:docstring>WCDMA 3GPP UMTS 800 MHz (Class VI)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U850" value="0x200">
- <tp:docstring>WCDMA 3GPP UMTS 850 MHz (Class V)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U900" value="0x400">
- <tp:docstring>WCDMA 3GPP UMTS 900 MHz (Class VIII)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U17IX" value="0x800">
- <tp:docstring>WCDMA 3GPP UMTS 1700 MHz (Class IX)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U1900" value="0x1000">
- <tp:docstring>WCDMA 3GPP UMTS 1900 MHz (Class II)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="U2600" value="0x2000">
- <tp:docstring>WCDMA 3GPP UMTS 2600 MHz (Class VII, internal)</tp:docstring>
- </tp:flag>
-
- <!-- CDMA Band Classes (see 3GPP2 C.S0057-C) -->
- <tp:flag suffix="CDMA_BC0_CELLULAR_800" value="0x0000000100000000">
- <tp:docstring>CDMA Band Class 0 (US Cellular 850MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC1_PCS_1900" value="0x0000000200000000">
- <tp:docstring>CDMA Band Class 1 (US PCS 1900MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC2_TACS" value="0x0000000400000000">
- <tp:docstring>CDMA Band Class 2 (UK TACS 900MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC3_JTACS" value="0x0000000800000000">
- <tp:docstring>CDMA Band Class 3 (Japanese TACS)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC4_KOREAN_PCS" value="0x0000001000000000">
- <tp:docstring>CDMA Band Class 4 (Korean PCS)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC5_NMT450" value="0x0000002000000000">
- <tp:docstring>CDMA Band Class 5 (NMT 450MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC6_IMT2000" value="0x0000004000000000">
- <tp:docstring>CDMA Band Class 6 (IMT2000 2100MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC7_CELLULAR_700" value="0x0000008000000000">
- <tp:docstring>CDMA Band Class 7 (Cellular 700MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC8_1800" value="0x0000010000000000">
- <tp:docstring>CDMA Band Class 8 (1800MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC9_900" value="0x0000020000000000">
- <tp:docstring>CDMA Band Class 9 (900MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC10_SECONDARY_800" value="0x0000040000000000">
- <tp:docstring>CDMA Band Class 10 (US Secondary 800)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC11_PAMR_400" value="0x0000080000000000">
- <tp:docstring>CDMA Band Class 11 (European PAMR 400MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC12_PAMR_800" value="0x0000100000000000">
- <tp:docstring>CDMA Band Class 12 (PAMR 800MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC13_IMT2000_2500" value="0x0000200000000000">
- <tp:docstring>CDMA Band Class 13 (IMT2000 2500MHz Expansion)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC14_PCS2_1900" value="0x0000400000000000">
- <tp:docstring>CDMA Band Class 14 (More US PCS 1900MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC15_AWS" value="0x0000800000000000">
- <tp:docstring>CDMA Band Class 15 (AWS 1700MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC16_US_2500" value="0x0001000000000000">
- <tp:docstring>CDMA Band Class 16 (US 2500MHz)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC17_US_FLO_2500" value="0x0002000000000000">
- <tp:docstring>CDMA Band Class 17 (US 2500MHz Forward Link Only)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC18_US_PS_700" value="0x0004000000000000">
- <tp:docstring>CDMA Band Class 18 (US 700MHz Public Safety)</tp:docstring>
- </tp:flag>
- <tp:flag suffix="CDMA_BC19_US_LOWER_700" value="0x0008000000000000">
- <tp:docstring>CDMA Band Class 19 (US Lower 700MHz)</tp:docstring>
- </tp:flag>
- </tp:flags>
-
</interface>
</node>
diff --git a/new/org.freedesktop.ModemManager1.Sms.xml b/new/org.freedesktop.ModemManager1.Sms.xml
index 64ab1750..62f4be2d 100644
--- a/new/org.freedesktop.ModemManager1.Sms.xml
+++ b/new/org.freedesktop.ModemManager1.Sms.xml
@@ -94,40 +94,5 @@
-->
<property name="Timestamp" type="s" access="read" />
- <!-- ENUMS -->
-
- <tp:enum name="MM_MODEM_SMS_STATE" type="u">
- <tp:enumvalue suffix="UNKNOWN" value="0">
- <tp:docstring>
- State unknown or not reportable.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="STORED" value="0">
- <tp:docstring>
- The message has been neither received nor yet sent.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="RECEIVING" value="1">
- <tp:docstring>
- The message is being received but is not yet complete.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="RECEIVED" value="2">
- <tp:docstring>
- The message received and is complete.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SENDING" value="3">
- <tp:docstring>
- The message is queued for delivery.
- </tp:docstring>
- </tp:enumvalue>
- <tp:enumvalue suffix="SENT" value="4">
- <tp:docstring>
- The message was successfully sent.
- </tp:docstring>
- </tp:enumvalue>
- </tp:enum>
-
</interface>
</node>