diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-03 19:54:52 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-06 19:53:02 +0200 |
commit | a31e7d789247bc6b8062d3b6b593a430e97dbd3e (patch) | |
tree | c5a007b45a3ebc545f9fbce15939a83463a12525 | |
parent | d3debea3d564d41487e30dc729a6c6e35a5c15b5 (diff) |
wms: implement "Get Message Protocol" request/response
-rw-r--r-- | data/qmi-service-wms.json | 17 | ||||
-rw-r--r-- | libqmi-glib/qmi-enums-wms.h | 12 |
2 files changed, 28 insertions, 1 deletions
diff --git a/data/qmi-service-wms.json b/data/qmi-service-wms.json index 39b870c..f45f99a 100644 --- a/data/qmi-service-wms.json +++ b/data/qmi-service-wms.json @@ -350,6 +350,21 @@ "type" : "TLV", "format" : "guint8", "public-format" : "QmiWmsMessageMode" } ], - "output" : [ { "common-ref" : "Operation Result" } ] } + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Get Message Protocol", + "type" : "Message", + "service" : "WMS", + "id" : "0x0030", + "version" : "1.1", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Message Protocol", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "format" : "guint8", + "public-format" : "QmiWmsMessageProtocol", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] } ] diff --git a/libqmi-glib/qmi-enums-wms.h b/libqmi-glib/qmi-enums-wms.h index 35229af..b4753ca 100644 --- a/libqmi-glib/qmi-enums-wms.h +++ b/libqmi-glib/qmi-enums-wms.h @@ -339,4 +339,16 @@ typedef enum { QMI_WMS_MESSAGE_TAG_TYPE_MO_NOT_SENT = 0x03 } QmiWmsMessageTagType; +/** + * QmiWmsMessageProtocol: + * @QMI_WMS_MESSAGE_PROTOCOL_CDMA: CDMA. + * @QMI_WMS_MESSAGE_PROTOCOL_WCDMA: WCDMA. + * + * Type of message protocol. + */ +typedef enum { + QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0x00, + QMI_WMS_MESSAGE_PROTOCOL_WCDMA = 0x01 +} QmiWmsMessageProtocol; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_WMS_H_ */ |