Sierra MC7304 / Speech

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Sat Nov 26 20:08:39 UTC 2016


Hi,

I am interested to know if it is possible to do speech calls via QMI on the
MC7304. I have the MC7304 with speech capable firmware, and I can do speech
calls via AT commands (although the AT port might freeze after a number of
calls).

When I tried the "--voice-get-supported-messages" I get InvalidQmiCommand,
so I can't see which messages would be supported.

I use the master branch of qmicli.

I was checking the qmi-service-voice.json and saw that there are some
commands defined, but maybe they are not implemented? or then the modem
does not have them implemented?

-Sebastian

root at MR0S03B05:/opt/libqmi/src# qmicli --version

qmicli 1.17.0
Copyright (C) 2015 Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <
http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

root at MR0S03B05:/opt/libqmi/src#

root at MR0S03B05:/opt/libqmi/src# qmicli -d /dev/cdc-wdm0 --dms-get-revision
[/dev/cdc-wdm0] Device revision retrieved:
Revision: 'SWI9X15C_06.03.32.04 r28324 CNSHZ-AR-BUILD 2015/05/25 01:09:15'
root at MR0S03B05:/opt/libqmi/src# qmicli -d /dev/cdc-wdm0 --dms-get-model
[/dev/cdc-wdm0] Device model retrieved:
Model: 'MC7304'
root at MR0S03B05:/opt/libqmi/src# qmicli -d /dev/cdc-wdm0 --voice-get-config
[/dev/cdc-wdm0] Successfully retrieved Voice configuration:
AMR Status:
GSM: 'enabled'
WCDMA: 'unknown' (0x0000)
root at MR0S03B05:/opt/libqmi/src# qmicli -d /dev/cdc-wdm0
--voice-get-supported-messages
error: couldn't get supported VOICE messages: QMI protocol error (71):
'InvalidQmiCommand'
root at MR0S03B05:/opt/libqmi/src# qmicli -d /dev/cdc-wdm0
--voice-get-supported-messages -v
[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Opening device with flags
'none'...
[26 Nov 2016, 20:52:44] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Assuming service 'voice' is
supported...
[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:09

[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 15
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 4
<<<<<<   message     = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<<   type       = "Service" (0x01)
<<<<<<   length     = 1
<<<<<<   value      = 09
<<<<<<   translated = voice

[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 24
>>>>>>   data   =
01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:09:02

[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>>   length  = 23
>>>>>>   flags   = 0x80
>>>>>>   service = "ctl"
>>>>>>   client  = 0
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Allocate CID" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Allocation Info" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = 09:02
>>>>>>   translated = [ service = 'voice' cid = '2' ]

[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Registered 'voice' (version
unknown) client with ID '2'
[26 Nov 2016, 20:52:44] [Debug] Asynchronously getting supported voice
messages...
[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:09:02:00:01:00:1E:00:00:00

[26 Nov 2016, 20:52:44] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "voice"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Supported Messages" (0x001E)

[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 20
>>>>>>   data   =
01:13:00:80:09:02:02:01:00:1E:00:07:00:02:04:00:01:00:47:00

[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>>   length  = 19
>>>>>>   flags   = 0x80
>>>>>>   service = "voice"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 7
>>>>>>   message     = "Get Supported Messages" (0x001E)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 01:00:47:00
>>>>>>   translated = FAILURE: InvalidQmiCommand

error: couldn't get supported VOICE messages: QMI protocol error (71):
'InvalidQmiCommand'
[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Releasing 'voice' client
with flags 'release-cid'...
[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Unregistered 'voice' client
with ID '2'
[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 17
<<<<<<   data   = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:09:02

[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 16
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 5
<<<<<<   message     = "Release CID" (0x0023)
<<<<<< TLV:
<<<<<<   type       = "Release Info" (0x01)
<<<<<<   length     = 2
<<<<<<   value      = 09:02
<<<<<<   translated = [ service = 'voice' cid = '2' ]

[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 24
>>>>>>   data   =
01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:09:02

[26 Nov 2016, 20:52:45] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>>   length  = 23
>>>>>>   flags   = 0x80
>>>>>>   service = "ctl"
>>>>>>   client  = 0
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 2
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Release CID" (0x0023)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Release Info" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = 09:02
>>>>>>   translated = [ service = 'voice' cid = '2' ]

[26 Nov 2016, 20:52:45] [Debug] Client released
root at MR0S03B05:/opt/libqmi/src#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20161126/cfca8f00/attachment.html>


More information about the libqmi-devel mailing list