views:

34

answers:

0

Question:

Could more than one RFCOMM channels be created per time?

Testing method:

Create connections from Cellphone(Samsung GALAXY S) to two terminals in the PC. PC has two different bluetooth devices(build-in and USB dongle) and using different COM ports, say COM1 and COM2.

Steps:

  1. Testing each connection from cellphone to different bluetooth devices in PC using SPP, separately. ----> OK, cellphone could read what PC has sent in terminal using each bluetooth device. This means PC, bluetooth device 1(BD1), bluetooth device 2(BD2) are working fine via SPP. Now, I am going to test two connections simultaneously.

  2. Establish one connection, say cellphone-> BD1. ---> OK. Cellphone could read data from terminal 1 in PC using this connection.

    2.1 Establish another connection( cellphone -> BD2). ---> OK. No exception be threw and the link was established successfully.

PROBLEM:

Once the second connection was established, what I typed in terminal 1 will be forward and received by second connection. In the other hand, no data will be received in connection 2 that was typed in terminal 2.

Discussion I paste my bug report HERE. If I were right, the blue font part is the process that establish first connection, and the black font, under the blue font, is the process to establish second connection.

The reason I doubt that "more than one RFCOMM could be established" is in the bug report, I put it as bold fonts. We could see that both of them are using "rc chan 1", does this mean they ues the same RFCOMM??

Any recommend or suggestions are very very welcome!