aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-port-probe-at.c')
-rw-r--r--src/mm-port-probe-at.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mm-port-probe-at.c b/src/mm-port-probe-at.c
index ba9e30cc..fb20a74d 100644
--- a/src/mm-port-probe-at.c
+++ b/src/mm-port-probe-at.c
@@ -91,3 +91,22 @@ mm_port_probe_response_processor_string (const gchar *command,
return TRUE;
}
+
+/* ---- Other ---- */
+
+gboolean
+mm_port_probe_response_processor_no_error (const gchar *command,
+ const gchar *response,
+ gboolean last_command,
+ const GError *error,
+ GVariant **result,
+ GError **result_error)
+{
+ if (error) {
+ *result = g_variant_new_boolean (FALSE);
+ return TRUE;
+ }
+
+ *result = g_variant_new_boolean (TRUE);
+ return TRUE;
+}