* Discoverable devices
@ 2013-06-28 16:39 Àlex Fiestas
2013-06-28 17:40 ` Vinicius Costa Gomes
0 siblings, 1 reply; 2+ messages in thread
From: Àlex Fiestas @ 2013-06-28 16:39 UTC (permalink / raw)
To: linux-bluetooth
Is there any way of knowing if a device that is ALREADY created is in
Discoverable mode?
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.
Am I missing something?
thanks !
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Discoverable devices
2013-06-28 16:39 Discoverable devices Àlex Fiestas
@ 2013-06-28 17:40 ` Vinicius Costa Gomes
0 siblings, 0 replies; 2+ messages in thread
From: Vinicius Costa Gomes @ 2013-06-28 17:40 UTC (permalink / raw)
To: Àlex Fiestas; +Cc: linux-bluetooth
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-28 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 16:39 Discoverable devices Àlex Fiestas
2013-06-28 17:40 ` Vinicius Costa Gomes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox