I am really confused about multiple Bluetooth connections from a single device. I got the following example from Nokia's forum site:
I read from the readme of c++ example that slaves listen for incoming connections and master connects to them. I don't know Symbian c++ but I tried doing the same using Python for S60.
I created the following code:
Here I create a listening socket on two phones usin chat_slave(). And connect to these two such phones(listeners) using another phone using chat_master(). I get a "Maximum number of Bluetooth connects already used" in the phone connecting to the two listener phones, when I try to connect to the second phone.
I thought that may be I have taken the wrong lesson and tried using this code. In this I create two listener sockets on a phone and connect to these two using two other phones. The first phone connects smoothly to the first listening socket. But when the second phone tries to conenct it keeps waiting and the listening phone just keeps waiting, though the latter shows the dialog to accept the incoming connection (they were paired but not authorised).
Here is the code:
The phones I use are two Nokia 7610 and one Nokia 6670, all are S60 2nd Ed. FP1.
Please help me in this.