aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-modem-helpers-simtech.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-15 10:40:11 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-15 11:14:40 +0200
commit345922caa10fc86dad181ccd83239af1f43fd30e (patch)
tree1900b7bc68b9c0c72044fb17cb5766d1c000cca6 /plugins/simtech/mm-modem-helpers-simtech.h
parent395b22178c4f6dd24d552e82d2d46dfb24c65297 (diff)
simtech: handle non-standard '+CRING' URCs
The SIM7600E ends up emitting these URCs with too many <CR>s, and the generic +CRING handler doesn't catch them, interfering with other actions, e.g.: $ sudo mmcli --call 1 --accept error: couldn't accept the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't accept the call: Unhandled response '+CRING: VOICE +CRING: VOICE''
Diffstat (limited to 'plugins/simtech/mm-modem-helpers-simtech.h')
-rw-r--r--plugins/simtech/mm-modem-helpers-simtech.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/simtech/mm-modem-helpers-simtech.h b/plugins/simtech/mm-modem-helpers-simtech.h
index 1a046f58..b003b029 100644
--- a/plugins/simtech/mm-modem-helpers-simtech.h
+++ b/plugins/simtech/mm-modem-helpers-simtech.h
@@ -45,4 +45,9 @@ gboolean mm_simtech_parse_voice_call_urc (GMatchInfo *match_info,
guint *duration,
GError **error);
+/*****************************************************************************/
+/* Non-standard CRING URC helpers */
+
+GRegex *mm_simtech_get_cring_urc_regex (void);
+
#endif /* MM_MODEM_HELPERS_SIMTECH_H */