* [Bluez-devel] bluetooth headset
@ 2005-01-18 11:45 Daniel Andor
2005-01-18 16:01 ` Brad Midgley
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Andor @ 2005-01-18 11:45 UTC (permalink / raw)
To: bluez-devel
Hi,
Had success with connecting to my laptop's headset profile, but not before
figuring out that it doesn't work with the default channel 7, but needs to be
made to use channel 8:
Does't work:
$ ./btsco 00:0B:6B:58:92:E9
Device is 3:0
Voice setting: 0x0060
RFCOMM channel 7 connected
Does work:
$ ./btsco 00:0B:6B:58:92:E9 8
Device is 3:0
Voice setting: 0x0060
RFCOMM channel 8 connected
recieved AT+BRSF=22
recieved AT+CIND=?
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+CIND?
AT+CMER=3,0,0,1=15
Sending up speaker change 15
recieved AT+CHLD=?
recieved AT+CCWA=1
recieved AT+CLIP=1
Details:
$ uname -a
Linux pooh 2.6.9-2-k7 #1 Sat Jan 8 15:38:24 EST 2005 i686 GNU/Linux
$ sudo hciconfig -a
hci0: Type: USB
BD Address: 00:02:72:40:AD:56 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:9550635 acl:181 sco:187095 events:359 errors:0
TX bytes:9545657 acl:188 sco:187095 commands:98 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'pooh'
Class: 0x100100
Service Classes: Object Transfer
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
$ sudo hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:02:72:40:AD:56 ACL MTU: 192:8 SCO MTU: 64:8
HCI 16.4
Chip version: BlueCore02
Max key size: 56 bit
SCO mapping: HCI
$ sudo hcitool info 00:0B:6B:58:92:E9
Requesting information ...
BD Address: 00:0B:6B:58:92:E9
Device Name: HANNAH
LMP Version: 1.2 (0x2) LMP Subversion: 0x694a
Manufacturer: Broadcom Corporation (15)
Features: 0xff 0xff 0x0d 0x38 0x08 0x08 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
<transparent SCO> <enhanced iscan> <interlaced iscan>
<interlaced pscan> <AFH cap. slave> <AFH cap. master>
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Bluez-devel] bluetooth headset
2005-01-18 11:45 [Bluez-devel] bluetooth headset Daniel Andor
@ 2005-01-18 16:01 ` Brad Midgley
2005-01-18 21:13 ` [Bluez-devel] " Paul Ionescu
0 siblings, 1 reply; 4+ messages in thread
From: Brad Midgley @ 2005-01-18 16:01 UTC (permalink / raw)
To: bluez-devel
daniel,
btsco.c (userspace) has a function detect_channel that tries to figure
out the channel using sdp. i believe it's equivalent to running:
sdptool search --bdaddr 00:0A:D9:74:B4:EA 0x1108
what kind of output do you get when you search your headset?
can anyone confirm that 0x1108 is the right way to find the headset
profile over sdp?
paul ionescu had a similar problem with the jabra bt 110...
brad
Daniel Andor wrote:
> Hi,
>
> Had success with connecting to my laptop's headset profile, but not before
> figuring out that it doesn't work with the default channel 7, but needs to be
> made to use channel 8:
>
> Does't work:
> $ ./btsco 00:0B:6B:58:92:E9
> Device is 3:0
> Voice setting: 0x0060
> RFCOMM channel 7 connected
>
> Does work:
> $ ./btsco 00:0B:6B:58:92:E9 8
> Device is 3:0
> Voice setting: 0x0060
> RFCOMM channel 8 connected
> recieved AT+BRSF=22
> recieved AT+CIND=?
> opened hwdep
> connected SCO channel
> Setting sco fd
> Done setting sco fd
> recieved AT+CIND?
> AT+CMER=3,0,0,1=15
> Sending up speaker change 15
> recieved AT+CHLD=?
> recieved AT+CCWA=1
> recieved AT+CLIP=1
>
> Details:
> $ uname -a
> Linux pooh 2.6.9-2-k7 #1 Sat Jan 8 15:38:24 EST 2005 i686 GNU/Linux
>
> $ sudo hciconfig -a
> hci0: Type: USB
> BD Address: 00:02:72:40:AD:56 ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:9550635 acl:181 sco:187095 events:359 errors:0
> TX bytes:9545657 acl:188 sco:187095 commands:98 errors:0
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: ACCEPT MASTER
> Name: 'pooh'
> Class: 0x100100
> Service Classes: Object Transfer
> Device Class: Computer, Uncategorized
> HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
> Manufacturer: Cambridge Silicon Radio (10)
>
> $ sudo hciconfig hci0 revision
> hci0: Type: USB
> BD Address: 00:02:72:40:AD:56 ACL MTU: 192:8 SCO MTU: 64:8
> HCI 16.4
> Chip version: BlueCore02
> Max key size: 56 bit
> SCO mapping: HCI
>
> $ sudo hcitool info 00:0B:6B:58:92:E9
> Requesting information ...
> BD Address: 00:0B:6B:58:92:E9
> Device Name: HANNAH
> LMP Version: 1.2 (0x2) LMP Subversion: 0x694a
> Manufacturer: Broadcom Corporation (15)
> Features: 0xff 0xff 0x0d 0x38 0x08 0x08 0x00 0x00
> <3-slot packets> <5-slot packets> <encryption> <slot offset>
> <timing accuracy> <role switch> <hold mode> <sniff mode>
> <park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
> <HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
> <transparent SCO> <enhanced iscan> <interlaced iscan>
> <interlaced pscan> <AFH cap. slave> <AFH cap. master>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bluez-devel] Re: bluetooth headset
2005-01-18 16:01 ` Brad Midgley
@ 2005-01-18 21:13 ` Paul Ionescu
0 siblings, 0 replies; 4+ messages in thread
From: Paul Ionescu @ 2005-01-18 21:13 UTC (permalink / raw)
To: bluez-devel
Hi Brad,
The problem was not the detection itself.
Indeed sco was connecting to Jabra BT 110 to the headset channel.
But it worked better on handsfree channel.
The headset profile is pretty dumb, comparing to handsfree profile.
So I forced to connect to handsfree instead of headset.
Maybe we should check if the headset implements both profiles, and if so,
choose the handsfree profile which is better.
Best regards,
Paul
On Tue, 18 Jan 2005 09:01:52 -0700, Brad Midgley wrote:
> paul ionescu had a similar problem with the jabra bt 110...
>
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bluez-devel] Bluetooth headset
@ 2006-01-26 7:41 Poovern Govender
0 siblings, 0 replies; 4+ messages in thread
From: Poovern Govender @ 2006-01-26 7:41 UTC (permalink / raw)
To: bluez-devel
Im a student working on a vacation work project which involves =20
getting a bluetooth headset working with a PDA please send any =20
latest sco driver or alsa driver available and any information you
might have on this topic. =20
Any information will be highly appreciated.
--------------------------------------------------------------------
Please find our disclaimer at http://www.ukzn.ac.za/disclaimer
--------------------------------------------------------------------
<<<<gwavasig>>>>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-26 7:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-18 11:45 [Bluez-devel] bluetooth headset Daniel Andor
2005-01-18 16:01 ` Brad Midgley
2005-01-18 21:13 ` [Bluez-devel] " Paul Ionescu
-- strict thread matches above, loose matches on Subject: below --
2006-01-26 7:41 [Bluez-devel] Bluetooth headset Poovern Govender
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox