On Tue, Dec 1, 2009 at 3:45 PM, Patrick <[email protected]> wrote:

> Thanks a lot for your reply!
>
> > Your understanding is not right here, UUID is used to lookup the port,
> > not for encryption. The javadoc explains this.
> >
> The only Javadoc i can find (
>
> http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#listenUsingRfcommWithServiceRecord%28java.lang.String,%20java.util.UUID%29
> and
>
> http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#createRfcommSocketToServiceRecord%28java.util.UUID%29
> )
> is not very exact here. The device i'm using is a self developed
> device that uses a hardware chip for all the bluetooth stuff. So don't
> really have a lot influence on this.
> Guess we're back to the NDK, right?
>
>
The non-android BT platform probably already advertises an sdp record. You
just need to work out what UUID to look for.

Try reading the thread "bluetooth uuid" on this list just 1 week ago, where
some other developers hit this problem and found the UUID for there
non-android platform.

Also, if you have a rooted device, you can use the shell command 'sdptool'
to browse the sdp records on your non-android device and see what is
advertised.



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

Reply via email to