aboutsummaryrefslogtreecommitdiff
path: root/plugins/ublox/mm-modem-helpers-ublox.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-08-15 12:14:19 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-10-12 13:24:09 +0200
commite6e53467ee738b493cc89c750818ccb688fb5d5f (patch)
tree1a1d75ebee4d2012bb5911257a78257743fec3fd /plugins/ublox/mm-modem-helpers-ublox.h
parent1775544dbc737c40aae31516f8ecc4d1822aac22 (diff)
ublox: new +UGCNTRD? response parser
The parser returns only the results for the CID being specified as input. This is so that we can just query the statistics of the CID currently in use by the bearer.
Diffstat (limited to 'plugins/ublox/mm-modem-helpers-ublox.h')
-rw-r--r--plugins/ublox/mm-modem-helpers-ublox.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.h b/plugins/ublox/mm-modem-helpers-ublox.h
index 06520597..fc25feed 100644
--- a/plugins/ublox/mm-modem-helpers-ublox.h
+++ b/plugins/ublox/mm-modem-helpers-ublox.h
@@ -126,4 +126,15 @@ gchar *mm_ublox_build_urat_set_command (MMModemMode allowed,
MMModemMode preferred,
GError **error);
+/*****************************************************************************/
+/* +UGCNTRD response parser */
+
+gboolean mm_ublox_parse_ugcntrd_response_for_cid (const gchar *response,
+ guint in_cid,
+ guint *session_tx_bytes,
+ guint *session_rx_bytes,
+ guint *total_tx_bytes,
+ guint *total_rx_bytes,
+ GError **error);
+
#endif /* MM_MODEM_HELPERS_UBLOX_H */