linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] [DBUS]BondingRemoved signal question
@ 2006-02-22 16:08 Claudio Takahasi
  2006-02-22 17:46 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Takahasi @ 2006-02-22 16:08 UTC (permalink / raw)
  To: bluez-devel

Hi Marcel, Johan and Eduardo,


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.

Regards,
Claudio.
--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] [DBUS]BondingRemoved signal question
  2006-02-22 16:08 [Bluez-devel] [DBUS]BondingRemoved signal question Claudio Takahasi
@ 2006-02-22 17:46 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-02-22 17:46 UTC (permalink / raw)
  To: bluez-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-22 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-22 16:08 [Bluez-devel] [DBUS]BondingRemoved signal question Claudio Takahasi
2006-02-22 17:46 ` Marcel Holtmann

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