problem pairing with a Sony-Ericsson T610

Guido van Rooij guido at
Thu Jul 1 03:50:59 PDT 2004

The subject says it all.

I have the following in hcsecd.conf:
device {
        bdaddr  00:0e:07:46:b5:c4;
        name    "Gonz";
        key     nokey;
        pin     "5449";

with hcccpontrol I see:
beck# hccontrol -n ubt0hci inquiry
Inquiry result, num_responses=1
Inquiry result #0
        BD_ADDR: 00:0e:07:46:b5:c4
        Page Scan Rep. Mode: 0x1
        Page Scan Period Mode: 00
        Page Scan Mode: 00
        Class: 52:02:04
        Clock offset: 0x1013
Inquiry complete. Status: No error [00]

I can create connections with hccontrol:
beck# hccontrol -n ubt0hci Create_Connection 00:0e:07:46:b5:c4
BD_ADDR: 00:0e:07:46:b5:c4
Connection handle: 41
Encryption mode: Disabled [0]
beck# hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending Queue State
00:0e:07:46:b5:c4     41  ACL    0 MAST    NONE       0     0 OPEN
beck# hccontrol -n ubt0hci disconnect 41
Connection handle: 41
Reason: Connection terminated by local host [0x16]

When I try to pair with hcsecd running (with -d, and a small patch that
shows if it receives anything at all in the recvfrom() call), I don't
see anything at all. During the pairing attempt,
hcidump shows:
> HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Connect Complete(0x03) plen 11

and then the mobile phone says that the connection failed.

The system I use is 5.2.1-RELEASE-p4. Relevant output:
ubt0: vendor 0x413c product 0x8000, rev 1.10/5.65, addr 2
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
rc.bluetooth start ubt0:
BD_ADDR: 00:10:c6:1d:33:d9
Features: 0xff 0xff 0xf 00 00 00 00 00 
<3-Slot> <5-Slot> <Encryption> <Slot offset>
<Timing accuracy> <Switch> <Hold mode> <Sniff mode>
<Park mode> <RSSI> <Channel quality> <SCO link>
<HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD>
<Paging scheme> <Power control> <Transparent SCO data> 
Max. ACL packet size: 192 bytes
Number of ACL packets: 8
Max. SCO packet size: 64 bytes
Number of SCO packets: 8

Any help on how to proceed is highly appreciated.


More information about the freebsd-bluetooth mailing list