From: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
To: "Àlex Fiestas" <afiestas@kde.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Discoverable devices
Date: Fri, 28 Jun 2013 14:40:07 -0300 [thread overview]
Message-ID: <20130628174007.GA2735@samus.indt.org> (raw)
In-Reply-To: <1599920.hvBb11VtN9@monsterbad>
Hi Àlex,
On 18:39 Fri 28 Jun, Àlex Fiestas wrote:
> Is there any way of knowing if a device that is ALREADY created is in
> Discoverable mode?
The first thing that comes to mind is listening for changes in the RSSI
property, i.e. monitor the org.freedesktop.DBus.Properties.PropertiesChanged
as well.
>
> Calling startDiscvoer + monitor interfaceAdded/Remove works nice but that only
> works for devices that are newly discovered, not for those devices that are
> are already registered in the bus.
>
> I read about org.bluez.Device1.Appearance but it does not seem to have any
> value on any of my devices under any circumstance.
Appearance is only present for Low Energy devices.
>
> Am I missing something?
>
> thanks !
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Cheers,
--
Vinicius
prev parent reply other threads:[~2013-06-28 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 16:39 Discoverable devices Àlex Fiestas
2013-06-28 17:40 ` Vinicius Costa Gomes [this message]
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=20130628174007.GA2735@samus.indt.org \
--to=vinicius.gomes@openbossa.org \
--cc=afiestas@kde.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