diff options
author | Teijo Kinnunen <teijo.kinnunen@uros.com> | 2020-09-28 09:29:09 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-09-28 09:29:09 +0000 |
commit | e91f2ef315526a1a8a1b451acb5a190686b05225 (patch) | |
tree | 171bb5a752e02d6facca6f5c79e43c4771ae6f2b /src/mm-shared-qmi.h | |
parent | 318b2b01e340936e3f3b8d443f89acc432b85190 (diff) |
shared-qmi: implement SIM/profile change detection
Implement eUICC change detection for QMI based modems using one of the
following mechanisms (in order of preference):
1. If the modem supports "get slot status" operation, we monitor
physical slot status indications from the modem for the active
slot to detect when ICCID changes.
2. Use "refresh register all" to subscribe refresh indications when
the eUICC triggers REFRESH operation following the enablement of
a new profile.
3. Use "refresh register" to subscribe refresh indications (file
path of EF_ICCID is used) in a similar way. This is used with
older modems that do not support "refresh register all".
If ICCID change is detected, the already existing SIM hot swap
mechanism in MM is triggered.
Diffstat (limited to 'src/mm-shared-qmi.h')
-rw-r--r-- | src/mm-shared-qmi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-shared-qmi.h b/src/mm-shared-qmi.h index 3b288187..9af00b9d 100644 --- a/src/mm-shared-qmi.h +++ b/src/mm-shared-qmi.h @@ -179,6 +179,12 @@ void mm_shared_qmi_set_primary_sim_slot (MMIfaceMode gboolean mm_shared_qmi_set_primary_sim_slot_finish (MMIfaceModem *self, GAsyncResult *res, GError **error); +void mm_shared_qmi_setup_sim_hot_swap (MMIfaceModem *self, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_shared_qmi_setup_sim_hot_swap_finish (MMIfaceModem *self, + GAsyncResult *res, + GError **error); /* Shared QMI location support */ |