You Are Here:

Community: Developer Discussion Boards

#1 Old Bluetooth multiple connections - 2003-05-05, 11:31

Join Date: Mar 2003
Posts: 37
esteinitz
Offline
Registered User
I'm trying to have a central server on BT following the BTPointToPoint example.
I made up a class Server which opens a RSocketServre, listens to the channel and opens the stream sokets when a client has connected.
I'd like to do this for as many client as I wish, but after the first client is connected, even though I can launch other Server classes, new clients won't connect to the server. It seems that the service advertisement succeeds but another client can't connect. I thought that opening the second server instance after the connection of the first client would help but it didn't help.

Can somebody give a hand?
Reply With Quote

#2 Old 2003-05-05, 12:37

Join Date: Mar 2003
Posts: 1,200
seppo_fn's Avatar
seppo_fn
Offline
Forum Nokia Expert
Nokia 7650/3650 can act as a slave to one remote device at a time only.

By disconnecting the link after send/receive operation with each device you can have data transmission with multiple devices. This of course might be a little slower but for a user it should be the same without any noticable effect (if authentication/authorisation are not required). For user still looks like the device were connected to multiple devices simultaneously.

Another possibility is that the phone is the device that establishes the connections, i.e. it is the master (Nokia 7650/3650 can be a master to multiple devices.)


Seppo
Forum Nokia
Reply With Quote

#3 Old 2003-05-05, 14:35

Join Date: Mar 2003
Posts: 37
esteinitz
Offline
Registered User
I actually want the server to be a master for several devices. The problem is that once a client has connected, i try to launch another server (another instance of the class Server) which seems to succeed because the device makes no problem to find a free usable channel.
When another client tries to connect to the server, it fails, i think because the connection is busy.

I think the master device is the server, so I'd like it to accept any incoming request. But maybe the master is the device that's asking for the connection. In this case, the server ( the device that has a connection with the all the other ones) should initiate the connection with each of its clients.

What is the right solution?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia