<div>Sorry, wrong hcidump file, that one wasn't verbose. This one is:</div>
<div> </div>
<div>HCI sniffer - Bluetooth packet analyzer ver 1.28<br>< HCI Command: Read Voice Setting (0x03|0x0025) plen 0<br>> HCI Event: Command Complete (0x0e) plen 6<br> Read Voice Setting (0x03|0x0025) ncmd 1<br> status 0x00 voice setting 0x0060
<br>< HCI Command: Create Connection (0x01|0x0005) plen 13<br> bdaddr 00:07:A4:03:33:33 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000<br> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 <br>> HCI Event: Command Status (0x0f) plen 4
<br> Create Connection (0x01|0x0005) status 0x00 ncmd 1<br>> HCI Event: Link Key Request (0x17) plen 6<br> bdaddr 00:07:A4:03:33:33<br>< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22<br> bdaddr 00:07:A4:03:33:33 key 8F9AB53B0E669C0F7E324AA14A8DB535
<br>> HCI Event: Command Complete (0x0e) plen 10<br> Link Key Request Reply (0x01|0x000b) ncmd 1<br> status 0x00 bdaddr 00:07:A4:03:33:33<br>> HCI Event: Connect Complete (0x03) plen 11<br> status 0x00 handle 1 bdaddr 00:07:A4:03:33:33 type ACL encrypt 0x01
<br>< ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(s): Connect req: psm 3 scid 0x0040<br>< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4<br> handle 1 policy 0x0f<br> Link policy: RSWITCH HOLD SNIFF PARK
<br>> HCI Event: Command Complete (0x0e) plen 6<br> Write Link Policy Settings (0x02|0x000d) ncmd 1<br> status 0x00 handle 1<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 1<br>
> ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Connect rsp: dcid 0x0048 scid 0x0040 result 1 status 2<br> Connection pending - Authorization pending<br>> ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Connect rsp: dcid 0x0048 scid 0x0040 result 0 status 0
<br> Connection successful<br>< ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Config req: dcid 0x0048 flags 0x00 clen 4<br> MTU 1024 <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 1
<br>> ACL data: handle 1 flags 0x02 dlen 14<br> L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0<br> Success<br>> ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
<br> MTU 1024 <br>< ACL data: handle 1 flags 0x02 dlen 14<br> L2CAP(s): Config rsp: scid 0x0048 flags 0x00 result 0 clen 0<br> Success<br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]
<br> RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 2<br>> ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0040 len 4 [psm 3]
<br> RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 <br>< ACL data: handle 1 flags 0x02 dlen 18<br> L2CAP(d): cid 0x0048 len 14 [psm 3]<br> RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8<br>
dlci 2 frame_type 0 credit_flow 15 pri 7 ack_timer 0<br> frame_size 1019 max_retrans 0 credits 7<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 1<br>> ACL data: handle 1 flags 0x02 dlen 18
<br> L2CAP(d): cid 0x0040 len 14 [psm 3]<br> RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8<br> dlci 2 frame_type 0 credit_flow 14 pri 7 ack_timer 0<br> frame_size 127 max_retrans 0 credits 0
<br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]<br> RFCOMM(s): SABM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x59 <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 1
<br>> ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0040 len 4 [psm 3]<br> RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 <br>< ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(d): cid 0x0048 len 8 [psm 3]
<br> RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0<br>> ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(d): cid 0x0040 len 8 [psm 3]
<br> RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0<br>< ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(d): cid 0x0048 len 8 [psm 3]
<br> RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 2
<br>> ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(d): cid 0x0040 len 8 [psm 3]<br> RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0
<br>< ACL data: handle 1 flags 0x02 dlen 9<br> L2CAP(d): cid 0x0048 len 5 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 1 ilen 0 fcs 0x86 credits 33<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>
handle 1 packets 1<br>> ACL data: handle 1 flags 0x02 dlen 9<br> L2CAP(d): cid 0x0040 len 5 [psm 3]<br> RFCOMM(d): UIH: cr 0 dlci 2 pf 1 ilen 0 fcs 0x5c credits 15<br>> HCI Event: Mode Change (0x14) plen 6
<br> status 0x00 handle 1 mode 0x02 interval 2048<br> Mode: Sniff<br>< HCI Command: Add SCO Connection (0x01|0x0007) plen 4<br> handle 1 ptype 0x00e0<br> Packet type: HV1 HV2 HV3 <br>> HCI Event: Command Status (0x0f) plen 4
<br> Add SCO Connection (0x01|0x0007) status 0x00 ncmd 1<br>> HCI Event: Connect Complete (0x03) plen 11<br> status 0x00 handle 257 bdaddr 00:07:A4:03:33:33 type SCO encrypt 0x01<br>> ACL data: handle 1 flags 0x02 dlen 18
<br> L2CAP(d): cid 0x0040 len 14 [psm 3]<br> RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 10 fcs 0x40 <br> 0000: 41 54 2b 56 47 53 3d 31 31 0d AT+VGS=11.<br>< ACL data: handle 1 flags 0x02 dlen 14
<br> L2CAP(d): cid 0x0048 len 10 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 6 fcs 0x9a <br> 0000: 0d 0a 4f 4b 0d 0a ..OK..<br>> HCI Event: Number of Completed Packets (0x13) plen 5
<br> handle 1 packets 1<br>< ACL data: handle 1 flags 0x02 dlen 18<br> L2CAP(d): cid 0x0048 len 14 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 10 fcs 0x9a <br> 0000: 41 54 2b 56 47 53 3d 31 31 0d AT+VGS=11.
<br>< ACL data: handle 1 flags 0x02 dlen 17<br> L2CAP(d): cid 0x0048 len 13 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 9 fcs 0x9a <br> 0000: 41 54 2b 56 47 4d 3d 31 0d AT+VGM=1.
<br>< HCI Command: Disconnect (0x01|0x0006) plen 3<br> handle 257 reason 0x13<br> Reason: Remote User Terminated Connection<br>> HCI Event: Command Status (0x0f) plen 4<br> Disconnect (0x01|0x0006) status 0x00 ncmd 1
<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 2<br>> HCI Event: Disconn Complete (0x05) plen 4<br> status 0x00 handle 257 reason 0x16<br> Reason: Connection Terminated by Local Host
<br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]<br> RFCOMM(s): DISC: cr 1 dlci 2 pf 1 ilen 0 fcs 0xb8 <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br> handle 1 packets 1
<br>> ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0040 len 4 [psm 3]<br> RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 <br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]
<br> RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd <br>< ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(s): Disconn req: dcid 0x0048 scid 0x0040<br> </div>
<div> </div>
<div>Thanks,</div>
<div>Razvan<br><br> </div>
<div><span class="gmail_quote">On 12/18/05, <b class="gmail_sendername">Razvan Dragomirescu</b> <<a href="mailto:razvan.dragomirescu@gmail.com">razvan.dragomirescu@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hello everyone,</div>
<div> </div>
<div>I have spent the past 2 days trying to get a JABRA 250 Bluetooth headset to work with my Nokia 770. I followed the instructions at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://maemo.org/maemowiki/BluetoothHeadset" target="_blank">
http://maemo.org/maemowiki/BluetoothHeadset </a> and everything went fine, up to the point described in the Wiki. I have also compiled the alsa-utils package to get the "aplay" utility and tried to play some sound.
</div>
<div> </div>
<div>Nokia770-45:~# ./aplay -D plughw:Headset /media/mmc1/xp.wav <br>Playing WAVE '/media/mmc1/xp.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo</div>
<div> </div>
<div>This command never returns unless I press ctrl-c and kill it. There seems to be some sort of connection established, but all I hear in the headset is some hissing and popping, I have no idea how to describe it. It's definitely not silence, but it has no connection to the content of the WAV being played either. Here's what btsco says during all this:
</div>
<div> </div>
<div>Nokia770-45:~# btsco -v 00:07:A4:03:33:33 1<br>btsco v0.4c<br>Device is 1:0<br>Voice setting: 0x0060<br>RFCOMM channel 1 connected<br>Nokia770-45:~# btsco -v 00:07:A4:03:33:33 1<br>btsco v0.4c<br>Device is 1:0<br>Voice setting: 0x0060
<br>RFCOMM channel 1 connected<br>speaker volume: 0 mic volume: 0<br>i/o needed: connecting sco...<br>connected SCO channel<br>Done setting sco fd<br>recieved AT+VGS=11<br>Sending up speaker change 11<br>speaker volume: 11 mic volume: 1
<br>driver is not in use<br>disconnected SCO channel</div>
<div> </div>
<div>The last 2 lines appear after I press CTRL-C to kill "aplay" and then CTRL-C to kill btsco.</div>
<div> </div>
<div>The same hissing/popping sounds are heard when using the "hstest" tool from bluez-utils (this one plays the sound directly over Bluetooth as far as I can tell). And also the same type of sound is heard when using chan_bluetooth (
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.crazygreek.co.uk/content/chan_bluetooth" target="_blank">http://www.crazygreek.co.uk/content/chan_bluetooth</a>) with the ported version of Asterisk on the Nokia 770.
</div>
<div> </div>
<div>This seems to have been reported before (not for the 770): <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1273754&group_id=116589&atid=678258" target="_blank">
http://sourceforge.net/tracker/index.php?func=detail&aid=1273754&group_id=116589&atid=678258 </a> . However, the solution "pskey mapsco 0" only seems to work with CSR Bluetooth chips, and the 770 has a TI chip.
</div>
<div> </div>
<div>If anyone's interested, I'm attaching the output of a "hcidump -X -V" during all this.</div>
<div> </div>
<div>HCI sniffer - Bluetooth packet analyzer ver 1.28<br>< HCI Command: Read Voice Setting (0x03|0x0025) plen 0<br>> HCI Event: Command Complete (0x0e) plen 6<br>< HCI Command: Create Connection (0x01|0x0005) plen 13
<br>> HCI Event: Command Status (0x0f) plen 4<br>> HCI Event: Link Key Request (0x17) plen 6<br>< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22<br>> HCI Event: Command Complete (0x0e) plen 10<br>> HCI Event: Connect Complete (0x03) plen 11
<br>< ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(s): Connect req: psm 3 scid 0x0040<br>< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4<br>> HCI Event: Command Complete (0x0e) plen 6<br>> HCI Event: Number of Completed Packets (0x13) plen 5
<br>> ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Connect rsp: dcid 0x0048 scid 0x0040 result 1 status 2<br> Connection pending - Authorization pending<br>> ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Connect rsp: dcid 0x0048 scid 0x0040 result 0 status 0
<br> Connection successful<br>< ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Config req: dcid 0x0048 flags 0x00 clen 4<br> MTU 1024 <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>> ACL data: handle 1 flags 0x02 dlen 14
<br> L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0<br> Success<br>> ACL data: handle 1 flags 0x02 dlen 16<br> L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4<br> MTU 1024 <br>< ACL data: handle 1 flags 0x02 dlen 14
<br> L2CAP(s): Config rsp: scid 0x0048 flags 0x00 result 0 clen 0<br> Success<br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]<br> RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>> ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0040 len 4 [psm 3]<br> RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 <br>< ACL data: handle 1 flags 0x02 dlen 18
<br> L2CAP(d): cid 0x0048 len 14 [psm 3]<br> RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8<br> dlci 2 frame_type 0 credit_flow 15 pri 7 ack_timer 0<br> frame_size 1019 max_retrans 0 credits 7
<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>> ACL data: handle 1 flags 0x02 dlen 18<br> L2CAP(d): cid 0x0040 len 14 [psm 3]<br> RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
<br> dlci 2 frame_type 0 credit_flow 14 pri 7 ack_timer 0<br> frame_size 127 max_retrans 0 credits 0<br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]<br> RFCOMM(s): SABM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x59
<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>> ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0040 len 4 [psm 3]<br> RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 <br>< ACL data: handle 1 flags 0x02 dlen 12
<br> L2CAP(d): cid 0x0048 len 8 [psm 3]<br> RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0<br>> ACL data: handle 1 flags 0x02 dlen 12
<br> L2CAP(d): cid 0x0040 len 8 [psm 3]<br> RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0<br>< ACL data: handle 1 flags 0x02 dlen 12
<br> L2CAP(d): cid 0x0048 len 8 [psm 3]<br> RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0<br>> HCI Event: Number of Completed Packets (0x13) plen 5
<br>> ACL data: handle 1 flags 0x02 dlen 12<br> L2CAP(d): cid 0x0040 len 8 [psm 3]<br> RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2<br> dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0
<br>< ACL data: handle 1 flags 0x02 dlen 9<br> L2CAP(d): cid 0x0048 len 5 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 1 ilen 0 fcs 0x86 credits 33<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>
> ACL data: handle 1 flags 0x02 dlen 9<br> L2CAP(d): cid 0x0040 len 5 [psm 3]<br> RFCOMM(d): UIH: cr 0 dlci 2 pf 1 ilen 0 fcs 0x5c credits 15<br>> HCI Event: Mode Change (0x14) plen 6<br>< HCI Command: Add SCO Connection (0x01|0x0007) plen 4
<br>> HCI Event: Command Status (0x0f) plen 4<br>> HCI Event: Connect Complete (0x03) plen 11<br>> ACL data: handle 1 flags 0x02 dlen 18<br> L2CAP(d): cid 0x0040 len 14 [psm 3]<br> RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 10 fcs 0x40
<br>< ACL data: handle 1 flags 0x02 dlen 14<br> L2CAP(d): cid 0x0048 len 10 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 6 fcs 0x9a <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>< ACL data: handle 1 flags 0x02 dlen 18
<br> L2CAP(d): cid 0x0048 len 14 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 10 fcs 0x9a <br>< ACL data: handle 1 flags 0x02 dlen 17<br> L2CAP(d): cid 0x0048 len 13 [psm 3]<br> RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 9 fcs 0x9a
<br>< HCI Command: Disconnect (0x01|0x0006) plen 3<br>> HCI Event: Command Status (0x0f) plen 4<br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>> HCI Event: Disconn Complete (0x05) plen 4<br>< ACL data: handle 1 flags 0x02 dlen 8
<br> L2CAP(d): cid 0x0048 len 4 [psm 3]<br> RFCOMM(s): DISC: cr 1 dlci 2 pf 1 ilen 0 fcs 0xb8 <br>> HCI Event: Number of Completed Packets (0x13) plen 5<br>> ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0040 len 4 [psm 3]
<br> RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 <br>< ACL data: handle 1 flags 0x02 dlen 8<br> L2CAP(d): cid 0x0048 len 4 [psm 3]<br> RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd <br>< ACL data: handle 1 flags 0x02 dlen 12
<br> L2CAP(s): Disconn req: dcid 0x0048 scid 0x0040</div>
<div> </div>
<div>Has anyone been successful in establishing SCO connections between a Nokia 770 and a Bluetooth headset? According to this: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://article.gmane.org/gmane.linux.bluez.devel/6728" target="_blank">
http://article.gmane.org/gmane.linux.bluez.devel/6728 </a> , Nokia is working on Bluetooth headset support. Could anyone at Nokia give us an update?</div>
<div> </div>
<div>Thank you,</div>
<div>Razvan<br> </div>
<div><br>-- <br>Razvan Dragomirescu<br>Chief Technology Officer<br>Cayenne Graphics SRL </div></blockquote></div><br><br clear="all"><br>-- <br>Razvan Dragomirescu<br>Chief Technology Officer<br>Cayenne Graphics SRL