There's not really a difference in UUID since you have to parse the
string anyway.
Check the BT chat sample to get to know the BT API.
One last thing - it's always good to check if your server is correctly
advertising UUID - by running sdptool browse/records on linux.

On Jul 29, 4:10 am, perumal316 <[email protected]> wrote:
> Hi All,
>
> I am writing an Bluetooth Server and Client application. My Bluetooth
> server will be J2SE application and client will be Android
> application.
>
> While trying to set up the communication using the UUID, I have
> noticed that in J2SE the UUID has to be in the following format in
> order to work:
> 0000110100001000800000805f9b34fb
>
> But in Android the format has to be:
> 00001101-0000-1000-8000-00805f9b34fb
>
> Thus now I could not connect and send over the string. Why is there
> this discrepancy? Or am I doing it wrongly and is there any other way
> to communicate?
>
> Thanks In Advance,
> Perumal

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

Reply via email to