summaryrefslogtreecommitdiff
path: root/src
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
parentd16fcba30af2a190882d0bc958ef4958d35a56d6 (diff)
uim: new 'Get Configuration' and 'Depersonalization' requests
Define two UIM messages needed to get personalization status and remove modem locks.
Diffstat (limited to 'src')
-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 e95d149..9ec2723 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_ */