Return-Path: Message-ID: <20050217140257.16874.qmail@web60903.mail.yahoo.com> From: Ka Kin Cheung Subject: Re: [Bluez-users] Re: Trouble pairing with new phone... (FIXED!) To: bluez-users@lists.sourceforge.net In-Reply-To: <1108409220.7780.15.camel@notepaq> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-880580346-1108648977=:16442" Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 17 Feb 2005 22:02:57 +0800 (CST) --0-880580346-1108648977=:16442 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit Hi Jay! Sorry to interrupt. In order that SE T610 can search and add PC into "My device list", you should do like this: # Authentication and Encryption # auth enable; # encrypt enable Or you can never let your T610 to search for and add your PC into the list. But then, do you know how to connect T610 to PC instead of from PC to T610 (as I know that the method is typing "rfcomm connect 0
"). Hope that this can help you and then you can have method to do the connection from T610 to PC as I wish to do it in a short time. Cherrs, Michael Marcel Holtmann wrote: Hi Jay, > I figured out how to pair with my T610 phone. > > Point 1: The computer must initiate the connection. (If you attempt to scan for > new devices on your phone and add it there, apparently bluez will not accept > incoming pairing requests. Something to do with roleswitch and bluez wanting to > be the master? Perhaps...) > > Point 2: My version of blueZ ignores the /etc/bluetooth/pin file (even when in > "auto" mode) and I HAD to replace the pin_helper with a link to a script which > simply printed "PIN:1234" (replace number with your pin). > > So, once I replace "pin_helper /usr/bin/bluepin" with "pin_helper /sbin/pintest" > (where the pintest file contained "echo "PIN:1234") and initiated an rfcomm > connection to the phone with my pppd chat script, I was able to type the pin > into my phone and pair. > > [(going the other way, from the phone to the computer, didn't work...possibly a > problem with the phone, possibly a problem with bluez (as it works under > windows...)] > > My hcid.conf options are as follows: > Options: > autoinit yes; > security auto; > pairing multi; > pin_helper /sbin/pintest > > Device: > name "BlueZ (%d)"; > class 0x100; > iscan enable; > pscan enable; > lp rswitch,hold,sniff,park; > lm accept,master; > # Authentication and Encryption > auth enable; > encrypt enable; if you still wanna use security mode 3 then go with it. If you set yourself to master then go with it. These are not defaults settings and there is a reason why. 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --------------------------------- ?s?~?@???Ĥ@?? : ?????ͽt?H --0-880580346-1108648977=:16442 Content-Type: text/html; charset=big5 Content-Transfer-Encoding: 8bit
Hi Jay!
    Sorry to interrupt. In order that SE T610 can search and add PC into "My device list", you should do like this:
# Authentication and Encryption
# auth enable;
# encrypt enable
    Or you can never let your T610 to search for and add your PC into the list.
    But then, do you know how to connect T610 to PC instead of from PC to T610 (as I know that the method is typing "rfcomm connect 0 <address>").
    Hope that this can help you and then you can have method to do the connection from T610 to PC as I wish to do it in a short time.
Cherrs,
Michael
Marcel Holtmann <marcel@holtmann.org> wrote:
Hi Jay,

> I figured out how to pair with my T610 phone.
>
> Point 1: The computer must initiate the connection. (If you attempt to scan for
> new devices on your phone and add it there, apparently bluez will not accept
> incoming pairing requests. Something to do with roleswitch and bluez wanting to
> be the master? Perhaps...)
>
> Point 2: My version of blueZ ignores the /etc/bluetooth/pin file (even when in
> "auto" mode) and I HAD to replace the pin_helper with a link to a script which
> simply printed "PIN:1234" (replace number with your pin).
>
> So, once I replace "pin_helper /usr/bin/bluepin" with "pin_helper /sbin/pintest"
> (where the pintest file contained "echo "PIN:1234") and initiated an rfcomm
> connection to the phone with my pppd chat script, I was able to type the pin
> into my phone and pair.
>
> [(going the other way, from the phone to the computer, didn't work...possibly a
> problem with the phone, possibly a problem with bluez (as it works under
> windows...)]
>
> My hcid.conf options are as follows:
> Options:
> autoinit yes;
> security auto;
> pairing multi;
> pin_helper /sbin/pintest
>
> Device:
> name "BlueZ (%d)";
> class 0x100;
> iscan enable;
> pscan enable;
> lp rswitch,hold,sniff,park;
> lm accept,master;
> # Authentication and Encryption
> auth enable;
> encrypt enable;

if you still wanna use security mode 3 then go with it. If you set
yourself to master then go with it. These are not defaults settings and
there is a reason why.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Pro duct 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users



?s?~?@???Ĥ@?? : ?????ͽt?H
--0-880580346-1108648977=:16442-- ------------------------------------------------------- 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users