Nick,

Thanks. Didn't know which discussion board you were reading more
often :)

Thanks for your response.

Chen Ganir.


On Nov 14, 2:31 am, Nick Pelly <npe...@google.com> wrote:
> Answered this one on android-platform.
>
>
>
>
>
> On Thu, Nov 12, 2009 at 6:58 AM, Chen Ganir <chen.ga...@gmail.com> wrote:
> > Hi.
>
> > I've read the new API specifications for the BluetoothSocket and i
> > encountered some unresolved issues regarding the connection
> > limitations for BluetoothServerSocket.
>
> > At
> >http://developer.android.com/reference/android/bluetooth/BluetoothAda...
> > there is a description of the Creation of BluetoothServerSocket.It
> > says there that it creates a new listening RFCOMMsocketfor incoming
> > connections. One should use accept to get the connected
> > BluetoothSocket from this ServerSocket. My questions are :
> > 1. What happens if a connection is established before accept is
> > called? Will it hold and wait for an accept command or dropped until
> > an accept command is invoked and allow reconnection?
> > 2. Can more than one connections exist to a single
> > BluetoothSocketServer?
>
> > Athttp://developer.android.com/reference/android/bluetooth/BluetoothSer...
> > the accept method is described. My questions are :
> > 3. Will i get a connected BluetoothSocket for a connection which was
> > established prior to calling the accept method?
> > 4. What happens if after the first accept, i do another accept? Will i
> > get another incoming connection? Or will the BluetoothServerSocket
> > block any incoming connections until the previous connection is
> > disconnected?
> > 5. If Connection Queue is available - what is the limit? how many
> > connections will be held in Queue ?
>
> > 5. Does the BluetoothServerSocket support multiple connections from
> > different devices? What about multiple connections from the same
> > device?
>
> > Athttp://code.google.com/p/apps-for-android/source/browse/trunk/BTClick...
> > there is a sample application demonstrating the use of BluetoothSocket
> > and BluetoothServerSocket. This application creates 7 different
> > servers (different UUID's) and listens to 7 incoming connections on 7
> > different servers. In addition, this sample closes the
> > BluetoothServerSocket once a single connection is made to each of the
> > servers. This does not show the behavior of the API as described in
> > the official API documentation.
>
> > I would appreciate any thoughts or ideas you have about this issue.
>
> > Thanks,
> > Chen Ganir.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to