Open GoogleCodeExporter opened 9 years ago
Original comment by skarzhev...@gmail.com
on 31 Mar 2010 at 5:02
Hello,
I am trying to use bluecove to do peer to peer networking and I am running into
the same issue.
Do you have any pointers on where to look or what might cause the issue? I'm
willing to dig into the code (and have been doing so for a while now).
Regards
Original comment by Botje.linux@gmail.com
on 26 Jul 2010 at 4:51
It is impossible to connect to service running locally on the same device!
You need to connect to service from another computer or device.
Original comment by skarzhev...@gmail.com
on 26 Jul 2010 at 4:56
Thanks for your reply! However, the situation is slightly different:
We start an RFCOMM server in one thread. Then we discover and connect to a
device in another thread (both threads running on the same device).
The outgoing connection never succeeds, it hangs in Connector.open().
We are not trying to connect to services running on the same device, but
running both an RFCOMM server and connecting to a (remote) RFCOMM client.
We're testing with bluecove SVN and OSX 10.6.4.
Does that help narrow it down? If not, can you please tell us how we can help
you debug it or how we should investigate it ourselves? Thanks!
Original comment by Botje.linux@gmail.com
on 26 Jul 2010 at 10:56
So you are connecting to Second device?
To debug this problem:
- The important debug for this case on Mac version only prints to stdout
directly from native code. So when you enable regular bluecove debug
(-Dbluecove.debug=true) watch for stdout.
Do you see somthing like 'ignore connectionComplete'
- Add more debug code to OSXStackChannelController.mm and OSXStackRFCOMM.mm see
what are the events generated
- Try to your app with demo version for avetana. Does it work?
- Try running server in different process not just thread does it help?
- Can the problem be reproduced using Bluecove tester application?
- Can the problem be reproduced using L2CAP protocol?
Original comment by skarzhev...@gmail.com
on 27 Jul 2010 at 1:40
Original issue reported on code.google.com by
bigmirc...@gmail.com
on 15 Jan 2010 at 1:34Attachments: