From: "Brian Redding" <bredding@codeaurora.org>
To: "'Claudio Takahasi'" <claudio.takahasi@openbossa.org>
Cc: "'BlueZ development'" <linux-bluetooth@vger.kernel.org>
Subject: RE: [RFC] LE connections and advertising management
Date: Tue, 26 Oct 2010 15:26:12 -0500 [thread overview]
Message-ID: <000101cb754c$08d67db0$1a837910$@org> (raw)
In-Reply-To: <AANLkTimTgRV=Ang1JFQpOKXc0bVA6PSOA8WAUo4B7_Wv@mail.gmail.com>
> -----Original Message-----
> From: Claudio Takahasi [mailto:claudio.takahasi@openbossa.org]
> Sent: Monday, October 25, 2010 9:52 PM
>
> Hi Brian,
>
> On Mon, Oct 25, 2010 at 4:27 PM, Brian Redding
> <bredding@codeaurora.org> wrote:
> > Hi Claudio,
> >
> > Are there still interfaces that need to be added to attribute-api.txt
> > to handle client and server characteristic configuration as well as
> > presentation and aggregate formats? I see those as TODO items but
> > wondered if the APIs for them have been defined yet.
> >
> > One thing to note on the server API is that a GATT-based profile
> > could specify behavior on a characteristic value that when the
> > characteristic value is read to perform some action in a similar way as
> > a hardware register. It appears that the notes I'm reading in the code
> > thus far only consider changes (or writes) to characteristic values for
> > the watch code.
> >
> > Also does the current API handle included services?
> >
> > The Bluetooth SIG is beginning to look at 3rd party application
> > developer API's for both client and servers for various platforms so
> > understanding what is currently defined in BlueZ and what still needs
> > to be added would be useful.
> >
> > Thanks,
> > Brian
>
> The API to address characteristic descriptors is still being defined.
> We are focusing in the advertising and connection management at the
> moment. If you have suggestion of how to represent the descriptors in
> the attribute API, suggestions are welcome!
Once I feel more comfortable with the current API approach, I will see
if I can suggest something. One thing to note is that GATT only list
the current characteristic descriptors. Profiles can specify additional
ones or a group of generic ones could also be adopted in the future.
One example of this is a characteristic descriptor that defines triggers
that cause a particular behavior to occur when a condition on the characteristic
value occurs.
>
> There isn't a server API at the moment, we implemented a server for
> testing purpose only. But we will need to define it soon.
> Which pages/section of the spec describes this read characteristic
> behavior?
The GATT does not specify the read characteristic behavior but it can be
specified by a profile. I just wanted to point that out so that the design
takes that into account. You may need to have a call back when a characteristic
value is read as well as written.
>
> Included services are not supported by our client. How important is
> it? It is mandatory for qualification?
It is only mandatory on the server.
>
> Regards,
> Claudio.
Cheers,
Brian
---
Brian A. Redding
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
next prev parent reply other threads:[~2010-10-26 20:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-25 12:53 [RFC] LE connections and advertising management Claudio Takahasi
2010-10-25 13:34 ` Anderson Lizardo
2010-10-25 17:11 ` Mike Tsai
2010-10-25 17:55 ` Claudio Takahasi
2010-10-25 18:16 ` Mike Tsai
2010-10-25 18:54 ` Claudio Takahasi
2010-10-25 19:27 ` Brian Redding
2010-10-26 2:51 ` Claudio Takahasi
2010-10-26 20:26 ` Brian Redding [this message]
2010-10-26 21:10 ` Mike Tsai
2010-10-27 1:01 ` Claudio Takahasi
2010-10-27 22:01 ` Mike Tsai
2010-11-02 20:23 ` Brian Redding
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='000101cb754c$08d67db0$1a837910$@org' \
--to=bredding@codeaurora.org \
--cc=claudio.takahasi@openbossa.org \
--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;
as well as URLs for NNTP newsgroup(s).