aboutsummaryrefslogtreecommitdiff
path: root/plugins/ublox/mm-modem-helpers-ublox.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ublox/mm-modem-helpers-ublox.h')
-rw-r--r--plugins/ublox/mm-modem-helpers-ublox.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.h b/plugins/ublox/mm-modem-helpers-ublox.h
index d00098fd..b67e0e77 100644
--- a/plugins/ublox/mm-modem-helpers-ublox.h
+++ b/plugins/ublox/mm-modem-helpers-ublox.h
@@ -32,4 +32,17 @@ gboolean mm_ublox_parse_uusbconf_response (const gchar *response,
MMUbloxUsbProfile *out_profile,
GError **error);
+/*****************************************************************************/
+/* UBMCONF? response parser */
+
+typedef enum {
+ MM_UBLOX_NETWORKING_MODE_UNKNOWN,
+ MM_UBLOX_NETWORKING_MODE_ROUTER,
+ MM_UBLOX_NETWORKING_MODE_BRIDGE,
+} MMUbloxNetworkingMode;
+
+gboolean mm_ublox_parse_ubmconf_response (const gchar *response,
+ MMUbloxNetworkingMode *out_mode,
+ GError **error);
+
#endif /* MM_MODEM_HELPERS_UBLOX_H */