aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-modem-at.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-08-24 11:45:02 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-24 12:32:29 +0200
commitd18dbb869ae0546dc5baa3118535e701fa513b34 (patch)
tree41bf055c669b0d00d4deaece6ea021dba5b2bd17 /src/mm-base-modem-at.c
parentd9ea4a304c06d28c5f8d780abe6f57cc179ba2a8 (diff)
base-modem-at: add 'raw' handling to `mm_base_modem_at_command_full()'
Diffstat (limited to 'src/mm-base-modem-at.c')
-rw-r--r--src/mm-base-modem-at.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mm-base-modem-at.c b/src/mm-base-modem-at.c
index 00dea480..70fbdc46 100644
--- a/src/mm-base-modem-at.c
+++ b/src/mm-base-modem-at.c
@@ -451,8 +451,8 @@ at_command_context_free (AtCommandContext *ctx)
const gchar *
mm_base_modem_at_command_full_finish (MMBaseModem *self,
- GAsyncResult *res,
- GError **error)
+ GAsyncResult *res,
+ GError **error)
{
if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
return NULL;
@@ -497,6 +497,7 @@ mm_base_modem_at_command_full (MMBaseModem *self,
const gchar *command,
guint timeout,
gboolean allow_cached,
+ gboolean is_raw,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -531,14 +532,13 @@ mm_base_modem_at_command_full (MMBaseModem *self,
NULL);
}
-
/* Go on with the command */
if (allow_cached)
mm_at_serial_port_queue_command_cached (
port,
command,
timeout,
- FALSE,
+ is_raw,
ctx->cancellable,
(MMAtSerialResponseFn)at_command_parse_response,
ctx);
@@ -547,7 +547,7 @@ mm_base_modem_at_command_full (MMBaseModem *self,
port,
command,
timeout,
- FALSE,
+ is_raw,
ctx->cancellable,
(MMAtSerialResponseFn)at_command_parse_response,
ctx);
@@ -588,6 +588,7 @@ mm_base_modem_at_command (MMBaseModem *self,
command,
timeout,
allow_cached,
+ FALSE,
NULL,
callback,
user_data);