From: Joseph McLaughlin <JMcLaughlin@cybexintl.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: BLE peripheral with GATT DBus API
Date: Fri, 16 Jan 2015 18:50:10 +0000 [thread overview]
Message-ID: <D0DEC78F.16D94%jmclaughlin@cybexintl.com> (raw)
Hi:
I’m trying to use BlueZ to implement a GATT server (peripheral) that will host a couple of custom BLE services with a multitude of characteristics each. I was hoping to use the GATT Dbus API with BlueZ, but I see from this post: http://article.gmane.org/gmane.linux.bluez.kernel/54715 that as of a few months ago, the GATT Dbus API is not quite ready. Is this still the case with the latest BlueZ (5.27 as of now)? I’m assuming so since I don’t see the API documentation in the doc folder.
The recommendation from that post was to use the gatt_service_add() API. If this is still the recommended approach until the Dbus API is ready, can you expand a little bit more on how I would do this? For example, do I need to figure out how to add a plugin, or can I create an external application that simply calls gatt_service_add(). Can I use the BlueZ stack as is, or do I need to hack it up a bit? There were some “online examples" referred to in the previous post. Any idea where I can find those?
Thanks,
Joe McLaughlin
reply other threads:[~2015-01-16 18:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=D0DEC78F.16D94%jmclaughlin@cybexintl.com \
--to=jmclaughlin@cybexintl.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;
as well as URLs for NNTP newsgroup(s).