Skip to contentSkip to conversation

How to pair device from CLI?

DISCUSSION Kamil Jońca 2 participants 5 messages Dec 28, 2012 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I don't know if this is proper list, but I cannot find any (active) bluez users list.

I tried to pair my phone:

--8<---------------cut here---------------start------------->8--- $hcitool scan
Scanning ...

        D4:E8:B2:AA:15:FA       theta

$bluez-simple-agent hci0 D4:E8:B2:AA:15:FA
RequestPasskey (/org/bluez/3086/hci0/dev_D4_E8_B2_AA_15_FA)
Enter passkey: 0000
Creating device failed: org.bluez.Error.AuthenticationFailed: Authentication Failed --8<---------------cut here---------------end--------------->8---

What do I should check? (s)trace?

Distribution is pretty fresh debian sid.

Signature · 2 lines
http://blogdebart.pl/2012/06/24/hiena/
  We're overpaying him, but he's worth it. -Samuel Goldwyn
#1 lore raw

Hi Kamil,

Quoted 8 lines · Kamil Jońca

I don't know if this is proper list, but I cannot find any (active) bluez users list.

I tried to pair my phone:

--8<---------------cut here---------------start------------->8--- $hcitool scan
Scanning ...

Quoted 7 lines
        D4:E8:B2:AA:15:FA       theta

$bluez-simple-agent hci0 D4:E8:B2:AA:15:FA
RequestPasskey (/org/bluez/3086/hci0/dev_D4_E8_B2_AA_15_FA)
Enter passkey: 0000
Creating device failed: org.bluez.Error.AuthenticationFailed: Authentication Failed --8<---------------cut here---------------end--------------->8---

It's quite odd that you should get RequestPasskey. That's something that should only happen if you're pretending to be a keyboard in which case you should enter the passkey displayed on the remote device (your phone in this case).

Quoted 3 lines

What do I should check? (s)trace?

Distribution is pretty fresh debian sid.

The most useful too would be hcidump (bluez-hcidump package). The output of hcidump -X for the full pairing process would be interesting.

Johan

#2 lore raw

Johan Hedberg <[email protected]>

Quoted 3 lines · writes:

Hi Kamil,

On Fri, Dec 28, 2012, Kamil Jońca wrote:

[....]

Quoted 5 lines

It's quite odd that you should get RequestPasskey. That's something that should only happen if you're pretending to be a keyboard in which case you should enter the passkey displayed on the remote device (your phone in this case).

Nothing shows on my phone.

Quoted 7 lines
Quoted 4 lines

What do I should check? (s)trace?

Distribution is pretty fresh debian sid.

The most useful too would be hcidump (bluez-hcidump package). The output of hcidump -X for the full pairing process would be interesting.

Two tries in attachment.

Sorry, try again.
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr D4:E8:B2:AA:15:FA ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Role Change (0x12) plen 8

    status 0x00 bdaddr D4:E8:B2:AA:15:FA role 0x01
    Role: Slave
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

    status 0x00 handle 12 bdaddr D4:E8:B2:AA:15:FA type ACL encrypt 0x00

< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12

Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

handle 12 slots 5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Read Remote Supported Features (0x0b) plen 11

    status 0x00 handle 12
    Features: 0xbf 0xfe 0x8f 0xfe 0x9b 0xff 0x79 0x83

< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3
handle 12 page 1

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Read Remote Extended Features (0x23) plen 13

    status 0x00 handle 12 page 1 max 1
    Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr D4:E8:B2:AA:15:FA mode 2 clkoffset 0x0000
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Link Supervision Timeout Change (0x38) plen 4

    handle 12 timeout 8000
Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

    status 0x00 bdaddr D4:E8:B2:AA:15:FA name 'theta'

< HCI Command: Authentication Requested (0x01|0x0011) plen 2
handle 12

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

    bdaddr D4:E8:B2:AA:15:FA
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: IO Capability Request (0x31) plen 6

    bdaddr D4:E8:B2:AA:15:FA

< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
bdaddr D4:E8:B2:AA:15:FA capability 0x04 oob 0x00 auth 0x03
Capability: Reserved (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    IO Capability Request Reply (0x01|0x002b) ncmd 1
    status 0x00 bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: IO Capability Response (0x32) plen 9

bdaddr D4:E8:B2:AA:15:FA capability 0x01 oob 0x00 auth 0x03
Capability: DisplayYesNo (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)

Quoted 1 line

HCI Event: User Passkey Request (0x34) plen 6

    bdaddr D4:E8:B2:AA:15:FA
< HCI Command: User Passkey Request Reply (0x01|0x002e) plen 10
    bdaddr D4:E8:B2:AA:15:FA passkey 0
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    User Passkey Request Reply (0x01|0x002e) ncmd 1
    status 0x00 bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: Simple Pairing Complete (0x36) plen 7

status 0x05 bdaddr D4:E8:B2:AA:15:FA
Error: Authentication Failure

Quoted 1 line

HCI Event: Auth Complete (0x06) plen 3

status 0x05 handle 12
Error: Authentication Failure

Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

status 0x00 handle 12 reason 0x05
Reason: Authentication Failure
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr D4:E8:B2:AA:15:FA ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

    status 0x00 handle 12 bdaddr D4:E8:B2:AA:15:FA type ACL encrypt 0x00

< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Read Remote Supported Features (0x0b) plen 11

    status 0x00 handle 12
    Features: 0xbf 0xfe 0x8f 0xfe 0x9b 0xff 0x79 0x83

< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3
handle 12 page 1

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

handle 12 slots 5

Quoted 1 line

HCI Event: Read Remote Extended Features (0x23) plen 13

    status 0x00 handle 12 page 1 max 1
    Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr D4:E8:B2:AA:15:FA mode 2 clkoffset 0x0000
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

    status 0x00 bdaddr D4:E8:B2:AA:15:FA name 'theta'

< HCI Command: Authentication Requested (0x01|0x0011) plen 2
handle 12

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

    bdaddr D4:E8:B2:AA:15:FA
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: IO Capability Request (0x31) plen 6

    bdaddr D4:E8:B2:AA:15:FA

< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
bdaddr D4:E8:B2:AA:15:FA capability 0x04 oob 0x00 auth 0x03
Capability: Reserved (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    IO Capability Request Reply (0x01|0x002b) ncmd 1
    status 0x00 bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: IO Capability Response (0x32) plen 9

bdaddr D4:E8:B2:AA:15:FA capability 0x01 oob 0x00 auth 0x03
Capability: DisplayYesNo (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)

Quoted 1 line

HCI Event: User Passkey Request (0x34) plen 6

    bdaddr D4:E8:B2:AA:15:FA
< HCI Command: User Passkey Request Reply (0x01|0x002e) plen 10
    bdaddr D4:E8:B2:AA:15:FA passkey 0
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    User Passkey Request Reply (0x01|0x002e) ncmd 1
    status 0x00 bdaddr D4:E8:B2:AA:15:FA
Quoted 1 line

HCI Event: Simple Pairing Complete (0x36) plen 7

status 0x05 bdaddr D4:E8:B2:AA:15:FA
Error: Authentication Failure

Quoted 1 line

HCI Event: Auth Complete (0x06) plen 3

status 0x05 handle 12
Error: Authentication Failure

Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

status 0x00 handle 12 reason 0x05
Reason: Authentication Failure

Signature · 3 lines
-- 
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
I want to reach your mind -- where is it currently located?
#3 lore raw

Hi Kamil,

Quoted 6 lines
Quoted 1 line

HCI Event: IO Capability Request (0x31) plen 6

    bdaddr D4:E8:B2:AA:15:FA

< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
bdaddr D4:E8:B2:AA:15:FA capability 0x04 oob 0x00 auth 0x03
Capability: Reserved (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)

Here's the problem. The kernel is respoding with an invalid IO capability value. The same issue was discussed here just a week ago:

http://marc.info/?l=linux-bluetooth&m=135599627517032&w=2

The quick fix is to change "KeyboardDisplay" to "DisplayYesNo" in the simple-agent script.

Johan

#4 lore raw

Johan Hedberg <[email protected]>

Quoted 9 lines · writes:

Hi Kamil,

Quoted 6 lines
Quoted 1 line

HCI Event: IO Capability Request (0x31) plen 6

    bdaddr D4:E8:B2:AA:15:FA

< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
bdaddr D4:E8:B2:AA:15:FA capability 0x04 oob 0x00 auth 0x03
Capability: Reserved (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)

Quoted 4 lines

Here's the problem. The kernel is respoding with an invalid IO capability value. The same issue was discussed here just a week ago:

http://marc.info/?l=linux-bluetooth&m=135599627517032&w=2

Do I understand correctly, that I have too old kernel version?

Quoted 2 lines

The quick fix is to change "KeyboardDisplay" to "DisplayYesNo" in the simple-agent script.

After that change I can pair my phone (thanks), but cannot use obexftp.

--8<---------------cut here---------------start------------->8--- obexftp -b D4:E8:B2:AA:15:FA -l .
Browsing D4:E8:B2:AA:15:FA ...
Connecting...failed: connect
Tried to connect for 3ms
error on connect(): Invalid argument
Still trying to connect
Connecting...failed: connect
Tried to connect for 2ms
error on connect(): Invalid argument
Still trying to connect
Connecting...failed: connect
Tried to connect for 2ms
error on connect(): Invalid argument
Still trying to connect
--8<---------------cut here---------------end--------------->8---

hcidump in attachment

HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr D4:E8:B2:AA:15:FA ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

    status 0x00 handle 12 bdaddr D4:E8:B2:AA:15:FA type ACL encrypt 0x00

< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Read Remote Supported Features (0x0b) plen 11

    status 0x00 handle 12
    Features: 0xbf 0xfe 0x8f 0xfe 0x9b 0xff 0x79 0x83

< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3
handle 12 page 1

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

handle 12 slots 5

Quoted 1 line

HCI Event: Read Remote Extended Features (0x23) plen 13

    status 0x00 handle 12 page 1 max 1
    Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr D4:E8:B2:AA:15:FA mode 2 clkoffset 0x0000

< ACL data: handle 12 flags 0x00 dlen 10
L2CAP(s): Info req: type 2

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 12

L2CAP(s): Info rsp: type 2 result 1
Not supported
< ACL data: handle 12 flags 0x00 dlen 12

    L2CAP(s): Connect req: psm 1 scid 0x0040
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Connect rsp: dcid 0x0048 scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Config req: dcid 0x0048 flags 0x00 clen 0
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 256 
< ACL data: handle 12 flags 0x00 dlen 18
    L2CAP(s): Config rsp: scid 0x0048 flags 0x00 result 0 clen 4
      MTU 256 
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 12 flags 0x00 dlen 36
    L2CAP(d): cid 0x0048 len 32 [psm 1]
        SDP SSA Req: tid 0x0 len 0x1b
          pat uuid-128 00005005-0000-1000-8000-0002ee000001
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

    status 0x00 bdaddr D4:E8:B2:AA:15:FA name 'theta'
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0040 len 10 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x5
          count 2
          cont 00
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2
< ACL data: handle 12 flags 0x00 dlen 22

    L2CAP(d): cid 0x0048 len 18 [psm 1]
        SDP SSA Req: tid 0x1 len 0xd
          pat uuid-16 0x1106 (OBEXObjTrnsf)
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0040 len 10 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x5
          count 2
          cont 00
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Disconn req: dcid 0x0048 scid 0x0040
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0041
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 12

    L2CAP(s): Disconn rsp: dcid 0x0048 scid 0x0040
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Connect rsp: dcid 0x0049 scid 0x0041 result 0 status 0
      Connection successful
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Config req: dcid 0x0049 flags 0x00 clen 0
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 256 
< ACL data: handle 12 flags 0x00 dlen 18
    L2CAP(s): Config rsp: scid 0x0049 flags 0x00 result 0 clen 4
      MTU 256 
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 12 flags 0x00 dlen 36
    L2CAP(d): cid 0x0049 len 32 [psm 1]
        SDP SSA Req: tid 0x0 len 0x1b
          pat uuid-128 00005005-0000-1000-8000-0002ee000001
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x5
          count 2
          cont 00
< ACL data: handle 12 flags 0x00 dlen 22
    L2CAP(d): cid 0x0049 len 18 [psm 1]
        SDP SSA Req: tid 0x1 len 0xd
          pat uuid-16 0x1106 (OBEXObjTrnsf)
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x5
          count 2
          cont 00
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Disconn req: dcid 0x0049 scid 0x0041
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0040
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 12

    L2CAP(s): Disconn rsp: dcid 0x0049 scid 0x0041
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Connect rsp: dcid 0x004a scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Config req: dcid 0x004a flags 0x00 clen 0
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 256 
< ACL data: handle 12 flags 0x00 dlen 18
    L2CAP(s): Config rsp: scid 0x004a flags 0x00 result 0 clen 4
      MTU 256 
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 12 flags 0x00 dlen 36
    L2CAP(d): cid 0x004a len 32 [psm 1]
        SDP SSA Req: tid 0x0 len 0x1b
          pat uuid-128 00005005-0000-1000-8000-0002ee000001
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

ACL data: handle 12 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 12 flags 0x00 dlen 22
    L2CAP(d): cid 0x004a len 18 [psm 1]
        SDP SSA Req: tid 0x1 len 0xd
          pat uuid-16 0x1106 (OBEXObjTrnsf)
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0040 len 10 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x5
          count 2
          cont 00
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Disconn req: dcid 0x004a scid 0x0040
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0041
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 12

    L2CAP(s): Disconn rsp: dcid 0x004a scid 0x0040
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Connect rsp: dcid 0x004b scid 0x0041 result 0 status 0
      Connection successful
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Config req: dcid 0x004b flags 0x00 clen 0
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 16

    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 256 
< ACL data: handle 12 flags 0x00 dlen 18
    L2CAP(s): Config rsp: scid 0x004b flags 0x00 result 0 clen 4
      MTU 256 
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 12 flags 0x00 dlen 36
    L2CAP(d): cid 0x004b len 32 [psm 1]
        SDP SSA Req: tid 0x0 len 0x1b
          pat uuid-128 00005005-0000-1000-8000-0002ee000001
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x5
          count 2
          cont 00
< ACL data: handle 12 flags 0x00 dlen 22
    L2CAP(d): cid 0x004b len 18 [psm 1]
        SDP SSA Req: tid 0x1 len 0xd
          pat uuid-16 0x1106 (OBEXObjTrnsf)
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 2

Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x5
          count 2
          cont 00
< ACL data: handle 12 flags 0x00 dlen 12
    L2CAP(s): Disconn req: dcid 0x004b scid 0x0041
Quoted 1 line

ACL data: handle 12 flags 0x02 dlen 12

    L2CAP(s): Disconn rsp: dcid 0x004b scid 0x0041
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

handle 12 packets 1
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 12 reason 0x13
Reason: Remote User Terminated Connection

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Disconnect (0x01|0x0006) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

status 0x00 handle 12 reason 0x16
Reason: Connection Terminated by Local Host

KJ

Signature · 2 lines
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
This fortune would be seven words long if it were six words shorter.