aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-11-29 16:49:30 -0600
committerDan Williams <dcbw@redhat.com>2010-11-30 10:04:46 -0600
commitea0797cbec7cae4d93807e8ac3a796650ff209a9 (patch)
treec963e8849222f2285fd7007722e399812c51bec4 /src/mm-modem-helpers.h
parent586c9ec2c5ab66c16b934ef5f0b9b6803904ea84 (diff)
gsm: prefer AT+CIND signal quality for modems that support it (lp:682282) (bgo #636040)
Some devices always reply with 99 for AT+CSQ when in UMTS mode (Linktop LW273) so if the modem supports it, use CIND/CIEV instead.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index ed3ada0f..eda6e5d7 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -70,11 +70,13 @@ char *mm_create_device_identifier (guint vid,
gboolean debug);
typedef struct CindResponse CindResponse;
-GHashTable *mm_parse_cind_response (const char *reply, GError **error);
-const char *cind_response_get_desc (CindResponse *r);
-gint cind_response_get_index (CindResponse *r);
-gint cind_response_get_min (CindResponse *r);
-gint cind_response_get_max (CindResponse *r);
+GHashTable *mm_parse_cind_test_response (const char *reply, GError **error);
+const char *cind_response_get_desc (CindResponse *r);
+guint cind_response_get_index (CindResponse *r);
+gint cind_response_get_min (CindResponse *r);
+gint cind_response_get_max (CindResponse *r);
+
+GByteArray *mm_parse_cind_query_response(const char *reply, GError **error);
#endif /* MM_MODEM_HELPERS_H */