Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org,
	Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Subject: Re: [PATCH 1/4] Add the Attribute interface to the API
Date: Wed, 29 Sep 2010 16:49:08 +0300	[thread overview]
Message-ID: <20100929134908.GB19362@jh-x301> (raw)
In-Reply-To: <1285696155-32766-1-git-send-email-claudio.takahasi@openbossa.org>

Hi,

On Tue, Sep 28, 2010, Claudio Takahasi wrote:
> +Attribute Protocol hierarchy
> +============================
> +
> +Service		org.bluez
> +Interface	org.bluez.Attribute
> +Object path	[prefix]/{hci0}/{device0}
> +
> +
> +Methods		dict GetProperties()
> +
> +			Returns all properties for the interface. See the
> +			properties section for available properties.
> +
> +Properties	array{object} Services
> +
> +			List of all the Primary Services that this device
> +			implements.
> +
> +
>  Device Service hierarchy
>  ========================
>  
> diff --git a/doc/device-api.txt b/doc/device-api.txt
> index 95b5b22..b818299 100644
> --- a/doc/device-api.txt
> +++ b/doc/device-api.txt
> @@ -139,10 +139,6 @@ Properties	string Address [readonly]
>  			List of 128-bit UUIDs that represents the available
>  			remote services.
>  
> -		array{object} Services [readonly]
> -
> -			List of characteristics based services.
> -
>  		boolean Paired [readonly]
>  
>  			Indicates if the remote device is paired.

What's the motivation of moving this into its own D-Bus interface? I
thought the plan was to abstract both traditional SDP and ATT behind the
same API in which case having this in the Device interface makes more
sense imho.

Johan

  parent reply	other threads:[~2010-09-29 13:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28 17:49 [PATCH 1/4] Add the Attribute interface to the API Claudio Takahasi
2010-09-28 17:49 ` [PATCH 2/4] Add GetProperties method in the Device service hierarchy Claudio Takahasi
2010-09-28 17:49 ` [PATCH 3/4] Add SetProperty in the Device characteristic hierarchy Claudio Takahasi
2010-09-28 17:49 ` [PATCH 4/4] Fix object path in the register watcher method Claudio Takahasi
2010-09-29 13:49 ` Johan Hedberg [this message]
2010-09-29 14:52   ` [PATCH 1/4] Add the Attribute interface to the API Claudio Takahasi
2010-09-29 20:00     ` Luiz Augusto von Dentz
2010-09-30 18:48       ` Claudio Takahasi

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=20100929134908.GB19362@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=claudio.takahasi@openbossa.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=vinicius.gomes@openbossa.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