-
Notifications
You must be signed in to change notification settings - Fork 56
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
shouldPairDevice always returns true? #10
Comments
@mchlnix Thanks for the bug report. Pairing currently is not used, so this code doesn't matter currently. |
I'm browsing your code in the hopes of figuring out how you handle the multiple UUIDs on multiple phones. If you have the time, could you answer me the following question? As far as I know to establish a connection between to phones both need to use the same UUID when connecting/accepting a socket. So these must be known/constant on both phones. What is your solution for this problem? |
@mchlnix My solution to the problem is to try to connect by all of the UUIDs in random order until free one is found. |
Sounds like having all 7 uuids connected is very unlikely, then, or am I missing something? |
@mchlnix No, I just described currently implemented solution. |
underdark-android/udark/underdark/src/main/java/impl/underdark/transport/bluetooth/BtTransport.java
Line 296 in 7492784
Just saw that in the code. There seems to be something wrong here, doesn't it?
The text was updated successfully, but these errors were encountered: