aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorTeijo Kinnunen <teijo.kinnunen@uros.com>2021-03-05 14:46:50 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-03-09 16:33:45 +0100
commit8b1ae5afab556d4ff7ce105421b357e0cdae7f1e (patch)
tree5973b141c975ef00fa35685a3824e781df82b306 /src/mm-modem-helpers.h
parent0919abaa2ffa6d3ca42fcd73d7ed2040fabd61be (diff)
modem-helpers,mm-base-sim: Sim.SetPreferredNetworks AT implementation
Implement Sim.SetPreferredNetworks method by using the AT+CPOL command.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 806a8e79..b64e8e01 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -526,14 +526,22 @@ gboolean mm_parse_supl_address (const gchar *supl,
/* +CPOL? response parser (for a single entry) - accepts only numeric operator format*/
gboolean mm_sim_parse_cpol_query_response (const gchar *response,
+ guint *out_index,
gchar **out_operator_code,
gboolean *out_gsm_act,
gboolean *out_gsm_compact_act,
gboolean *out_utran_act,
gboolean *out_eutran_act,
gboolean *out_ngran_act,
+ guint *out_act_count,
GError **error);
+/* +CPOL=? response parser for getting supported min and max index */
+gboolean mm_sim_parse_cpol_test_response (const gchar *response,
+ guint *out_min_index,
+ guint *out_max_index,
+ GError **error);
+
/*****************************************************************************/
/* Useful when clamp-ing an unsigned integer with implicit low limit set to 0,