From: 卞磊 <mykofzone@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: eSCO or SCO link?
Date: Tue, 31 Mar 2009 13:45:36 +0800 [thread overview]
Message-ID: <a172fe730903302245k1bb2209ag371e07d4a0cbbb80@mail.gmail.com> (raw)
Hi All,
I have a stlc2500c which is a Bluetooth 1.2 chip. When debuging
function 'hci_connect', i found the hci link type of the arguments was
SCO_LINK, because i enabled 'lmp_esco_capable' in my kernel, it call
'hci_setup_sync' to setup eSCO link.
struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t
*dst, __u8 auth_type)
{
.....
if (lmp_esco_capable(hdev))
{
hci_setup_sync(sco, acl->handle);
}
else
{
hci_add_sco(sco, acl->handle);
}
}
next reply other threads:[~2009-03-31 5:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 5:45 卞磊 [this message]
2009-03-31 5:53 ` eSCO or SCO link? 卞磊
2009-03-31 6:13 ` Nick Pelly
2009-03-31 6:43 ` 卞磊
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=a172fe730903302245k1bb2209ag371e07d4a0cbbb80@mail.gmail.com \
--to=mykofzone@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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