diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-01 09:59:13 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-28 14:59:06 +0000 |
commit | 86a183778b5b123f6556ecbe53ec7d06d6e7c575 (patch) | |
tree | b3ba49e4b8d2eb82ecf8bad2713f98faf6c72422 /libmm-glib/mm-sim.h | |
parent | 48973e3d72307ca84375d1c7811eb0b04def91ce (diff) | |
download | ModemManager-86a183778b5b123f6556ecbe53ec7d06d6e7c575.tar.gz |
api,sim: new 'Active' property
In preparation for the multi-SIM setup, we need a way to tell whether
a given SIM card is active or not in the system.
On systems with one single SIM slot, the available SIM card will
always be active.
On Multi-SIM Single-Standby setups we may have multiple SIM slots with
multiple SIM cards, but only one of them will be active at any given
time.
On Multi-SIM Multi-Standby setups we may have multiple SIM slots with
multiple SIM cards that may be active at the same time. E.g. the QMI
protocol allows up to 5 different active SIM cards (primary,
secondary, tertiary...).
Diffstat (limited to 'libmm-glib/mm-sim.h')
-rw-r--r-- | libmm-glib/mm-sim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmm-glib/mm-sim.h b/libmm-glib/mm-sim.h index eee4bc49e..efafea456 100644 --- a/libmm-glib/mm-sim.h +++ b/libmm-glib/mm-sim.h @@ -67,6 +67,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMSim, g_object_unref) const gchar *mm_sim_get_path (MMSim *self); gchar *mm_sim_dup_path (MMSim *self); +gboolean mm_sim_get_active (MMSim *self); + const gchar *mm_sim_get_identifier (MMSim *self); gchar *mm_sim_dup_identifier (MMSim *self); |