diff options
author | Thomas Sailer <t.sailer@alumni.ethz.ch> | 2016-02-13 14:19:13 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-02-13 14:27:51 +0100 |
commit | 95876c6f576875503f20f7e3ad27440bffd9067c (patch) | |
tree | 8f1b0b454d8c93aa063dddbc634048d38ecc1b9e /src/mm-modem-helpers.h | |
parent | a33615d6cb087c646de3b1899fbed0f7284f9340 (diff) |
helpers: move +CRSM parsing to mm_3gpp_parse_crsm_response
Also added test cases.
Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index 3be7c7be..975a493b 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -203,6 +203,14 @@ MM3gppPduInfo *mm_3gpp_parse_cmgr_read_response (const gchar *reply, guint index, GError **error); + +/* AT+CRSM response parser */ +gboolean mm_3gpp_parse_crsm_response (const gchar *reply, + guint *sw1, + guint *sw2, + gchar **hex, + GError **error); + /* Additional 3GPP-specific helpers */ MMModem3gppFacility mm_3gpp_acronym_to_facility (const gchar *str); |