All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] how to create a ACL connection with an	authentication?
Date: Thu, 29 Jun 2006 18:02:53 +0200	[thread overview]
Message-ID: <1151596973.14964.30.camel@localhost> (raw)
In-Reply-To: <28c817710606290543i3f331478ta461242dcc94d612@mail.gmail.com>

Hi,

> if I need to build the authentication connection in my own
> program,what should I do?
> what I know is use the socket API to create a connection.but how to
> set this connection to have an authentication?

for L2CAP/RFCOMM you can use socket options to request authentication
and encryption on incoming connections. Take a look at the source of
rctest.c and l2test.c.

Regards

Marcel



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2006-06-29 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29 10:32 [Bluez-devel] how to create a ACL connection with an authentication? ifq
2006-06-29 11:45 ` Mayank Batra
2006-06-29 12:09   ` Marcel Holtmann
2006-06-29 12:43     ` ifq
2006-06-29 16:02       ` Marcel Holtmann [this message]
2006-06-30  0:44         ` ifq
2006-06-30  0:54           ` Nelson Murilo
2006-06-30  8:17     ` Mayank Batra

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=1151596973.14964.30.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@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.