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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user