aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-errors.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-01 13:13:19 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:31 +0100
commit7b12da9169cca545af1d8295859160551ad13d7f (patch)
tree9092b8c16c482b33f00cf0927b7a5f632e8115f8 /include/ModemManager-errors.h
parent2be2288754e3852f4b437d7aa6f43c43d6464c74 (diff)
errors: new MM_CORE_ERROR_CONNECTED error
To be returned when we try to send an AT command to a modem, but there is no usable AT port available, as the primary port is connected (hence the name) and there is no secondary port.
Diffstat (limited to 'include/ModemManager-errors.h')
-rw-r--r--include/ModemManager-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h
index d6900298..5a5b9c8a 100644
--- a/include/ModemManager-errors.h
+++ b/include/ModemManager-errors.h
@@ -36,6 +36,7 @@
* @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.
+ * @MM_CORE_ERROR_CONNECTED: Operation cannot be executed while being connected.
*
* Common errors that may be reported by ModemManager.
*/
@@ -49,6 +50,7 @@ typedef enum { /*< underscore_name=mm_core_error >*/
MM_CORE_ERROR_INVALID_ARGS = 6,
MM_CORE_ERROR_IN_PROGRESS = 7,
MM_CORE_ERROR_WRONG_STATE = 8,
+ MM_CORE_ERROR_CONNECTED = 9,
} MMCoreError;
/**