| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
enum QmiOmaSessionType; enum QmiOmaSessionState; enum QmiOmaSessionFailedReason; enum QmiOmaHfaFeatureDoneState; const gchar * qmi_oma_session_type_get_string (QmiOmaSessionType val); const gchar * qmi_oma_session_state_get_string (QmiOmaSessionState val); const gchar * qmi_oma_session_failed_reason_get_string (QmiOmaSessionFailedReason val); const gchar * qmi_oma_hfa_feature_done_state_get_string (QmiOmaHfaFeatureDoneState val);
GEnum +----QmiOmaSessionType
GEnum +----QmiOmaSessionState
GEnum +----QmiOmaSessionFailedReason
GEnum +----QmiOmaHfaFeatureDoneState
typedef enum {
QMI_OMA_SESSION_TYPE_CLIENT_INITIATED_DEVICE_CONFIGURE = 0,
QMI_OMA_SESSION_TYPE_CLIENT_INITIATED_PRL_UPDATE = 1,
QMI_OMA_SESSION_TYPE_CLIENT_INITIATED_HANDS_FREE_ACTIVATION = 2,
QMI_OMA_SESSION_TYPE_DEVICE_INITIATED_HANDS_FREE_ACTIVATION = 3,
QMI_OMA_SESSION_TYPE_NETWORK_INITIATED_PRL_UPDATE = 4,
QMI_OMA_SESSION_TYPE_NETWORK_INITIATED_DEVICE_CONFIGURE = 5,
QMI_OMA_SESSION_TYPE_DEVICE_INITIATED_PRL_UPDATE = 6
} QmiOmaSessionType;
Type of OMA-DM session.
| Client-initiated device configure. | |
| Client-initiated PRL update. | |
| Client-initiated hands free activation. | |
| Device-initiated hands free activation. | |
| Network-initiated PRL update. | |
| Network-initiated device configure. | |
| Device-initiated PRL update. |
typedef enum {
QMI_OMA_SESSION_STATE_COMPLETE_INFORMATION_UPDATED = 0,
QMI_OMA_SESSION_STATE_COMPLETE_UPDATED_INFORMATION_UNAVAILABLE = 1,
QMI_OMA_SESSION_STATE_FAILED = 2,
QMI_OMA_SESSION_STATE_RETRYING = 3,
QMI_OMA_SESSION_STATE_CONNECTING = 4,
QMI_OMA_SESSION_STATE_CONNECTED = 5,
QMI_OMA_SESSION_STATE_AUTHENTICATED = 6,
QMI_OMA_SESSION_STATE_MDN_DOWNLOADED = 7,
QMI_OMA_SESSION_STATE_MSID_DOWNLOADED = 8,
QMI_OMA_SESSION_STATE_PRL_DOWNLOADED = 9,
QMI_OMA_SESSION_STATE_MIP_PROFILE_DOWNLOADED = 10
} QmiOmaSessionState;
State of the OMA-DM session.
typedef enum {
QMI_OMA_SESSION_FAILED_REASON_UNKNOWN = 0,
QMI_OMA_SESSION_FAILED_REASON_NETWORK_UNAVAILABLE = 1,
QMI_OMA_SESSION_FAILED_REASON_SERVER_UNAVAILABLE = 2,
QMI_OMA_SESSION_FAILED_REASON_AUTHENTICATION_FAILED = 3,
QMI_OMA_SESSION_FAILED_REASON_MAX_RETRY_EXCEEDED = 4,
QMI_OMA_SESSION_FAILED_REASON_SESSION_CANCELLED = 5
} QmiOmaSessionFailedReason;
Session failure reason.
| Unknown reason. | |
| Network unavailable. | |
| Server unavailable. | |
| Authentication failed. | |
| Maximum retries exceeded. | |
| Session cancelled. |
typedef enum {
QMI_OMA_HFA_FEATURE_DONE_STATE_NONE = 0,
QMI_OMA_HFA_FEATURE_DONE_STATE_SUCCEEDED = 1,
QMI_OMA_HFA_FEATURE_DONE_STATE_FAILED = 2
} QmiOmaHfaFeatureDoneState;
HFA feature done state.
const gchar * qmi_oma_session_type_get_string (QmiOmaSessionType val);
Gets the nickname string for the QmiOmaSessionType specified at val.
|
a QmiOmaSessionType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_oma_session_state_get_string (QmiOmaSessionState val);
Gets the nickname string for the QmiOmaSessionState specified at val.
|
a QmiOmaSessionState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_oma_session_failed_reason_get_string
(QmiOmaSessionFailedReason val);
Gets the nickname string for the QmiOmaSessionFailedReason specified at val.
|
a QmiOmaSessionFailedReason. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_oma_hfa_feature_done_state_get_string
(QmiOmaHfaFeatureDoneState val);
Gets the nickname string for the QmiOmaHfaFeatureDoneState specified at val.
|
a QmiOmaHfaFeatureDoneState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|