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.
This commit is contained in:
Aleksander Morgado
2011-12-01 13:13:19 +01:00
parent 2be2288754
commit 7b12da9169
2 changed files with 3 additions and 0 deletions

View File

@@ -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;
/**