2005-03-30 09:15:28

by John H.

[permalink] [raw]
Subject: Re: [Bluez-users] cannot connect to pm-325 phone w/bluez


hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.19
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 08:00:37:12:C4:B1 ptype 0xcc18 rswitch 0x01
clkoffset 0x2196 (valid)
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 41 bdaddr 08:00:37:12:C4:B1
type ACL encrypt 0x00
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< HCI Command: Write Link Policy Settings
(0x02|0x000d) plen 4
handle 41 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41
> HCI Event: Command Complete (0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 41
> HCI Event: Max Slots Change (0x1b) plen 3
0000: 29 00 05
)..
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0045 scid 0x0040
result 0 status 0
Connection successful
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0045 flags 0x00 clen
0
> HCI Event: Role Change (0x12) plen 8
status 0x00 bdaddr 08:00:37:12:C4:B1 role 0x01
Role: Slave
> ACL data: handle 41 flags 0x02 dlen 20
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen
8
MTU 256 FlushTO 65535
< ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0045 flags 0x00
result 0 clen 0
Success
> HCI Event: Max Slots Change (0x1b) plen 3
0000: 29 00 05
)..
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00
result 0 clen 0
Success
< ACL data: handle 41 flags 0x02 dlen 24
L2CAP(d): cid 0x0045 len 20 [psm 1]
SDP SSA Req: tid 0x0 len 0xf
pat uuid-16 0x1103 (DUN)
max 65535
aid(s) 0x0000 - 0xffff
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(d): cid 0x0040 len 10 [psm 1]
SDP SSA Rsp: tid 0x0 len 0x5
count 2
cont 00
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0045 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0045 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 41 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 41 reason 0x13
Reason: Remote User Terminated Connection









--- Marcel Holtmann <[email protected]> wrote:
> Hi John,
>
> > says -V is invalid on 1.11.
>
> then install the latest version. Decoding every
> thing of a dump by hand
> costs me too much time.
>
> > here is with -X
> >
> > HCIDump - HCI packet analyzer ver 1.11
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > 0000: b1 c4 12 37 00 08 18 cc 01 00 d1 a2 01
>
> > ...7.........
> > > HCI Event: Command Status (0x0f) plen 4
> > 0000: 00 01 05 04
>
> > ....
> > > HCI Event: Connect Complete (0x03) plen 11
> > 0000: 00 2a 00 b1 c4 12 37 00 08 01 00
>
> > .*....7....
> > < ACL data: handle 0x002a flags 0x02 dlen 12
> > L2CAP(s): Connect req: psm 1 scid 0x0040
> > < HCI Command: Write Link Policy Settings
> > (0x02|0x000d) plen 4
> > 0000: 2a 00 0f 00
>
> > *...
> > > HCI Event: Number of Completed Packets (0x13)
> plen 5
> > 0000: 01 2a 00 01 00
>
> > .*...
> > > HCI Event: Command Complete (0x0e) plen 6
> > 0000: 01 0d 08 00 2a 00
>
> > ....*.
> > > HCI Event: Max Slots Change (0x1b) plen 3
> > 0000: 2a 00 05
>
> > *..
> > > ACL data: handle 0x002a flags 0x02 dlen 16
> > L2CAP(s): Connect rsp: dcid 0x0042 scid 0x0040
> > result 0 status 0
> > < ACL data: handle 0x002a flags 0x02 dlen 12
> > L2CAP(s): Config req: dcid 0x0042 flags 0x0000
> > clen 0
> > > ACL data: handle 0x002a flags 0x02 dlen 20
> > L2CAP(s): Config req: dcid 0x0040 flags 0x0000
> > clen 8
> > MTU 256 FlushTO 65535
> > < ACL data: handle 0x002a flags 0x02 dlen 14
> > L2CAP(s): Config rsp: scid 0x0042 flags 0x0000
> > result 0 clen 0
> > > HCI Event: Number of Completed Packets (0x13)
> plen 5
> > 0000: 01 2a 00 01 00
>
> > .*...
> > > HCI Event: Number of Completed Packets (0x13)
> plen 5
> > 0000: 01 2a 00 01 00
>
> > .*...
> > > ACL data: handle 0x002a flags 0x02 dlen 14
> > L2CAP(s): Config rsp: scid 0x0040 flags 0x0000
> > result 0 clen 0
> > < ACL data: handle 0x002a flags 0x02 dlen 24
> > L2CAP(d): cid 0x0042 len 20 [psm 1]
> > SDP SSA Req: tid 0x0 len 0xf
> > pat uuid-16 0x1103 (DUN)
> > max 0xffff
> > aid(s) 0x0000 - 0xffff
> > cont 00
> > > HCI Event: Number of Completed Packets (0x13)
> plen 5
> > 0000: 01 2a 00 01 00
>
> > .*...
> > > ACL data: handle 0x002a flags 0x02 dlen 14
> > L2CAP(d): cid 0x0040 len 10 [psm 1]
> > SDP SSA Rsp: tid 0x0 len 0x5
> > cnt 0x2
> > cont 00
> > < ACL data: handle 0x002a flags 0x02 dlen 12
> > L2CAP(s): Disconn req: dcid 0x0042 scid 0x0040
> > > HCI Event: Number of Completed Packets (0x13)
> plen 5
> > 0000: 01 2a 00 01 00
>
> > .*...
> > > ACL data: handle 0x002a flags 0x02 dlen 12
> > L2CAP(s): Disconn rsp: dcid 0x0042 scid 0x0040
> > > HCI Event: Disconn Complete (0x05) plen 4
> > 0000: 00 2a 00 13
>
> > .*..
>
> It seems that your phone doesn't support the dialup
> networking profile.
> What kind of phone is this?
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users