aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-10-15 18:29:18 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-10-15 18:29:18 +0200
commitf2fa7a7fbf739ad38e0c10338bbcc59818c7670e (patch)
tree09372af13b53d3600f5dfa1b23fd57842a34bf25 /include
parent41b7e7b048e67a0b329c820c81beccf42bf0957e (diff)
qcdm: don't retry probing if QCDM unescaping fails
But keep the retries when the frame marker isn't found. https://bugzilla.gnome.org/show_bug.cgi?id=708861
Diffstat (limited to 'include')
-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 b349fd8c..f2dc0b62 100644
--- a/include/ModemManager-errors.h
+++ b/include/ModemManager-errors.h
@@ -226,6 +226,7 @@ typedef enum { /*< underscore_name=mm_connection_error >*/
* @MM_SERIAL_ERROR_FLASH_FAILED: Could not flash the device.
* @MM_SERIAL_ERROR_NOT_OPEN: The serial port is not open.
* @MM_SERIAL_ERROR_PARSE_FAILED: The serial port specific parsing failed.
+ * @MM_SERIAL_ERROR_FRAME_NOT_FOUND: The serial port reported that the frame marker wasn't found (e.g. for QCDM).
*
* Serial errors that may be reported by ModemManager.
*/
@@ -238,6 +239,7 @@ typedef enum { /*< underscore_name=mm_serial_error >*/
MM_SERIAL_ERROR_FLASH_FAILED = 5, /*< nick=FlashFailed >*/
MM_SERIAL_ERROR_NOT_OPEN = 6, /*< nick=NotOpen >*/
MM_SERIAL_ERROR_PARSE_FAILED = 7, /*< nick=ParseFailed >*/
+ MM_SERIAL_ERROR_FRAME_NOT_FOUND = 8, /*< nick=FrameNotFound >*/
} MMSerialError;
/**