aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-01-22 18:17:09 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-29 10:37:53 +0100
commit9bd604224f56fcf6fb0be577a646e62f59200594 (patch)
treee0eb725cd2f094502f8c613866ce027536a4aa42 /docs
parent132bd1b0ef5c3b8b9f2544261a9e57e0fd589c14 (diff)
downloadexternal_libqmi-9bd604224f56fcf6fb0be577a646e62f59200594.zip
external_libqmi-9bd604224f56fcf6fb0be577a646e62f59200594.tar.gz
external_libqmi-9bd604224f56fcf6fb0be577a646e62f59200594.tar.bz2
libqmi-glib: support vendor-specific request/responses
We want to support non-standard messages that may be encoded with different TLVs depending on how the vendor implemented them. Anyway, right now this is really just to support the correct translation of TLVs and message contents in the get_printable() methods. The support is only included for QMI request/responses, and not for QMI indications. This is because the library knows in which moment the requests are created (and can apply the same rules to the matched response when it is received). For the indications, though, there is no such context configurable yet.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-common.sections18
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-docs.xml1
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections
index a81af67..6edf5fe 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-common.sections
+++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections
@@ -73,6 +73,8 @@ qmi_device_set_instance_id
qmi_device_set_instance_id_finish
qmi_device_command
qmi_device_command_finish
+qmi_device_command_full
+qmi_device_command_full_finish
qmi_device_get_service_version_info
qmi_device_get_service_version_info_finish
qmi_device_open_flags_build_string_from_mask
@@ -1060,6 +1062,7 @@ qmi_message_get_message_id
qmi_message_get_length
qmi_message_get_raw
qmi_message_get_version_introduced
+qmi_message_get_version_introduced_full
<SUBSECTION TLV writer>
qmi_message_tlv_write_init
qmi_message_tlv_write_reset
@@ -1097,10 +1100,25 @@ qmi_message_add_raw_tlv
qmi_message_set_transaction_id
<SUBSECTION Printable>
qmi_message_get_printable
+qmi_message_get_printable_full
qmi_message_get_tlv_printable
</SECTION>
<SECTION>
+<FILE>qmi-message-context</FILE>
+QMI_MESSAGE_VENDOR_GENERIC
+QmiMessageContext
+qmi_message_context_new
+qmi_message_context_ref
+qmi_message_context_unref
+<SUBSECTION Vendor>
+qmi_message_context_set_vendor_id
+qmi_message_context_get_vendor_id
+<SUBSECTION Standard>
+qmi_message_context_get_type
+</SECTION>
+
+<SECTION>
<FILE>qmi-utils</FILE>
QmiEndian
<SUBSECTION Traces>
diff --git a/docs/reference/libqmi-glib/libqmi-glib-docs.xml b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
index 07f9795..55f4ec8 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-docs.xml
+++ b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
@@ -45,6 +45,7 @@
<title>Core</title>
<xi:include href="xml/qmi-version.xml"/>
<xi:include href="xml/qmi-message.xml"/>
+ <xi:include href="xml/qmi-message-context.xml"/>
<xi:include href="xml/qmi-device.xml"/>
<xi:include href="xml/qmi-client.xml"/>
<xi:include href="xml/qmi-proxy.xml"/>