aboutsummaryrefslogtreecommitdiff
path: root/plugins/ublox/mm-modem-helpers-ublox.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-08-02 11:28:43 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-10-12 11:29:51 +0200
commit9d2c2a75cc23a878ff48a1c70377dd49a488cd1a (patch)
treeb96c62fe3938d2c7789d3cdfed3d183743e6e10c /plugins/ublox/mm-modem-helpers-ublox.h
parent241b63304be4ca8a2532401458636ad46b776e45 (diff)
ublox: new 'AT+UBMCONF?' response parser
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 */