summaryrefslogtreecommitdiff
path: root/src/libqmi-glib/qmi-enums-uim.h
diff options
context:
space:
mode:
authorMichal Mazur <mkm@semihalf.com>2020-11-20 21:17:50 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-09 10:16:32 +0000
commite12924547673d4ce5cb797016315582aca84d79b (patch)
tree3cec85af8cb8d6fe6a70b438299f41173267bfea /src/libqmi-glib/qmi-enums-uim.h
parentd16fcba30af2a190882d0bc958ef4958d35a56d6 (diff)
downloadlibqmi-e12924547673d4ce5cb797016315582aca84d79b.tar.gz
uim: new 'Get Configuration' and 'Depersonalization' requests
Define two UIM messages needed to get personalization status and remove modem locks.
Diffstat (limited to 'src/libqmi-glib/qmi-enums-uim.h')
-rw-r--r--src/libqmi-glib/qmi-enums-uim.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libqmi-glib/qmi-enums-uim.h b/src/libqmi-glib/qmi-enums-uim.h
index e95d1493..9ec27232 100644
--- a/src/libqmi-glib/qmi-enums-uim.h
+++ b/src/libqmi-glib/qmi-enums-uim.h
@@ -468,4 +468,35 @@ typedef enum { /*< since=1.26 >*/
QMI_UIM_CARD_PROTOCOL_UICC = 2,
} QmiUimCardProtocol;
+/**
+ * QmiUimConfiguration:
+ * @QMI_UIM_CONFIGURATION_AUTOMATIC_SELECTION: Automatic selection.
+ * @QMI_UIM_CONFIGURATION_PERSONALIZATION_STATUS: Personalization status.
+ * @QMI_UIM_CONFIGURATION_HALT_SUBSCRIPTION: Halt publication of subscription.
+ *
+ * Requested configurations. If none explicitly requested, all configuration
+ * items are returned.
+ *
+ * Since: 1.30
+ */
+typedef enum { /*< since=1.30 >*/
+ QMI_UIM_CONFIGURATION_AUTOMATIC_SELECTION = 1 << 0,
+ QMI_UIM_CONFIGURATION_PERSONALIZATION_STATUS = 1 << 1,
+ QMI_UIM_CONFIGURATION_HALT_SUBSCRIPTION = 1 << 2,
+} QmiUimConfiguration;
+
+/**
+ * QmiUimDepersonalizationOperation:
+ * @QMI_UIM_DEPERSONALIZATION_OPERATION_DEACTIVATE: Deactivate personalization
+ * @QMI_UIM_DEPERSONALIZATION_OPERATION_UNBLOCK: Unblock personalization
+ *
+ * Depersonalization operation to perform.
+ *
+ * Since: 1.30
+ */
+typedef enum { /*< since=1.30 >*/
+ QMI_UIM_DEPERSONALIZATION_OPERATION_DEACTIVATE = 0,
+ QMI_UIM_DEPERSONALIZATION_OPERATION_UNBLOCK = 1,
+} QmiUimDepersonalizationOperation;
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_UIM_H_ */