aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-20 21:30:27 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-11 12:53:37 +0100
commit0eda648bb9d0fef19bf882f36f853d6aa2699d12 (patch)
tree01a717f12fbb66b367311555ea4274849d1f16e0 /include
parent46016f68fd34676c5d9b8ca51f311455d15d7974 (diff)
libmm-glib,sim: new 'SimType', 'Removability' and 'EsimStatus' properties
Diffstat (limited to 'include')
-rw-r--r--include/ModemManager-enums.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index 765e1c2b..6011f2d0 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -1729,4 +1729,52 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_packet_service_state >*/
MM_MODEM_3GPP_PACKET_SERVICE_STATE_ATTACHED = 2,
} MMModem3gppPacketServiceState;
+/**
+* MMSimType:
+* @MM_SIM_TYPE_UNKNOWN: SIM type is not known.
+* @MM_SIM_TYPE_PHYSICAL: SIM is a pysical SIM.
+* @MM_SIM_TYPE_ESIM: SIM is a ESIM.
+*
+* SIM type indicating whether ESIM or not
+*
+* Since: 1.20
+*/
+typedef enum { /*< underscore_name=mm_sim_type >*/
+ MM_SIM_TYPE_UNKNOWN = 0,
+ MM_SIM_TYPE_PHYSICAL = 1,
+ MM_SIM_TYPE_ESIM = 2,
+} MMSimType;
+
+/**
+* MMSimEsimStatus:
+* @MM_SIM_ESIM_STATUS_UNKNOWN: ESIM status unknown.
+* @MM_SIM_ESIM_STATUS_NO_PROFILES: ESIM with no profiles.
+* @MM_SIM_ESIM_STATUS_WITH_PROFILES: ESIM with profiles.
+*
+* Status of the profiles for ESIM
+*
+* Since: 1.20
+*/
+typedef enum { /*< underscore_name=mm_sim_esim_status >*/
+ MM_SIM_ESIM_STATUS_UNKNOWN = 0,
+ MM_SIM_ESIM_STATUS_NO_PROFILES = 1,
+ MM_SIM_ESIM_STATUS_WITH_PROFILES = 2,
+} MMSimEsimStatus;
+
+/**
+* MMSimRemovability:
+* @MM_SIM_REMOVABILITY_UNKNOWN: SIM removability not known.
+* @MM_SIM_REMOVABILITY_REMOVABLE: SIM is a removable SIM.
+* @MM_SIM_REMOVABILITY_NOT_REMOVABLE: SIM is not a removable SIM.
+*
+* Respresents SIM removability of the current SIM.
+*
+* Since: 1.20
+*/
+typedef enum { /*< underscore_name=mm_sim_removability >*/
+ MM_SIM_REMOVABILITY_UNKNOWN = 0,
+ MM_SIM_REMOVABILITY_REMOVABLE = 1,
+ MM_SIM_REMOVABILITY_NOT_REMOVABLE = 2,
+} MMSimRemovability;
+
#endif /* _MODEMMANAGER_ENUMS_H_ */