Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 23:51:45 +0300 (EEST)
From:      Mario Pavlov <freebsd@abv.bg>
To:        Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: Re: pairing PC and phone
Message-ID:  <1098400120.449091156279905606.JavaMail.nobody@mail02.abv.bg>

next in thread | raw e-mail | index | archive | help


 >Mario,
 >
 >[...]
 >
 >> # cat /etc/bluetooth/hcsecd.conf
 >> device {
 >>         bdaddr  00:00:00:00:00:00;
 >>         name    "Default entry";
 >>         key     nokey;
 >>         pin     nopin;
 >> }
 >> 
 >> device {
 >>         bdaddr  00:17:b0:53:55:29;
 >>         name    "Tilifon";
 >>         key     nokey;
 >>         pin     "nopin";
 >> }
 >
 >you need to specify pin code, for example
 >
 >pin "1234";
 >
 >> so I run the hcsecd daemon
 >> 
 >> and I try:
 >> # obexapp -c -a 00:17:b0:53:55:29 -C 1
 >> 
 >> my phone tells me that some device want to pair with it
 >> I chose accept
 >> and the phone is prompting me for passcode...
 >> I enter something and it sasy "pairing failed"
 >
 >when phone prompts, you need to enter the same pin code you have put 
 >into /etc/bluetooth/hcsecd.conf, i.e. for example above you need to 
 >enter 1234 on the phone.
 >
 >thanks,
 >max
 >
 
Thank you very much
it has connected
but now there is another problem
so...when the phone prompt me for the passcode and I enter it
it says that is connected, but the obex returns this:

# obexapp -c -a 00:17:b0:53:55:29 -C 1
Could not connect to the remote OBEX server. Response: Unknown response (0). Service: None

and in a few seconds the fone tells that is disconnected
what does this mean ?
how can I browse the files in my phone ?

sdpcontrol returns this:
# sdpcontrol -a 00:17:b0:53:55:29 browse

Record Handle: 0x00010087
Service Class ID List:
        Dial-Up Networking (0x1103)
        Generic Networking (0x1201)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 1
Bluetooth Profile Descriptor List:
        Dial-Up Networking (0x1103) ver. 1.0

Record Handle: 0x00010088
Service Class ID List:
        Serial Port (0x1101)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 15

Record Handle: 0x00010089
Service Class ID List:
        Serial Port (0x1101)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 3

Record Handle: 0x0001008a
Service Class ID List:
        Handsfree Audio Gateway (0x111f)
        Generic Audio (0x1203)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 13
Bluetooth Profile Descriptor List:
        Handsfree (0x111e) ver. 1.1

Record Handle: 0x0001008b
Service Class ID List:
        Headset Audio Gateway (0x1112)
        Generic Audio (0x1203)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 12
Bluetooth Profile Descriptor List:
        Headset (0x1108) ver. 1.0

Record Handle: 0x00010090
Service Class ID List:
        SIM Access (0x112d)
        Generic Telephony (0x1204)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 4
Bluetooth Profile Descriptor List:
        SIM Access (0x112d) ver. 1.0

Record Handle: 0x00010092
Service Class ID List:
        OBEX Object Push (0x1105)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 9
        OBEX (0x0008)
Bluetooth Profile Descriptor List:
        OBEX Object Push (0x1105) ver. 1.0

Record Handle: 0x00010093
Service Class ID List:
        OBEX File Transfer (0x1106)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 10
        OBEX (0x0008)
Bluetooth Profile Descriptor List:
        OBEX File Transfer (0x1106) ver. 1.0

Record Handle: 0x00010095
Service Class ID List:
        0x00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 11
        OBEX (0x0008)


-----------------------------------------------------------------
http://ide.li/ - портал за българите по света. Статии, новини, форуми, снимки, информация.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1098400120.449091156279905606.JavaMail.nobody>