diff options
author | Dylan Van Assche <me@dylanvanassche.be> | 2021-08-31 20:47:15 +0200 |
---|---|---|
committer | Dylan Van Assche <dylan.vanassche@ugent.be> | 2021-09-02 10:09:01 +0200 |
commit | 51015cd26b034ee6d076bca9580f9a8812059e5c (patch) | |
tree | b485ec8d353ab25f69a0900d684549fdc782106d | |
parent | d3bafc485f9a70ea469c0b815d33171a2a88e08a (diff) |
voice: add Get All Call Status
Equivalent of AT+CLCC to retrieve information about all current calls
-rw-r--r-- | data/qmi-collection-basic.json | 1 | ||||
-rw-r--r-- | data/qmi-service-voice.json | 54 | ||||
-rw-r--r-- | docs/reference/libqmi-glib/libqmi-glib-docs.xml | 1 |
3 files changed, 55 insertions, 1 deletions
diff --git a/data/qmi-collection-basic.json b/data/qmi-collection-basic.json index 187790d..655150b 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 5499fd1..dee5f9c 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 7944833..b7bdc6e 100644 --- a/docs/reference/libqmi-glib/libqmi-glib-docs.xml +++ b/docs/reference/libqmi-glib/libqmi-glib-docs.xml @@ -424,6 +424,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> |