aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorTeijo Kinnunen <teijo.kinnunen@uros.com>2020-09-08 09:52:31 +0000
committerAleksander Morgado <aleksander@aleksander.es>2020-09-08 09:52:31 +0000
commit06148aba480a3a336092b5675483e9d6268c50d6 (patch)
tree01bc556e5a43b12e8e4ec31a240e924bd3b22e2c /src/mm-iface-modem.h
parent958ca74391481616db41cd412a9e12556dd21971 (diff)
iface-modem: add mm_iface_modem_check_for_sim_swap function
The function shall be needed for profile switch checking.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 10f22d1e..d12b261f 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -567,4 +567,14 @@ MMModemState mm_iface_modem_wait_for_final_state_finish (MMIfaceModem *self,
void mm_iface_modem_bind_simple_status (MMIfaceModem *self,
MMSimpleStatus *status);
+/* Check if the SIM or eSIM profile has changed */
+void mm_iface_modem_check_for_sim_swap (MMIfaceModem *self,
+ guint slot_index,
+ const gchar *iccid,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_iface_modem_check_for_sim_swap_finish (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
+
#endif /* MM_IFACE_MODEM_H */