aboutsummaryrefslogtreecommitdiffstats
path: root/libqmi-glib
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-03 19:07:28 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-06 19:53:02 +0200
commit38602a11929ce748f6198b3b22b9983b54a834ba (patch)
treebd96b72d56a0fbc9ba55953469239ae40f40d413 /libqmi-glib
parent74cd71c101fcccbaef01a91e8aa5640bda39f9c6 (diff)
downloadexternal_libqmi-38602a11929ce748f6198b3b22b9983b54a834ba.zip
external_libqmi-38602a11929ce748f6198b3b22b9983b54a834ba.tar.gz
external_libqmi-38602a11929ce748f6198b3b22b9983b54a834ba.tar.bz2
wms: implement "Raw Read" request/response
Diffstat (limited to 'libqmi-glib')
-rw-r--r--libqmi-glib/qmi-enums-wms.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/libqmi-glib/qmi-enums-wms.h b/libqmi-glib/qmi-enums-wms.h
index 24115d7..35229af 100644
--- a/libqmi-glib/qmi-enums-wms.h
+++ b/libqmi-glib/qmi-enums-wms.h
@@ -55,13 +55,15 @@ typedef enum {
* @QMI_WMS_MESSAGE_FORMAT_CDMA: CDMA message.
* @QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_POINT_TO_POINT: Point-to-point 3GPP message.
* @QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_BROADCAST: Broadcast 3GPP message.
+ * @QMI_WMS_MESSAGE_FORMAT_MWI: Message Waiting Indicator.
*
* Type of message.
*/
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_GSM_WCDMA_BROADCAST = 0x07,
+ QMI_WMS_MESSAGE_FORMAT_MWI = 0x08
} QmiWmsMessageFormat;
/**
@@ -318,4 +320,23 @@ typedef enum {
QMI_WMS_MESSAGE_DELIVERY_FAILURE_TYPE_PERMANENT = 0x01
} QmiWmsMessageDeliveryFailureType;
+/*****************************************************************************/
+/* Helper enums for the 'QMI WMS Read Raw' request/response */
+
+/**
+ * QmiWmsMessageTagType:
+ * @QMI_WMS_MESSAGE_TAG_TYPE_MT_READ: Received SMS, already read.
+ * @QMI_WMS_MESSAGE_TAG_TYPE_MT_NOT_READ: Received SMS, not read.
+ * @QMI_WMS_MESSAGE_TAG_TYPE_MO_SENT: Sent SMS.
+ * @QMI_WMS_MESSAGE_TAG_TYPE_MO_NOT_SENT: Not yet sent SMS.
+ *
+ * Type of message tag.
+ */
+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;
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_WMS_H_ */