* How to pair device from CLI?
@ 2012-12-28 0:23 Kamil Jońca
2012-12-28 8:08 ` Johan Hedberg
0 siblings, 1 reply; 5+ messages in thread
From: Kamil Jońca @ 2012-12-28 0:23 UTC (permalink / raw)
To: linux-bluetooth
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.
--
http://blogdebart.pl/2012/06/24/hiena/
We're overpaying him, but he's worth it. -Samuel Goldwyn
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to pair device from CLI?
2012-12-28 0:23 How to pair device from CLI? Kamil Jońca
@ 2012-12-28 8:08 ` Johan Hedberg
2012-12-28 13:30 ` Kamil Jońca
0 siblings, 1 reply; 5+ messages in thread
From: Johan Hedberg @ 2012-12-28 8:08 UTC (permalink / raw)
To: Kamil Jońca; +Cc: linux-bluetooth
Hi Kamil,
On Fri, Dec 28, 2012, Kamil Jońca wrote:
> 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---
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).
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to pair device from CLI?
2012-12-28 8:08 ` Johan Hedberg
@ 2012-12-28 13:30 ` Kamil Jońca
2012-12-28 13:54 ` Johan Hedberg
0 siblings, 1 reply; 5+ messages in thread
From: Kamil Jońca @ 2012-12-28 13:30 UTC (permalink / raw)
To: linux-bluetooth
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
Johan Hedberg <johan.hedberg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
writes:
> Hi Kamil,
>
> On Fri, Dec 28, 2012, Kamil Jońca wrote:
[....]
>
> 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.
>
>> 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.
[-- Attachment #2: Log --]
[-- Type: text/plain, Size: 6851 bytes --]
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
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Role Change (0x12) plen 8
status 0x00 bdaddr D4:E8:B2:AA:15:FA role 0x01
Role: Slave
> 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
> HCI Event: Max Slots Change (0x1b) plen 3
handle 12 slots 5
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> 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
> HCI Event: Command Status (0x0f) plen 4
Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
> 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
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Link Supervision Timeout Change (0x38) plen 4
handle 12 timeout 8000
> 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
> HCI Event: Command Status (0x0f) plen 4
Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
> 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
> 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
> 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)
> HCI Event: Command Complete (0x0e) plen 10
IO Capability Request Reply (0x01|0x002b) ncmd 1
status 0x00 bdaddr D4:E8:B2:AA:15:FA
> 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)
> 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
> HCI Event: Command Complete (0x0e) plen 10
User Passkey Request Reply (0x01|0x002e) ncmd 1
status 0x00 bdaddr D4:E8:B2:AA:15:FA
> HCI Event: Simple Pairing Complete (0x36) plen 7
status 0x05 bdaddr D4:E8:B2:AA:15:FA
Error: Authentication Failure
> HCI Event: Auth Complete (0x06) plen 3
status 0x05 handle 12
Error: Authentication Failure
> 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
> 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 12 bdaddr D4:E8:B2:AA:15:FA type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> 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
> HCI Event: Command Status (0x0f) plen 4
Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 12 slots 5
> 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
> 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 D4:E8:B2:AA:15:FA name 'theta'
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
handle 12
> HCI Event: Command Status (0x0f) plen 4
Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
> 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
> 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
> 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)
> HCI Event: Command Complete (0x0e) plen 10
IO Capability Request Reply (0x01|0x002b) ncmd 1
status 0x00 bdaddr D4:E8:B2:AA:15:FA
> 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)
> 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
> HCI Event: Command Complete (0x0e) plen 10
User Passkey Request Reply (0x01|0x002e) ncmd 1
status 0x00 bdaddr D4:E8:B2:AA:15:FA
> HCI Event: Simple Pairing Complete (0x36) plen 7
status 0x05 bdaddr D4:E8:B2:AA:15:FA
Error: Authentication Failure
> HCI Event: Auth Complete (0x06) plen 3
status 0x05 handle 12
Error: Authentication Failure
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 12 reason 0x05
Reason: Authentication Failure
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
--
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
I want to reach your mind -- where is it currently located?
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to pair device from CLI?
2012-12-28 13:30 ` Kamil Jońca
@ 2012-12-28 13:54 ` Johan Hedberg
2012-12-28 15:25 ` Kamil Jońca
0 siblings, 1 reply; 5+ messages in thread
From: Johan Hedberg @ 2012-12-28 13:54 UTC (permalink / raw)
To: Kamil Jońca; +Cc: linux-bluetooth
Hi Kamil,
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to pair device from CLI?
2012-12-28 13:54 ` Johan Hedberg
@ 2012-12-28 15:25 ` Kamil Jońca
0 siblings, 0 replies; 5+ messages in thread
From: Kamil Jońca @ 2012-12-28 15:25 UTC (permalink / raw)
To: linux-bluetooth
[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]
Johan Hedberg <johan.hedberg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
writes:
> Hi Kamil,
>
>> > 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
Do I understand correctly, that I have too old kernel version?
> 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
[-- Attachment #2: hcidump.txt --]
[-- Type: text/plain, Size: 9762 bytes --]
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
> 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 12 bdaddr D4:E8:B2:AA:15:FA type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> 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
> HCI Event: Command Status (0x0f) plen 4
Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 12 slots 5
> 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
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> 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
> 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
> 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
> 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
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr D4:E8:B2:AA:15:FA name 'theta'
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> ACL data: handle 12 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0048 scid 0x0040
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> ACL data: handle 12 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0049 scid 0x0041
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> ACL data: handle 12 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x004a scid 0x0040
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> 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
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 12 packets 2
> 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
> ACL data: handle 12 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x004b scid 0x0041
> 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
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 12 reason 0x16
Reason: Connection Terminated by Local Host
[-- Attachment #3: Type: text/plain, Size: 169 bytes --]
KJ
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-12-28 15:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 0:23 How to pair device from CLI? Kamil Jońca
2012-12-28 8:08 ` Johan Hedberg
2012-12-28 13:30 ` Kamil Jońca
2012-12-28 13:54 ` Johan Hedberg
2012-12-28 15:25 ` Kamil Jońca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).