[fso] rules for bluetooth headset: BTHeadsetIsConnected() is always true

arne anka openmoko at ginguppin.de
Sat Aug 1 21:59:54 CEST 2009


the rules listed for bt headsets
> http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Once_Again.2C_Bluetooth_Headset_on_Freerunner
use a filter
BTHeadsetIsConnected()

which seems to me quite unreliable.
where does fso get its ideas from about connected headsets?
- even if i disable bluetooth, still the filter applies
- even if the headset ist off, the filter applies
- even if Headset.Disconnect returns a Disconnect failed:  
org.bluez.Error.NotConnected, the filter applies

that means, that gsmhandset.state never is loaded again, making it  
impossible to make or answer calls.



More information about the community mailing list