No no no no :) Go to a uuid generator, and generate your own unique UUID for your application. For example: http://www.uuidgenerator.com
It can be any valid UUID, so long as you use the same UUID on both the server and the client of your application. Instead of allowing applications to choose there own RFCOMM channel, we allow apps to pick a UUID instead, which has a much lower chance of namespace collisions (there are only 30 RFCOMM channels). Android will automatically connect to the correct RFCOMM channel by looking up the UUID in the service discovery database on the remote device. Nick On Tue, Nov 24, 2009 at 4:39 PM, Sean Liao <[email protected]> wrote: > try this one: 00001101-0000-1000-8000-00805F9B34FB > > WIDCOM SDK and a C# SDK actually define the above constant value for > SPP/RFCOMM > > It seems work for me although I am having problem use the inputStream and > outSteam out of the connection. > > Hope it works for you. > > > > On Tue, Nov 24, 2009 at 4:20 PM, Paul <[email protected]> wrote: > >> Can someone explain how to use createRfcommSocketToServiceRecord? How >> do I find out the UUID of the device I want to connect to? >> >> Thanks, >> Paul >> >> -- >> 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]<android-developers%[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 post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[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 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

