I have made multiple connections to a single UUID.
It is like TCP. The UUID just says what port the Bluetooth Server is on. I could have a server running on Bluetooth port 1. Then I could make 2 or 3 simultaneous connections to it just like I can make 2 or 3 simultaneous connections to port 80 of Yahoo's web server. On Wednesday, February 13, 2013 10:31:39 AM UTC-6, Kristopher Micinski wrote: > > That's actually not quite right: if you have your app make multiple > connections then you do generally need multiple UUIDs. However, if > you need only a single connection then sure. My point is that you > should never need more than (theoretically) seven, as that's the size > of a BT piconet. > > Kris > > On Wed, Feb 13, 2013 at 10:17 AM, bob <[email protected]<javascript:>> > wrote: > > You just need one UUID for your app. Use it on the server and the > clients. > > It basically tells the clients what Bluetooth port number on the server > they > > need to connect to (from 1 to 31, I think). > > > > > > You can use the uuidgen tool on Mac. Here's a UUID I just made if you > want > > it: > > > > > > uuidgen > > > > 068F39DC-7012-4497-85B6-BD5C25D6AE58 > > > > > > > > > > On Wednesday, February 13, 2013 4:24:19 AM UTC-6, tom_mai78101 wrote: > >> > >> After extensive researching on the Bluetooth Chat example, it all comes > >> down to using pre-determined UUIDs to connect to another device, the > 1-to-1 > >> way. However, that doesn't make it useful. > >> > >> I need to not rely on pre-determined UUIDs, so that I'm able to connect > >> multiple devices together with Bluetooth, without having to generate as > much > >> UUIDs as possible. > >> > >> Have you ever tried doing non-deterministic UUID generation for > Bluetooth > >> connections, using UUID.randomUUID() or similar methods? > > > > -- > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to > > [email protected]<javascript:> > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > 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 unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

