1,105,644 Community Members

javax.bluetooth.BluetoothExeption: unable to swithc master

Member Avatar
mahdi68
Junior Poster in Training
95 posts since Jun 2009
Reputation Points: -4 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi
i want to write bluetooth base app for send and recive string between two device . i have problem . i send string from device A and device B recive it but when i try to send answer from device B to A i get this notifier :

javax.bluetooth.BluetoothExeption: unable to swithc master

it is becouse this part of code :

StreamConnection conn =(StreamConnection) Connector.open(connString);

now what should i do for slove this probleam ?
thanks

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: