public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Lars Grunewaldt <lgw@dark-reality.de>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] "comlicated" setup - known issues for	hid and SCO?
Date: Tue, 10 Aug 2004 14:51:15 +0200	[thread overview]
Message-ID: <1092142275.4564.105.camel@pegasus> (raw)
In-Reply-To: <411810BF.8010001@dark-reality.de>

Hi Lars,

> I'd not have asked if I thought it would have to do (much) with btsco.
> 
> Here's what this channel does (default if not given is 2):
> 
> 	addr.rc_family = AF_BLUETOOTH;
> 	bacpy(&addr.rc_bdaddr, dst);
> 	addr.rc_channel = channel;
> 	if (connect(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
> 		close(s);
> 		return -1;
> 	}
> 
> I just thought you might remember something from the BT specs or so. But
> if you don't, I don't want to bother you, I can read up myself :)

the channel is headset specific. You must use SDP to retrieve the
correct value. The first headset on the market (HBH-10) used RFCOMM
channel 6. Some others uses channel 1 etc.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2004-08-10 12:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 16:40 [Bluez-devel] "comlicated" setup - known issues for hid and SCO? Lars Grunewaldt
2004-08-09 17:13 ` Marcel Holtmann
2004-08-09 17:25   ` Lars Grunewaldt
2004-08-09 17:44     ` Marcel Holtmann
     [not found]       ` <4117BA71.5000800@dark-reality.de>
2004-08-09 22:29         ` Marcel Holtmann
2004-08-10  0:03           ` Lars Grunewaldt
2004-08-10 12:51             ` Marcel Holtmann [this message]
2004-08-10 12:25           ` Lars Grunewaldt
2004-08-10 12:49             ` Marcel Holtmann

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=1092142275.4564.105.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=lgw@dark-reality.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