All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Grunewaldt <lgw@dark-reality.de>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] "comlicated" setup - known issues for	hid and SCO?
Date: Tue, 10 Aug 2004 02:03:11 +0200	[thread overview]
Message-ID: <411810BF.8010001@dark-reality.de> (raw)
In-Reply-To: <1092090585.4564.51.camel@pegasus>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcel Holtmann wrote:
| Hi Lars,
|
|
|>| I don't see the hold mode. This can cause problem if they form a
|>| scatternet. When both are connect what does "hcitool con" say?
|>
|>without SCO connection active:
|>Connections:
|>~        < ACL 00:0E:07:33:DE:2B handle 45 state 1 lm MASTER
|>~        > ACL 00:07:61:04:D6:7D handle 41 state 1 lm MASTER
|>
|>
|>with active SCO connection:
|>Connections:
|>~        < SCO 00:0E:07:33:DE:2B handle 44 state 1 lm SLAVE
|>~        < ACL 00:0E:07:33:DE:2B handle 45 state 1 lm MASTER
|>~        > ACL 00:07:61:04:D6:7D handle 41 state 1 lm MASTER
|
|
| so both devices are in the same piconet. There should be no problem, but
| from my position I can't tell you anything more.
|

Hm OK thanks anyway. I'll try to find out what's happening.

|>BTW, do you know what is the difference between using channel "1" and
|>"no" channel for the SCO connection? The btsco client has this option,
|>and if it's used as "1" the language for the RFCOMM commands seems to be
|>different (i.e. if I press the take/hold button on the headset, I get
|>"AT+BVRA=?" when using without "channel", but "AT+CKPD=200" when used
|>with channel 1).
|
| I've never used the btsco software.

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 :)

thanks,
~  Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBGBC+QWC6DTWkDAoRAsD3AKCiWO+t6jNpm35Sq3EzoXG/+oPUeQCfdmAm
dlxxjGyWd45MV3RvVQvPJFI=
=nZcH
-----END PGP SIGNATURE-----


-------------------------------------------------------
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  0:03 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 [this message]
2004-08-10 12:51             ` Marcel Holtmann
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=411810BF.8010001@dark-reality.de \
    --to=lgw@dark-reality.de \
    --cc=bluez-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.