diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-06 19:01:27 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-10-12 11:29:52 +0200 |
commit | 61fbab286c3ab231f7fd16c345cc7e352f33bae4 (patch) | |
tree | 145c7f02f3cc137216694068db737b4a904c7f18 /src/mm-modem-helpers.h | |
parent | f2c2a6a05f82450383667eb32dca4fd63488ae4f (diff) |
modem-helpers: new CGACT? response parser
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index 00536889..c7aba903 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -144,6 +144,15 @@ void mm_3gpp_pdp_context_list_free (GList *pdp_list); GList *mm_3gpp_parse_cgdcont_read_response (const gchar *reply, GError **error); +/* AT+CGACT? (active PDP context query) response parser */ +typedef struct { + guint cid; + gboolean active; +} MM3gppPdpContextActive; +void mm_3gpp_pdp_context_active_list_free (GList *pdp_active_list); +GList *mm_3gpp_parse_cgact_read_response (const gchar *reply, + GError **error); + /* CREG/CGREG response/unsolicited message parser */ gboolean mm_3gpp_parse_creg_response (GMatchInfo *info, MMModem3gppRegistrationState *out_reg_state, |