Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Could not make multiple connection with bluetooth.  RSS feed

 
Siddhesh Deodhar
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

If anyone of you have tried out any thing like this please let me know.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!