linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Shreesh Holla <hshreesh@yahoo.com>
Cc: Johan Hedberg <johan.hedberg@gmail.com>, linux-bluetooth@vger.kernel.org
Subject: Re: [HCI Events] Connection Event  Processing
Date: Mon, 19 Jul 2010 11:10:06 -0700	[thread overview]
Message-ID: <1279563007.4572.24.camel@localhost.localdomain> (raw)
In-Reply-To: <128267.36461.qm@web56505.mail.re3.yahoo.com>

Hi Shressh,

first of all, stop top posting. This is rude and we will ignore further
emails from you if you keep doing this.

> ugh! I see the issues now. As you said - neither of those approaches would work for me since we need to conditionally handle the incoming connection really.
> 
> Wonder if there is some design reason this was done i.e. hardcoding it in hci_event.c? Or is it for performance reasons?   Any plans on supporting this in the future? 
> 
> What I'm considering is plugging in our own handler inside hci_event.c.
> 
> We can do this inside some custom hardware - but we are trying to avoid this since we already have other custom hardware we need to do in our device which is a wireless access control system.

I really don't know what you are trying to achieve here, but you might
better not use BlueZ if you wanna do something like this. The connection
handling needs to be done in the kernel and it does this the right way.

Use your own Bluetooth stack or switch the device into RAW mode and
program it as you like. As Johan mentioned RAW devices are left alone by
the kernel.

Regards

Marcel



  reply	other threads:[~2010-07-19 18:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-17  4:09 [HCI Events] Connection Event Processing Shreesh Holla
2010-07-18  8:02 ` Johan Hedberg
2010-07-19 18:03   ` Shreesh Holla
2010-07-19 18:10     ` Marcel Holtmann [this message]
2010-07-19 18:30       ` Shreesh Holla
2010-07-19 18:39         ` Marcel Holtmann
2010-07-19 18:45           ` Shreesh Holla

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=1279563007.4572.24.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=hshreesh@yahoo.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).