I am developing a Bluetooth game in Python for S60 based Nokia devices. The Bluetooth sockets in S60 are proving to be quite tricky. For two reasons:
I can't do master to multiple slave sockets in Python, heard that it can't be done in Python so I have already left this and not doing it anyway.
The other part is I can't just listen to a socket in a separate thread and go away with te normal execution of my application. I tried a sample code here:
Notice that I use ao_callgate() while sharing sockets among threads.
The post (still unaswered :-( ) can be found here: http://discussion.forum.nokia.com/forum/showthread.php?t=162260