![]() |
![]() |
![]() |
libqmi-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
enum QmiUimSessionType; enum QmiUimFileType; enum QmiUimSecurityAttributeLogic; enum QmiUimSecurityAttribute; enum QmiUimCardState; enum QmiUimCardError; enum QmiUimPinState; enum QmiUimCardApplicationType; enum QmiUimCardApplicationState; enum QmiUimCardApplicationPersonalizationState; enum QmiUimCardApplicationPersonalizationFeature; const gchar * qmi_uim_session_type_get_string (QmiUimSessionType val
); const gchar * qmi_uim_file_type_get_string (QmiUimFileType val
); const gchar * qmi_uim_security_attribute_logic_get_string (QmiUimSecurityAttributeLogic val
); gchar * qmi_uim_security_attribute_build_string_from_mask (QmiUimSecurityAttribute mask
); const gchar * qmi_uim_card_state_get_string (QmiUimCardState val
); const gchar * qmi_uim_card_error_get_string (QmiUimCardError val
); const gchar * qmi_uim_pin_state_get_string (QmiUimPinState val
); const gchar * qmi_uim_card_application_type_get_string (QmiUimCardApplicationType val
); const gchar * qmi_uim_card_application_state_get_string (QmiUimCardApplicationState val
); const gchar * qmi_uim_card_application_personalization_state_get_string (QmiUimCardApplicationPersonalizationState val
); const gchar * qmi_uim_card_application_personalization_feature_get_string (QmiUimCardApplicationPersonalizationFeature val
);
GEnum +----QmiUimSessionType
GEnum +----QmiUimFileType
GEnum +----QmiUimSecurityAttributeLogic
GFlags +----QmiUimSecurityAttribute
GEnum +----QmiUimCardState
GEnum +----QmiUimCardError
GEnum +----QmiUimPinState
GEnum +----QmiUimCardApplicationType
GEnum +----QmiUimCardApplicationState
GEnum +----QmiUimCardApplicationPersonalizationState
GEnum +----QmiUimCardApplicationPersonalizationFeature
typedef enum { QMI_UIM_SESSION_TYPE_PRIMARY_GW_PROVISIONING = 0, QMI_UIM_SESSION_TYPE_PRIMARY_1X_PROVISIONING = 1, QMI_UIM_SESSION_TYPE_SECONDARY_GW_PROVISIONING = 2, QMI_UIM_SESSION_TYPE_SECONDARY_1X_PROVISIONING = 3, QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_1 = 4, QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_2 = 5, QMI_UIM_SESSION_TYPE_CARD_SLOT_1 = 6, QMI_UIM_SESSION_TYPE_CARD_SLOT_2 = 7, QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_1 = 8, QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_2 = 9 } QmiUimSessionType;
Type of UIM session.
Primary GSM/WCDMA provisioning. | |
Primary CDMA1x provisioning. | |
Secondary GSM/WCDMA provisioning. | |
Secondary CDMA1x provisioning. | |
Nonprovisioning on slot 1. | |
Nonprovisioning on slot 2. | |
Card on slot 1. | |
Card on slot 2. | |
Logical channel on slot 1. | |
Logical channel on slot 2. |
typedef enum { QMI_UIM_FILE_TYPE_TRANSPARENT = 0, QMI_UIM_FILE_TYPE_CYCLIC = 1, QMI_UIM_FILE_TYPE_LINEAR_FIXED = 2, QMI_UIM_FILE_TYPE_DEDICATED_FILE = 3, QMI_UIM_FILE_TYPE_MASTER_FILE = 4 } QmiUimFileType;
Type of UIM file.
typedef enum { QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_ALWAYS = 0, QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_NEVER = 1, QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_AND = 2, QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_OR = 3, QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_SINGLE = 4 } QmiUimSecurityAttributeLogic;
Logic applicable to security attributes.
typedef enum { QMI_UIM_SECURITY_ATTRIBUTE_PIN1 = 1 << 0, QMI_UIM_SECURITY_ATTRIBUTE_PIN2 = 1 << 1, QMI_UIM_SECURITY_ATTRIBUTE_UPIN = 1 << 2, QMI_UIM_SECURITY_ATTRIBUTE_ADM = 1 << 3 } QmiUimSecurityAttribute;
Security Attributes.
typedef enum { QMI_UIM_CARD_STATE_ABSENT = 0, QMI_UIM_CARD_STATE_PRESENT = 1, QMI_UIM_CARD_STATE_ERROR = 2 } QmiUimCardState;
State of the card.
typedef enum { QMI_UIM_CARD_ERROR_UNKNOWN = 0, QMI_UIM_CARD_ERROR_POWER_DOWN = 1, QMI_UIM_CARD_ERROR_POLL = 2, QMI_UIM_CARD_ERROR_NO_ATR_RECEIVED = 3, QMI_UIM_CARD_ERROR_VOLTAGE_MISMATCH = 4, QMI_UIM_CARD_ERROR_PARITY = 5, QMI_UIM_CARD_ERROR_POSSIBLY_REMOVED = 6, QMI_UIM_CARD_ERROR_TECHNICAL = 7 } QmiUimCardError;
Card error.
Unknown error. | |
Power down. | |
Poll error. | |
No ATR received. | |
Voltage mismatch. | |
Parity error. | |
Unknown error, possibly removed. | |
Technical problem. |
typedef enum { QMI_UIM_PIN_STATE_NOT_INITIALIZED = 0, QMI_UIM_PIN_STATE_ENABLED_NOT_VERIFIED = 1, QMI_UIM_PIN_STATE_ENABLED_VERIFIED = 2, QMI_UIM_PIN_STATE_DISABLED = 3, QMI_UIM_PIN_STATE_BLOCKED = 4, QMI_UIM_PIN_STATE_PERMANENTLY_BLOCKED = 5, } QmiUimPinState;
The PIN state.
typedef enum { QMI_UIM_CARD_APPLICATION_TYPE_UNKNOWN = 0, QMI_UIM_CARD_APPLICATION_TYPE_SIM = 1, QMI_UIM_CARD_APPLICATION_TYPE_USIM = 2, QMI_UIM_CARD_APPLICATION_TYPE_RUIM = 3, QMI_UIM_CARD_APPLICATION_TYPE_CSIM = 4, QMI_UIM_CARD_APPLICATION_TYPE_ISIM = 5, } QmiUimCardApplicationType;
Card application type.
typedef enum { QMI_UIM_CARD_APPLICATION_STATE_UNKNOWN = 0, QMI_UIM_CARD_APPLICATION_STATE_DETECTED = 1, QMI_UIM_CARD_APPLICATION_STATE_PIN1_OR_UPIN_PIN_REQUIRED = 2, QMI_UIM_CARD_APPLICATION_STATE_PUK1_OR_UPIN_PUK_REQUIRED = 3, QMI_UIM_CARD_APPLICATION_STATE_CHECK_PERSONALIZATION_STATE = 4, QMI_UIM_CARD_APPLICATION_STATE_PIN1_BLOCKED = 5, QMI_UIM_CARD_APPLICATION_STATE_ILLEGAL = 6, QMI_UIM_CARD_APPLICATION_STATE_READY = 7, } QmiUimCardApplicationState;
Card application state.
Unknown. | |
Detected. | |
PIN1 or UPIN PIN required. | |
PUK1 or UPIN PUK required. | |
Personalization state must be checked. | |
PIN1 blocked. | |
Illegal. | |
Ready |
typedef enum { QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_UNKNOWN = 0, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_IN_PROGRESS = 1, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_READY = 2, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_CODE_REQUIRED = 3, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_PUK_CODE_REQUIRED = 4, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_PERMANENTLY_BLOCKED = 5, } QmiUimCardApplicationPersonalizationState;
Card application personalization state.
typedef enum { QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_NETWORK = 0, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_NETWORK_SUBSET = 1, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_SERVICE_PROVIDER = 2, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_CORPORATE = 3, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_UIM = 4, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_1X_NETWORK_TYPE_1 = 5, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_1X_NETWORK_TYPE_2 = 6, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_1X_HRPD = 7, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_1X_SERVICE_PROVIDER = 8, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_1X_CORPORATE = 9, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_1X_RUIM = 10, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_UNKNOWN = 11 } QmiUimCardApplicationPersonalizationFeature;
Card application personalization feature, when a code is required.
const gchar * qmi_uim_session_type_get_string (QmiUimSessionType val
);
Gets the nickname string for the QmiUimSessionType specified at val
.
|
a QmiUimSessionType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_file_type_get_string (QmiUimFileType val
);
Gets the nickname string for the QmiUimFileType specified at val
.
|
a QmiUimFileType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_security_attribute_logic_get_string
(QmiUimSecurityAttributeLogic val
);
Gets the nickname string for the QmiUimSecurityAttributeLogic specified at val
.
|
a QmiUimSecurityAttributeLogic. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
gchar * qmi_uim_security_attribute_build_string_from_mask
(QmiUimSecurityAttribute mask
);
Builds a string containing a comma-separated list of nicknames for
each QmiUimSecurityAttribute in mask
.
const gchar * qmi_uim_card_state_get_string (QmiUimCardState val
);
Gets the nickname string for the QmiUimCardState specified at val
.
|
a QmiUimCardState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_card_error_get_string (QmiUimCardError val
);
Gets the nickname string for the QmiUimCardError specified at val
.
|
a QmiUimCardError. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_pin_state_get_string (QmiUimPinState val
);
Gets the nickname string for the QmiUimPinState specified at val
.
|
a QmiUimPinState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_card_application_type_get_string
(QmiUimCardApplicationType val
);
Gets the nickname string for the QmiUimCardApplicationType specified at val
.
|
a QmiUimCardApplicationType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_card_application_state_get_string
(QmiUimCardApplicationState val
);
Gets the nickname string for the QmiUimCardApplicationState specified at val
.
|
a QmiUimCardApplicationState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_card_application_personalization_state_get_string
(QmiUimCardApplicationPersonalizationState val
);
Gets the nickname string for the QmiUimCardApplicationPersonalizationState specified at val
.
|
a QmiUimCardApplicationPersonalizationState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_uim_card_application_personalization_feature_get_string
(QmiUimCardApplicationPersonalizationFeature val
);
Gets the nickname string for the QmiUimCardApplicationPersonalizationFeature specified at val
.
|
a QmiUimCardApplicationPersonalizationFeature. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|