novatel: flip secondary ports to AT mode during port setup

This commit is contained in:
Aleksander Morgado
2012-08-20 16:26:55 +02:00
parent 058fd0256d
commit b8e5dbcaf4
3 changed files with 49 additions and 0 deletions
+17
View File
@@ -397,6 +397,23 @@ mm_base_modem_response_processor_no_result_continue (MMBaseModem *self,
return FALSE;
}
gboolean
mm_base_modem_response_processor_continue_on_error (MMBaseModem *self,
gpointer none,
const gchar *command,
const gchar *response,
gboolean last_command,
const GError *error,
GVariant **result,
GError **result_error)
{
if (error)
return FALSE;
*result = NULL;
return TRUE;
}
/*****************************************************************************/
/* Single AT command handling */
+9
View File
@@ -120,6 +120,15 @@ gboolean mm_base_modem_response_processor_no_result_continue (MMBaseModem *self,
const GError *error,
GVariant **result,
GError **result_error);
/* If error, continue sequence, otherwise finish it */
gboolean mm_base_modem_response_processor_continue_on_error (MMBaseModem *self,
gpointer none,
const gchar *command,
const gchar *response,
gboolean last_command,
const GError *error,
GVariant **result,
GError **result_error);
/* Generic AT command handling, using the best AT port available and without
* explicit cancellations. */