diff options
-rw-r--r-- | include/ModemManager-errors.h | 259 | ||||
-rw-r--r-- | new/mm-mobile-error.xml | 318 | ||||
-rw-r--r-- | new/mm-modem-connect-error.xml | 30 | ||||
-rw-r--r-- | new/mm-modem-error.xml | 36 | ||||
-rw-r--r-- | new/mm-serial-error.xml | 24 |
5 files changed, 259 insertions, 408 deletions
diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h new file mode 100644 index 00000000..d6900298 --- /dev/null +++ b/include/ModemManager-errors.h @@ -0,0 +1,259 @@ +/* -*- 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_ERRORS_H_ +#define _MODEMMANAGER_ERRORS_H_ + +/** + * SECTION:mm-errors + * @short_description: Common errors in the API. + * + * This section defines errors that may be reported when using methods from the + * ModemManager interface. + **/ + +/** + * MMCoreError: + * @MM_CORE_ERROR_FAILED: Operation failed. + * @MM_CORE_ERROR_CANCELLED: Operation was cancelled. + * @MM_CORE_ERROR_ABORTED: Operation was aborted. + * @MM_CORE_ERROR_UNSUPPORTED: Operation is not supported. + * @MM_CORE_ERROR_NO_PLUGINS: Cannot operate without valid plugins. + * @MM_CORE_ERROR_UNAUTHORIZED: Authorization is required to perform the operation. + * @MM_CORE_ERROR_INVALID_ARGS: Invalid arguments given. + * @MM_CORE_ERROR_IN_PROGRESS: Operation is already in progress. + * @MM_CORE_ERROR_WRONG_STATE: Operation cannot be executed in the current state. + * + * Common errors that may be reported by ModemManager. + */ +typedef enum { /*< underscore_name=mm_core_error >*/ + MM_CORE_ERROR_FAILED = 0, + MM_CORE_ERROR_CANCELLED = 1, + MM_CORE_ERROR_ABORTED = 2, + MM_CORE_ERROR_UNSUPPORTED = 3, + MM_CORE_ERROR_NO_PLUGINS = 4, + MM_CORE_ERROR_UNAUTHORIZED = 5, + MM_CORE_ERROR_INVALID_ARGS = 6, + MM_CORE_ERROR_IN_PROGRESS = 7, + MM_CORE_ERROR_WRONG_STATE = 8, +} MMCoreError; + +/** + * MMMobileEquipmentError: + * @MM_MOBILE_EQUIPMENT_ERROR_PHONE_FAILURE: Phone failure. + * @MM_MOBILE_EQUIPMENT_ERROR_NO_CONNECTION: No connection to phone. + * @MM_MOBILE_EQUIPMENT_ERROR_LINK_RESERVED: Phone-adaptor link reserved. + * @MM_MOBILE_EQUIPMENT_ERROR_NOT_ALLOWED: Operation not allowed. + * @MM_MOBILE_EQUIPMENT_ERROR_NOT_SUPPORTED: Operation not supported. + * @MM_MOBILE_EQUIPMENT_ERROR_PH_SIM_PIN: PH-SIM PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_PH_FSIM_PIN: PH-FSIM PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_PH_FSIM_PUK: PH-FSIM PUK required. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_NOT_INSERTED: SIM not inserted. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_PIN: SIM PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_PUK: SIM PUK required. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_FAILURE: SIM failure. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_BUSY: SIM busy. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_WRONG: SIM wrong. + * @MM_MOBILE_EQUIPMENT_ERROR_INCORRECT_PASSWORD: Incorrect password. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_PIN2: SIM PIN2 required. + * @MM_MOBILE_EQUIPMENT_ERROR_SIM_PUK2: SIM PUK2 required. + * @MM_MOBILE_EQUIPMENT_ERROR_MEMORY_FULL: Memory full. + * @MM_MOBILE_EQUIPMENT_ERROR_INVALID_INDEX: Invalid index. + * @MM_MOBILE_EQUIPMENT_ERROR_NOT_FOUND: Not found. + * @MM_MOBILE_EQUIPMENT_ERROR_MEMORY_FAILURE: Memory failure. + * @MM_MOBILE_EQUIPMENT_ERROR_TEXT_TOO_LONG: Text string too long. + * @MM_MOBILE_EQUIPMENT_ERROR_INVALID_CHARS: Invalid characters in text string. + * @MM_MOBILE_EQUIPMENT_ERROR_DIAL_STRING_TOO_LONG: Dial string too long. + * @MM_MOBILE_EQUIPMENT_ERROR_DIAL_STRING_INVALID: Invalid characters in dial string. + * @MM_MOBILE_EQUIPMENT_ERROR_NO_NETWORK: No network service. + * @MM_MOBILE_EQUIPMENT_ERROR_NETWORK_TIMEOUT: Network timeout. + * @MM_MOBILE_EQUIPMENT_ERROR_NETWORK_NOT_ALLOWED: Network not allowed - Emergency calls only. + * @MM_MOBILE_EQUIPMENT_ERROR_NETWORK_PIN: Network personalisation PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_NETWORK_PUK: Network personalisation PUK required. + * @MM_MOBILE_EQUIPMENT_ERROR_NETWORK_SUBSET_PIN: Network subset personalisation PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_NETWORK_SUBSET_PUK: Network subset personalisation PUK required. + * @MM_MOBILE_EQUIPMENT_ERROR_SERVICE_PIN: Service provider personalisation PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_SERVICE_PUK: Service provider personalisation PUK required. + * @MM_MOBILE_EQUIPMENT_ERROR_CORP_PIN: Corporate personalisation PIN required. + * @MM_MOBILE_EQUIPMENT_ERROR_CORP_PUK: Corporate personalisation PUK required. + * @MM_MOBILE_EQUIPMENT_ERROR_UNKNOWN: Unknown. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_ILLEGAL_MS: Illegal MS. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_ILLEGAL_ME: Illegal ME. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_NOT_ALLOWED: GPRS service not allowed. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_PLMN_NOT_ALLOWED: PLMN not allowed. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_LOCATION_NOT_ALLOWED: Location area not allowed. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_ROAMING_NOT_ALLOWED: Roaming not allowed in this location area. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_NOT_SUPPORTED: Service option not supported. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_NOT_SUBSCRIBED: Requested service option not subscribed. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_OUT_OF_ORDER: Service option temporarily out of order. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_UNKNOWN: Unspecified GPRS error. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_PDP_AUTH_FAILURE: PDP authentication failure. + * @MM_MOBILE_EQUIPMENT_ERROR_GPRS_INVALID_MOBILE_CLASS: Invalid mobile class. + * + * Enumeration of Mobile Equipment errors, as defined in 3GPP TS 07.07 version 7.8.0. + */ +typedef enum { /*< underscore_name=mm_mobile_equipment_error >*/ + /* General errors */ + MM_MOBILE_EQUIPMENT_ERROR_PHONE_FAILURE = 0, + MM_MOBILE_EQUIPMENT_ERROR_NO_CONNECTION = 1, + MM_MOBILE_EQUIPMENT_ERROR_LINK_RESERVED = 2, + MM_MOBILE_EQUIPMENT_ERROR_NOT_ALLOWED = 3, + MM_MOBILE_EQUIPMENT_ERROR_NOT_SUPPORTED = 4, + MM_MOBILE_EQUIPMENT_ERROR_PH_SIM_PIN = 5, + MM_MOBILE_EQUIPMENT_ERROR_PH_FSIM_PIN = 6, + MM_MOBILE_EQUIPMENT_ERROR_PH_FSIM_PUK = 7, + MM_MOBILE_EQUIPMENT_ERROR_SIM_NOT_INSERTED = 10, + MM_MOBILE_EQUIPMENT_ERROR_SIM_PIN = 11, + MM_MOBILE_EQUIPMENT_ERROR_SIM_PUK = 12, + MM_MOBILE_EQUIPMENT_ERROR_SIM_FAILURE = 13, + MM_MOBILE_EQUIPMENT_ERROR_SIM_BUSY = 14, + MM_MOBILE_EQUIPMENT_ERROR_SIM_WRONG = 15, + MM_MOBILE_EQUIPMENT_ERROR_INCORRECT_PASSWORD = 16, + MM_MOBILE_EQUIPMENT_ERROR_SIM_PIN2 = 17, + MM_MOBILE_EQUIPMENT_ERROR_SIM_PUK2 = 18, + MM_MOBILE_EQUIPMENT_ERROR_MEMORY_FULL = 20, + MM_MOBILE_EQUIPMENT_ERROR_INVALID_INDEX = 21, + MM_MOBILE_EQUIPMENT_ERROR_NOT_FOUND = 22, + MM_MOBILE_EQUIPMENT_ERROR_MEMORY_FAILURE = 23, + MM_MOBILE_EQUIPMENT_ERROR_TEXT_TOO_LONG = 24, + MM_MOBILE_EQUIPMENT_ERROR_INVALID_CHARS = 25, + MM_MOBILE_EQUIPMENT_ERROR_DIAL_STRING_TOO_LONG = 26, + MM_MOBILE_EQUIPMENT_ERROR_DIAL_STRING_INVALID = 27, + MM_MOBILE_EQUIPMENT_ERROR_NO_NETWORK = 30, + MM_MOBILE_EQUIPMENT_ERROR_NETWORK_TIMEOUT = 31, + MM_MOBILE_EQUIPMENT_ERROR_NETWORK_NOT_ALLOWED = 32, + MM_MOBILE_EQUIPMENT_ERROR_NETWORK_PIN = 40, + MM_MOBILE_EQUIPMENT_ERROR_NETWORK_PUK = 41, + MM_MOBILE_EQUIPMENT_ERROR_NETWORK_SUBSET_PIN = 42, + MM_MOBILE_EQUIPMENT_ERROR_NETWORK_SUBSET_PUK = 43, + MM_MOBILE_EQUIPMENT_ERROR_SERVICE_PIN = 44, + MM_MOBILE_EQUIPMENT_ERROR_SERVICE_PUK = 45, + MM_MOBILE_EQUIPMENT_ERROR_CORP_PIN = 46, + MM_MOBILE_EQUIPMENT_ERROR_CORP_PUK = 47, + MM_MOBILE_EQUIPMENT_ERROR_UNKNOWN = 100, + /* GPRS related errors */ + MM_MOBILE_EQUIPMENT_ERROR_GPRS_ILLEGAL_MS = 103, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_ILLEGAL_ME = 106, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_NOT_ALLOWED = 107, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_PLMN_NOT_ALLOWED = 111, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_LOCATION_NOT_ALLOWED = 112, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_ROAMING_NOT_ALLOWED = 113, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_NOT_SUPPORTED = 132, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_NOT_SUBSCRIBED = 133, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_SERVICE_OPTION_OUT_OF_ORDER = 134, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_UNKNOWN = 148, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_PDP_AUTH_FAILURE = 149, + MM_MOBILE_EQUIPMENT_ERROR_GPRS_INVALID_MOBILE_CLASS = 150, +} MMMobileEquipmentError; + +/** + * MMConnectionError: + * @MM_CONNECTION_ERROR_UNKNOWN: Unknown connection error. + * @MM_CONNECTION_ERROR_NO_CARRIER: No carrier. + * @MM_CONNECTION_ERROR_NO_DIALTONE: No dialtone. + * @MM_CONNECTION_ERROR_BUSY: Busy. + * @MM_CONNECTION_ERROR_NO_ANSWER: No answer. + * + * Connection errors that may be reported by ModemManager. + */ +typedef enum { /*< underscore_name=mm_connection_error >*/ + MM_CONNECTION_ERROR_UNKNOWN = 0, + MM_CONNECTION_ERROR_NO_CARRIER = 1, + MM_CONNECTION_ERROR_NO_DIALTONE = 2, + MM_CONNECTION_ERROR_BUSY = 3, + MM_CONNECTION_ERROR_NO_ANSWER = 4, +} MMConnectionError; + +/** + * MMSerialError: + * @MM_SERIAL_ERROR_UNKNOWN: Unknown serial error. + * @MM_SERIAL_ERROR_OPEN_FAILED: Could not open the serial device. + * @MM_SERIAL_ERROR_SEND_FAILED: Could not write to the serial device. + * @MM_SERIAL_ERROR_RESPONSE_TIMEOUT: A response was not received on time. + * @MM_SERIAL_ERROR_OPEN_FAILED_NO_DEVICE: Could not open the serial port, no device. + * @MM_SERIAL_ERROR_FLASH_FAILED: Could not flash the device. + * @MM_SERIAL_ERROR_NOT_OPEN: The serial port is not open. + * + * Serial errors that may be reported by ModemManager. + */ +typedef enum { /*< underscore_name=mm_serial_error >*/ + MM_SERIAL_ERROR_UNKNOWN = 0, + MM_SERIAL_ERROR_OPEN_FAILED = 1, + MM_SERIAL_ERROR_SEND_FAILED = 2, + MM_SERIAL_ERROR_RESPONSE_TIMEOUT = 3, + MM_SERIAL_ERROR_OPEN_FAILED_NO_DEVICE = 4, + MM_SERIAL_ERROR_FLASH_FAILED = 5, + MM_SERIAL_ERROR_NOT_OPEN = 6, +} MMSerialError; + +/** + * MMMessageError: + * @MM_MESSAGE_ERROR_ME_FAILURE: ME failure. + * @MM_MESSAGE_ERROR_SMS_SERVICE_RESERVED: SMS service reserved. + * @MM_MESSAGE_ERROR_NOT_ALLOWED: Operation not allowed. + * @MM_MESSAGE_ERROR_NOT_SUPPORTED: Operation not supported. + * @MM_MESSAGE_ERROR_INVALID_PDU_PARAMETER: Invalid PDU mode parameter. + * @MM_MESSAGE_ERROR_INVALID_TEXT_PARAMETER: Invalid text mode parameter. + * @MM_MESSAGE_ERROR_SIM_NOT_INSERTED: SIM not inserted. + * @MM_MESSAGE_ERROR_SIM_PIN: SIM PIN required. + * @MM_MESSAGE_ERROR_PH_SIM_PIN: PH-SIM PIN required. + * @MM_MESSAGE_ERROR_SIM_FAILURE: SIM failure. + * @MM_MESSAGE_ERROR_SIM_BUSY: SIM busy. + * @MM_MESSAGE_ERROR_SIM_WRONG: SIM wrong. + * @MM_MESSAGE_ERROR_SIM_PUK: SIM PUK required. + * @MM_MESSAGE_ERROR_SIM_PIN2: SIM PIN2 required. + * @MM_MESSAGE_ERROR_SIM_PUK2: SIM PUK2 required. + * @MM_MESSAGE_ERROR_MEMORY_FAILURE: Memory failure. + * @MM_MESSAGE_ERROR_INVALID_INDEX: Invalid index. + * @MM_MESSAGE_ERROR_MEMORY_FULL: Memory full. + * @MM_MESSAGE_ERROR_SMSC_ADDRESS_UNKNOWN: SMSC address unknown. + * @MM_MESSAGE_ERROR_NO_NETWORK: No network. + * @MM_MESSAGE_ERROR_NETWORK_TIMEOUT: Network timeout. + * @MM_MESSAGE_ERROR_NO_CNMA_ACK_EXPECTED: No CNMA Acknowledgement expected. + * @MM_MESSAGE_ERROR_UNKNOWN: Unknown error. + * + * Enumeration of message errors, as defined in 3GPP TS 27.005 version 10 section 3.2.5. + */ +typedef enum { /*< underscore_name=mm_message_error >*/ + /* 0 -> 127 per 3GPP TS 24.011 [6] clause E.2 */ + /* 128 -> 255 per 3GPP TS 23.040 [3] clause 9.2.3.22 */ + MM_MESSAGE_ERROR_ME_FAILURE = 300, + MM_MESSAGE_ERROR_SMS_SERVICE_RESERVED = 301, + MM_MESSAGE_ERROR_NOT_ALLOWED = 302, + MM_MESSAGE_ERROR_NOT_SUPPORTED = 303, + MM_MESSAGE_ERROR_INVALID_PDU_PARAMETER = 304, + MM_MESSAGE_ERROR_INVALID_TEXT_PARAMETER = 305, + MM_MESSAGE_ERROR_SIM_NOT_INSERTED = 310, + MM_MESSAGE_ERROR_SIM_PIN = 311, + MM_MESSAGE_ERROR_PH_SIM_PIN = 312, + MM_MESSAGE_ERROR_SIM_FAILURE = 313, + MM_MESSAGE_ERROR_SIM_BUSY = 314, + MM_MESSAGE_ERROR_SIM_WRONG = 315, + MM_MESSAGE_ERROR_SIM_PUK = 316, + MM_MESSAGE_ERROR_SIM_PIN2 = 317, + MM_MESSAGE_ERROR_SIM_PUK2 = 318, + MM_MESSAGE_ERROR_MEMORY_FAILURE = 320, + MM_MESSAGE_ERROR_INVALID_INDEX = 321, + MM_MESSAGE_ERROR_MEMORY_FULL = 322, + MM_MESSAGE_ERROR_SMSC_ADDRESS_UNKNOWN = 330, + MM_MESSAGE_ERROR_NO_NETWORK = 331, + MM_MESSAGE_ERROR_NETWORK_TIMEOUT = 332, + MM_MESSAGE_ERROR_NO_CNMA_ACK_EXPECTED = 340, + MM_MESSAGE_ERROR_UNKNOWN = 500 +} MMMessageError; + +#endif /* _MODEMMANAGER_ERRORS_H_ */ + diff --git a/new/mm-mobile-error.xml b/new/mm-mobile-error.xml deleted file mode 100644 index 5edbcb76..00000000 --- a/new/mm-mobile-error.xml +++ /dev/null @@ -1,318 +0,0 @@ -<?xml version="1.0" ?> -<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" - namespace="org.freedesktop.ModemManager.Modem.Gsm"> - <tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright> - - <tp:error name="PhoneFailure"> - <tp:docstring> - A phone failure. - </tp:docstring> - </tp:error> - - <tp:error name="NoConnection"> - <tp:docstring> - No connection to phone. - </tp:docstring> - </tp:error> - - <tp:error name="LinkReserved"> - <tp:docstring> - Phone-adaptor link reserved. - </tp:docstring> - </tp:error> - - <tp:error name="OperationNotAllowed"> - <tp:docstring> - Operation not allowed. - </tp:docstring> - </tp:error> - - <tp:error name="OperationNotSupported"> - <tp:docstring> - Operation not supported. - </tp:docstring> - </tp:error> - - <tp:error name="PhSimPinRequired"> - <tp:docstring> - PH-SIM PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="PhFSimPinRequired"> - <tp:docstring> - PH-FSIM PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="PhFSimPukRequired"> - <tp:docstring> - PH-FSIM PUK required. - </tp:docstring> - </tp:error> - - <tp:error name="SimNotInserted"> - <tp:docstring> - SIM not inserted. - </tp:docstring> - </tp:error> - - <tp:error name="SimPinRequired"> - <tp:docstring> - SIM PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="SimPukRequired"> - <tp:docstring> - SIM PUK required. - </tp:docstring> - </tp:error> - - <tp:error name="SimFailure"> - <tp:docstring> - SIM failure. - </tp:docstring> - </tp:error> - - <tp:error name="SimBusy"> - <tp:docstring> - SIM busy. - </tp:docstring> - </tp:error> - - <tp:error name="SimWrong"> - <tp:docstring> - SIM wrong. - </tp:docstring> - </tp:error> - - <tp:error name="IncorrectPassword"> - <tp:docstring> - Incorrect password. - </tp:docstring> - </tp:error> - - <tp:error name="SimPin2Required"> - <tp:docstring> - SIM PIN2 required. - </tp:docstring> - </tp:error> - - <tp:error name="SimPuk2Required"> - <tp:docstring> - SIM PUK2 required. - </tp:docstring> - </tp:error> - - <tp:error name="MemoryFull"> - <tp:docstring> - Memory full. - </tp:docstring> - </tp:error> - - <tp:error name="InvalidIndex"> - <tp:docstring> - Invalid index. - </tp:docstring> - </tp:error> - - <tp:error name="NotFound"> - <tp:docstring> - Not found. - </tp:docstring> - </tp:error> - - <tp:error name="MemoryFailure"> - <tp:docstring> - Memory failure. - </tp:docstring> - </tp:error> - - <tp:error name="TextTooLong"> - <tp:docstring> - Text string too long. - </tp:docstring> - </tp:error> - - <tp:error name="InvalidChars"> - <tp:docstring> - Invalid characters in text string. - </tp:docstring> - </tp:error> - - <tp:error name="DialStringTooLong"> - <tp:docstring> - Dial string too long. - </tp:docstring> - </tp:error> - - <tp:error name="InvalidDialString"> - <tp:docstring> - Invalid characters in dial string. - </tp:docstring> - </tp:error> - - <tp:error name="NoNetwork"> - <tp:docstring> - No network service. - </tp:docstring> - </tp:error> - - <tp:error name="NetworkTimeout"> - <tp:docstring> - Network timeout. - </tp:docstring> - </tp:error> - - <tp:error name="NetworkNotAllowed"> - <tp:docstring> - Network not allowed - emergency calls only. - </tp:docstring> - </tp:error> - - <tp:error name="NetworkPinRequired"> - <tp:docstring> - Network personalization PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="NetworkPukRequired"> - <tp:docstring> - Network personalization PUK required. - </tp:docstring> - </tp:error> - - <tp:error name="NetworkSubsetPinRequired"> - <tp:docstring> - Network subset personalization PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="NetworkSubsetPukRequired"> - <tp:docstring> - Network subset personalization PUK required. - </tp:docstring> - </tp:error> - - <tp:error name="ServicePinRequired"> - <tp:docstring> - Service provider personalization PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="ServicePukRequired"> - <tp:docstring> - Service provider personalization PUK required. - </tp:docstring> - </tp:error> - - <tp:error name="CorporatePinRequired"> - <tp:docstring> - Corporate personalization PIN required. - </tp:docstring> - </tp:error> - - <tp:error name="CorporatePukRequired"> - <tp:docstring> - Corporate personalization PUK required. - </tp:docstring> - </tp:error> - - <tp:error name="HiddenKeyRequired"> - <tp:docstring> - Hidden key required. This key is required when accessing hidden phonebook entries. - </tp:docstring> - </tp:error> - - <tp:error name="EapMethodNotSupported"> - <tp:docstring> - EAP method not supported. - </tp:docstring> - </tp:error> - - <tp:error name="IncorrectParams"> - <tp:docstring> - Incorrect parameters. - </tp:docstring> - </tp:error> - - <tp:error name="Unknown"> - <tp:docstring> - An unknown error. - </tp:docstring> - </tp:error> - - <tp:error name="GprsIllegalMs"> - <tp:docstring> - Illegal MS. - </tp:docstring> - </tp:error> - - <tp:error name="GprsIllegalMe"> - <tp:docstring> - Illegal ME. - </tp:docstring> - </tp:error> - - <tp:error name="GprsServiceNotAllowed"> - <tp:docstring> - GPRS services not allowed. - </tp:docstring> - </tp:error> - - <tp:error name="GprsPlmnNotAllowed"> - <tp:docstring> - PLMN not allowed. - </tp:docstring> - </tp:error> - - <tp:error name="GprsLocationNotAllowed"> - <tp:docstring> - Location area not allowed. - </tp:docstring> - </tp:error> - - <tp:error name="GprsRoamingNotAllowed"> - <tp:docstring> - Roaming not allowed in this location area. - </tp:docstring> - </tp:error> - - <tp:error name="GprsOptionNotSupported"> - <tp:docstring> - Service option not supported. - </tp:docstring> - </tp:error> - - <tp:error name="GprsNotSubscribed"> - <tp:docstring> - Requested service option not subscribed. - </tp:docstring> - </tp:error> - - <tp:error name="GprsOutOfOrder"> - <tp:docstring> - Service option temporarily out of order. - </tp:docstring> - </tp:error> - - <tp:error name="GprsPdpAuthFailure"> - <tp:docstring> - PDP authentication failure. - </tp:docstring> - </tp:error> - - <tp:error name="GprsUnspecified"> - <tp:docstring> - Unspecified GPRS error - </tp:docstring> - </tp:error> - - <tp:error name="GprsInvalidClass"> - <tp:docstring> - Invalid mobile class. - </tp:docstring> - </tp:error> - -</tp:errors> diff --git a/new/mm-modem-connect-error.xml b/new/mm-modem-connect-error.xml deleted file mode 100644 index b983702e..00000000 --- a/new/mm-modem-connect-error.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" ?> -<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" - namespace="org.freedesktop.ModemManager.Modem"> - <tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright> - - <tp:error name="NoCarrier"> - <tp:docstring> - No carrier. - </tp:docstring> - </tp:error> - - <tp:error name="NoDialtone"> - <tp:docstring> - No dialtone. - </tp:docstring> - </tp:error> - - <tp:error name="Busy"> - <tp:docstring> - Busy. - </tp:docstring> - </tp:error> - - <tp:error name="NoAnswer"> - <tp:docstring> - No answer. - </tp:docstring> - </tp:error> - -</tp:errors> diff --git a/new/mm-modem-error.xml b/new/mm-modem-error.xml deleted file mode 100644 index 200e093a..00000000 --- a/new/mm-modem-error.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" ?> -<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" - namespace="org.freedesktop.ModemManager.Modem"> - <tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright> - - <tp:error name="General"> - <tp:docstring> - A generic error. An example of a generic error is ModemManager not being able to parse the response from modem. - </tp:docstring> - </tp:error> - - <tp:error name="OperationNotSupported"> - <tp:docstring> - Operation not implemented by modem. - </tp:docstring> - </tp:error> - - <tp:error name="Connected"> - <tp:docstring> - Operation could not be performed while the modem is connected. - </tp:docstring> - </tp:error> - - <tp:error name="Disconnected"> - <tp:docstring> - Operation could not be performed while the modem is disconnected. - </tp:docstring> - </tp:error> - - <tp:error name="OperationInProgress"> - <tp:docstring> - Operation could not be performed because it is already in progress. - </tp:docstring> - </tp:error> - -</tp:errors> diff --git a/new/mm-serial-error.xml b/new/mm-serial-error.xml deleted file mode 100644 index 338a2232..00000000 --- a/new/mm-serial-error.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" ?> -<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" - namespace="org.freedesktop.ModemManager.Modem"> - <tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright> - - <tp:error name="SerialOpenFailed"> - <tp:docstring> - Could not open serial device. - </tp:docstring> - </tp:error> - - <tp:error name="SerialSendFailed"> - <tp:docstring> - Could not write to the serial device. - </tp:docstring> - </tp:error> - - <tp:error name="SerialResponseTimeout"> - <tp:docstring> - A response was not received in time. - </tp:docstring> - </tp:error> - -</tp:errors> |