Skip to contentSkip to conversation

Discoverable devices

DISCUSSION Àlex Fiestas 2 participants 2 messages Jun 28, 2013 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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 !

#1 lore raw

Hi Àlex,

Quoted 2 lines · Àlex Fiestas

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.

Quoted 7 lines

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.

Quoted 8 lines

Am I missing something?

thanks !
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Cheers,

Signature · 1 line
Vinicius