From 51015cd26b034ee6d076bca9580f9a8812059e5c Mon Sep 17 00:00:00 2001 From: Dylan Van Assche Date: Tue, 31 Aug 2021 20:47:15 +0200 Subject: voice: add Get All Call Status Equivalent of AT+CLCC to retrieve information about all current calls --- data/qmi-collection-basic.json | 1 + data/qmi-service-voice.json | 54 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 1 deletion(-) (limited to 'data') 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", -- cgit v1.2.1