linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] [DBUS]BondingRemoved signal question
Date: Wed, 22 Feb 2006 18:46:11 +0100	[thread overview]
Message-ID: <1140630371.4519.32.camel@localhost> (raw)
In-Reply-To: <e1effdeb0602220808v6e7796c4xebad39dd2cd2c28a@mail.gmail.com>

Hi Claudio,

> I am going to start the development of the BondingRemoved signal. But
> before start coding I would like define some requirements.
> 
> When it must be sent?  Currently, the code is not checking the result
> of the HCI delete stored key request, textfile_del return result or
> disconnect result. What should be the rule for sending the
> BondingRemoved signal?
> 1. Wait the command complete event for the delete stored link key request?
> 2. Check only the result of the textfile_del call?
> 3. Or if one of these condition(TRUE) is enough to send the
> BondingRemoved signal
> 
> As long as I could understand, we can have the scenario where the link
> key is NOT stored in the Bluetooth Controller, but it is stored in the
> linkkeys file. For connected devices, the disconnect can be another
> assumption, considering that the keys are automatically delete when
> disconnecting.

actually it is the normal scenario that the link key is not stored on
the chip. However for now it is enough if we simply send out the
BondingRemoved signal. We deal with the details later if we have an
application making us of it.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2006-02-22 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 16:08 [Bluez-devel] [DBUS]BondingRemoved signal question Claudio Takahasi
2006-02-22 17:46 ` Marcel Holtmann [this message]

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=1140630371.4519.32.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 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).