| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
enum QmiWmsStorageType; enum QmiWmsAckIndicator; enum QmiWmsMessageFormat; enum QmiWmsMessageMode; enum QmiWmsNotificationType; enum QmiWmsCdmaServiceOption; enum QmiWmsCdmaCauseCode; enum QmiWmsCdmaErrorClass; enum QmiWmsGsmUmtsRpCause; enum QmiWmsGsmUmtsTpCause; enum QmiWmsMessageDeliveryFailureType; enum QmiWmsMessageTagType; enum QmiWmsMessageProtocol; enum QmiWmsMessageType; enum QmiWmsMessageClass; enum QmiWmsReceiptAction; enum QmiWmsTransferIndication; const gchar * qmi_wms_storage_type_get_string (QmiWmsStorageType val); const gchar * qmi_wms_ack_indicator_get_string (QmiWmsAckIndicator val); const gchar * qmi_wms_message_format_get_string (QmiWmsMessageFormat val); const gchar * qmi_wms_message_mode_get_string (QmiWmsMessageMode val); const gchar * qmi_wms_notification_type_get_string (QmiWmsNotificationType val); const gchar * qmi_wms_cdma_service_option_get_string (QmiWmsCdmaServiceOption val); const gchar * qmi_wms_cdma_cause_code_get_string (QmiWmsCdmaCauseCode val); const gchar * qmi_wms_cdma_error_class_get_string (QmiWmsCdmaErrorClass val); const gchar * qmi_wms_gsm_umts_rp_cause_get_string (QmiWmsGsmUmtsRpCause val); const gchar * qmi_wms_gsm_umts_tp_cause_get_string (QmiWmsGsmUmtsTpCause val); const gchar * qmi_wms_message_delivery_failure_type_get_string (QmiWmsMessageDeliveryFailureType val); const gchar * qmi_wms_message_tag_type_get_string (QmiWmsMessageTagType val); const gchar * qmi_wms_message_protocol_get_string (QmiWmsMessageProtocol val); const gchar * qmi_wms_message_type_get_string (QmiWmsMessageType val); const gchar * qmi_wms_message_class_get_string (QmiWmsMessageClass val); const gchar * qmi_wms_receipt_action_get_string (QmiWmsReceiptAction val); const gchar * qmi_wms_transfer_indication_get_string (QmiWmsTransferIndication val);
GEnum +----QmiWmsStorageType
GEnum +----QmiWmsAckIndicator
GEnum +----QmiWmsMessageFormat
GEnum +----QmiWmsMessageMode
GEnum +----QmiWmsNotificationType
GEnum +----QmiWmsCdmaServiceOption
GEnum +----QmiWmsCdmaCauseCode
GEnum +----QmiWmsCdmaErrorClass
GEnum +----QmiWmsGsmUmtsRpCause
GEnum +----QmiWmsGsmUmtsTpCause
GEnum +----QmiWmsMessageDeliveryFailureType
GEnum +----QmiWmsMessageTagType
GEnum +----QmiWmsMessageProtocol
GEnum +----QmiWmsMessageType
GEnum +----QmiWmsMessageClass
GEnum +----QmiWmsReceiptAction
GEnum +----QmiWmsTransferIndication
typedef enum {
QMI_WMS_STORAGE_TYPE_UIM = 0x00,
QMI_WMS_STORAGE_TYPE_NV = 0x01,
QMI_WMS_STORAGE_TYPE_NONE = 0xFF
} QmiWmsStorageType;
Type of messaging storage
typedef enum {
QMI_WMS_ACK_INDICATOR_SEND = 0x00,
QMI_WMS_ACK_INDICATOR_DO_NOT_SEND = 0x01
} QmiWmsAckIndicator;
Indication of whether ACK needs to be sent or not.
typedef enum {
QMI_WMS_MESSAGE_FORMAT_CDMA = 0x00,
QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_POINT_TO_POINT = 0x06,
QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_BROADCAST = 0x07,
QMI_WMS_MESSAGE_FORMAT_MWI = 0x08
} QmiWmsMessageFormat;
Type of message.
typedef enum {
QMI_WMS_MESSAGE_MODE_CDMA = 0x00,
QMI_WMS_MESSAGE_MODE_GSM_WCDMA = 0x01
} QmiWmsMessageMode;
Message mode.
typedef enum {
QMI_WMS_NOTIFICATION_TYPE_PRIMARY = 0x00,
QMI_WMS_NOTIFICATION_TYPE_SECONDARY_GSM = 0x01,
QMI_WMS_NOTIFICATION_TYPE_SECONDARY_UMTS = 0x02
} QmiWmsNotificationType;
Type of notification.
typedef enum {
QMI_WMS_CDMA_SERVICE_OPTION_AUTO = 0x00,
QMI_WMS_CDMA_SERVICE_OPTION_6 = 0x06,
QMI_WMS_CDMA_SERVICE_OPTION_14 = 0x0E
} QmiWmsCdmaServiceOption;
CDMA service option selection.
typedef enum {
/* Network errors */
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT = 0x00,
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE = 0x01,
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE = 0x02,
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_FAILURE = 0x03,
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID = 0x04,
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_OTHER = 0x05,
/* Destination errors */
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE = 0x20,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_BUSY = 0x21,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK = 0x22,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE = 0x23,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED = 0x24,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE = 0x25,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS = 0x26,
QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OTHER = 0x27,
/* Radio Interface errors */
QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE = 0x40,
QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY = 0x41,
QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER = 0x42,
/* General errors */
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_ENCODING = 0x60,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED = 0x61,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED = 0x62,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED = 0x63,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED = 0x64,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER = 0x65,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER = 0x66,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE = 0x67,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE = 0x68,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR = 0x69,
QMI_WDS_CDMA_CAUSE_CODE_GENERAL_OTHER = 0x6A
} QmiWmsCdmaCauseCode;
Cause codes when failed to send an SMS in CDMA.
typedef enum {
QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY = 0x00,
QMI_WMS_CDMA_ERROR_CLASS_PERMANENT = 0x01
} QmiWmsCdmaErrorClass;
Error class when failed to send an SMS in CDMA.
typedef enum {
QMI_WMS_GSM_UMTS_RP_CAUSE_UNASSIGNED_NUMBER = 0x01,
QMI_WMS_GSM_UMTS_RP_CAUSE_OPERATOR_DETERMINED_BARRING = 0x08,
QMI_WMS_GSM_UMTS_RP_CAUSE_CALL_BARRED = 0x0A,
QMI_WMS_GSM_UMTS_RP_CAUSE_RESERVED = 0x0B,
QMI_WMS_GSM_UMTS_RP_CAUSE_SMS_TRANSFER_REJECTED = 0x15,
QMI_WMS_GSM_UMTS_RP_CAUSE_MEMORY_CAPACITY_EXCEEDED = 0x16,
QMI_WMS_GSM_UMTS_RP_CAUSE_DESTINATION_OUT_OF_ORDER = 0x1B,
QMI_WMS_GSM_UMTS_RP_CAUSE_UNIDENTIFIED_SUBSCRIBER = 0x1C,
QMI_WMS_GSM_UMTS_RP_CAUSE_FACILITY_REJECTED = 0x1D,
QMI_WMS_GSM_UMTS_RP_CAUSE_UNKNOWN_SUBSCRIBER = 0x1E,
QMI_WMS_GSM_UMTS_RP_CAUSE_NETWORK_OUF_OF_ORDER = 0x20,
QMI_WMS_GSM_UMTS_RP_CAUSE_TEMPORARY_FAILURE = 0x21,
QMI_WMS_GSM_UMTS_RP_CAUSE_CONGESTION = 0x2A,
QMI_WMS_GSM_UMTS_RP_CAUSE_RESOURCES_UNAVAILABLE = 0x2F,
QMI_WMS_GSM_UMTS_RP_CAUSE_FACILITY_NOT_SUBSCRIBED = 0x32,
QMI_WMS_GSM_UMTS_RP_CAUSE_FACILITY_NOT_IMPLEMENTED = 0x45,
QMI_WMS_GSM_UMTS_RP_CAUSE_INVALID_SMS_TRANSFER_REFERENCE_VALUE = 0x51,
QMI_WMS_GSM_UMTS_RP_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE = 0x5F,
QMI_WMS_GSM_UMTS_RP_CAUSE_INVALID_MANDATORY_INFO = 0x60,
QMI_WMS_GSM_UMTS_RP_CAUSE_MESSAGE_TYPE_NOT_IMPLEMENTED = 0x61,
QMI_WMS_GSM_UMTS_RP_CAUSE_MESSAGE_NOT_COMPATIBLE_WITH_SMS = 0x62,
QMI_WMS_GSM_UMTS_RP_CAUSE_INFORMATION_ELEMENT_NOT_IMPLEMENTED = 0x63,
QMI_WMS_GSM_UMTS_RP_CAUSE_PROTOCOL_ERROR = 0x6F,
QMI_WMS_GSM_UMTS_RP_CAUSE_INTERWORKING = 0x7F
} QmiWmsGsmUmtsRpCause;
RP cause codes when failed to send an SMS in GSM/WCDMA.
typedef enum {
QMI_WMS_GSM_UMTS_TP_CAUSE_TELE_INTERWORKING_NOT_SUPPORTED = 0x80,
QMI_WMS_GSM_UMTS_TP_CAUSE_SHORT_MESSAGE_TYPE_0_NOT_SUPPORTED = 0x81,
QMI_WMS_GSM_UMTS_TP_CAUSE_SHORT_MESSAGE_CANNOT_BE_REPLACED = 0x82,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S_TP_CAUSE_SIM_APPLICATION_TOOLKIT_BUSY = 0xD4,
QMI_WMS_GSM_UMTS_TP_CAUSE_SIM_DATA_DOWNLOAD_ERROR = 0xD5,
QMI_WMS_GSM_UMTS_TP_CAUSE_UNSPECIFIED_ERROR = 0xFF
} QmiWmsGsmUmtsTpCause;
RT cause codes when failed to send an SMS in GSM/WCDMA.
typedef enum {
QMI_WMS_MESSAGE_DELIVERY_FAILURE_TYPE_TEMPORARY = 0x00,
QMI_WMS_MESSAGE_DELIVERY_FAILURE_TYPE_PERMANENT = 0x01
} QmiWmsMessageDeliveryFailureType;
Type of message delivery failure.
typedef enum {
QMI_WMS_MESSAGE_TAG_TYPE_MT_READ = 0x00,
QMI_WMS_MESSAGE_TAG_TYPE_MT_NOT_READ = 0x01,
QMI_WMS_MESSAGE_TAG_TYPE_MO_SENT = 0x02,
QMI_WMS_MESSAGE_TAG_TYPE_MO_NOT_SENT = 0x03
} QmiWmsMessageTagType;
Type of message tag.
typedef enum {
QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0x00,
QMI_WMS_MESSAGE_PROTOCOL_WCDMA = 0x01
} QmiWmsMessageProtocol;
Type of message protocol.
typedef enum {
QMI_WMS_MESSAGE_TYPE_POINT_TO_POINT = 0x00
} QmiWmsMessageType;
Type of message.
typedef enum {
QMI_WMS_MESSAGE_CLASS_0 = 0x00,
QMI_WMS_MESSAGE_CLASS_1 = 0x01,
QMI_WMS_MESSAGE_CLASS_2 = 0x02,
QMI_WMS_MESSAGE_CLASS_3 = 0x03,
QMI_WMS_MESSAGE_CLASS_NONE = 0x04,
QMI_WMS_MESSAGE_CLASS_CDMA = 0x05
} QmiWmsMessageClass;
Message class.
typedef enum {
QMI_WMS_RECEIPT_ACTION_DISCARD = 0x00,
QMI_WMS_RECEIPT_ACTION_STORE_AND_NOTIFY = 0x01,
QMI_WMS_RECEIPT_ACTION_TRANSFER_ONLY = 0x02,
QMI_WMS_RECEIPT_ACTION_TRANSFER_AND_ACK = 0x03,
QMI_WMS_RECEIPT_ACTION_UNKNOWN = 0xFF
} QmiWmsReceiptAction;
Action to perform when a message is received.
| Discard message. | |
| Store and notify to client. | |
| Notify to client, which should send back ACK. | |
| Notify to client and send back ACK. | |
| Unknown action. |
typedef enum {
QMI_WMS_TRANSFER_INDICATION_CLIENT = 0x01
} QmiWmsTransferIndication;
Transfer indication actions.
const gchar * qmi_wms_storage_type_get_string (QmiWmsStorageType val);
Gets the nickname string for the QmiWmsStorageType specified at val.
|
a QmiWmsStorageType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_ack_indicator_get_string (QmiWmsAckIndicator val);
Gets the nickname string for the QmiWmsAckIndicator specified at val.
|
a QmiWmsAckIndicator. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_format_get_string (QmiWmsMessageFormat val);
Gets the nickname string for the QmiWmsMessageFormat specified at val.
|
a QmiWmsMessageFormat. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_mode_get_string (QmiWmsMessageMode val);
Gets the nickname string for the QmiWmsMessageMode specified at val.
|
a QmiWmsMessageMode. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_notification_type_get_string
(QmiWmsNotificationType val);
Gets the nickname string for the QmiWmsNotificationType specified at val.
|
a QmiWmsNotificationType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_cdma_service_option_get_string
(QmiWmsCdmaServiceOption val);
Gets the nickname string for the QmiWmsCdmaServiceOption specified at val.
|
a QmiWmsCdmaServiceOption. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_cdma_cause_code_get_string (QmiWmsCdmaCauseCode val);
Gets the nickname string for the QmiWmsCdmaCauseCode specified at val.
|
a QmiWmsCdmaCauseCode. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_cdma_error_class_get_string (QmiWmsCdmaErrorClass val);
Gets the nickname string for the QmiWmsCdmaErrorClass specified at val.
|
a QmiWmsCdmaErrorClass. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_gsm_umts_rp_cause_get_string
(QmiWmsGsmUmtsRpCause val);
Gets the nickname string for the QmiWmsGsmUmtsRpCause specified at val.
|
a QmiWmsGsmUmtsRpCause. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_gsm_umts_tp_cause_get_string
(QmiWmsGsmUmtsTpCause val);
Gets the nickname string for the QmiWmsGsmUmtsTpCause specified at val.
|
a QmiWmsGsmUmtsTpCause. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_delivery_failure_type_get_string
(QmiWmsMessageDeliveryFailureType val);
Gets the nickname string for the QmiWmsMessageDeliveryFailureType specified at val.
|
a QmiWmsMessageDeliveryFailureType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_tag_type_get_string (QmiWmsMessageTagType val);
Gets the nickname string for the QmiWmsMessageTagType specified at val.
|
a QmiWmsMessageTagType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_protocol_get_string (QmiWmsMessageProtocol val);
Gets the nickname string for the QmiWmsMessageProtocol specified at val.
|
a QmiWmsMessageProtocol. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_type_get_string (QmiWmsMessageType val);
Gets the nickname string for the QmiWmsMessageType specified at val.
|
a QmiWmsMessageType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_message_class_get_string (QmiWmsMessageClass val);
Gets the nickname string for the QmiWmsMessageClass specified at val.
|
a QmiWmsMessageClass. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_receipt_action_get_string (QmiWmsReceiptAction val);
Gets the nickname string for the QmiWmsReceiptAction specified at val.
|
a QmiWmsReceiptAction. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_wms_transfer_indication_get_string
(QmiWmsTransferIndication val);
Gets the nickname string for the QmiWmsTransferIndication specified at val.
|
a QmiWmsTransferIndication. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|