bluetoothviewer icon indicating copy to clipboard operation
bluetoothviewer copied to clipboard

Make it possible to specify the UUID in the UI

Open janosgyerik opened this issue 9 years ago • 2 comments

janosgyerik avatar May 05 '16 08:05 janosgyerik

Just to be clear, a UUID is typically used by applications providing both a Bluetooth server and a client process. The UUID is private to the application. The server and the client know it, because it's in the same source code. The idea is to restrict clients connections to the same application, and prevent others.

By making it possible to specify a UUID, it will be possible to debug a service that requires it. But why would anyone want to do that? If you don't have the source code of the server, then you cannot know the private UUID it requires. If you have the server source code, it should be easier to use that directly to debug the server.

janosgyerik avatar Jan 26 '18 21:01 janosgyerik

... Actually... the getUuids() method here looks interesting...

https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/bluetooth/BluetoothDevice.java#1246

janosgyerik avatar Jan 26 '18 21:01 janosgyerik