All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@nokia.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] [PATCH] New RemoteDeviceDisconnectionRequested signal implementation
Date: Fri, 29 Dec 2006 01:10:29 +0200	[thread overview]
Message-ID: <20061228230903.GA3190@localhost.localdomain> (raw)
In-Reply-To: <4593C480.5080806@nokia.com>

Hi Luca,

On Thu, Dec 28, 2006, Luciano Coelho wrote:
> As agreed last week, I've implemented a new D-Bus signal in hcid that 
> allows upper-level applications to disconnect gracefuly before the ACL 
> connection is terminated as a result of a call to RemoteDeviceDisconnect.
> 
> So, this is how it works: when the RemoteDeviceDisconnect is called, we 
> send the new signal RemoteDeviceDisconnectionRequested(string bdaddr) 
> and wait for 2 seconds before sending the disconnection command to the 
> controller.  This enables the service implementations to disconnect in a 
> nicer way, as specified in the profile specs (eg. in SIM Access Profile, 
> a SIM_DISCONNECT_REQ can be sent by the client).
> 
> The change is not very big and should be backwards compatible, except 
> for the fact that disconnections will take 2 seconds longer than before.
> 
> I also updated the documentation and the apitest script.
> 
> Please let me know what you think.

Looks good to me.

Johan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2006-12-28 23:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-28 13:20 [Bluez-devel] [PATCH] New RemoteDeviceDisconnectionRequested signal implementation Luciano Coelho
2006-12-28 23:10 ` Johan Hedberg [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=20061228230903.GA3190@localhost.localdomain \
    --to=johan.hedberg@nokia.com \
    --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.