From: Steven Davies <linux-bluetooth-list@steev.me.uk>
To: linux-bluetooth <linux-bluetooth@vger.kernel.org>
Subject: Re: BLE: dbus doesn't show GATT characteristics
Date: Tue, 22 Sep 2015 14:44:38 +0100 [thread overview]
Message-ID: <56015B46.90505@steev.me.uk> (raw)
In-Reply-To: <CABBYNZJJo0YoiHkONvNer=4W=cmFbRZ23qR1kw3GdMLoAd=Lrg@mail.gmail.com>
>>>> I'm having a problem using BLE through dbus where the GATT services
>>>> don't appear after a BLE device has been found during a scan. What is
>>>> available through dbus is a Device1 node with the correct address and a
>>>> Name property of the name which was sent in the advertising beacons -
>>>> however that's the only node available in the tree.
>>> Are you running bluetoothd with the experimental (-E) flag?
>> Yes:
>> ~$ ps aux | grep bluetooth
>> root 8277 0.0 0.1 4320 2628 ? Ss Sep21 0:00
>> /usr/libexec/bluetooth/bluetoothd -E
> First and most important gatttool shall not be used along with
> bluetoothd, it is a stand alone tool for testing. That being said you
> need to connect in order to discover the attribute the remote device
> has, without that we only know about the UUIDs advertised nothing
> else.
Yes - I was using gatttool to prove I could still connect without going
through bluetoothd. Should I expect the GATT UUIDs, services and so on
to be available through dbus once I've called Connect on the device?
What I was seeing yesterday was that after calling Connect the nodes in
dbus don't change so I still can't see the GATT bits. Is there a code
path I could look through to see why this is?
Thanks
Steven Davies
next prev parent reply other threads:[~2015-09-22 13:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 20:20 BLE: dbus doesn't show GATT characteristics Steven Davies
2015-09-21 22:02 ` Mark Rages
2015-09-22 7:53 ` Steven Davies
2015-09-22 10:12 ` Luiz Augusto von Dentz
2015-09-22 13:44 ` Steven Davies [this message]
2015-09-23 7:22 ` Luiz Augusto von Dentz
2015-09-26 16:00 ` linux-bluetooth-list
-- strict thread matches above, loose matches on Subject: below --
2015-09-21 20:23 Steven Davies
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=56015B46.90505@steev.me.uk \
--to=linux-bluetooth-list@steev.me.uk \
--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).