bluetooth headset detection

Petr Vanek vanous at penguin.cz
Sat Jul 18 12:09:57 CEST 2009


it seems that while bluez reports status of bluetooth device correctly,
see bellow, fso doesn't see this. what in fso is responsible for knowing
the same thing when asked by oevents rule? or can the rule check with
bluez directly?

thank you

Petr

mdbus -s org.bluez /org/bluez/`pidof
bluetoothd`/hci0/dev_00_09_DD_31_92_98 org.bluez.Headset.GetProperties

{   'Connected': True, 'MicrophoneGain': 65535,
    'Playing': False,
    'SpeakerGain': 13,
    'State': 'connected'}

mdbus -s org.bluez /org/bluez/`pidof
bluetoothd`/hci0/dev_00_09_DD_31_92_98 org.bluez.Headset.GetProperties

{   'Connected': True, 'MicrophoneGain': 65535,
    'Playing': True,
    'SpeakerGain': 13,
    'State': 'playing'}

mdbus -s org.bluez /org/bluez/`pidof
bluetoothd`/hci0/dev_00_09_DD_31_92_98 org.bluez.Headset.GetProperties

{   'Connected': False, 'Playing': False, 'State': 'disconnected'}







More information about the community mailing list