diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-02-26 12:40:28 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-02-26 12:40:28 +0100 |
commit | 12793ef603195997215f9e232fa3e5216c8c07db (patch) | |
tree | ebe9183547d0218dc2982c6332ac49d948f55c03 | |
parent | dcb6aa3f39603324003a7e994313d069ba5ab333 (diff) | |
download | libqmi-12793ef603195997215f9e232fa3e5216c8c07db.tar.gz |
wds: implement 'Packet Service Status' indications
-rw-r--r-- | data/qmi-service-wds.json | 55 | ||||
-rw-r--r-- | docs/reference/libqmi-glib/libqmi-glib-docs.xml | 4 |
2 files changed, 59 insertions, 0 deletions
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json index 30bc78fe..be49d660 100644 --- a/data/qmi-service-wds.json +++ b/data/qmi-service-wds.json @@ -13,6 +13,10 @@ "type" : "Message-ID-Enum" }, // ********************************************************************************* + { "name" : "QMI Indication WDS", + "type" : "Indication-ID-Enum" } , + + // ********************************************************************************* { "name" : "Reset", "type" : "Message", "service" : "WDS", @@ -137,6 +141,8 @@ "id" : "0x34", "mandatory" : "no", "type" : "TLV", + // Note: docs give this as gint16 with negative enum values. Instead, we use + // guint16 with equivalent positive enum values. "format" : "guint16", "public-format" : "QmiWdsExtendedTechnologyPreference" }, { "name" : "Call Type", @@ -215,6 +221,53 @@ "public-format" : "QmiWdsConnectionStatus", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + { "name" : "Packet Service Status", + "type" : "Indication", + "service" : "WDS", + "id" : "0x0022", + "version" : "1.0", + "output" : [ { "name" : "Connection Status", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Status", + "format" : "guint8", + "public-format" : "QmiWdsConnectionStatus" }, + { "name" : "Reconfiguration Required", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Call End Reason", + "id" : "0x10", + "mandatory" : "no", + "type" : "TLV", + "format" : "guint16", + "public-format" : "QmiWdsCallEndReason" }, + { "name" : "Verbose Call End Reason", + "id" : "0x11", + "mandatory" : "no", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Type", + "format" : "guint16", + "public-format" : "QmiWdsVerboseCallEndReasonType" }, + { "name" : "Reason", + "format" : "gint16" } ] }, + { "name" : "IP Family", + "id" : "0x12", + "mandatory" : "no", + "type" : "TLV", + "format" : "guint8", + "public-format" : "QmiWdsIpFamily" }, + { "name" : "Extended Technology Preference", + "id" : "0x34", + "mandatory" : "no", + "type" : "TLV", + // Note: docs give this as gint16 with negative enum values. Instead, we use + // guint16 with equivalent positive enum values. + "format" : "guint16", + "public-format" : "QmiWdsExtendedTechnologyPreference" } ] }, + // ********************************************************************************* { "name" : "Get Packet Statistics", "type" : "Message", @@ -995,6 +1048,8 @@ "id" : "0x2D", "mandatory" : "no", "type" : "TLV", + // Note: docs give this as gint16 with negative enum values. Instead, we use + // guint16 with equivalent positive enum values. "format" : "guint16", "public-format" : "QmiWdsExtendedTechnologyPreference", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, diff --git a/docs/reference/libqmi-glib/libqmi-glib-docs.xml b/docs/reference/libqmi-glib/libqmi-glib-docs.xml index 2755a53a..fa50ecc5 100644 --- a/docs/reference/libqmi-glib/libqmi-glib-docs.xml +++ b/docs/reference/libqmi-glib/libqmi-glib-docs.xml @@ -154,6 +154,10 @@ <xi:include href="xml/qmi-client-wds.xml"/> <xi:include href="xml/qmi-enums-wds.xml"/> <section> + <title>WDS Indications</title> + <xi:include href="xml/qmi-indication-wds-packet-service-status.xml"/> + </section> + <section> <title>WDS Requests</title> <xi:include href="xml/qmi-message-wds-reset.xml"/> <xi:include href="xml/qmi-message-wds-start-network.xml"/> |