Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Key exchange before pairing
Date: Wed, 29 Jun 2005 19:57:50 +0200	[thread overview]
Message-ID: <1120067870.15397.134.camel@pegasus> (raw)
In-Reply-To: <537e39c905062907433980aa7f@mail.gmail.com>

Hi Jordi,

> I would like to know if it is possible to perform a "peer key
> exchange" prior to the pairing operation, in order to for example,
> have the peers exchange some extra information about them and be able
> for example to look-up different PINs for every different service /
> connection / device.
>=20
> I have written a little program using rfcomm sockets (although I am
> planing to change them to BNEP ones) which carries out the data
> exchange without problems as long as the security manager is set to
> 'none'.
>=20
> But I would like to be able to replace the normal pairing procedure
> with this "key exchange between bluetooth peers" procedure:=20
>=20
> * it is then possible to trigger (maybe via 'pin_helper' ?) a data
> exchange between the two bluetooth sockets (using raw L2CAP sockets,
> for example) while the devices are _not paired_ and while the security
> level is set at least to authentication ?
>=20
> * I tried to change the rfcomm "working" sockets program to L2CAP
> sockets, but then I don=B4t know which  Protocol Service MUX (psm) valu=
e
> I might have to set for this sockets to have them connect successfully
> (the one from an already existing service, one of the reserved
> values?!).=20
>=20
> I tried different odd values greater than 1 for the psm (using
> htobs(psm)) and I get the following error message:=20
>=20
> Cannot connect to socket: Connection refused (111)
>=20
> I would really appreciate it if you could help me out or give me some
> advise on these topics.

actually I have no idea what you are trying to achieve. Try to include
examples, because I can't follow you.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-06-29 17:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29 14:43 [Bluez-users] Key exchange before pairing Jordi Jaen Pallares
2005-06-29 17:57 ` Marcel Holtmann [this message]
2005-06-29 23:24   ` Jordi Jaen Pallares
2005-06-30  5:10     ` Marcel Holtmann
2005-07-01  5:28       ` Jordi Jaen Pallares

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=1120067870.15397.134.camel@pegasus \
    --to=marcel@holtmann.org \
    --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