Hello,
I'm trying to do some bt socket programming for a simple project of mine.
What I want to accomplish is a a server and a client script that can talk to each other wirelessly via a bluetooth RFCOMM connection. I'm not sure wich should be the server and wich should be the client. I would also like that if I terminate one of the scripts and reopen it, it would reconnect to the other script. I also want to be able to send data both ways at any given time.
I've tried searching this forum and checking out and tweaking the examples at mobilenin and other places with no luck.
Can somebody point me to the right direction here because now I'm completely lost. I would really appreciate some skeleton code or similar to show how to do this. (The biggest problem for me is having both scripts listening for incomminc data from each other and reconnectiong when neccesary)
Best Regards,
Richard

. I would also like that if I terminate one of the scripts and reopen it, it would reconnect to the other script. I also want to be able to send data both ways at any given time.
. I would really appreciate some skeleton code or similar to show how to do this. (The biggest problem for me is having both scripts listening for incomminc data from each other and reconnectiong when neccesary)
Reply With Quote
..thnx dude...

. If anyone has some code for this please post it here.

