SCO Socket input connection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux