tags:

views:

17

answers:

0

Hi all,

I was trying to create a scenario like this

A PC running as a server with bluetooth dongle attached. Mobile A connects to this PC and two text fields and a button is showed on Mobile A. Where in user can input 2 numbers and press a button. After pressing, result will be showed on Mobile A as a sum of two numbers. Same thing, simultaneously,i tried with other mobile handset (Mobile B), (when Mobile A was in connection to the PC).

I have used Bluecove stack to implement this scenario. Code works perfectly fine with one Mobile device.

I have used threads as per best of my knowledge of multi threading. When i start my application on Mobile B..it says server not found (IO Exception).

I cant copy paste my code here because it is huge.

I am not sure if bluetooth can communicate with many devices at the same time. My bluetooth device dongle supports 7 devices. As what is written on its manual.

If anyone of you have tried out any thing like this please let me know.