summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Van Assche <me@dylanvanassche.be>2021-08-31 20:47:15 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-09-02 11:47:50 +0200
commit7a32e5e03f580d7bc7951a4e49a96edfb745ee7d (patch)
treec066c2f4c757f7b69cb67a721ae7dcb55c7e6fd7
parent92298cf324bbf1cb2a6b42a6460afe4baee4f86a (diff)
downloadlibqmi-7a32e5e03f580d7bc7951a4e49a96edfb745ee7d.tar.gz
voice: add Get All Call Status
Equivalent of AT+CLCC to retrieve information about all current calls (cherry picked from commit 51015cd26b034ee6d076bca9580f9a8812059e5c)
-rw-r--r--data/qmi-collection-basic.json1
-rw-r--r--data/qmi-service-voice.json54
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-docs.xml1
3 files changed, 55 insertions, 1 deletions
diff --git a/data/qmi-collection-basic.json b/data/qmi-collection-basic.json
index 187790d2..655150b0 100644
--- a/data/qmi-collection-basic.json
+++ b/data/qmi-collection-basic.json
@@ -181,6 +181,7 @@
"QMI_MESSAGE_VOICE_MANAGE_CALLS",
"QMI_MESSAGE_VOICE_SET_SUPPLEMENTARY_SERVICE",
"QMI_MESSAGE_VOICE_GET_CALL_WAITING",
+ "QMI_MESSAGE_VOICE_GET_ALL_CALL_INFO",
"QMI_INDICATION_VOICE_SUPPLEMENTARY_SERVICE",
"QMI_INDICATION_VOICE_ALL_CALL_STATUS",
"QMI_INDICATION_VOICE_USSD",
diff --git a/data/qmi-service-voice.json b/data/qmi-service-voice.json
index 5499fd11..dee5f9cd 100644
--- a/data/qmi-service-voice.json
+++ b/data/qmi-service-voice.json
@@ -223,7 +223,59 @@
"public-format" : "QmiVoicePresentation" },
{ "name" : "Type",
"format" : "string" } ] } } ] },
-
+ // *********************************************************************************
+ { "name" : "Get All Call Info",
+ "type" : "Message",
+ "service" : "VOICE",
+ "id" : "0x002F",
+ "since" : "1.32",
+ "output" : [ { "common-ref": "Operation Result" },
+ { "name" : "Call Information",
+ "id" : "0x10",
+ "type" : "TLV",
+ "since" : "1.32",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "name" : "Call",
+ "format" : "struct",
+ "contents" : [ { "name" : "ID",
+ "format" : "guint8" },
+ { "name" : "State",
+ "format" : "guint8",
+ "public-format" : "QmiVoiceCallState" },
+ { "name" : "Type",
+ "format" : "guint8",
+ "public-format" : "QmiVoiceCallType" },
+ { "name" : "Direction",
+ "format" : "guint8",
+ "public-format" : "QmiVoiceCallDirection" },
+ { "name" : "Mode",
+ "format" : "guint8",
+ "public-format" : "QmiVoiceCallMode" },
+ { "name" : "Multipart Indicator",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "ALS",
+ "format" : "guint8",
+ "public-format" : "QmiVoiceAls" } ] },
+ "prerequisites" : [ { "common-ref" : "Success" } ]
+ },
+ { "name" : "Remote Party Number",
+ "id" : "0x11",
+ "type" : "TLV",
+ "since" : "1.32",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "name" : "Call",
+ "format" : "struct",
+ "contents" : [ { "name" : "ID",
+ "format" : "guint8" },
+ { "name" : "Presentation Indicator",
+ "format" : "guint8",
+ "public-format" : "QmiVoicePresentation" },
+ { "name" : "Type",
+ "format" : "string" } ] },
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Manage Calls",
"type" : "Message",
diff --git a/docs/reference/libqmi-glib/libqmi-glib-docs.xml b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
index fd5080ec..08321ed4 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-docs.xml
+++ b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
@@ -423,6 +423,7 @@
<xi:include href="xml/qmi-message-voice-answer-ussd.xml"/>
<xi:include href="xml/qmi-message-voice-cancel-ussd.xml"/>
<xi:include href="xml/qmi-message-voice-originate-ussd-no-wait.xml"/>
+ <xi:include href="xml/qmi-message-voice-get-all-call-info.xml"/>
</section>
</chapter>