aboutsummaryrefslogtreecommitdiff
path: root/plugins/huawei/mm-modem-helpers-huawei.h
diff options
context:
space:
mode:
authorDavid McCullough <david.mccullough@accelecon.com>2014-08-06 17:30:22 +1000
committerAleksander Morgado <aleksander@aleksander.es>2014-08-11 18:31:46 +0200
commitbd0ffd24f1c95a1974176a1cc0eb6f3444f45e8e (patch)
tree2700751f6f1d65452e27edba1156e25fa97cd257 /plugins/huawei/mm-modem-helpers-huawei.h
parent8c4318d87a5cc604d04913c66ac3e4ebda10bc18 (diff)
huawei: improve support for network time on Huawei modules
Third revision of Huawei nwtime support. Takes on feedback from the mailing list including helpers, some basic tests and use of the ^NTCT command to determine network time support (^NWTIME). Expanded test cases, more use of g_assert and more logical helper return values/errors. Signed-off-by: David McCullough <david.mccullough@accelecon.com>
Diffstat (limited to 'plugins/huawei/mm-modem-helpers-huawei.h')
-rw-r--r--plugins/huawei/mm-modem-helpers-huawei.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/huawei/mm-modem-helpers-huawei.h b/plugins/huawei/mm-modem-helpers-huawei.h
index 05894f34..e225e908 100644
--- a/plugins/huawei/mm-modem-helpers-huawei.h
+++ b/plugins/huawei/mm-modem-helpers-huawei.h
@@ -113,4 +113,20 @@ const MMHuaweiSyscfgexCombination *mm_huawei_parse_syscfgex_response (const gcha
const GArray *supported_mode_combinations,
GError **error);
+/*****************************************************************************/
+/* ^NWTIME response parser */
+
+gboolean mm_huawei_parse_nwtime_response (const gchar *response,
+ gchar **iso8601p,
+ MMNetworkTimezone **tzp,
+ GError **error);
+
+/*****************************************************************************/
+/* ^TIME response parser */
+
+gboolean mm_huawei_parse_time_response (const gchar *response,
+ gchar **iso8601p,
+ MMNetworkTimezone **tzp,
+ GError **error);
+
#endif /* MM_MODEM_HELPERS_HUAWEI_H */