aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/cinterion/mm-modem-helpers-cinterion.h
diff options
context:
space:
mode:
authorLukas Voegl <lvoegl@tdt.de>2024-10-31 15:31:05 +0100
committerAleksander Morgado <aleksander@aleksander.es>2024-11-20 12:07:20 +0000
commit32435b430f9803f348db37e455b4db5298db1d8f (patch)
treec9ce4fb5fb81469b9d9890386e0c4a8563d91d6c /src/plugins/cinterion/mm-modem-helpers-cinterion.h
parent3de6cca46d83d08126cdf0d355a52639d255954b (diff)
broadband-modem-cinterion: never discard operator or mode
When setting an operator, AT+COPS overwrites the currently set allowed mode. Equally, the other way around, when setting the current mode, the configured operator is overwritten. Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Diffstat (limited to 'src/plugins/cinterion/mm-modem-helpers-cinterion.h')
-rw-r--r--src/plugins/cinterion/mm-modem-helpers-cinterion.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/cinterion/mm-modem-helpers-cinterion.h b/src/plugins/cinterion/mm-modem-helpers-cinterion.h
index ad794c86..36b88315 100644
--- a/src/plugins/cinterion/mm-modem-helpers-cinterion.h
+++ b/src/plugins/cinterion/mm-modem-helpers-cinterion.h
@@ -229,4 +229,12 @@ gchar *mm_cinterion_build_sxrat_set_command (MMModemMode allowed,
MMModemMode preferred,
GError **error);
+/*****************************************************************************/
+/* +COPS command helper */
+
+gboolean mm_cinterion_build_cops_set_command (MMModemMode mode,
+ const gchar *operator_code,
+ gchar **out,
+ GError **error);
+
#endif /* MM_MODEM_HELPERS_CINTERION_H */