diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-09 08:43:56 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-10-12 11:29:52 +0200 |
commit | bde9c4795a0680549f99bac2509f8520e1b2a738 (patch) | |
tree | bd33f11ced877291008db6490072500da8f7d864 /plugins/ublox/mm-modem-helpers-ublox.h | |
parent | 29ace8b12076fc6b8e95dbb32230334c9768c82e (diff) |
ublox: new +URAT? response parser
Diffstat (limited to 'plugins/ublox/mm-modem-helpers-ublox.h')
-rw-r--r-- | plugins/ublox/mm-modem-helpers-ublox.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.h b/plugins/ublox/mm-modem-helpers-ublox.h index 631bbf99..ae633070 100644 --- a/plugins/ublox/mm-modem-helpers-ublox.h +++ b/plugins/ublox/mm-modem-helpers-ublox.h @@ -17,6 +17,7 @@ #define MM_MODEM_HELPERS_UBLOX_H #include <glib.h> +#include <ModemManager.h> /*****************************************************************************/ /* UUSBCONF? response parser */ @@ -70,5 +71,13 @@ GArray *mm_ublox_filter_supported_modes (const gchar *model, GArray *combinations, GError **error); +/*****************************************************************************/ +/* URAT? response parser */ + +gboolean mm_ublox_parse_urat_read_response (const gchar *response, + MMModemMode *out_allowed, + MMModemMode *out_preferred, + GError **error); + #endif /* MM_MODEM_HELPERS_UBLOX_H */ |