xehapo
November 27th, 2008, 04:01 PM
Hello! I'm trying to stream music from my laptop running Ubuntu 8.10 Intrepid to SE MBR-100 via bluetooth with no luck still.
Generally, the problem is, that hcitool cc drops the connection after it established by unknown reason.
The applet (1.8) fails to establish successful connection, also. I have tried this with two bt usb adapters.
For a part of second something about PIN appears in applet and then connection fails.
here are some outputs:
hciconfig -a
hci0: Type: USB
BD Address: 00:11:67:C1:60:E7 ACL MTU: 1021:4 SCO MTU: 48:10
UP RUNNING PSCAN ISCAN
RX bytes:3583 acl:0 sco:0 events:135 errors:0
TX bytes:1068 acl:0 sco:0 commands:76 errors:0
Features: 0xff 0xfe 0xff 0x7e 0x98 0x19 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'barcelona'
Class: 0x0a010c
Service Classes: Networking, Capturing
Device Class: Computer, Laptop
HCI Ver: 2.0 (0x3) HCI Rev: 0x302 LMP Ver: 2.0 (0x3) LMP Subver: 0x302
Manufacturer: Integrated System Solution Corp. (57)
hcitool cc 00:18:13:DE:8F:55; hcitool info 00:18:13:DE:8F:55
Requesting information ...
BD Address: 00:18:13:DE:8F:55
Device Name: MBR-100
LMP Version: 2.0 (0x3) LMP Subversion: 0xbf1
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
<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> <paging scheme>
<power control> <transparent SCO> <broadcast encrypt>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<inquiry with RSSI> <AFH cap. slave> <AFH class. slave>
<AFH cap. master> <AFH class. master> <extended features>
The problem is, that when i do "hcitool cc xx:xx:xx:xx:xx:xx" the connection established first, but it drops a few seconds later:
root@barcelona:/etc/init.d# hcitool cc 00:18:13:DE:8F:55; hcitool con
Connections:
< ACL 00:18:13:DE:8F:55 handle 1 state 1 lm MASTER
root@barcelona:/etc/init.d# hcitool con
Connections:
root@barcelona:/etc/init.d#
at the same time another terminal session was capturing hcidump:
hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:18:13:DE:8F:55 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 1 bdaddr 00:18:13:DE:8F:55 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 1
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
bdaddr 00:18:13:DE:8F:55 mode 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 1 slots 5
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:18:13:DE:8F:55 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
status 0x00 handle 1 ptype 0xff1e
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 2-DH1 2-DH3 2-DH5 3-DH1 3-DH3 3-DH5
> HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 1
Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:18:13:DE:8F:55 name 'MBR-100'
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 1 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 1 reason 0x16
Reason: Connection Terminated by Local Host
I would like to understand at last, how can I stream the music to my SE MBR-100 device. And cannot understand what the problem happens here, why connection has been dropped, even without PIN request
Please help!
Generally, the problem is, that hcitool cc drops the connection after it established by unknown reason.
The applet (1.8) fails to establish successful connection, also. I have tried this with two bt usb adapters.
For a part of second something about PIN appears in applet and then connection fails.
here are some outputs:
hciconfig -a
hci0: Type: USB
BD Address: 00:11:67:C1:60:E7 ACL MTU: 1021:4 SCO MTU: 48:10
UP RUNNING PSCAN ISCAN
RX bytes:3583 acl:0 sco:0 events:135 errors:0
TX bytes:1068 acl:0 sco:0 commands:76 errors:0
Features: 0xff 0xfe 0xff 0x7e 0x98 0x19 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'barcelona'
Class: 0x0a010c
Service Classes: Networking, Capturing
Device Class: Computer, Laptop
HCI Ver: 2.0 (0x3) HCI Rev: 0x302 LMP Ver: 2.0 (0x3) LMP Subver: 0x302
Manufacturer: Integrated System Solution Corp. (57)
hcitool cc 00:18:13:DE:8F:55; hcitool info 00:18:13:DE:8F:55
Requesting information ...
BD Address: 00:18:13:DE:8F:55
Device Name: MBR-100
LMP Version: 2.0 (0x3) LMP Subversion: 0xbf1
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
<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> <paging scheme>
<power control> <transparent SCO> <broadcast encrypt>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<inquiry with RSSI> <AFH cap. slave> <AFH class. slave>
<AFH cap. master> <AFH class. master> <extended features>
The problem is, that when i do "hcitool cc xx:xx:xx:xx:xx:xx" the connection established first, but it drops a few seconds later:
root@barcelona:/etc/init.d# hcitool cc 00:18:13:DE:8F:55; hcitool con
Connections:
< ACL 00:18:13:DE:8F:55 handle 1 state 1 lm MASTER
root@barcelona:/etc/init.d# hcitool con
Connections:
root@barcelona:/etc/init.d#
at the same time another terminal session was capturing hcidump:
hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:18:13:DE:8F:55 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 1 bdaddr 00:18:13:DE:8F:55 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 1
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
bdaddr 00:18:13:DE:8F:55 mode 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 1 slots 5
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:18:13:DE:8F:55 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
status 0x00 handle 1 ptype 0xff1e
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 2-DH1 2-DH3 2-DH5 3-DH1 3-DH3 3-DH5
> HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 1
Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:18:13:DE:8F:55 name 'MBR-100'
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 1 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 1 reason 0x16
Reason: Connection Terminated by Local Host
I would like to understand at last, how can I stream the music to my SE MBR-100 device. And cannot understand what the problem happens here, why connection has been dropped, even without PIN request
Please help!