Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to specify the UUID in the UI #23

Open
janosgyerik opened this issue May 5, 2016 · 2 comments
Open

Make it possible to specify the UUID in the UI #23

janosgyerik opened this issue May 5, 2016 · 2 comments

Comments

@janosgyerik
Copy link
Owner

No description provided.

@janosgyerik janosgyerik changed the title Make it possible to specify the UUID Make it possible to specify the UUID in the UI May 5, 2016
@janosgyerik
Copy link
Owner Author

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
Copy link
Owner Author

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

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

@janosgyerik janosgyerik reopened this Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant