aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-08-06 08:57:59 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-10-12 11:29:52 +0200
commit654f718b062b01083786d3a2c19740d204b128c9 (patch)
treefabfd8dc1d427c9717da73e7203f383a225d638f /src/mm-modem-helpers.h
parent81715ee591599d0774b43006691998bb461f8fa9 (diff)
modem-helpers: new +CGCONTRDP=N response parser
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 476b3156..3ab618b2 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -221,6 +221,18 @@ gboolean mm_3gpp_parse_crsm_response (const gchar *reply,
gchar **hex,
GError **error);
+/* AT+CGCONTRDP=N response parser */
+gboolean mm_3gpp_parse_cgcontrdp_response (const gchar *response,
+ guint *out_cid,
+ guint *out_bearer_id,
+ gchar **out_apn,
+ gchar **out_local_address,
+ gchar **out_subnet,
+ gchar **out_gateway_address,
+ gchar **out_dns_primary_address,
+ gchar **out_dns_secondary_address,
+ GError **error);
+
/* Additional 3GPP-specific helpers */
MMModem3gppFacility mm_3gpp_acronym_to_facility (const gchar *str);