[gnome-bluetooth] Sending file from Nokia 9500 to
gnome-obex-server 0.8.0 fails often
Juhani Jaakola
juhani.jaakola at kolumbus.fi
Fri Jun 29 12:02:19 BST 2007
Hi!
I have attached output of "hcidump -x -V" during a failed file transfer. Th=
e devices are very near each other. I can use Nokia 9500 as a GPRS modem wi=
thout problems, so in that case the bluetooth connection works. Could anybo=
dy tell me what this hcidump output means?
Regards, JJ
Bastien Nocera <hadess at hadess.net> kirjoitti: =
> On Tue, 2007-06-19 at 16:50 +0300, Juhani Jaakola wrote:
> > Hi!
> > =
> > When I try to send a file from Nokia 9500 Communicator to
> > gnome-obex-server 0.8.0 it fails often. For example, I had to try four
> > times before the file transfer succeeded. I can use Nokia 9500 as a
> > GPRS modem via bluetooth without problems. I'm using Fedora 7 which is
> > updated to the latest Fedora packages. I have packages
> > gnome-bluetooth-0.8.0-4.fc7 and gnome-bluetooth-libs-0.8.0-4.fc7
> > installed.
> > =
> > Any ideas?
> > =
> > Here is a log of my latest session:
> > =
> > [jj at acer ~]$ gnome-obex-server
> > conn_request: bdaddr 00:0E:ED:B2:4D:E6
> > conn_complete: status 0x00
> > ** Message: Incoming connection from 00:0E:ED:B2:4D:E6
> > ** Message: Device 00:0E:ED:B2:4D:E6 is about to send an object.
> > =
> > ** (gnome-obex-server:3403): WARNING **: Unhandled OBEX event 11
> =
> This warning is fixed in libbtctl SVN, I'll make a new release soon.
> =
> I don't see any other errors in the log though, and this warning
> shouldn't cause any problems. So I'm not sure where the problem would
> lie. You might want to try using "hcidump -x -V" and see if your phone
> is disconnecting for example.
> =
> Cheers
> =
> -- =
> Bastien Nocera <hadess at hadess.net> =
> =
-------------- next part --------------
HCI sniffer - Bluetooth packet analyzer ver 1.33
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
bdaddr 00:0E:ED:B2:4D:E6 class 0x50020c type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
bdaddr 00:0E:ED:B2:4D:E6 role 0x01
Role: Slave
> HCI Event: Command Status (0x0f) plen 4
Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 1 bdaddr 00:0E:ED:B2:4D:E6 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 Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 1 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK =
> HCI Event: Max Slots Change (0x1b) plen 3
handle 1 slots 5
> HCI Event: Command Complete (0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 1
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
handle 1 ptype 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 =
> HCI Event: Command Status (0x0f) plen 4
Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0E:ED:B2:4D:E6 mode 1 clkoffset 0x0000
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
status 0x00 handle 1 ptype 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 =
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x006a
< ACL data: handle 1 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x006a result 0 status 0
Connection successful
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0E:ED:B2:4D:E6 mode 1 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0E:ED:B2:4D:E6 mode 2 clkoffset 0x0000
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> 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 0xcc18
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 =
> HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 1
Features: 0xbf 0xfe 0x0f 0x00 0x00 0x00 0x00 0x00
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
< ACL data: handle 1 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x006a flags 0x00 result 0 clen 4
Success
MTU 672 =
< ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x006a flags 0x00 clen 0
> ACL data: handle 1 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:0E:ED:B2:4D:E6 name 'Jee Jee'
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 17
L2CAP(d): cid 0x0040 len 13 [psm 1]
SDP SS Req: tid 0x1 len 0x8
pat uuid-16 0x1105 (OBEXObjPush)
max 65535
cont 00
< ACL data: handle 1 flags 0x02 dlen 18
L2CAP(d): cid 0x006a len 14 [psm 1]
SDP SS Rsp: tid 0x1 len 0x9
count 1
handle 0x10000
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 21
L2CAP(d): cid 0x0040 len 17 [psm 1]
SDP SA Req: tid 0x2 len 0xc
handle 0x10000
max 1024
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 1 flags 0x02 dlen 36
L2CAP(d): cid 0x006a len 32 [psm 1]
SDP SA Rsp: tid 0x2 len 0x1b
count 24
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x4 > <
uuid-16 0x0008 (OBEX) > >
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 23
L2CAP(d): cid 0x0040 len 19 [psm 1]
SDP SS Req: tid 0x3 len 0xe
pat uuid-16 0x0003 (RFCOMM) uuid-16 0x0100 (L2CAP) uuid-16 0x1105=
(OBEXObjPush)
max 65535
cont 00
< ACL data: handle 1 flags 0x02 dlen 18
L2CAP(d): cid 0x006a len 14 [psm 1]
SDP SS Rsp: tid 0x3 len 0x9
count 1
handle 0x10000
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 21
L2CAP(d): cid 0x0040 len 17 [psm 1]
SDP SA Req: tid 0x4 len 0xc
handle 0x10000
max 1024
aid(s) 0x0001 (SrvClassIDList)
cont 00
< ACL data: handle 1 flags 0x02 dlen 22
L2CAP(d): cid 0x006a len 18 [psm 1]
SDP SA Rsp: tid 0x4 len 0xd
count 10
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1105 (OBEXObjPush) >
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 21
L2CAP(d): cid 0x0040 len 17 [psm 1]
SDP SA Req: tid 0x5 len 0xc
handle 0x10000
max 1024
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 1 flags 0x02 dlen 36
L2CAP(d): cid 0x006a len 32 [psm 1]
SDP SA Rsp: tid 0x5 len 0x1b
count 24
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x4 > <
uuid-16 0x0008 (OBEX) > >
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 21
L2CAP(d): cid 0x0040 len 17 [psm 1]
SDP SA Req: tid 0x6 len 0xc
handle 0x10000
max 1024
aid(s) 0x0009 (BTProfileDescList)
cont 00
< ACL data: handle 1 flags 0x02 dlen 27
L2CAP(d): cid 0x006a len 23 [psm 1]
SDP SA Rsp: tid 0x6 len 0x12
count 15
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1105 (OBEXObjPush) uint 0x100 > >
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 21
L2CAP(d): cid 0x0040 len 17 [psm 1]
SDP SA Req: tid 0x7 len 0xc
handle 0x10000
max 1024
aid(s) 0x0303 (SuppFormatsList)
cont 00
< ACL data: handle 1 flags 0x02 dlen 33
L2CAP(d): cid 0x006a len 29 [psm 1]
SDP SA Rsp: tid 0x7 len 0x18
count 21
aid 0x0303 (SuppFormatsList)
< uint 0x1 uint 0x2 uint 0x3 uint 0x4 uint 0x5 uint 0x6 uint 0=
xff >
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x006b
< ACL data: handle 1 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0041 scid 0x006b result 0 status 0
Connection successful
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
< ACL data: handle 1 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x006b flags 0x00 result 0 clen 4
Success
MTU 672 =
< ACL data: handle 1 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x006b flags 0x00 clen 4
MTU 1013 =
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
Success
MTU 672 =
> ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c =
< ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x006b len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 =
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 18
L2CAP(d): cid 0x0041 len 14 [psm 3]
RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
dlci 8 frame_type 0 credit_flow 15 pri 0 ack_timer 0
frame_size 667 max_retrans 0 credits 3
< ACL data: handle 1 flags 0x02 dlen 18
L2CAP(d): cid 0x006b len 14 [psm 3]
RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
dlci 8 frame_type 0 credit_flow 14 pri 0 ack_timer 0
frame_size 667 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 8 pf 1 ilen 0 fcs 0xc9 =
< ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x006b len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 8 pf 1 ilen 0 fcs 0x2 =
< ACL data: handle 1 flags 0x02 dlen 12
L2CAP(d): cid 0x006b len 8 [psm 3]
RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
dlci 8 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 3]
RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
dlci 8 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
< ACL data: handle 1 flags 0x02 dlen 12
L2CAP(d): cid 0x006b len 8 [psm 3]
RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
dlci 8 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(d): cid 0x0041 len 8 [psm 3]
RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
dlci 8 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
< ACL data: handle 1 flags 0x02 dlen 9
L2CAP(d): cid 0x006b len 5 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 1 ilen 0 fcs 0x9c credits 33
> ACL data: handle 1 flags 0x02 dlen 16
L2CAP(d): cid 0x0041 len 12 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 1 ilen 7 fcs 0x46 credits 4
OBEX: Connect cmd(f): len 7 version 1.0 flags 0 mtu 4000
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0E:ED:B2:4D:E6 mode 1 clkoffset 0x0000
< ACL data: handle 1 flags 0x02 dlen 15
L2CAP(d): cid 0x006b len 11 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 7 fcs 0x80 =
OBEX: Connect rsp(f): status 200 len 7 version 1.0 flags 0 mtu 1024
Status 200 =3D Success
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:0E:ED:B2:4D:E6 name 'Jee Jee'
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 71
L2CAP(d): cid 0x0041 len 67 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 1 ilen 62 fcs 0x46 credits 1
OBEX: Put cmd(c): len 62
Name (0x01) =3D Unicode length 20
00 74 00 30 00 37 00 30 00 36 00 2E 00 74 00 78 00 74 00 00 =
Length (0xc3) =3D 1515
Type (0x42) =3D Sequence length 10
74 65 78 74 2F 70 6C 61 69 6E =
Time (0x44) =3D Sequence length 15
32 30 30 37 30 36 32 38 54 31 39 35 34 31 32 =
< ACL data: handle 1 flags 0x02 dlen 11
L2CAP(d): cid 0x006b len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80 =
OBEX: Put rsp(f): status 100 len 3
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x006a
< ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x006a
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 1 mode 0x02 interval 800
Mode: Sniff
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 1 reason 0x08
Reason: Connection Timeout
More information about the gnome-bluetooth
mailing list