public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Denis Kenzior <denkenz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: RFC: New Handsfree Client Role API
Date: Thu, 5 Nov 2009 20:52:32 +0200	[thread overview]
Message-ID: <20091105185232.GA27336@jh-x301> (raw)
In-Reply-To: <200911051142.31929.denkenz@gmail.com>

Hi Denis,

On Thu, Nov 05, 2009, Denis Kenzior wrote:
> Properties	boolean Connected [readonly]
> 
> 			Indicates if there is an active connection to the
> 			AG service on the remote device.

In addition to (or instead of) this property we could also have a string
State property which would also communicate the "connecting" and "playing"
states. This is what we have for some other interfaces and it has proved
to be useful there (not sure if that'll be equally true for this new
interface but it's still worth considering).

> Methods		void NewConnection(object device, filedescriptor fd)
> 
> 			This method gets called whenever a new handsfree
> 			connection has been established.  The objectpath
> 			contains the object path of the remote device.  This
> 			method assumes that DBus daemon with file descriptor
> 			passing capability is being used.

As discussed on the #ofono channel, you might want to add here that the
assumption is that the agent responds to this method only after it has
completed the establishment of the SLC (or when it chooses to reject the
connection). 

Johan

  reply	other threads:[~2009-11-05 18:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05 17:42 RFC: New Handsfree Client Role API Denis Kenzior
2009-11-05 18:52 ` Johan Hedberg [this message]
2009-11-05 19:22   ` Denis Kenzior
2010-01-11 21:35     ` João Paulo Rechi Vita
2010-01-12  9:31       ` Luiz Augusto von Dentz
2009-11-05 18:53 ` Luiz Augusto von Dentz

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=20091105185232.GA27336@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=denkenz@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