All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erwin Authried <eauth@softsys.co.at>
To: "bluez-users@lists.sourceforge.net" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] how to obtain address for rfcomm connection
Date: Wed, 19 Jan 2005 21:01:03 +0100	[thread overview]
Message-ID: <1106164863.12437.44.camel@justakiss> (raw)
In-Reply-To: <1106154308.8190.128.camel@pegasus>

Am Mit, den 19.01.2005 schrieb Marcel Holtmann um 18:05:
> Hi Erwin,
> 
> > I want to establish a rfcomm connection to a mobile phone. I don't know
> > the phone's address or name a-priori. The pairing is initated from the
> > phone before the rfcomm connection is initiated. Is there an easy way to
> > get the phone's address from the preceding link key exchange (from
> > /etc/bluetooth/link_key?). Browsing/scanning for devices might give more
> > than one canditate for communication, but I want to use only the one
> > that has already paired.
> 
> you will find any paired device in the link_key file. However if the
> phone was connected then you can use normal technics to get the device
> address at the that time. To what service did the phone connect?
> 
> Regards
> 
> Marcel

Hi Marcel,
the phone (ericsson t630) didn't connect to a specific service, there's
a menu entry for discovering new devices. After a few seconds, the names
of the discovered devices show up. When one of them is selected, the
phone shows a prompt for entering the pincode, and the link key is saved
on the Linux system. The purpose of the system is a tcp/ip transmission
from the Linux system via GSM/GPRS. On the Linux system, no selection or
entry should be necessary, the ppp over rfcomm connection should come up
automatically or by pressing a button.

Regards,
Erwin




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-19 20:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 15:26 [Bluez-users] how to obtain address for rfcomm connection Erwin Authried
2005-01-19 17:05 ` Marcel Holtmann
2005-01-19 20:01   ` Erwin Authried [this message]
2005-01-19 20:36     ` Marcel Holtmann

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=1106164863.12437.44.camel@justakiss \
    --to=eauth@softsys.co.at \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.