SCO Socket input connection.
From: Pepe Aracil <hidden>
Date: 2010-09-29 16:27:08
Hello.
I'm developing embedded alarm system with hands free bluetooth profile.
Some months ago this code in python was working OK. (i don't remember
bluez version)
self.sco = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_SEQPACKET,
socket.BTPROTO_SCO)
print "socket SCO opened."
self.sco.bind("00:00:00:00:00:00")
self.sco.listen(1)
sck, mac = self.sco.accept()
When receiving a call on my cell phone and took down (via rfcomm HF
connecton) , SCO connection was produced from the phone to pc.
Now this connection fails.
I added to audio.conf Disable=Headset,Control,Gateway to disable
SCO Listening from bluetoothd but with no result :(
The only thing that works is to launch this python code before bluetoothd.
Some thing is touched by bluetoothd that blocks SCO incoming
connections for other apps. ¿What?
I try compile with --disable-audio with no results.
Thanks. and sorry for may horrible English.