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]> 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] > 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. > > -- -- 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.

