Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Makhutov <artem@makhutov.org>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Huawei K3715 UMTS stick and alsa
Date: Fri, 31 Jul 2009 00:38:37 +0200	[thread overview]
Message-ID: <4A7220ED.6050406@makhutov.org> (raw)
In-Reply-To: <20090729093331.GB26953@titan.makhutov-it.de>

Hello,

Artem Makhutov schrieb:
> [...]
> I have done some small test with some AT commands using Windows and was trying
> to get audio to COM16 without the "Mobile Partner" software. But it did not
> worked.
> 
>>> The payload of this interfaces is 320 bytes.
>> How many bytes per second?

The phone is sending 320 bytes every 20ms. So one second of call is 
16000 bytes.

I finally managed to write the captured payload data to a file.
I can playback the audio now using

aplay -r 8000 -c 1 -f S16_LE test.wav

If you send the AT-Command "AT^CVOICE?" to the card then it will answer 
with "^CVOICE:0,8000,16,20" it is also possible to change this setting. 
So I think that the card should be able to output other audio formats 
too (like 3G wideband audio), but I have not tested this command out.

The next thing to do is to find out how to make the UMTS-Card output 
sound without using the "Mobile Partner" application.

Regards, Artem

      reply	other threads:[~2009-07-30 22:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-26 22:43 Huawei K3715 UMTS stick and alsa Artem Makhutov
2009-07-28  7:36 ` Clemens Ladisch
2009-07-29  9:33   ` Artem Makhutov
2009-07-30 22:38     ` Artem Makhutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7220ED.6050406@makhutov.org \
    --to=artem@makhutov.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox