diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-14 19:46:26 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-16 12:27:57 +0100 |
commit | 37df2643d2334a8ed8b9774396fcd2567a68a6de (patch) | |
tree | 241eddec3baebc77ff9d016fa7db1e0405ad9d15 /plugins/cinterion/mm-modem-helpers-cinterion.h | |
parent | 97eb23a964046abd0724d6fff6d3816f4ab3e220 (diff) |
cinterion: improve ^SMONG response parser:
* Allow whitespaces prefixing the values row.
* Allow more than one \r\n between the title and the table header.
Reported-by: Colin Helliwell <colin.helliwell@ln-systems.com>
Diffstat (limited to 'plugins/cinterion/mm-modem-helpers-cinterion.h')
-rw-r--r-- | plugins/cinterion/mm-modem-helpers-cinterion.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.h b/plugins/cinterion/mm-modem-helpers-cinterion.h index e09c73d6..bcf02f9d 100644 --- a/plugins/cinterion/mm-modem-helpers-cinterion.h +++ b/plugins/cinterion/mm-modem-helpers-cinterion.h @@ -20,6 +20,7 @@ #include <glib.h> +#include <ModemManager.h> #include <mm-base-bearer.h> /*****************************************************************************/ @@ -74,4 +75,11 @@ MMBearerConnectionStatus mm_cinterion_parse_swwan_response (const gchar *respon guint swwan_index, GError **error); +/*****************************************************************************/ +/* ^SMONG response parser */ + +gboolean mm_cinterion_parse_smong_response (const gchar *response, + MMModemAccessTechnology *access_tech, + GError **error); + #endif /* MM_MODEM_HELPERS_CINTERION_H */ |