bluetoothviewer
bluetoothviewer copied to clipboard
Make it possible to specify the UUID in the UI
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.
... Actually... the getUuids() method here looks interesting...
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/bluetooth/BluetoothDevice.java#1246