Linux bluetooth development
 help / color / mirror / Atom feed
From: Ka Kin Cheung <michaelhku2002@yahoo.com.hk>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Re: Trouble pairing with new phone... (FIXED!)
Date: Thu, 17 Feb 2005 22:02:57 +0800 (CST)	[thread overview]
Message-ID: <20050217140257.16874.qmail@web60903.mail.yahoo.com> (raw)
In-Reply-To: <1108409220.7780.15.camel@notepaq>

[-- Attachment #1: Type: text/plain, Size: 2668 bytes --]

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 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




---------------------------------
新年願望第一位 :  找到友緣人 

[-- Attachment #2: Type: text/html, Size: 3308 bytes --]

  reply	other threads:[~2005-02-17 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 18:02 [Bluez-users] Re: Trouble pairing with new phone... (FIXED!) Jay Summet
2005-02-14 19:27 ` Marcel Holtmann
2005-02-17 14:02   ` Ka Kin Cheung [this message]
2005-02-19 11:43     ` Fredy P.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050217140257.16874.qmail@web60903.mail.yahoo.com \
    --to=michaelhku2002@yahoo.com.hk \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox